From e6cae7f5c7a30d47903289e64f41c6361b7664e8 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 19 Oct 2008 06:31:34 +0000 Subject: [PATCH] Actually use $this->stripComment() --- includes/specials/SpecialNewpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index 3783cded34..5096d2dabf 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -333,7 +333,7 @@ class SpecialNewpages extends SpecialPage { $revision = Revision::newFromId( $row->rev_id ); if( $revision ) { return '

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

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