r53549 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53548‎ | r53549 | r53550 >
Date:12:07, 20 July 2009
Author:ialex
Status:ok
Tags:
Comment:
(bug 19839) fix for r53173: Comments in log items are no more double escaped
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -247,7 +247,7 @@
248248 $details .= ': '.RevisionDeleter::getLogMessage( $count, $nfield, $ofield, true );
249249 }
250250 if ( $skin ) {
251 - $rv = htmlspecialchars( wfMsg( $wgLogActions[$key], $params ) ) . $details;
 251+ $rv = wfMsgHtml( $wgLogActions[$key], $params ) . $details;
252252 } else {
253253 $rv = wfMsgExt( $wgLogActions[$key], array( 'parsemag', 'escape', 'replaceafter', 'content' ), $params ) . $details;
254254 }
Index: trunk/phase3/RELEASE-NOTES
@@ -306,6 +306,7 @@
307307 users who can't edit them
308308 * (bug 15745) The edit summary link parser now handles mismatched brackets
309309 better
 310+* (bug 19839) Comments in log items are no more double escaped
310311
311312 == API changes in 1.16 ==
312313

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53173Fix dodgy uses of wfMsgHtml() and related HTML escapingtstarling15:36, 13 July 2009

Status & tagging log