r57301 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57300‎ | r57301 | r57302 >
Date:18:47, 2 October 2009
Author:aaron
Status:ok
Tags:
Comment:
Tweak r57300: swap hook listing order :)
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1213,14 +1213,14 @@
12141214 $article: the title being (un)protected
12151215 $output: a string of the form HTML so far
12161216
 1217+'ProtectionForm::save': called when a protection form is submitted
 1218+$article: the title being (un)protected
 1219+$errorMsg: an html message string of an error
 1220+
12171221 'ProtectionForm::showLogExtract': called after the protection log extract is shown
12181222 $article: the page the form is shown for
12191223 $out: OutputPage object
12201224
1221 -'ProtectionForm::save': called when a protection form is submitted
1222 -$article: the title being (un)protected
1223 -$errorMsg: an html message string of an error
1224 -
12251225 'RawPageViewBeforeOutput': Right before the text is blown out in action=raw
12261226 &$obj: RawPage object
12271227 &$text: The text that's going to be the output

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57300* Added $wgFlaggedRevsProtectLevels to allow for site defined review "protect...aaron18:46, 2 October 2009

Status & tagging log