$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
);
}
/**
* Really format a diff for the newsfeed
*
- * @param Title $title Title object
+ * @param Title $title
* @param int $oldid Old revision's id
* @param int $newid New revision's id
* @param int $timestamp New revision's timestamp
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;