$this->addHelpLink( 'Help:Watching pages' );
$output->addModules( [
'mediawiki.special.changeslist.visitedstatus',
+ 'mediawiki.special.watchlist',
] );
$mode = SpecialEditWatchlist::getMode( $request, $subpage );
$user = $this->getUser();
$out = $this->getOutput();
- // if the user wishes, that the watchlist is reloaded, whenever a filter changes,
- // add the module for that
- if ( $user->getBoolOption( 'watchlistreloadautomatically' ) ) {
- $out->addModules( [ 'mediawiki.special.watchlist' ] );
- }
-
$out->addSubtitle(
$this->msg( 'watchlistfor2', $user->getName() )
->rawParams( SpecialEditWatchlist::buildTools(
$form .= Xml::openElement( 'form', [ 'method' => 'post',
'action' => $this->getPageTitle()->getLocalURL(),
'id' => 'mw-watchlist-resetbutton' ] ) . "\n" .
- Xml::submitButton( $this->msg( 'enotif_reset' )->text(), [ 'name' => 'dummy' ] ) . "\n" .
+ Xml::submitButton( $this->msg( 'enotif_reset' )->text(),
+ [ 'name' => 'mw-watchlist-reset-submit' ] ) . "\n" .
Html::hidden( 'reset', 'all' ) . "\n";
foreach ( $nondefaults as $key => $value ) {
$form .= Html::hidden( $key, $value ) . "\n";