r65421 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65420‎ | r65421 | r65422 >
Date:09:36, 22 April 2010
Author:ialex
Status:ok
Tags:
Comment:
* (bug 23286) Fix for r62890: namespace selector no longer has effect
Modified paths:
  • /trunk/phase3/includes/specials/SpecialWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialWatchlist.php
@@ -191,6 +191,9 @@
192192 if ( $wgUser->useRCPatrol() && $hidePatrolled ) {
193193 $conds[] = 'rc_patrolled != 1';
194194 }
 195+ if( $nameSpaceClause ) {
 196+ $conds[] = $nameSpaceClause;
 197+ }
195198
196199 # Toggle watchlist content (all recent edits or just the latest)
197200 if( $wgUser->getOption( 'extendwatchlist' )) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62890Reduce code duplication by adding conditions to $conds directly, rather than ...demon20:37, 23 February 2010

Status & tagging log