X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialNewpages.php;h=46d5276c97f7e2567f4c33c298f569b4f972706c;hb=125a4350e89494acb1e223166b8be05efa8b98b5;hp=1639386e3b7966508e5b4ec15be7dafe03f7da04;hpb=fe4b09380562976aea9f06e59d342fff8d91b026;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index 1639386e3b..46d5276c97 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -295,10 +295,11 @@ class SpecialNewpages extends IncludableSpecialPage { */ protected function revisionFromRcResult( stdClass $result, Title $title ) { return new Revision( [ - 'comment' => CommentStore::newKey( 'rc_comment' )->getComment( $result )->text, + 'comment' => CommentStore::getStore()->getComment( 'rc_comment', $result )->text, 'deleted' => $result->rc_deleted, 'user_text' => $result->rc_user_text, 'user' => $result->rc_user, + 'actor' => $result->rc_actor, ], 0, $title ); }