Fix hooks documentation for ArticleProtect/ArticleProtectComplete
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 20 Sep 2015 08:40:15 +0000 (10:40 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Wed, 23 Sep 2015 19:04:22 +0000 (21:04 +0200)
The last parameter is not in code, so remove it from documentation.

Was removed with a35fcb0bed5f8600b4330039b6772fa4c7a49cd0 (r12207)

Change-Id: I5625f621342c2b71c56df3b3167479ec3884acf8

docs/hooks.txt

index 54ab46c..e3a5283 100644 (file)
@@ -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