Page MenuHomePhabricator

mAllowUsertalk property on User.php is not being used and should be removed
Closed, ResolvedPublic

Event Timeline

FYI: The value is passed to the UserIsBlockedFrom hook, where MediaWiki-extensions-LiquidThreads tries to make use of it.

FYI: The value is passed to the UserIsBlockedFrom hook, where MediaWiki-extensions-LiquidThreads tries to make use of it.

Right. And UserIsBlockedFrom signature will need to change for this. LiquidThreads can be fix accordingly.

I still think mAllowUsertalk can be removed.

Change 704278 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[mediawiki/core@master] Remove User::$mAllowUsertalk and deprecate User::isAllowUsertalk

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

Change 704278 merged by jenkins-bot:

[mediawiki/core@master] Hard deprecate User::isAllowUsertalk

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

matej_suchanek changed the task status from Open to Stalled.Sep 2 2021, 11:39 AM

Per Stable interface policy § Removal:

Obsolete behavior MAY be removed after it has been hard deprecated for three months in the development version (the master branch) as well as in one major release

matej_suchanek changed the task status from Stalled to In Progress.Dec 3 2021, 9:02 AM
matej_suchanek moved this task from Unsorted to Needs removal on the Technical-Debt board.