From: Antoine Musso Date: Sun, 15 Jan 2006 14:06:29 +0000 (+0000) Subject: Add a link to history. Usefull for vandalism tracking & speedy deletion X-Git-Tag: 1.6.0~531 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=67d8411c6e924b368b98f28230cef39fcc46072e;p=lhc%2Fweb%2Fwiklou.git Add a link to history. Usefull for vandalism tracking & speedy deletion --- diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index e878a2aacc..4c1c053e86 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -53,10 +53,11 @@ class ShortPagesPage extends QueryPage { function formatResult( $skin, $result ) { global $wgLang, $wgContLang; - $nb = htmlspecialchars( wfMsg( "nbytes", $wgLang->formatNum( $result->value ) ) ); + $nb = htmlspecialchars( wfMsg( 'nbytes', $wgLang->formatNum( $result->value ) ) ); $title = Title::makeTitle( $result->namespace, $result->title ); $link = $skin->makeKnownLinkObj( $title, htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) ); - return "{$link} ({$nb})"; + $histlink = $skin->makeKnownLinkObj( $title, wfMsg('hist'), 'action=history' ); + return "({$histlink}) $link ({$nb})"; } }