Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/104030


Change subject: Replace use of deprecated SpecialPageFactory::getGroup()
......................................................................

Replace use of deprecated SpecialPageFactory::getGroup()

Change-Id: I2d98c0ebe2fccbb844cc1997b17061a100a4495d
---
M includes/specialpage/SpecialPage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/30/104030/1

diff --git a/includes/specialpage/SpecialPage.php 
b/includes/specialpage/SpecialPage.php
index 41b6435..6e0233d 100644
--- a/includes/specialpage/SpecialPage.php
+++ b/includes/specialpage/SpecialPage.php
@@ -129,7 +129,7 @@
         */
        static function getGroup( &$page ) {
                wfDeprecated( __METHOD__, '1.18' );
-               return SpecialPageFactory::getGroup( $page );
+               return $page->getFinalGroupName();
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d98c0ebe2fccbb844cc1997b17061a100a4495d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to