Followup r100126, per brion remove htmlspecialchars() call
authorSam Reed <reedy@users.mediawiki.org>
Sat, 5 Nov 2011 14:22:58 +0000 (14:22 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 5 Nov 2011 14:22:58 +0000 (14:22 +0000)
Swap back a code line to use $text

Swap some space indents to tabs

includes/installer/WebInstaller.php

index 5d91038..7427906 100644 (file)
@@ -641,13 +641,12 @@ class WebInstaller extends Installer {
                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";
        }
 
        /**