Manual talk:Hooks/userCan

Unfortunately, this hook is only called from Title.php so only actions which act on a specific page can be handled with this hook. MediaWiki really needs a hook called from User->isAllowed. Then other actions like userrights and such could be caught as well.

Just curious. Shouldn't this be expanded to include moving, protecting, and deleting pages as well? --Michael Reynolds 04:39, 22 March 2007 (UTC)

good documentions
in comparison to the other hooks, this hook is really well explained. hooray! Smaug  19:58, 26 May 2008 (UTC)