r4792 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r4791
|
r4792
|
r4793
>
Date:
04:38, 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
Modified paths:
/trunk/phase3/includes/SearchEngine.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/SearchEngine.php
—
—
@@ -476,7 +476,7 @@
477
477
}
478
478
479
479
# No match, generate an edit URL
480
- $t = Title::newFromText( $this->mUsertext );
480
+ $t = Title::newFromText( $wgRequest->getText( "search" ) );
481
481
482
482
# If the feature is enabled, go straight to the edit page
483
483
if ( $wgGoToEdit ) {
Follow-up revisions
Revision
Commit summary
Author
Date
r4793
Use original instead of filtered search request for the optional new page edi...
vibber
04:42, 15 August 2004
r4794
One more tweak for the page subtitle. Fix for...
vibber
05:02, 15 August 2004
r4795
Show the search terms as given instead of the filtered terms in the subtitle....
vibber
05:05, 15 August 2004
Status & tagging log
01:56, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r4792
[
removed:
new
added:
old]