https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102098

Revision: 102098
Author:   reedy
Date:     2011-11-05 14:22:58 +0000 (Sat, 05 Nov 2011)
Log Message:
-----------
Followup r100126, per brion remove htmlspecialchars() call

Swap back a code line to use $text

Swap some space indents to tabs

Modified Paths:
--------------
    trunk/phase3/includes/installer/WebInstaller.php

Modified: trunk/phase3/includes/installer/WebInstaller.php
===================================================================
--- trunk/phase3/includes/installer/WebInstaller.php    2011-11-05 14:20:00 UTC 
(rev 102097)
+++ trunk/phase3/includes/installer/WebInstaller.php    2011-11-05 14:22:58 UTC 
(rev 102098)
@@ -641,13 +641,12 @@
                array_shift( $args );
                $args = array_map( 'htmlspecialchars', $args );
                $text = wfMsgReal( $msg, $args, false, false, false );
-               $html = htmlspecialchars( $text );
-               $html = $this->parse( $html, true );
+               $html = $this->parse( $text, true );
 
                return "<div class=\"mw-help-field-container\">\n" .
-                          "<span class=\"mw-help-field-hint\">" . wfMsgHtml( 
'config-help' ) . "</span>\n" .
-                          "<span class=\"mw-help-field-data\">" . $html . 
"</span>\n" .
-                          "</div>\n";
+                       "<span class=\"mw-help-field-hint\">" . wfMsgHtml( 
'config-help' ) . "</span>\n" .
+                       "<span class=\"mw-help-field-data\">" . $html . 
"</span>\n" .
+                       "</div>\n";
        }
 
        /**


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to