https://bugzilla.wikimedia.org/show_bug.cgi?id=41201

--- Comment #1 from Brad Jorsch <bjor...@wikimedia.org> ---
Looking at WMF-deployed extensions, I see that OAuth and CentralAuth use this
hook.

OAuth checks the request's Title object to avoid running on Special:OAuth
itself (Special:OAuth needs to do special stuff). To be able to call
UserLoadFromSession in Setup.php, we'd either have to change this check or
create Title in Setup.php too, before the $wgExtensionFunctions hooks.

CentralAuth doesn't seem to directly do anything that would blow up if called
from Setup.php. But it might call the AbortAutoAccount and AuthPluginAutoCreate
hooks, which might have the same sort of expectations of being called after
Setup.php as OAuth.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to