From: Rob Church Date: Sun, 1 Apr 2007 03:31:58 +0000 (+0000) Subject: (bug 9466) "Rollback failed" page doesn't format edit comment X-Git-Tag: 1.31.0-rc.0~53519 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=271443f2bab71b057db6cec77904579731f6ebbd;p=lhc%2Fweb%2Fwiklou.git (bug 9466) "Rollback failed" page doesn't format edit comment --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2cb1968638..af661c4377 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -294,6 +294,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 8914) Don't transform colons in {{anchorencode:}} * (bug 9241) Handle edit section links and include size links for cached templates the same as the first transclusion. +* (bug 9466) "Rollback failed" page doesn't format edit comment == Maintenance == * New script maintenance/language/checkExtensioni18n.php used to check i18n diff --git a/includes/Article.php b/includes/Article.php index 3dd47a01b0..73d1619d43 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2176,7 +2176,7 @@ class Article { if( $current->getComment() != '') { $wgOut->addHTML( wfMsg( 'editcomment', - htmlspecialchars( $current->getComment() ) ) ); + $wgUser->getSkin()->formatComment( $current->getComment() ) ) ); } return; }