dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61c1bb
)
Use original instead of filtered search request for the optional new page edit link...
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 15 Aug 2004 04:38:35 +0000
(
04:38
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 15 Aug 2004 04:38:35 +0000
(
04:38
+0000)
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
includes/SearchEngine.php
patch
|
blob
|
history
diff --git
a/includes/SearchEngine.php
b/includes/SearchEngine.php
index
a9f20c4
..
4e64287
100644
(file)
--- a/
includes/SearchEngine.php
+++ b/
includes/SearchEngine.php
@@
-476,7
+476,7
@@
class SearchEngine {
}
# No match, generate an edit URL
- $t = Title::newFromText( $
this->mUsertext
);
+ $t = Title::newFromText( $
wgRequest->getText( "search" )
);
# If the feature is enabled, go straight to the edit page
if ( $wgGoToEdit ) {