diff --git a/SpecialCite.php b/SpecialCite.php index 57f4b7dff..9f47c5d92 100644 --- a/SpecialCite.php +++ b/SpecialCite.php @@ -34,7 +34,6 @@ $wgSpecialPages['Cite'] = 'SpecialCite'; $wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php'; function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) { - wfLoadExtensionMessages( 'SpecialCite' ); // check whether we’re in the right namespace, the $revid has the correct type and is not empty // (what would mean that the current page doesn’t exist) if ( $skintemplate->mTitle->isContentPage() && $revid !== 0 && !empty( $revid ) ) @@ -52,7 +51,6 @@ function wfSpecialCiteToolbox( &$skin ) { global $wgUser; if ( isset( $skin->data['nav_urls']['cite'] ) ) { - wfLoadExtensionMessages( 'SpecialCite' ); echo Html::rawElement( 'li', array( 'id' => 't-cite' ), diff --git a/SpecialCite_body.php b/SpecialCite_body.php index e9e22c015..28a2c52cf 100644 --- a/SpecialCite_body.php +++ b/SpecialCite_body.php @@ -15,7 +15,6 @@ class SpecialCite extends SpecialPage { function execute( $par ) { global $wgRequest, $wgUseTidy; - wfLoadExtensionMessages( 'SpecialCite' ); // Having tidy on causes whitespace and
tags to // be generated around the output of the CiteOutput