Page MenuHomePhabricator

Hard deprecate Title::quickUserCan
Closed, ResolvedPublic

Description

See parent task

Codesearch for quickUserCan calls: https://codesearch.wmflabs.org/deployed/?q=-%3EquickUserCan%5C(&i=nope&files=php%24&repos=

These need to be checked for if they are called on a title method

Calls to Title::quickUserCan:

All usage in WMF deployed extensions have been removed as of 1.35-wmf.20 (2020-02-18)

  • core:
    • TitlePermissionTest (lots)
  • Core actual deprecation

All other callers from mediawiki deployed code refer to a different quickUserCan (eg PermissionManager::quickUserCan)

Event Timeline

Change 571617 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/ArticlePlaceholder@master] Remove use of Title::quickUserCan

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

Change 571618 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Babel@master] Remove use of Title::quickUserCan

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

Change 571620 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Disambiguator@master] Remove use of Title::quickUserCan

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

Change 571631 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/WikiLove@master] Remove use of Title::quickUserCan

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

Change 571632 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/VisualEditor@master] Remove use of Title::quickUserCan

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

Change 571633 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/MassMessage@master] Remove use of Title::quickUserCan

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

Change 571636 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Linter@master] Remove use of Title::quickUserCan

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

Change 571638 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/PageTriage@master] Remove use of Title::quickUserCan

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

Change 571639 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/skins/Nostalgia@master] Remove use of Title::quickUserCan

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

Change 571640 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/LiquidThreads@master] Remove use of Title::quickUserCan

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

Change 571632 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Remove use of Title::quickUserCan

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

Change 571633 merged by jenkins-bot:
[mediawiki/extensions/MassMessage@master] Remove use of Title::quickUserCan

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

Change 571640 merged by jenkins-bot:
[mediawiki/extensions/LiquidThreads@master] Remove use of Title::quickUserCan

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

Change 571636 merged by jenkins-bot:
[mediawiki/extensions/Linter@master] Remove use of Title::quickUserCan

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

Change 571618 merged by jenkins-bot:
[mediawiki/extensions/Babel@master] Remove use of Title::quickUserCan

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

Change 571631 merged by jenkins-bot:
[mediawiki/extensions/WikiLove@master] Remove use of Title::quickUserCan

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

Change 571638 merged by jenkins-bot:
[mediawiki/extensions/PageTriage@master] Remove use of Title::quickUserCan

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

Change 571639 merged by jenkins-bot:
[mediawiki/skins/Nostalgia@master] Remove use of Title::quickUserCan

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

Change 571620 merged by jenkins-bot:
[mediawiki/extensions/Disambiguator@master] Remove use of Title::quickUserCan

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

Change 571617 merged by jenkins-bot:
[mediawiki/extensions/ArticlePlaceholder@master] Remove use of Title::quickUserCan

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

DannyS712 triaged this task as Medium priority.Feb 13 2020, 9:08 PM

Change 574138 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Hard deprecate Title::userCan and ::quickUserCan

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

Change 574138 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate Title::userCan and ::quickUserCan

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