X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=99676669b2e643b4867c7bde02bcd3073c1c2739;hb=1d866a533dde1e0a6bab9524ce4197e031b22779;hp=fb9a528e90121b18b3053050e811756255e312d8;hpb=687f9dd8e188ee6c867bebabb3c7af6c54454a99;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index fb9a528e90..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.