r4793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4792‎ | r4793 | r4794 >
Date:04:42, 15 August 2004
Author:vibber
Status:old
Tags:
Comment:
Use original instead of filtered search request for the optional new page edit link in nogomatch (de, etc)

Fix for Bug 54: go-search for non-existing page in a namespace returns broken new-edit URL
http://bugzilla.wikipedia.org/show_bug.cgi?id=54

[copied from head]
Modified paths:
  • /branches/REL1_3/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_3/phase3/includes/SearchEngine.php (modified) (history)

Diff [purge]

Index: branches/REL1_3/phase3/RELEASE-NOTES
@@ -3,7 +3,12 @@
44 Security reminder: MediaWiki does not require PHP's register_globals
55 setting since version 1.2.0. If you have it on, turn it *off* if you can.
66
 7+== Version 1.3.2, 2004-??-?? ==
78
 9+Changes from 1.3.1:
 10+* Fix namespaced page creation links when no go match
 11+
 12+
813 == Version 1.3.1, 2004-08-14 ==
914
1015 Changes from 1.3.0:
Index: branches/REL1_3/phase3/includes/SearchEngine.php
@@ -478,7 +478,7 @@
479479 }
480480
481481 # No match, generate an edit URL
482 - $t = Title::newFromText( $this->mUsertext );
 482+ $t = Title::newFromText( $wgRequest->getText( "search" ) );
483483
484484 # If the feature is enabled, go straight to the edit page
485485 if ( $wgGoToEdit ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r4794One more tweak for the page subtitle. Fix for...vibber05:02, 15 August 2004
r4795Show the search terms as given instead of the filtered terms in the subtitle....vibber05:05, 15 August 2004

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r4792Use original instead of filtered search request for the optional new page edi...vibber04:38, 15 August 2004

Status & tagging log