Merge "Remove loading of style module 'mediawiki.special'"

This commit is contained in:
jenkins-bot 2023-01-26 20:29:53 +00:00 committed by Gerrit Code Review
commit 2dac8f31df

View file

@ -131,9 +131,6 @@ class SpecialReplaceText extends SpecialPage {
$out = $this->getOutput();
$out->enableOOUI();
$this->setHeaders();
if ( $out->getResourceLoader()->getModule( 'mediawiki.special' ) !== null ) {
$out->addModuleStyles( 'mediawiki.special' );
}
$this->doSpecialReplaceText();
}