diff options
Diffstat (limited to 'includes/api/ApiQueryAllRevisions.php')
-rw-r--r-- | includes/api/ApiQueryAllRevisions.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/api/ApiQueryAllRevisions.php b/includes/api/ApiQueryAllRevisions.php index 59daf3445796..7be886e9f0dc 100644 --- a/includes/api/ApiQueryAllRevisions.php +++ b/includes/api/ApiQueryAllRevisions.php @@ -20,6 +20,7 @@ * @file */ +use MediaWiki\CommentFormatter\CommentFormatter; use MediaWiki\Content\IContentHandlerFactory; use MediaWiki\Content\Renderer\ContentRenderer; use MediaWiki\Content\Transform\ContentTransformer; @@ -58,6 +59,7 @@ class ApiQueryAllRevisions extends ApiQueryRevisionsBase { * @param NamespaceInfo $namespaceInfo * @param ContentRenderer $contentRenderer * @param ContentTransformer $contentTransformer + * @param CommentFormatter $commentFormatter */ public function __construct( ApiQuery $query, @@ -69,7 +71,8 @@ class ApiQueryAllRevisions extends ApiQueryRevisionsBase { ActorMigration $actorMigration, NamespaceInfo $namespaceInfo, ContentRenderer $contentRenderer, - ContentTransformer $contentTransformer + ContentTransformer $contentTransformer, + CommentFormatter $commentFormatter ) { parent::__construct( $query, @@ -80,7 +83,8 @@ class ApiQueryAllRevisions extends ApiQueryRevisionsBase { $parserFactory, $slotRoleRegistry, $contentRenderer, - $contentTransformer + $contentTransformer, + $commentFormatter ); $this->revisionStore = $revisionStore; $this->actorMigration = $actorMigration; |