T275148: Prepare User group methods for hard deprecation will deprecate various user group methods, some of which WIkibase uses in tests
public function getGroups()
public function getGroupMemberships()
public function getEffectiveGroups()
public function getAutomaticGroups()
public function getFormerGroups()
public function addGroup()
public function removeGroup()
public function addAutopromoteOnceGroups()
(Check parent task to ensure this list is up to date)
These will need to be replaced with corresponding UserGroupManager methods.
You can obtain UserGroupManager via MediaWikiServices::getInstance()->getUserGroupManager().
We should check in which MW versions the methods were introduced, as we want to keep master compatible with the latest 1_36 branch of MediaWiki.
If we need to create a compat layer this could be a good opportunity to also create an abstraction layer.
Acceptance Criteria:🏕️🌟
- The methods listed to be deprecated are not used in Wikibase code.