Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialBrowse.php |
— | — | @@ -231,16 +231,15 @@ |
232 | 232 | * |
233 | 233 | * @return A string containing the HTML with the subject line |
234 | 234 | */ |
235 | | - private function displayHead() { |
236 | | - global $wgOut; |
237 | | - |
| 235 | + private function displayHead() { |
| 236 | + global $wgOut; |
| 237 | + |
238 | 238 | $wgOut->setHTMLTitle( $this->subject->getTitle() ); |
239 | | - $html = "<table class=\"smwb-factbox\" cellpadding=\"0\" cellspacing=\"0\">\n"; |
240 | | - $html .= "<tr class=\"smwb-title\"><td colspan=\"2\">\n"; |
241 | | - $html .= smwfGetLinker()->makeLinkObj( $this->subject->getTitle() ) . "\n"; // @todo Replace makeLinkObj with link as soon as we drop MW1.12 compatibility |
242 | | - $html .= "</td></tr>\n"; |
243 | | - $html .= "</table>\n"; |
244 | | - |
| 239 | + $html = "<table class=\"smwb-factbox\" cellpadding=\"0\" cellspacing=\"0\">\n" . |
| 240 | + "<tr class=\"smwb-title\"><td colspan=\"2\">\n" . |
| 241 | + $this->subject->getShortHTMLText( smwfGetLinker() ) . "\n" . |
| 242 | + "</td></tr>\n</table>\n"; |
| 243 | + |
245 | 244 | return $html; |
246 | 245 | } |
247 | 246 | |