[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Remove calls to deprecated methods in Title and User with calls to the new PermissionManager service.
Closed, DeclinedPublic3 Estimated Story Points

Description

The methods deprecated in T208768: Create a PermissionManager service and T218558: Move User::getRights and related methods into PermissionManager should no longer be called in MediaWiki core. Calling code should use the methods in the new PermissionManager service instead.

In service classes that are already managed by MediaWikiServices or use a static singleton, a PermissionManager instance should be injected into the constructor. Other classes can use the global MediaWikiServices instance as a service locator to access a PermissionManager instance.

Details

SubjectRepoBranchLines +/-
mediawiki/extensions/CheckUsermaster+18 -7
mediawiki/extensions/Echomaster+7 -4
mediawiki/coremaster+1 -0
mediawiki/coremaster+8 -8
mediawiki/extensions/AbuseFiltermaster+66 -40
mediawiki/extensions/CentralAuthmaster+75 -30
mediawiki/extensions/FlaggedRevsmaster+134 -53
mediawiki/extensions/EntitySchemamaster+19 -10
mediawiki/extensions/GlobalPreferencesmaster+2 -2
mediawiki/coremaster+2 -7
mediawiki/extensions/GlobalPreferencesmaster+12 -6
mediawiki/coremaster+50 -35
mediawiki/extensions/WikibaseLexememaster+60 -17
mediawiki/coremaster+80 -51
mediawiki/coremaster+497 -212
mediawiki/extensions/Wikibasemaster+208 -81
mediawiki/extensions/Flowmaster+79 -41
mediawiki/coremaster+24 -7
mediawiki/coremaster+161 -57
mediawiki/coremaster+57 -28
mediawiki/extensions/Wikibasemaster+10 -5
mediawiki/coremaster+18 -9
mediawiki/coremaster+223 -144
mediawiki/coremaster+105 -28
mediawiki/coremaster+65 -14
mediawiki/coremaster+101 -18
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

@daniel will review to check if this sub tasks are accurate

  • Quantity of calls is an unknown
    • We may also wish to investigate how to inject this

Change 511068 merged by jenkins-bot:
[mediawiki/core@master] API: Migrate Title::userCan() calls to PermissionManager

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

Change 513974 had a related patch set uploaded (by TK-999; owner: TK-999):
[mediawiki/core@master] Migrate remaining usages of Title::userCan() to PermissionManager

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

Change 513974 merged by jenkins-bot:
[mediawiki/core@master] Migrate remaining usages of Title::userCan() to PermissionManager

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

Change 530623 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] WIP: Replace User::isAllowed with PermissionManager.

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

Change 531329 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Remove usages of deprecated User::getRights.

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

Change 530623 merged by jenkins-bot:
[mediawiki/core@master] Replace User::isAllowed with PermissionManager.

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

Change 531329 merged by jenkins-bot:
[mediawiki/core@master] Remove usages of deprecated User::getRights.

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

Change 531503 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Replace usages of deprecated User::getRights. Step 2.

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

Change 531529 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/Wikibase@master] [Tests] Don't mock deprecated User::isAllowed for testing.

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

Change 531529 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] [Tests] Don't mock deprecated User::isAllowed for testing.

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

Change 531575 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] WIP: Deprecate and replace usages of User:isAllowed{All,Any}

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

Change 531590 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Remove deprecated User::getGroupPermissions calls.

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

Change 531590 merged by jenkins-bot:
[mediawiki/core@master] Remove deprecated User groups/permission static calls.

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

Change 531575 merged by Ppchelko:
[mediawiki/core@master] Deprecate and replace usages of User:isAllowed{All,Any}

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

Change 531761 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Make DefaultPreferencesFactory depend on PermissionManager.

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

Change 531772 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/GlobalPreferences@master] Provide PermissionManager to PreferencesFactory constructor.

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

Change 531995 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/Wikibase@master] Remove deprecated User methods.

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

Change 532486 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Move User::getAll{Rights,Groups} to PermissionManager.

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

Change 532486 merged by jenkins-bot:
[mediawiki/core@master] Move User::getAllRights to PermissionManager.

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

Change 534258 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/Flow@master] Remove obvious usages of deprecated methods in User,Title,Revision.

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

Change 534258 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Remove obvious usages of deprecated methods in User,Title,Revision.

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

Change 531995 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Remove usage of deprecated User methods.

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

Change 531503 merged by jenkins-bot:
[mediawiki/core@master] Replace usages of deprecated User::isAllowed. Step 2.

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

Change 536235 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/WikibaseLexeme@master] Remove usages of deprecated User methods.

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

Change 531761 merged by jenkins-bot:
[mediawiki/core@master] Make DefaultPreferencesFactory depend on PermissionManager.

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

Change 536353 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] DefaultPreferencesManager: Remove fallback for null PermissionManager

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

Change 536235 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Remove usages of deprecated User methods.

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

Change 536685 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Make WatchedItemQueryService depend on PermissionManager

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

Change 536685 merged by jenkins-bot:
[mediawiki/core@master] Make WatchedItemQueryService depend on PermissionManager

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

Change 531772 merged by jenkins-bot:
[mediawiki/extensions/GlobalPreferences@master] Provide PermissionManager to PreferencesFactory constructor.

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

Change 536353 merged by jenkins-bot:
[mediawiki/core@master] DefaultPreferencesFactory: Remove fallback for null PermissionManager

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

Change 537758 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/GlobalPreferences@master] Replace deprecated User::isAllowed.

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

Change 537766 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/AbuseFilter@master] Remove usages of deprecated User methods

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

Change 537758 merged by jenkins-bot:
[mediawiki/extensions/GlobalPreferences@master] Replace deprecated User::isAllowed.

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

Change 539416 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/EntitySchema@master] Remove usage of deprecated User methods.

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

Change 539416 merged by jenkins-bot:
[mediawiki/extensions/EntitySchema@master] Remove usage of deprecated User methods.

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

Change 540951 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/FlaggedRevs@master] Remove usages of deprecated User methods.

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

Change 540951 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Remove usages of deprecated User methods.

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

Change 547064 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Hard deprecate User::isEveryoneAllowed

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

Change 547065 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/CentralAuth@master] Remove usages of deprecated User methods

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

Change 547066 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Hard-deprecate User::getAllRights

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

Change 547065 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Remove usages of deprecated User methods

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

Change 537766 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Remove usages of deprecated User methods

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

Change 547064 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate User::isEveryoneAllowed

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

Change 547066 merged by jenkins-bot:
[mediawiki/core@master] Hard-deprecate User::getAllRights

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

Change 577330 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/extensions/CheckUser@master] Replace deprecated User::isAllowed with PermissionManager

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

Change 577537 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/extensions/Echo@master] Replace deprecated User::isAllowed with PermissionManager

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

Change 577537 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Replace deprecated User::isAllowed with PermissionManager

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

Change 577330 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Replace deprecated User::isAllowed with PermissionManager

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