Include redirect/section information in file search results
authorChad Horohoe <chadh@wikimedia.org>
Mon, 7 Jul 2014 20:00:45 +0000 (13:00 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Mon, 7 Jul 2014 20:00:45 +0000 (13:00 -0700)
Change-Id: I51c5ae99ab70a610a64f510b8cc522f0d9025efa

includes/specials/SpecialSearch.php

index 7a870c0..0b53a20 100644 (file)
@@ -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>' .