
ialex at svn
Aug 27, 2008, 3:23 PM
Post #1 of 1
(24 views)
Permalink
|
|
SVN: [40113] trunk/phase3
|
|
Revision: 40113 Author: ialex Date: 2008-08-27 22:23:04 +0000 (Wed, 27 Aug 2008) Log Message: ----------- (bug 15342) "Invert" checkbox now works correctly when selecting main namespace in Special:Watchlist Modified Paths: -------------- trunk/phase3/RELEASE-NOTES trunk/phase3/includes/specials/SpecialWatchlist.php Modified: trunk/phase3/RELEASE-NOTES =================================================================== --- trunk/phase3/RELEASE-NOTES 2008-08-27 21:45:18 UTC (rev 40112) +++ trunk/phase3/RELEASE-NOTES 2008-08-27 22:23:04 UTC (rev 40113) @@ -151,6 +151,8 @@ * (bug 15303) Title conversion for templates wasn't working in some cases. * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken literally; now converting them to spaces per expectation. +* (bug 15342) "Invert" checkbox now works correctly when selecting main + namespace in Special:Watchlist === API changes in 1.14 === Modified: trunk/phase3/includes/specials/SpecialWatchlist.php =================================================================== --- trunk/phase3/includes/specials/SpecialWatchlist.php 2008-08-27 21:45:18 UTC (rev 40112) +++ trunk/phase3/includes/specials/SpecialWatchlist.php 2008-08-27 22:23:04 UTC (rev 40113) @@ -81,7 +81,7 @@ $invert = $wgRequest->getIntOrNull( 'invert' ); if( !is_null( $nameSpace ) ) { $nameSpace = intval( $nameSpace ); - if( $invert && $nameSpace != 'all' ) + if( $invert && $nameSpace !== 'all' ) $nameSpaceClause = " AND rc_namespace != $nameSpace"; else $nameSpaceClause = " AND rc_namespace = $nameSpace"; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
|