From: Brion Vibber Date: Sat, 24 Apr 2004 06:39:59 +0000 (+0000) Subject: Fix for old-style search URLs to force the page to behave as search X-Git-Tag: 1.3.0beta1~296 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=37cf6441405626dbf878dd5d189b3315f37e25e5;p=lhc%2Fweb%2Fwiklou.git Fix for old-style search URLs to force the page to behave as search --- diff --git a/index.php b/index.php index 74f065e5db..91b6eb52c9 100644 --- a/index.php +++ b/index.php @@ -64,6 +64,7 @@ if ( !$wgUser->getID() && is_array( $wgWhitelistRead ) && $wgTitle) { } if ( $search = $wgRequest->getText( 'search' ) ) { + $wgTitle = Title::makeTitle( NS_SPECIAL, "Search" ); if( $wgRequest->getVal( 'fulltext' ) ) { wfSearch( $search ); } else {