Tweak r57300: swap hook listing order :)
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 2 Oct 2009 18:47:38 +0000 (18:47 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 2 Oct 2009 18:47:38 +0000 (18:47 +0000)
docs/hooks.txt

index 7c320e7..6e7d816 100644 (file)
@@ -1213,14 +1213,14 @@ $error: error (string) 'badretype', 'wrongpassword', 'error' or 'success'
 $article: the title being (un)protected
 $output: a string of the form HTML so far
 
-'ProtectionForm::showLogExtract': called after the protection log extract is shown
-$article: the page the form is shown for
-$out: OutputPage object
-
 'ProtectionForm::save': called when a protection form is submitted
 $article: the title being (un)protected
 $errorMsg: an html message string of an error
 
+'ProtectionForm::showLogExtract': called after the protection log extract is shown
+$article: the page the form is shown for
+$out: OutputPage object
+
 'RawPageViewBeforeOutput': Right before the text is blown out in action=raw
 &$obj: RawPage object
 &$text: The text that's going to be the output