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:
65207f2
)
Include redirect/section information in file search results
author
Chad Horohoe
<chadh@wikimedia.org>
Mon, 7 Jul 2014 20:00:45 +0000
(13:00 -0700)
committer
Chad Horohoe
<chadh@wikimedia.org>
Mon, 7 Jul 2014 20:00:45 +0000
(13:00 -0700)
Change-Id: I51c5ae99ab70a610a64f510b8cc522f0d9025efa
includes/specials/SpecialSearch.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialSearch.php
b/includes/specials/SpecialSearch.php
index
7a870c0
..
0b53a20
100644
(file)
--- a/
includes/specials/SpecialSearch.php
+++ b/
includes/specials/SpecialSearch.php
@@
-714,7
+714,7
@@
class SpecialSearch extends SpecialPage {
$thumb->toHtml( array( 'desc-link' => true ) ) .
'</td>' .
'<td style="vertical-align: top;">' .
- "{$link} {$fileMatch}" .
+ "{$link} {$
redirect} {$section} {$
fileMatch}" .
$extract .
"<div class='mw-search-result-data'>{$score}{$desc} - {$date}{$related}</div>" .
'</td>' .