X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeedUtils.php;h=8efae4f7d6152fe9e71cfb92897dadb1206cacbb;hb=6c31ca3f257243daeb0b4cde3f110d2879cecde8;hp=59efc98b1c73e5f0edda610093bbc0759d18a809;hpb=3020d27638add607e9d86622652221c3729faf87;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 59efc98b1c..8efae4f7d6 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -21,6 +21,8 @@ * @ingroup Feed */ +use MediaWiki\Storage\RevisionRecord; + /** * Helper functions for feeds * @@ -68,7 +70,7 @@ class FeedUtils { return self::formatDiffRow( $titleObj, $row->rc_last_oldid, $row->rc_this_oldid, $timestamp, - $row->rc_deleted & Revision::DELETED_COMMENT + $row->rc_deleted & RevisionRecord::DELETED_COMMENT ? wfMessage( 'rev-deleted-comment' )->escaped() : CommentStore::getStore()->getComment( 'rc_comment', $row )->text, $actiontext