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:
974c884
)
Fix edit-new-page link for results not found.
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 6 Jul 2003 00:29:18 +0000
(
00:29
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 6 Jul 2003 00:29:18 +0000
(
00:29
+0000)
includes/SearchEngine.php
patch
|
blob
|
history
diff --git
a/includes/SearchEngine.php
b/includes/SearchEngine.php
index
e339106
..
b635ad9
100644
(file)
--- a/
includes/SearchEngine.php
+++ b/
includes/SearchEngine.php
@@
-432,9
+432,9
@@
class SearchEngine {
$wgArticle->view();
return;
}
- $wgOut->addHTML(
str_replace( "$1",
- wfLocalUrl( ucfirst($this->mUsertext) . "&action=edit"),
-
wfMsg("nogomatch"))
. "\n<p>" );
+ $wgOut->addHTML(
wfMsg("nogomatch",
+ htmlspecialchars( wfLocalUrl( ucfirst($this->mUsertext), "action=edit") ) )
+ . "\n<p>" );
$this->showResults();
}
}