Page MenuHomePhabricator

Remove deprecated User::makeGroupLinkWiki() calls in SpecialGlobalUsers
Closed, ResolvedPublicPRODUCTION ERROR

Description

Actual error message from MediaWiki's CentralAuth extension:

Use of User::makeGroupLinkWiki was deprecated in MediaWiki 1.29. [Called from GlobalUsersPager::getUserGroups in /srv/mediawiki/php-1.31.0-wmf.10/extensions/CentralAuth/includes/specials/SpecialGlobalUsers.php at line 270]

We have to replace User::makeGroupLinkWiki() by the equivalent methods on the [[ https://doc.wikimedia.org/mediawiki-core/master/php/classUserGroupMembership.html | UserGroupMembership ]] class.

Event Timeline

rafidaslam added a subscriber: rafidaslam.

I'll work on this (claimed on Google Code-in)

Change 396077 had a related patch set uploaded (by Rafidaslam; owner: Rafid Aslam):
[mediawiki/extensions/CentralAuth@master] SpecialGlobalUsers: Replace User::makeGroupLinkWiki with newer function

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

Change 396077 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] SpecialGlobalUsers: Replace User::makeGroupLinkWiki with newer function

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

xSavitar added a subscriber: xSavitar.

Thanks for the work @rafidaslam. Follow up ticket here: T182444.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:09 PM