jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/394370 )

Change subject: RCFilters: Followup I75cfb2b56a: Fix function declaration
......................................................................


RCFilters: Followup I75cfb2b56a: Fix function declaration

Bug: T181671
Change-Id: Ie69e9f0f77b2c463bc2e4d41cd9a1b8e87f7efef
---
M includes/specials/SpecialRecentchangeslinked.php
1 file changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



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/394370
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie69e9f0f77b2c463bc2e4d41cd9a1b8e87f7efef
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to