From: Alexandre Emsenhuber Date: Mon, 18 Apr 2011 17:51:16 +0000 (+0000) Subject: * Use $this->getTitle() instead of SpecialPage::getTitleFor( $this->name() ) X-Git-Tag: 1.31.0-rc.0~30730 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=fe977bbf26d7c70b0dc57e77e0a1ba1782ce1b60;p=lhc%2Fweb%2Fwiklou.git * Use $this->getTitle() instead of SpecialPage::getTitleFor( $this->name() ) * Fix whitespace issue --- diff --git a/includes/specials/SpecialWithoutinterwiki.php b/includes/specials/SpecialWithoutinterwiki.php index 0441f7735b..ffad92ffa1 100644 --- a/includes/specials/SpecialWithoutinterwiki.php +++ b/includes/specials/SpecialWithoutinterwiki.php @@ -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() ) .