X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeedUtils.php;h=899ac09ad2b26498ce7311b13e38ee9cfca6a0fb;hb=5414aee495e6469f949d744c97c12baf0948ea2a;hp=6108ca1d46b4326a0df2d69a8f812b204873c4bd;hpb=07a791ffd1d80c6a8f2ca4dfdbc3f2002ac869fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 6108ca1d46..899ac09ad2 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -89,7 +89,7 @@ class FeedUtils { $timestamp, $row->rc_deleted & Revision::DELETED_COMMENT ? wfMessage( 'rev-deleted-comment' )->escaped() - : CommentStore::newKey( 'rc_comment' )->getComment( $row )->text, + : CommentStore::getStore()->getComment( 'rc_comment', $row )->text, $actiontext ); } @@ -173,7 +173,7 @@ class FeedUtils { if ( $newContent instanceof TextContent ) { // only textual content has a "source view". - $text = $newContent->getNativeData(); + $text = $newContent->getText(); if ( $wgFeedDiffCutoff <= 0 || strlen( $text ) > $wgFeedDiffCutoff ) { $html = null;