From: Brion Vibber Date: Sun, 15 Jan 2006 20:34:25 +0000 (+0000) Subject: HTML protection on message use X-Git-Tag: 1.6.0~530 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=48c994520f68f329124c13ff90f6d2dbb10628f4;p=lhc%2Fweb%2Fwiklou.git HTML protection on message use --- diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index 4c1c053e86..5d748c238f 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -56,7 +56,7 @@ class ShortPagesPage extends QueryPage { $nb = htmlspecialchars( wfMsg( 'nbytes', $wgLang->formatNum( $result->value ) ) ); $title = Title::makeTitle( $result->namespace, $result->title ); $link = $skin->makeKnownLinkObj( $title, htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) ); - $histlink = $skin->makeKnownLinkObj( $title, wfMsg('hist'), 'action=history' ); + $histlink = $skin->makeKnownLinkObj( $title, wfMsgHtml('hist'), 'action=history' ); return "({$histlink}) $link ({$nb})"; } }