From: umherirrender Date: Sun, 20 Sep 2015 08:40:15 +0000 (+0200) Subject: Fix hooks documentation for ArticleProtect/ArticleProtectComplete X-Git-Tag: 1.31.0-rc.0~9824^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=2fb7de8f48a992b5cc178f82fae8f86f697ac96c;p=lhc%2Fweb%2Fwiklou.git Fix hooks documentation for ArticleProtect/ArticleProtectComplete The last parameter is not in code, so remove it from documentation. Was removed with a35fcb0bed5f8600b4330039b6772fa4c7a49cd0 (r12207) Change-Id: I5625f621342c2b71c56df3b3167479ec3884acf8 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 54ab46c171..e3a5283897 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -641,16 +641,14 @@ $popts: parser options to be used for pre-save transformation 'ArticleProtect': Before an article is protected. $wikiPage: the WikiPage being protected $user: the user doing the protection -$protect: boolean whether this is a protect or an unprotect +$protect: Set of restriction keys $reason: Reason for protect -$moveonly: boolean whether this is for move only or not 'ArticleProtectComplete': After an article is protected. $wikiPage: the WikiPage that was protected $user: the user who did the protection -$protect: boolean whether it was a protect or an unprotect +$protect: Set of restriction keys $reason: Reason for protect -$moveonly: boolean whether it was for move only or not 'ArticlePurge': Before executing "&action=purge". $wikiPage: WikiPage (object) to purge