MediaWiki
REL1_22
|
Page removal from a user's watchlist. More...
Public Member Functions | |
getName () | |
Return the name of the action this object responds to. | |
onSubmit ($data) | |
Process the form on POST submission. | |
onSuccess () | |
Do something exciting on successful processing of the form. | |
Protected Member Functions | |
alterForm (HTMLForm $form) | |
Play with the HTMLForm if you need to more substantially. | |
getDescription () | |
Returns the description that goes below the <h1> tag. | |
preText () | |
Add pre- or post-text to the form. |
Page removal from a user's watchlist.
Definition at line 209 of file WatchAction.php.
UnwatchAction::alterForm | ( | HTMLForm $ | form | ) | [protected] |
Play with the HTMLForm if you need to more substantially.
$form | HTMLForm |
Reimplemented from WatchAction.
Definition at line 226 of file WatchAction.php.
References HTMLForm\setSubmitTextMsg().
UnwatchAction::getDescription | ( | ) | [protected] |
Returns the description that goes below the <h1> tag.
Reimplemented from WatchAction.
Definition at line 215 of file WatchAction.php.
References Action\msg().
Return the name of the action this object responds to.
Reimplemented from WatchAction.
Definition at line 211 of file WatchAction.php.
UnwatchAction::onSubmit | ( | $ | data | ) |
Process the form on POST submission.
If you return false from getFormFields(), this will obviously never be reached. If you don't want to do anything with the form, just return false here
$data | Array |
Reimplemented from WatchAction.
Definition at line 219 of file WatchAction.php.
References WatchAction\doUnwatch(), Action\getTitle(), Action\getUser(), wfProfileIn(), and wfProfileOut().
Do something exciting on successful processing of the form.
This might be to show a confirmation message (watch, rollback, etc) or to redirect somewhere else (edit, protect, etc).
Reimplemented from WatchAction.
Definition at line 234 of file WatchAction.php.
References Action\getOutput(), and Action\getTitle().
UnwatchAction::preText | ( | ) | [protected] |
Add pre- or post-text to the form.
Reimplemented from WatchAction.
Definition at line 230 of file WatchAction.php.
References Action\msg().