* (bug 23286) Fix for r62890: namespace selector no longer has effect
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 22 Apr 2010 09:36:18 +0000 (09:36 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 22 Apr 2010 09:36:18 +0000 (09:36 +0000)
includes/specials/SpecialWatchlist.php

index b109b72..562715f 100644 (file)
@@ -191,6 +191,9 @@ function wfSpecialWatchlist( $par ) {
        if ( $wgUser->useRCPatrol() && $hidePatrolled ) {
                $conds[] = 'rc_patrolled != 1';
        }
+       if( $nameSpaceClause ) {
+               $conds[] = $nameSpaceClause;
+       }
 
        # Toggle watchlist content (all recent edits or just the latest)
        if( $wgUser->getOption( 'extendwatchlist' )) {