diff --git a/Scribunto.php b/Scribunto.php index acd942f5..3c738963 100644 --- a/Scribunto.php +++ b/Scribunto.php @@ -50,7 +50,7 @@ $wgHooks['CanonicalNamespaces'][] = 'ScribuntoHooks::addCanonicalNamespaces'; $wgHooks['ArticleViewCustom'][] = 'ScribuntoHooks::handleScriptView'; $wgHooks['TitleIsWikitextPage'][] = 'ScribuntoHooks::isWikitextPage'; $wgHooks['CodeEditorGetPageLanguage'][] = 'ScribuntoHooks::getCodeLanguage'; -$wgHooks['EditFilter'][] = 'ScribuntoHooks::validateScript'; +$wgHooks['EditFilterMerged'][] = 'ScribuntoHooks::validateScript'; $wgHooks['UnitTestsList'][] = 'ScribuntoHooks::unitTestsList';