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)