From fe977bbf26d7c70b0dc57e77e0a1ba1782ce1b60 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 18 Apr 2011 17:51:16 +0000 Subject: [PATCH] * Use $this->getTitle() instead of SpecialPage::getTitleFor( $this->name() ) * Fix whitespace issue --- includes/specials/SpecialWithoutinterwiki.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ) . -- 2.20.1