aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQuery.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2022-12-11 00:56:46 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2022-12-11 00:56:46 +0100
commit07697bb57cb2474d8ff21418703a1389876b1193 (patch)
treea1172104174a1964112eeb8730a9a022f29ab1f7 /includes/api/ApiQuery.php
parent7e531cd553f5fbbf6e7edb242d9744d878f8fbac (diff)
downloadmediawikicore-07697bb57cb2474d8ff21418703a1389876b1193.tar.gz
mediawikicore-07697bb57cb2474d8ff21418703a1389876b1193.zip
api: Replace deprecated Linker::formatComment
Bug: T324906 Change-Id: I1fcb7bd9d84754793c07ac9e39e50c38b364e4c1
Diffstat (limited to 'includes/api/ApiQuery.php')
-rw-r--r--includes/api/ApiQuery.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php
index 118459ba5ce9..d4e34707b65a 100644
--- a/includes/api/ApiQuery.php
+++ b/includes/api/ApiQuery.php
@@ -70,6 +70,7 @@ class ApiQuery extends ApiBase {
'LinkBatchFactory',
'ContentRenderer',
'ContentTransformer',
+ 'CommentFormatter',
]
],
'duplicatefiles' => [
@@ -163,6 +164,7 @@ class ApiQuery extends ApiBase {
'ActorMigration',
'ContentRenderer',
'ContentTransformer',
+ 'CommentFormatter',
]
],
'stashimageinfo' => [
@@ -209,6 +211,7 @@ class ApiQuery extends ApiBase {
'NamespaceInfo',
'ContentRenderer',
'ContentTransformer',
+ 'CommentFormatter',
]
],
'allfileusages' => [
@@ -264,6 +267,7 @@ class ApiQuery extends ApiBase {
'NamespaceInfo',
'ContentRenderer',
'ContentTransformer',
+ 'CommentFormatter',
]
],
'mystashedfiles' => [
@@ -411,6 +415,7 @@ class ApiQuery extends ApiBase {
'RevisionStore',
'ChangeTagDefStore',
'ActorMigration',
+ 'CommentFormatter',
],
],
'users' => [
@@ -431,6 +436,7 @@ class ApiQuery extends ApiBase {
'ContentLanguage',
'NamespaceInfo',
'GenderCache',
+ 'CommentFormatter',
],
],
'watchlistraw' => [