mediawiki.action.edit.preview: Run hook on detached node

Change-Id: Ie5b70c6681bab51e9ac7067b9293b4e2cccd0574
Merge "mediawiki.action.edit.preview: Run hook on detached node"