44 'vertical-label' =>
true,
46 'default' => $this->
msg(
'confirm-unwatch-top' )->parse()
52 parent::alterForm( $form );
53 $form->setWrapperLegendMsg(
'removewatch' );
54 $form->setSubmitTextMsg(
'confirm-unwatch-button' );
58 $msgKey = $this->
getTitle()->isTalkPage() ?
'removedwatchtext-talk' :
'removedwatchtext';
getTitle()
Shortcut to get the Title object from the page.
getOutput()
Get the OutputPage being used for this instance.
msg( $key)
Get a Message object with context set Parameters are the same as wfMessage()
getUser()
Shortcut to get the User being used for this instance.
Page removal from a user's watchlist.
onSubmit( $data)
Process the form on POST submission.
getFormFields()
Get an HTMLForm descriptor array.
doesWrites()
Indicates whether this action may perform database writes.
getName()
Return the name of the action this object responds to.
onSuccess()
Do something exciting on successful processing of the form.
alterForm(HTMLForm $form)
Play with the HTMLForm if you need to more substantially.
Page addition to a user's watchlist.
static doUnwatch(Title $title, User $user)
Unwatch a page.