Revert "Don't mess around with $wgHooks by using CustomEditor hook"

Authored by Addshore on Mon, Sep 11, 5:29 PM.