Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1213,14 +1213,14 @@ |
1214 | 1214 | $article: the title being (un)protected |
1215 | 1215 | $output: a string of the form HTML so far |
1216 | 1216 | |
| 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 | + |
1217 | 1221 | 'ProtectionForm::showLogExtract': called after the protection log extract is shown |
1218 | 1222 | $article: the page the form is shown for |
1219 | 1223 | $out: OutputPage object |
1220 | 1224 | |
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 | | - |
1225 | 1225 | 'RawPageViewBeforeOutput': Right before the text is blown out in action=raw |
1226 | 1226 | &$obj: RawPage object |
1227 | 1227 | &$text: The text that's going to be the output |