From a4edbfa031eb4cd72678051f1510afde4f77951e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 28 Feb 2014 08:36:29 +0100 Subject: Update to MediaWiki 1.22.3 --- extensions/Interwiki/Interwiki_body.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extensions/Interwiki/Interwiki_body.php') diff --git a/extensions/Interwiki/Interwiki_body.php b/extensions/Interwiki/Interwiki_body.php index ec104968..fd982811 100644 --- a/extensions/Interwiki/Interwiki_body.php +++ b/extensions/Interwiki/Interwiki_body.php @@ -36,7 +36,7 @@ class SpecialInterwiki extends SpecialPage { $out->addModules( 'ext.interwiki.specialpage' ); $action = $par ? $par : $request->getVal( 'action', $par ); - $return = $this->getTitle(); + $return = $this->getPageTitle(); switch( $action ) { case 'delete': @@ -186,7 +186,7 @@ class SpecialInterwiki extends SpecialPage { array( 'id' => "mw-interwiki-{$action}form", 'method' => 'post', - 'action' => $this->getTitle()->getLocalUrl( array( + 'action' => $this->getPageTitle()->getLocalUrl( array( 'action' => 'submit', 'prefix' => $prefix ) ) @@ -229,7 +229,7 @@ class SpecialInterwiki extends SpecialPage { return; } $reason = $request->getText( 'wpInterwikiReason' ); - $selfTitle = $this->getTitle(); + $selfTitle = $this->getPageTitle(); $dbw = wfGetDB( DB_MASTER ); switch( $do ) { case 'delete': @@ -325,7 +325,7 @@ class SpecialInterwiki extends SpecialPage { if ( $canModify ) { $this->getOutput()->addHTML( "
" . $this->msg( 'interwiki_intro_footer' )->parse() ); $addtext = $this->msg( 'interwiki_addtext' )->escaped(); - $addlink = Linker::linkKnown( $this->getTitle( 'add' ), $addtext ); + $addlink = Linker::linkKnown( $this->getPageTitle( 'add' ), $addtext ); $this->getOutput()->addHTML( '' ); } @@ -363,7 +363,7 @@ class SpecialInterwiki extends SpecialPage { ); $out .= Html::closeElement( 'tr' ) . "\n"; - $selfTitle = $this->getTitle(); + $selfTitle = $this->getPageTitle(); # Output the existing Interwiki prefixes table rows foreach ( $iwPrefixes as $iwPrefix ) { -- cgit v1.2.3-54-g00ecf