* (bug 2568) Fixed a logic error in the Special:Statistics code which caused
the displayed percentage of admins to be totally off.
* (bug 2560) Don't show blank width/height attributes for missing size
+* Don't show bogus messages about watchlist notifications when disabled
+* Don't show old debug messages in watchlist
=== Caveats ===
global $wgUser, $wgOut, $wgLang, $wgTitle, $wgMemc, $wgRequest, $wgContLang;;
global $wgUseWatchlistCache, $wgWLCacheTimeout, $wgDBname;
global $wgRCShowWatchingUsers, $wgEnotifWatchlist, $wgShowUpdatedMarker;
+ global $wgEnotifWatchlist;
$fname = 'wfSpecialWatchlist';
$wgOut->setPagetitle( wfMsg( 'watchlist' ) );
$id = $wgRequest->getArray( 'id' );
$uid = $wgUser->getID();
- if( $wgRequest->getVal( 'reset' ) && $wgRequest->wasPosted() ) {
+ if( $wgEnotifWatchlist && $wgRequest->getVal( 'reset' ) && $wgRequest->wasPosted() ) {
$wgUser->clearAllNotifications( $uid );
}
if( $wgUser->getOption( 'enotifwatchlistpages' ) && $wgEnotifWatchlist) {
$header .= wfMsg( 'wlheader-enotif' ) . "\n";
}
- if ( $wgShowUpdatedMarker ) {
+ if ( $wgEnotifWatchlist && $wgShowUpdatedMarker ) {
$header .= wfMsg( 'wlheader-showupdated' ) . "\n";
}
$specialTitle->getFullUrl( 'edit=yes' ) );
$wgOut->addWikiText( $header );
- if ( $wgShowUpdatedMarker ) {
+ if ( $wgEnotifWatchlist && $wgShowUpdatedMarker ) {
$wgOut->addHTML( '<form action="' .
$specialTitle->escapeLocalUrl() .
'" method="post"><input type="submit" name="dummy" value="' .
'unwatchthispage' => 'Stop watching',
'notanarticle' => 'Not a content page',
'watchnochange' => 'None of your watched items were edited in the time period displayed.',
-'watchdetails' => "* $1 pages watched not counting talk pages, $2 total pages edited in the specified period
-* Query method: $3
+'watchdetails' => "* $1 pages watched not counting talk pages
* [[Special:Watchlist/edit|Show and edit complete watchlist]]
",
'wlheader-enotif' => "* Email notification is enabled.",