Bartosz Dziewoński has submitted this change and it was merged.

Change subject: Replace usage of SpecialPage::getTitle with getPageTitle
......................................................................


Replace usage of SpecialPage::getTitle with getPageTitle

Was deprecated in 1.23, see Icdcf5d5295ef5e7f08b1d403e0c123f78738fd40

Change-Id: Ic335672d029f45c11beca155db0438c11f4fcdf9
---
M LookupUser.body.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Bartosz Dziewoński: Verified; Looks good to me, approved



diff --git a/LookupUser.body.php b/LookupUser.body.php
index d316c3f..5d5410f 100644
--- a/LookupUser.body.php
+++ b/LookupUser.body.php
@@ -53,7 +53,7 @@
         */
        function showForm( $target ) {
                global $wgScript, $wgOut;
-               $title = htmlspecialchars( $this->getTitle()->getPrefixedText() 
);
+               $title = htmlspecialchars( 
$this->getPageTitle()->getPrefixedText() );
                $action = htmlspecialchars( $wgScript );
                $target = htmlspecialchars( $target );
                $ok = wfMsg( 'go' );
@@ -139,7 +139,7 @@
                                $wgOut->addHTML(
                                        Xml::openElement( 'fieldset' ) . "\n" .
                                        Xml::openElement( 'form', array( 
'method' => 'get', 'action' => $wgScript ) ) . "\n" .
-                                       Html::hidden( 'title', 
$this->getTitle()->getPrefixedText() ) . "\n" .
+                                       Html::hidden( 'title', 
$this->getPageTitle()->getPrefixedText() ) . "\n" .
                                        Html::hidden( 'target', $target ) . 
"\n" .
                                        Xml::openElement( 'table', array( 
'border' => '0' ) ) . "\n" .
                                        Xml::openElement( 'tr' ) . "\n" .

-- 
To view, visit https://gerrit.wikimedia.org/r/103950
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic335672d029f45c11beca155db0438c11f4fcdf9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LookupUser
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to