r65533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65532‎ | r65533 | r65534 >
Date:23:11, 25 April 2010
Author:siebrand
Status:ok
Tags:
Comment:
(bug 23313) Move watchlisthidepatrolled above token in watchlist preferences to enhance preference grouping.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -844,6 +844,14 @@
845845 'label-message' => 'tog-watchlisthideliu',
846846 );
847847
 848+ if ( $wgUseRCPatrol ) {
 849+ $defaultPreferences['watchlisthidepatrolled'] = array(
 850+ 'type' => 'toggle',
 851+ 'section' => 'watchlist/advancedwatchlist',
 852+ 'label-message' => 'tog-watchlisthidepatrolled',
 853+ );
 854+ }
 855+
848856 if ( $wgEnableAPI ) {
849857 # Some random gibberish as a proposed default
850858 $hash = sha1( mt_rand() . microtime( true ) );
@@ -856,14 +864,6 @@
857865 );
858866 }
859867
860 - if ( $wgUseRCPatrol ) {
861 - $defaultPreferences['watchlisthidepatrolled'] = array(
862 - 'type' => 'toggle',
863 - 'section' => 'watchlist/advancedwatchlist',
864 - 'label-message' => 'tog-watchlisthidepatrolled',
865 - );
866 - }
867 -
868868 $watchTypes = array(
869869 'edit' => 'watchdefault',
870870 'move' => 'watchmoves',
Index: trunk/phase3/RELEASE-NOTES
@@ -123,8 +123,10 @@
124124 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
125125 work.
126126 * (bug 23075) Correct MediaTransformError default width in gallery.
127 -* (bug 16487) The Anonymous user account used on Postgres is no longer
 127+* (bug 16487) The Anonymous user account used on Postgres is no longer
128128 displayed on Special:Listusers.
 129+* (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
 130+ to enhance preference grouping.
129131
130132 === API changes in 1.17 ===
131133 * (bug 22738) Allow filtering by action type on query=logevent

Status & tagging log