From 12fb49bea8700ee49c7eb15e42fc2c1e8e828dc3 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 8 Jun 2012 09:06:07 +0200 Subject: [PATCH] include serialized content in new pages feed --- 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 4c32c30d01..b279d8a77f 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -463,7 +463,7 @@ class SpecialNewpages extends IncludableSpecialPage { $this->msg( 'colon-separator' )->inContentLanguage()->escaped() . htmlspecialchars( FeedItem::stripComment( $revision->getComment() ) ) . "

\n
\n
" . - nl2br( htmlspecialchars( $revision->getText() ) ) . "
"; + nl2br( htmlspecialchars( $revision->getContent()->serialize() ) ) . ""; //TODO: include content model/type in feed item? } return ''; } -- 2.20.1