* Use $this->getTitle() instead of SpecialPage::getTitleFor( $this->name() )
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 18 Apr 2011 17:51:16 +0000 (17:51 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 18 Apr 2011 17:51:16 +0000 (17:51 +0000)
* Fix whitespace issue

includes/specials/SpecialWithoutinterwiki.php

index 0441f77..ffad92f 100644 (file)
@@ -49,9 +49,9 @@ class WithoutInterwikiPage extends PageQueryPage {
                }
 
                $prefix = $this->prefix;
-               $t = SpecialPage::getTitleFor( $this->name() );
+               $t = $this->getTitle();
 
-               return  Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) .
+               return Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) .
                        Xml::openElement( 'fieldset' ) .
                        Xml::element( 'legend', null, wfMsg( 'withoutinterwiki-legend' ) ) .
                        Html::hidden( 'title', $t->getPrefixedText() ) .