HTML protection on message use
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 15 Jan 2006 20:34:25 +0000 (20:34 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 15 Jan 2006 20:34:25 +0000 (20:34 +0000)
includes/SpecialShortpages.php

index 4c1c053..5d748c2 100644 (file)
@@ -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})";
        }
 }