(bug 9466) "Rollback failed" page doesn't format edit comment
authorRob Church <robchurch@users.mediawiki.org>
Sun, 1 Apr 2007 03:31:58 +0000 (03:31 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sun, 1 Apr 2007 03:31:58 +0000 (03:31 +0000)
RELEASE-NOTES
includes/Article.php

index 2cb1968..af661c4 100644 (file)
@@ -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
index 3dd47a0..73d1619 100644 (file)
@@ -2176,7 +2176,7 @@ class Article {
                        if( $current->getComment() != '') {
                                $wgOut->addHTML(
                                        wfMsg( 'editcomment',
-                                       htmlspecialchars( $current->getComment() ) ) );
+                                       $wgUser->getSkin()->formatComment( $current->getComment() ) ) );
                        }
                        return;
                }