Catrope has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/394382 )
Change subject: RCFilters: Followup I75cfb2b56a: Fix function declaration
......................................................................
RCFilters: Followup I75cfb2b56a: Fix function declaration
Bug: T181671
Change-Id: Ie69e9f0f77b2c463bc2e4d41cd9a1b8e87f7efef
(cherry picked from commit a538407bc9a1d11180c8970e20f0f2b5b6c58ea2)
---
M includes/specials/SpecialRecentchangeslinked.php
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/82/394382/1
diff --git a/includes/specials/SpecialRecentchangeslinked.php
b/includes/specials/SpecialRecentchangeslinked.php
index e4cc3d1..2eeeb0b 100644
--- a/includes/specials/SpecialRecentchangeslinked.php
+++ b/includes/specials/SpecialRecentchangeslinked.php
@@ -301,10 +301,13 @@
* Get a self-referential title object
* with consideration to the given subpage.
*
+ * @param string|bool $subpage
* @return Title
* @since 1.23
*/
- public function getPageTitle() {
- return parent::getPageTitle( $this->rclTarget );
+ public function getPageTitle( $subpage = false ) {
+ $subpage = $subpage ? $subpage : $this->rclTarget;
+
+ return parent::getPageTitle( $subpage );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/394382
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie69e9f0f77b2c463bc2e4d41cd9a1b8e87f7efef
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.31.0-wmf.10
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Mooeypoo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits