Follow-up r92364: Update hooks documentation
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 26 Nov 2011 21:31:22 +0000 (21:31 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 26 Nov 2011 21:31:22 +0000 (21:31 +0000)
docs/hooks.txt

index 4e1cae8..6c7c48e 100644 (file)
@@ -2072,6 +2072,7 @@ $user: User object
 'UserGetRights': Called in User::getRights()
 $user: User to get rights for
 &$rights: Current rights
+$namespace: Namespace to get permissions for; if null all namespaces
 
 'UserIsBlockedFrom': Check if a user is blocked from a specific page (for specific block
        exemptions).