From 3cd313c1fc3e10a804c6d4a9a30ed8cb96f4b3ef Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Sun, 30 Jan 2011 18:17:57 +0000 Subject: [PATCH] (Bug 26961) hide anons from watchlist preference was broken due to typo in r39314. Fix by duplicatebug. Given that this preference has been broken since it was introduced, and the only person to notice in 3 years has been the testers, that may be a good argument to remove the preference altogether. --- RELEASE-NOTES | 1 + includes/specials/SpecialWatchlist.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9c22508bf7..d9d9b507ca 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -107,6 +107,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN the right message instead of complaining about a MIME/extension mismatch * (bug 26809) Uploading files with multiple extensions where one of the extensions is blacklisted now gives the proper extension in the error message. +* (bug 26961) Hide anon edits in watchlist preference now actually works. === API changes in 1.18 === * (bug 26339) Throw warning when truncating an overlarge API result diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 757671ebba..3bd5d48ed9 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -103,7 +103,7 @@ function wfSpecialWatchlist( $par ) { $prefs['days'] = floatval( $wgUser->getOption( 'watchlistdays' ) ); $prefs['hideminor'] = $wgUser->getBoolOption( 'watchlisthideminor' ); $prefs['hidebots'] = $wgUser->getBoolOption( 'watchlisthidebots' ); - $prefs['hideanons'] = $wgUser->getBoolOption( 'watchlisthideanon' ); + $prefs['hideanons'] = $wgUser->getBoolOption( 'watchlisthideanons' ); $prefs['hideliu'] = $wgUser->getBoolOption( 'watchlisthideliu' ); $prefs['hideown' ] = $wgUser->getBoolOption( 'watchlisthideown' ); $prefs['hidepatrolled' ] = $wgUser->getBoolOption( 'watchlisthidepatrolled' ); -- 2.20.1