One more tweak: double global declaration of $wgOut
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 6 Jul 2008 12:45:52 +0000 (12:45 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 6 Jul 2008 12:45:52 +0000 (12:45 +0000)
includes/specials/SpecialRecentchangeslinked.php

index 3f9ad06..dd893bf 100644 (file)
@@ -49,7 +49,6 @@ class SpecialRecentchangeslinked extends SpecialRecentchanges {
                }
                $title = Title::newFromURL( $target );
                if( !$title || $title->getInterwiki() != '' ){
-                       global $wgOut;
                        $wgOut->wrapWikiMsg( '<div class="errorbox">$1</div><br clear="both" />', 'allpagesbadtitle' );
                        return false;
                }