From 271443f2bab71b057db6cec77904579731f6ebbd Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 1 Apr 2007 03:31:58 +0000 Subject: [PATCH] (bug 9466) "Rollback failed" page doesn't format edit comment --- RELEASE-NOTES | 1 + includes/Article.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.20.1