Start removing/fixing calls to deprecated methods in WMF used extensions

This commit is contained in:
Sam Reed 2010-10-29 15:14:44 +00:00
parent b6178dfde6
commit cf0a7358cd
2 changed files with 0 additions and 3 deletions

View file

@ -34,7 +34,6 @@ $wgSpecialPages['Cite'] = 'SpecialCite';
$wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php';
function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) {
wfLoadExtensionMessages( 'SpecialCite' );
// check whether were in the right namespace, the $revid has the correct type and is not empty
// (what would mean that the current page doesnt 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' ),

View file

@ -15,7 +15,6 @@ class SpecialCite extends SpecialPage {
function execute( $par ) {
global $wgRequest, $wgUseTidy;
wfLoadExtensionMessages( 'SpecialCite' );
// Having tidy on causes whitespace and <pre> tags to
// be generated around the output of the CiteOutput