Please, tell me more. Why not? What to use instead? @This, that and the other
Jump to navigation Jump to search
Reply to "In most cases $wgUser should not be used in new code."
In most cases $wgUser should not be used in new code.
Virtually all hooks now give you a User object as a parameter. If the hook you require does not have this parameter, and you think it should, then consider filing a Phabricator task.
There are no older topics