(Bug 26961) hide anons from watchlist preference was broken due to typo in
authorBrian Wolff <bawolff@users.mediawiki.org>
Sun, 30 Jan 2011 18:17:57 +0000 (18:17 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Sun, 30 Jan 2011 18:17:57 +0000 (18:17 +0000)
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
includes/specials/SpecialWatchlist.php

index 9c22508..d9d9b50 100644 (file)
@@ -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
index 757671e..3bd5d48 100644 (file)
@@ -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' );