http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72158
Revision: 72158
Author: ialex
Date: 2010-09-01 19:30:41 +0000 (Wed, 01 Sep 2010)
Log Message:
-----------
invert without namespace doesn't do anything, so ignore it
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialRecentchanges.php
Modified: trunk/phase3/includes/specials/SpecialRecentchanges.php
===================================================================
--- trunk/phase3/includes/specials/SpecialRecentchanges.php 2010-09-01
19:24:08 UTC (rev 72157)
+++ trunk/phase3/includes/specials/SpecialRecentchanges.php 2010-09-01
19:30:41 UTC (rev 72158)
@@ -342,8 +342,8 @@
// (b) We want all pages NOT in a certain namespaces (inverted)
// (c) There is a tag to filter on (use tag index instead)
// (d) UNION + sort/limit is not an option for the DBMS
- if( is_null($namespace)
- || $invert
+ if( is_null( $namespace )
+ || ( $invert && !is_null( $namespace ) )
|| $opts['tagfilter'] != ''
|| !$dbr->unionSupportsOrderAndLimit() )
{
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs