From 7e3b1afba6408345e0f897805d536a1199653be3 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 1 Sep 2010 19:30:41 +0000 Subject: [PATCH] invert without namespace doesn't do anything, so ignore it --- includes/specials/SpecialRecentchanges.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 0719d0d086..0a9ad82a86 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -342,8 +342,8 @@ class SpecialRecentChanges extends IncludableSpecialPage { // (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() ) { -- 2.20.1