From: Brion Vibber Date: Wed, 19 Nov 2003 08:33:51 +0000 (+0000) Subject: Preserve search namespace options across next/prev X-Git-Tag: 1.1.0~130 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e54531a69a7a8592352991ee4540b28825e74abf;p=lhc%2Fweb%2Fwiklou.git Preserve search namespace options across next/prev --- diff --git a/includes/SearchEngine.php b/includes/SearchEngine.php index 7735318eb6..b153a72d2a 100644 --- a/includes/SearchEngine.php +++ b/includes/SearchEngine.php @@ -65,6 +65,10 @@ class SearchEngine { $ret = wfMsg("powersearchtext"); # Text to be returned $tempText = ""; # Temporary text, for substitution into $ret + if( isset( $_REQUEST["searchx"] ) ) { + $this->addtoquery["searchx"] = "1"; + } + # Do namespace checkboxes $namespaces = $wgLang->getNamespaces(); foreach ( $namespaces as $i => $namespace ) {