Page MenuHomePhabricator

Deprecate the UserLoadFromDatabase hook
Closed, ResolvedPublic

Description

I propose that the UserLoadFromDatabase hook be removed - it is currently unused, and removing it would simplify the eventual migration to creating user objects on foreign wikis. Th first step would be hard deprecation in 1.37

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Sounds good. Not used indeed and IMHO the hook is way too intrusive

Change 683958 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] Hard deprecate UserLoadFromDatabase hook

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

Change 683958 merged by jenkins-bot:

[mediawiki/core@master] Hard deprecate UserLoadFromDatabase hook

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

DannyS712 renamed this task from Deprecate and remove UserLoadFromDatabase hook to Deprecate the UserLoadFromDatabase hook.May 1 2021, 7:06 PM
DannyS712 closed this task as Resolved.
DannyS712 claimed this task.
DannyS712 updated the task description. (Show Details)