-
Notifications
You must be signed in to change notification settings - Fork 58
/
extension-client.json
533 lines (533 loc) · 17.7 KB
/
extension-client.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
{
"name": "WikibaseClient",
"type": "wikibase",
"author": [
"The Wikidata team"
],
"url": "https://www.mediawiki.org/wiki/Extension:Wikibase_Client",
"descriptionmsg": "wikibase-client-desc",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.43"
},
"APIListModules": {
"wblistentityusage": {
"class": "\\Wikibase\\Client\\Api\\ApiListEntityUsage",
"services": [
"WikibaseClient.RepoLinker"
]
}
},
"APIMetaModules": {
"wikibase": {
"class": "\\Wikibase\\Client\\Api\\ApiClientInfo",
"services": [
"WikibaseClient.Settings"
]
}
},
"APIPropModules": {
"pageterms": {
"class": "\\Wikibase\\Client\\Api\\PageTerms",
"services": [
"WikibaseClient.AliasTermBuffer",
"WikibaseClient.EntityIdLookup",
"WikibaseClient.TermBuffer",
"WikibaseClient.TermsLanguages"
]
},
"description": {
"class": "\\Wikibase\\Client\\Api\\Description",
"services": [
"WikibaseClient.DescriptionLookup",
"WikibaseClient.Settings"
]
},
"wbentityusage": {
"class": "\\Wikibase\\Client\\Api\\ApiPropsEntityUsage",
"services": [
"WikibaseClient.RepoLinker"
]
}
},
"ExtensionFunctions": [
"\\Wikibase\\Client\\Hooks\\ExtensionLoadHandler::onExtensionLoad"
],
"ServiceWiringFiles": [
"client/WikibaseClient.ServiceWiring.php"
],
"QUnitTestModule": {
"remoteExtPath": "Wikibase/lib/tests/qunit",
"localBasePath": "lib/tests/qunit",
"scripts": [
"wikibase.Site.tests.js"
],
"dependencies": [
"wikibase.Site"
]
},
"HookHandlers": {
"BeforePageDisplay": {
"class": "\\Wikibase\\Client\\Hooks\\BeforePageDisplayHandler",
"factory": "\\Wikibase\\Client\\Hooks\\BeforePageDisplayHandler::factory",
"services": [
"WikibaseClient.MobileSite",
"WikibaseClient.NamespaceChecker",
"WikibaseClient.Settings"
]
},
"ChangesListLines": {
"class": "\\Wikibase\\Client\\Hooks\\ChangesListLinesHandler",
"factory": "\\Wikibase\\Client\\Hooks\\ChangesListLinesHandler::factory",
"services": [
"ContentLanguage",
"UserNameUtils",
"WikibaseClient.EntityIdParser",
"WikibaseClient.RepoLinker",
"WikibaseClient.Settings"
]
},
"ChangesListSpecialPage": {
"class": "\\Wikibase\\Client\\Hooks\\ChangesListSpecialPageHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\ChangesListSpecialPageHookHandler::factory",
"services": [
"UserOptionsLookup",
"WikibaseClient.ClientDomainDbFactory",
"WikibaseClient.MobileSite",
"WikibaseClient.Settings"
]
},
"ParserOutputUpdate": {
"class": "\\Wikibase\\Client\\Hooks\\ParserOutputUpdateHookHandler",
"services": [
"WikibaseClient.LangLinkHandlerFactory",
"WikibaseClient.NamespaceChecker",
"WikibaseClient.ParserOutputDataUpdater",
"WikibaseClient.UsageAccumulatorFactory"
]
},
"DataUpdate": {
"class": "\\Wikibase\\Client\\Hooks\\DataUpdateHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\DataUpdateHookHandler::factory",
"services": [
"JobQueueGroup",
"WikibaseClient.Logger",
"WikibaseClient.Store",
"WikibaseClient.UsageAccumulatorFactory"
]
},
"DeletePageNoticeCreator": {
"class": "\\Wikibase\\Client\\Hooks\\DeletePageNoticeCreator",
"factory": "\\Wikibase\\Client\\Hooks\\DeletePageNoticeCreator::factory",
"services": [
"WikibaseClient.RepoLinker",
"WikibaseClient.Settings",
"WikibaseClient.Store"
]
},
"LibHooks": {
"class": "\\Wikibase\\Lib\\LibHooks"
},
"DataBridgeResourceLoaderModules": {
"class": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules"
},
"DescriptionProvider": {
"class": "\\Wikibase\\Client\\Hooks\\DescriptionProviderHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\DescriptionProviderHookHandler::factory",
"services": [
"WikibaseClient.DescriptionLookup",
"WikibaseClient.Settings"
]
},
"EchoSetup": {
"class": "\\Wikibase\\Client\\Hooks\\EchoSetupHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\EchoSetupHookHandler::factory",
"services": [
"WikibaseClient.Settings"
]
},
"EditAction": {
"class": "\\Wikibase\\Client\\Hooks\\EditActionHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\EditActionHookHandler::factory",
"services": [
"WikibaseClient.FallbackLabelDescriptionLookupFactory",
"WikibaseClient.MobileSite",
"WikibaseClient.RepoLinker",
"WikibaseClient.Store"
]
},
"InfoAction": {
"class": "\\Wikibase\\Client\\Hooks\\InfoActionHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\InfoActionHookHandler::factory",
"services": [
"WikibaseClient.DescriptionLookup",
"WikibaseClient.FallbackLabelDescriptionLookupFactory",
"WikibaseClient.NamespaceChecker",
"WikibaseClient.RepoLinker",
"WikibaseClient.Settings",
"WikibaseClient.Store"
]
},
"LoadExtensionSchemaUpdates": {
"class": "\\Wikibase\\Client\\Hooks\\LoadExtensionSchemaUpdatesHookHandler"
},
"Magic": {
"class": "\\Wikibase\\Client\\Hooks\\MagicWordHookHandler",
"services": [
"WikibaseClient.Settings"
]
},
"MovePageNotice": {
"class": "\\Wikibase\\Client\\Hooks\\MovePageNotice",
"factory": "\\Wikibase\\Client\\Hooks\\MovePageNotice::factory",
"services": [
"WikibaseClient.MobileSite",
"WikibaseClient.RepoLinker",
"WikibaseClient.Settings",
"WikibaseClient.Store"
]
},
"ParserFunctionRegistrant": {
"class": "\\Wikibase\\Client\\Hooks\\ParserFunctionRegistrant",
"factory": "\\Wikibase\\Client\\Hooks\\ParserFunctionRegistrant::factory",
"services": [
"WikibaseClient.Settings"
]
},
"Parser": {
"class": "\\Wikibase\\Client\\Hooks\\ParserHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\ParserHookHandler::factory",
"services": [
"WikibaseClient.RestrictedEntityLookupFactory",
"WikibaseClient.Settings"
]
},
"Sidebar": {
"class": "\\Wikibase\\Client\\Hooks\\SidebarHookHandler",
"services": [
"WikibaseClient.LanguageLinkBadgeDisplay",
"WikibaseClient.NamespaceChecker",
"WikibaseClient.Settings"
]
},
"SkinAfterPortlet": {
"class": "\\Wikibase\\Client\\Hooks\\SkinAfterPortletHandler",
"factory": "\\Wikibase\\Client\\Hooks\\SkinAfterPortletHandler::factory",
"services": [
"WikibaseClient.EntityIdParser",
"WikibaseClient.LangLinkSiteGroup",
"WikibaseClient.NamespaceChecker",
"WikibaseClient.RepoLinker",
"WikibaseClient.Settings"
]
},
"SqlUsageTrackerSchemaUpdater": {
"class": "\\Wikibase\\Client\\Usage\\Sql\\SqlUsageTrackerSchemaUpdater"
},
"Trivial": {
"class": "\\Wikibase\\Client\\Hooks\\TrivialHookHandler"
},
"UpdateRepo": {
"class": "\\Wikibase\\Client\\Hooks\\UpdateRepoHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\UpdateRepoHookHandler::factory",
"services": [
"JobQueueGroupFactory",
"WikibaseClient.ClientDomainDbFactory",
"WikibaseClient.ItemAndPropertySource",
"WikibaseClient.NamespaceChecker",
"WikibaseClient.Settings",
"WikibaseClient.Store"
]
},
"LoginFormValidErrorMessages": {
"class": "Wikibase\\Client\\Hooks\\LoginFormValidErrorMessagesHandler"
}
},
"Hooks": {
"AbortEmailNotification": "Trivial",
"ArticleDeleteAfterSuccess": "DeletePageNoticeCreator",
"ArticleDeleteComplete": [
"UpdateRepo",
"DataUpdate"
],
"BeforeCreateEchoEvent": [
"EchoSetup"
],
"BeforePageDisplay": [
"BeforePageDisplay",
"Trivial"
],
"ContentAlterParserOutput": "ParserOutputUpdate",
"ChangesListSpecialPageQuery": "ChangesListSpecialPage",
"CirrusSearchAddQueryFeatures": "\\Wikibase\\Client\\ClientHooks::onCirrusSearchAddQueryFeatures",
"EchoGetBundleRules": "\\Wikibase\\Client\\Hooks\\EchoNotificationsHandlers::onEchoGetBundleRules",
"EditPage::showStandardInputs:options": "EditAction",
"EnhancedChangesListModifyBlockLineData": "ChangesListLines",
"EnhancedChangesListModifyLineData": "ChangesListLines",
"ExtensionTypes": "LibHooks",
"FormatAutocomments": "\\Wikibase\\Client\\ClientHooks::onFormat",
"GetDoubleUnderscoreIDs": "ParserFunctionRegistrant",
"GetPreferences": "\\Wikibase\\Client\\ClientHooks::onGetPreferences",
"InfoAction": "InfoAction",
"LinksUpdateComplete": "DataUpdate",
"LoadExtensionSchemaUpdates": [
"LoadExtensionSchemaUpdates",
"SqlUsageTrackerSchemaUpdater"
],
"LocalUserCreated": "Wikibase\\Client\\Hooks\\EchoNotificationsHandlers::onLocalUserCreated",
"LoginFormValidErrorMessages": "LoginFormValidErrorMessages",
"MagicWordwgVariableIDs": "Magic",
"MaintenanceShellStart": "Trivial",
"OldChangesListRecentChangesLine": "ChangesListLines",
"OutputPageParserOutput": "Sidebar",
"ParserCacheSaveComplete": "DataUpdate",
"ParserClearState": "Parser",
"ParserFirstCallInit": "ParserFunctionRegistrant",
"ParserGetVariableValueSwitch": "Magic",
"ParserLimitReportPrepare": "Parser",
"ResourceLoaderJqueryMsgModuleMagicWords": "Magic",
"ResourceLoaderRegisterModules": [
"LibHooks",
"DataBridgeResourceLoaderModules"
],
"ScribuntoExternalLibraries": "\\Wikibase\\Client\\ClientHooks::onScribuntoExternalLibraries",
"SearchDataForIndex": {
"handler": "Trivial",
"deprecated": true
},
"SearchDataForIndex2": "Trivial",
"SearchIndexFields": "Trivial",
"SearchResultProvideDescription": "DescriptionProvider",
"SidebarBeforeOutput": "Sidebar",
"SkinAfterBottomScripts": "\\Wikibase\\Client\\ClientHooks::onSkinAfterBottomScripts",
"SkinAfterPortlet": "SkinAfterPortlet",
"SkinTemplateGetLanguageLink": "Sidebar",
"SpecialMovepageAfterMove": "MovePageNotice",
"PageMoveComplete": "UpdateRepo",
"UnitTestsList": [
"Trivial",
"LibHooks"
],
"wgQueryPages": "Trivial",
"WikibaseContentLanguages": "\\Wikibase\\Client\\ClientHooks::onWikibaseContentLanguages",
"WikibaseHandleChange": "Wikibase\\Client\\Hooks\\EchoNotificationsHandlers::onWikibaseHandleChange"
},
"TrackingCategories": [
"unresolved-property-category",
"connected-redirect-category",
"exceeded-entity-limit-category"
],
"AutoloadNamespaces": {
"Wikibase\\Client\\": "client/includes/",
"Wikibase\\Lib\\": "lib/includes/",
"Wikibase\\Lib\\FederatedProperties\\": "lib/packages/wikibase/federated-properties/src/",
"Wikibase\\Lib\\Changes\\": "lib/packages/wikibase/changes/src/",
"Wikibase\\DataModel\\": "lib/packages/wikibase/data-model/src/",
"Wikibase\\DataModel\\Deserializers\\": "lib/packages/wikibase/data-model-serialization/src/Deserializers/",
"Wikibase\\DataModel\\Serializers\\": "lib/packages/wikibase/data-model-serialization/src/Serializers/",
"Wikibase\\DataModel\\Services\\": "lib/packages/wikibase/data-model-services/src/",
"Wikibase\\InternalSerialization\\": "lib/packages/wikibase/internal-serialization/src/",
"Wikibase\\DataAccess\\": "data-access/src/"
},
"TestAutoloadNamespaces": {
"Wikibase\\Client\\Tests\\Integration\\": "client/tests/phpunit/integration/includes/",
"Wikibase\\Client\\Tests\\Unit\\": "client/tests/phpunit/unit/includes/",
"Wikibase\\Client\\Tests\\Mocks\\": "client/tests/phpunit/mocks/",
"Wikibase\\Lib\\Tests\\": "lib/tests/phpunit/",
"Wikibase\\DataModel\\Fixtures\\": "lib/packages/wikibase/data-model/tests/fixtures/",
"Tests\\Wikibase\\DataModel\\": "lib/packages/wikibase/data-model-serialization/tests/unit/",
"Wikibase\\DataModel\\Services\\Fixtures\\": "lib/packages/wikibase/data-model-services/tests/fixtures/",
"Wikibase\\DataModel\\Services\\Tests\\": "lib/packages/wikibase/data-model-services/tests/unit/",
"Wikibase\\DataModel\\Tests\\": "lib/packages/wikibase/data-model/tests/unit/",
"Wikibase\\Lib\\Tests\\FederatedProperties\\": "lib/packages/wikibase/federated-properties/tests/",
"Wikibase\\Lib\\Tests\\Changes\\": "lib/packages/wikibase/changes/tests/",
"Tests\\Integration\\Wikibase\\InternalSerialization\\": "lib/packages/wikibase/internal-serialization/tests/integration/",
"Wikibase\\DataAccess\\Tests\\": "data-access/tests/phpunit/"
},
"JobClasses": {
"wikibase-addUsagesForPage": "\\Wikibase\\Client\\Store\\AddUsagesForPageJob",
"EntityChangeNotification": "\\Wikibase\\Client\\EntityChangeNotificationJob::newFromGlobalState",
"ChangeVisibilityNotification": "\\Wikibase\\Client\\ChangeModification\\ChangeVisibilityNotificationJob::newFromGlobalState",
"ChangeDeletionNotification": "\\Wikibase\\Client\\ChangeModification\\ChangeDeletionNotificationJob::newFromGlobalState",
"wikibase-InjectRCRecords": "\\Wikibase\\Client\\Changes\\InjectRCRecordsJob::newFromGlobalState"
},
"RecentChangesFlags": {
"wikibase-edit": {
"letter": "wikibase-rc-wikibase-edit-letter",
"title": "wikibase-rc-wikibase-edit-title",
"legend": "wikibase-rc-wikibase-edit-legend",
"grouping": "all"
}
},
"ResourceFileModulePaths": {
"localBasePath": "client/resources",
"remoteExtPath": "Wikibase/client/resources"
},
"ResourceModules": {
"wikibase.client.init": {
"skinStyles": {
"modern": "wikibase.client.css",
"monobook": "wikibase.client.css",
"timeless": "wikibase.client.css",
"vector": [
"wikibase.client.css",
"wikibase.client.vector.css"
]
}
},
"wikibase.client.miscStyles": {
"styles": [
"wikibase.client.page-move.css",
"wikibase.client.changeslist.css"
]
},
"wikibase.client.vector-2022": {
"skinScripts": {
"vector-2022": "wikibase.client.vector-2022.js"
},
"messages": [
"wikibase-editlinkstitle"
]
},
"wikibase.client.linkitem.init": {
"packageFiles": [
"wikibase.client.linkitem.init.js",
{
"name": "config.json",
"callback": "Wikibase\\Client\\ClientHooks::getLinkitemConfiguration"
}
],
"messages": [
"unknown-error"
],
"dependencies": [
"jquery.spinner"
]
},
"jquery.wikibase.linkitem": {
"packageFiles": [
"client/resources/jquery.wikibase/jquery.wikibase.linkitem.js",
"client/resources/wikibase.client.PageConnector.js",
"client/resources/wikibase.client.getMwApiForRepo.js",
"client/resources/wikibase.sites.js",
"client/resources/jquery.wikibase/jquery.wikibase.siteselector.js",
"client/resources/jquery.wikibase/jquery.wikibase.wbtooltip.js",
"client/resources/jquery.wikibase/jquery.tipsy/jquery.tipsy.js",
"client/resources/wikibase.buildErrorOutput.js",
"client/resources/util.highlightSubstring.js",
"client/resources/jquery.ui/jquery.ui.suggester.js",
"client/resources/jquery.ui/jquery.ui.ooMenu.js",
"client/resources/jquery.util.getscrollbarwidth.js",
"client/resources/util.inherit.js",
"client/resources/jquery.event.special.eachchange.js",
"lib/resources/wikibase-api/src/namespace.js",
"lib/resources/wikibase-api/src/RepoApi.js",
"lib/resources/wikibase-api/src/getLocationAgnosticMwApi.js",
"lib/resources/wikibase-api/src/RepoApiError.js"
],
"styles": [
"client/resources/jquery.wikibase/jquery.wikibase.linkitem.css",
"client/resources/jquery.wikibase/jquery.wikibase.wbtooltip.css",
"client/resources/jquery.wikibase/jquery.tipsy/jquery.tipsy.css",
"client/resources/jquery.ui/jquery.ui.suggester.css",
"client/resources/jquery.ui/jquery.ui.ooMenu.css"
],
"dependencies": [
"jquery.spinner",
"jquery.ui",
"mediawiki.api",
"mediawiki.user",
"mediawiki.util",
"mediawiki.jqueryMsg",
"mw.config.values.wbRepo",
"mw.config.values.wbSiteDetails",
"wikibase.Site",
"mediawiki.ForeignApi"
],
"messages": [
"wikibase-error-unexpected",
"wikibase-linkitem-alreadylinked",
"wikibase-linkitem-title",
"wikibase-linkitem-linkpage",
"wikibase-linkitem-selectlink",
"wikibase-linkitem-input-site",
"wikibase-linkitem-input-page",
"wikibase-linkitem-confirmitem-text",
"wikibase-linkitem-confirmitem-button",
"wikibase-linkitem-success-link",
"wikibase-linkitem-close",
"wikibase-linkitem-not-loggedin-title",
"wikibase-linkitem-not-loggedin",
"wikibase-linkitem-failure",
"wikibase-linkitem-failed-modify",
"wikibase-replicationnote",
"wikibase-sitelinks-sitename-columnheading",
"wikibase-sitelinks-link-columnheading",
"wikibase-error-unexpected",
"wikibase-error-unknown",
"wikibase-error-save-generic",
"wikibase-error-remove-generic",
"wikibase-error-save-timeout",
"wikibase-error-remove-timeout",
"wikibase-error-ui-no-external-page",
"wikibase-error-ui-edit-conflict"
],
"localBasePath": "",
"remoteExtPath": "Wikibase/"
},
"wikibase.client.action.edit.collapsibleFooter": {
"scripts": "wikibase.client.action.edit.collapsibleFooter.js",
"dependencies": [
"jquery.makeCollapsible",
"mediawiki.storage"
]
},
"wikibase.sidebar.tracking": {
"scripts": "wikibase.sidebar.tracking.js"
}
},
"SpecialPages": {
"UnconnectedPages": {
"class": "Wikibase\\Client\\Specials\\SpecialUnconnectedPages",
"services": [
"ConnectionProvider",
"NamespaceInfo",
"TitleFactory",
"WikibaseClient.ClientDomainDbFactory",
"WikibaseClient.NamespaceChecker"
]
},
"PagesWithBadges": {
"class": "Wikibase\\Client\\Specials\\SpecialPagesWithBadges",
"factory": "Wikibase\\Client\\Specials\\SpecialPagesWithBadges::factory",
"services": [
"WikibaseClient.FallbackLabelDescriptionLookupFactory",
"WikibaseClient.Settings"
]
},
"EntityUsage": {
"class": "Wikibase\\Client\\Specials\\SpecialEntityUsage",
"services": [
"LanguageConverterFactory",
"WikibaseClient.ClientDomainDbFactory",
"WikibaseClient.EntityIdParser"
]
}
},
"MessagesDirs": {
"wikibaseclient": "client/i18n",
"wikibaseclientapi": "client/i18n/api",
"WikibaseLib": "lib/i18n"
},
"ExtensionMessagesFiles": {
"Wikibaseclientalias": "client/WikibaseClient.i18n.alias.php",
"wikibaseclientmagic": "client/WikibaseClient.i18n.magic.php"
},
"DefaultUserOptions": {
"rcshowwikidata": 0,
"wlshowwikibase": 0
},
"callback": "\\Wikibase\\Lib\\LibHooks::onRegistration",
"load_composer_autoloader": true,
"manifest_version": 2
}