* The gotcha here was that wfMsgHtml does not escape parameters
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 12 Apr 2008 12:41:25 +0000 (12:41 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 12 Apr 2008 12:41:25 +0000 (12:41 +0000)
includes/SpecialWhatlinkshere.php

index 2871ccc..711290b 100644 (file)
@@ -344,8 +344,8 @@ class WhatLinksHerePage {
        }
 
        function getFilterPanel() {
-               $show = wfMsg( 'show' );
-               $hide = wfMsg( 'hide' );
+               $show = wfMsgHtml( 'show' );
+               $hide = wfMsgHtml( 'hide' );
                $links = array();
                foreach( array( 'hidetrans', 'hidelinks', 'hideredirs' ) as $type ) {
                        $chosen = $this->$type;