X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=99676669b2e643b4867c7bde02bcd3073c1c2739;hb=1d866a533dde1e0a6bab9524ce4197e031b22779;hp=ae2a5dcfa73b946a97440e36da17cf31d1468ae6;hpb=e369c0105ea67a7997653badff282196b138653b;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index ae2a5dcfa7..99676669b2 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2335,6 +2335,11 @@ $action: Action being performed $doExpensiveQueries: Whether to do expensive DB queries $short: Whether to return immediately on first error +'TitleGetEditNotices': Allows extensions to add edit notices +$title: The Title object for the page the edit notices are for +$oldid: Revision ID that the edit notices are for (or 0 for latest) +&$notices: Array of notices. Keys are i18n message keys, values are parseAsBlock()ed messages. + 'TitleGetRestrictionTypes': Allows extensions to modify the types of protection that can be applied. $title: The title in question. @@ -2579,6 +2584,10 @@ $title: Title of the page in question $ip: User's IP address &$blocked: Whether the user is blocked, to be modified by the hook +'UserIsEveryoneAllowed': Check if all users are allowed some user right; return +false if a UserGetRights hook might remove the named right. +$right: The user right being checked + 'UserLoadAfterLoadFromSession': Called to authenticate users on external or environmental means; occurs after session is loaded. $user: user object being loaded