r38216 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38215‎ | r38216 | r38217 >
Date:04:15, 30 July 2008
Author:demon
Status:old
Tags:
Comment:
Backport fix from r38215 to branch.
Modified paths:
  • /branches/REL1_13/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_13/phase3/includes/specials/SpecialSearch.php (modified) (history)

Diff [purge]

Index: branches/REL1_13/phase3/includes/specials/SpecialSearch.php
@@ -139,9 +139,9 @@
140140
141141 global $wgDisableTextSearch;
142142 if ( $wgDisableTextSearch ) {
143 - global $wgForwardSearchUrl;
144 - if( $wgForwardSearchUrl ) {
145 - $url = str_replace( '$1', urlencode( $term ), $wgForwardSearchUrl );
 143+ global $wgSearchForwardUrl;
 144+ if( $wgSearchForwardUrl ) {
 145+ $url = str_replace( '$1', urlencode( $term ), $wgSearchForwardUrl );
146146 $wgOut->redirect( $url );
147147 return;
148148 }
Index: branches/REL1_13/phase3/RELEASE-NOTES
@@ -71,6 +71,8 @@
7272 creating new directories.
7373 * (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults
7474 current behavior.
 75+* $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
 76+ has been $wgSearchForwardUrl.
7577
7678 === New features in 1.13 ===
7779

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r38215The documented setting on MW.org (and in DefaultSettings) is $wgSearchForward...demon04:13, 30 July 2008

Status & tagging log