From: Aaron Schulz Date: Mon, 5 May 2008 03:35:37 +0000 (+0000) Subject: Remove garbage HTML, show user X-Git-Tag: 1.31.0-rc.0~47908 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=e5091482cfb394c2196396c8afb7ede8d090b168;p=lhc%2Fweb%2Fwiklou.git Remove garbage HTML, show user --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index f880ec2903..3de2a6710c 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -316,8 +316,9 @@ class NewPagesForm { protected function feedItemDesc( $row ) { $revision = Revision::newFromId( $row->rev_id ); if( $revision ) { - return '

' . htmlspecialchars( wfMsg( 'summary' ) ) . ': ' . - htmlspecialchars( $revision->getComment() ) . "

\n
\n
" . + return '

' . htmlspecialchars( $revision->getUserText() ) . ': ' . + htmlspecialchars( $revision->getComment() ) . + "

\n
\n
" . nl2br( htmlspecialchars( $revision->getText() ) ) . "
"; } return '';