X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=66b3f3cee41a7d2578713a1d906ca95ed0b81188;hb=6be73092dbb4bf2e7308fe819c0a19f3f1f7ed25;hp=104a665869b3a7f2d01aeb270cbed31cbed87b49;hpb=bcac48de50c818c8bc75b8f7c6d41b31e82f0b06;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 104a665869..66b3f3cee4 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -416,6 +416,13 @@ my talk page, my contributions" etc). &$personal_urls: Array of link specifiers (see SkinTemplate.php) &$title: Title object representing the current page +'PingLimiter': Allows extensions to override the results of User::pingLimiter() +&$user : User performing the action +$action : Action being performed +&$result : Whether or not the action should be prevented +Change $result and return false to give a definitive answer, otherwise +the built-in rate limiting checks are used, if enabled. + 'SiteNoticeBefore': Before the sitenotice/anonnotice is composed &$siteNotice: HTML returned as the sitenotice Return true to allow the normal method of notice selection/rendering to work,