From: Alexandre Emsenhuber Date: Mon, 20 Jul 2009 12:07:07 +0000 (+0000) Subject: (bug 19839) fix for r53173: Comments in log items are no more double escaped X-Git-Tag: 1.31.0-rc.0~40796 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=7ef830f8a820fe0d763fbcc95f2570c8053f40c6;p=lhc%2Fweb%2Fwiklou.git (bug 19839) fix for r53173: Comments in log items are no more double escaped --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d7db796424..a015be42e2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -306,6 +306,7 @@ this. Was used when mwEmbed was going to be an extension. users who can't edit them * (bug 15745) The edit summary link parser now handles mismatched brackets better +* (bug 19839) Comments in log items are no more double escaped == API changes in 1.16 == diff --git a/includes/LogPage.php b/includes/LogPage.php index 947a452531..9dcefd9a28 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -247,7 +247,7 @@ class LogPage { $details .= ': '.RevisionDeleter::getLogMessage( $count, $nfield, $ofield, true ); } if ( $skin ) { - $rv = htmlspecialchars( wfMsg( $wgLogActions[$key], $params ) ) . $details; + $rv = wfMsgHtml( $wgLogActions[$key], $params ) . $details; } else { $rv = wfMsgExt( $wgLogActions[$key], array( 'parsemag', 'escape', 'replaceafter', 'content' ), $params ) . $details; }