The documented setting on MW.org (and in DefaultSettings) is $wgSearchForwardUrl...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 30 Jul 2008 04:13:30 +0000 (04:13 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 30 Jul 2008 04:13:30 +0000 (04:13 +0000)
RELEASE-NOTES
includes/specials/SpecialSearch.php

index e1280f4..f2a6209 100644 (file)
@@ -23,6 +23,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
   the effect of the new __INDEX__/__NOINDEX__ magic words.  (Default: null, ex-
   empt all content namespaces.)
+* $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
+  has been $wgSearchForwardUrl.
 
 === New features in 1.14 ===
 
index f372320..1a1fc3f 100644 (file)
@@ -139,9 +139,9 @@ class SpecialSearch {
 
                global $wgDisableTextSearch;
                if ( $wgDisableTextSearch ) {
-                       global $wgForwardSearchUrl;
-                       if( $wgForwardSearchUrl ) {
-                               $url = str_replace( '$1', urlencode( $term ), $wgForwardSearchUrl );
+                       global $wgSearchForwardUrl;
+                       if( $wgSearchForwardUrl ) {
+                               $url = str_replace( '$1', urlencode( $term ), $wgSearchForwardUrl );
                                $wgOut->redirect( $url );
                                return;
                        }