r102098 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102097‎ | r102098 | r102099 >
Date:14:22, 5 November 2011
Author:reedy
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/WebInstaller.php
@@ -641,13 +641,12 @@
642642 array_shift( $args );
643643 $args = array_map( 'htmlspecialchars', $args );
644644 $text = wfMsgReal( $msg, $args, false, false, false );
645 - $html = htmlspecialchars( $text );
646 - $html = $this->parse( $html, true );
 645+ $html = $this->parse( $text, true );
647646
648647 return "<div class=\"mw-help-field-container\">\n" .
649 - "<span class=\"mw-help-field-hint\">" . wfMsgHtml( 'config-help' ) . "</span>\n" .
650 - "<span class=\"mw-help-field-data\">" . $html . "</span>\n" .
651 - "</div>\n";
 648+ "<span class=\"mw-help-field-hint\">" . wfMsgHtml( 'config-help' ) . "</span>\n" .
 649+ "<span class=\"mw-help-field-data\">" . $html . "</span>\n" .
 650+ "</div>\n";
652651 }
653652
654653 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100126Add documentation...reedy17:26, 18 October 2011

Status & tagging log