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: I709e2f618df4075b2deac6437201621685f216da
---
M RandomInCategory.body.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/RandomInCategory.body.php b/RandomInCategory.body.php
index a26fd6c..55a9754 100644
--- a/RandomInCategory.body.php
+++ b/RandomInCategory.body.php
@@ -93,7 +93,7 @@
                        Xml::openElement( 'form', array( 'method' => 'get', 
'action' => $wgScript ) ) .
                                Xml::openElement( 'fieldset' ) .
                                        Xml::element( 'legend', array(), wfMsg( 
'randomincategory' ) ) .
-                                       Html::Hidden( 'title', 
$this->getTitle()->getPrefixedText() ) .
+                                       Html::Hidden( 'title', 
$this->getPageTitle()->getPrefixedText() ) .
                                        Xml::openElement( 'p' ) .
                                                Xml::label( wfMsg( 
'randomincategory-label' ), 'category' ) . ' ' .
                                                Xml::input( 'category', null, 
$category, array( 'id' => 'category' ) ) . ' ' .

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

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

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

Reply via email to