VE-1051 Remove incompatible block code using newer Mediawiki, and move block logic to EditorPreference extension