Page MenuHomePhabricator

extensions/SemanticPageSeries - Use UserGroupManager instead of User group methods
Closed, InvalidPublic

Description

Find all usages of:

  • public function getGroups()
  • public function getGroupMemberships()
  • public function getEffectiveGroups()
  • public function getAutomaticGroups()
  • public function getFormerGroups()
  • public function addGroup()
  • public function removeGroup()
  • public function addAutopromoteOnceGroups())

and need to be replaced with corresponding UserGroupManager methods.
You can obtain UserGroupManager via MediaWikiServices::getInstance()->getUserGroupManager(), but it's preferred to inject it if possible.

Event Timeline

Vlad.shapik triaged this task as Medium priority.May 4 2021, 2:55 PM
Vlad.shapik created this task.
Vlad.shapik renamed this task from extensions/SemanticPageSeries - hard deprecate User group methods to extensions/SemanticPageSeries - Use UserGroupManager instead of User group methods.May 6 2021, 2:47 PM

The extension is unmaintained and undeployed.

Vlad.shapik removed Vlad.shapik as the assignee of this task.