forked from wikimedia/mediawiki-extensions-Wikibase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension-client.json
371 lines (371 loc) · 13.3 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
{
"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.35"
},
"APIListModules": {
"wblistentityusage": {
"class": "\\Wikibase\\Client\\Api\\ApiListEntityUsage",
"factory": "\\Wikibase\\Client\\Api\\ApiListEntityUsage::factory"
}
},
"APIMetaModules": {
"wikibase": {
"class": "\\Wikibase\\Client\\Api\\ApiClientInfo",
"factory": "\\Wikibase\\Client\\Api\\ApiClientInfo::factory"
}
},
"APIPropModules": {
"pageterms": {
"class": "\\Wikibase\\Client\\Api\\PageTerms",
"factory": "\\Wikibase\\Client\\Api\\PageTerms::factory"
},
"description": {
"class": "\\Wikibase\\Client\\Api\\Description",
"factory": "\\Wikibase\\Client\\Api\\Description::factory"
},
"wbentityusage": {
"class": "\\Wikibase\\Client\\Api\\ApiPropsEntityUsage",
"factory": "\\Wikibase\\Client\\Api\\ApiPropsEntityUsage::factory"
}
},
"ExtensionFunctions": [
"\\Wikibase\\Client\\Hooks\\ExtensionLoadHandler::onExtensionLoad"
],
"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"
},
"ChangesListLines": {
"class" : "\\Wikibase\\Client\\Hooks\\ChangesListLinesHandler",
"factory" : "\\Wikibase\\Client\\Hooks\\ChangesListLinesHandler::factory"
},
"ChangesListSpecialPage": {
"class": "\\Wikibase\\Client\\Hooks\\ChangesListSpecialPageHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\ChangesListSpecialPageHookHandler::factory",
"services": [ "DBLoadBalancer" ]
},
"ParserOutputUpdate": {
"class": "\\Wikibase\\Client\\Hooks\\ParserOutputUpdateHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\ParserOutputUpdateHookHandler::factory"
},
"DataUpdate": {
"class": "\\Wikibase\\Client\\Hooks\\DataUpdateHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\DataUpdateHookHandler::factory"
},
"DeletePageNoticeCreator": {
"class": "\\Wikibase\\Client\\Hooks\\DeletePageNoticeCreator",
"factory": "\\Wikibase\\Client\\Hooks\\DeletePageNoticeCreator::factory"
},
"LibHooks": {
"class": "\\Wikibase\\Lib\\LibHooks"
},
"DescriptionProvider": {
"class": "\\Wikibase\\Client\\Hooks\\DescriptionProviderHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\DescriptionProviderHookHandler::factory"
},
"EditAction": {
"class": "\\Wikibase\\Client\\Hooks\\EditActionHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\EditActionHookHandler::factory"
},
"InfoAction": {
"class": "\\Wikibase\\Client\\Hooks\\InfoActionHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\InfoActionHookHandler::factory"
},
"Magic": {
"class": "\\Wikibase\\Client\\Hooks\\MagicWordHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\MagicWordHookHandler::factory"
},
"MovePageNotice": {
"class": "\\Wikibase\\Client\\Hooks\\MovePageNotice",
"factory": "\\Wikibase\\Client\\Hooks\\MovePageNotice::factory"
},
"ParserFunctionRegistrant": {
"class": "\\Wikibase\\Client\\Hooks\\ParserFunctionRegistrant",
"factory": "\\Wikibase\\Client\\Hooks\\ParserFunctionRegistrant::factory"
},
"Parser": {
"class": "\\Wikibase\\Client\\Hooks\\ParserHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\ParserHookHandler::factory"
},
"Sidebar": {
"class": "\\Wikibase\\Client\\Hooks\\SidebarHookHandler",
"factory": "\\Wikibase\\Client\\Hooks\\SidebarHookHandler::factory"
},
"SkinAfterPortlet": {
"class": "\\Wikibase\\Client\\Hooks\\SkinAfterPortletHandler",
"factory": "\\Wikibase\\Client\\Hooks\\SkinAfterPortletHandler::factory"
},
"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"
}
},
"Hooks": {
"AbortEmailNotification": "Trivial",
"ArticleDeleteAfterSuccess": "DeletePageNoticeCreator",
"ArticleDeleteComplete": [
"UpdateRepo",
"DataUpdate"
],
"BeforeCreateEchoEvent": "\\Wikibase\\Client\\Hooks\\EchoSetupHookHandlers::onBeforeCreateEchoEvent",
"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",
"GetPreferences": "\\Wikibase\\Client\\ClientHooks::onGetPreferences",
"InfoAction": "InfoAction",
"LinksUpdateComplete": "DataUpdate",
"LoadExtensionSchemaUpdates": "SqlUsageTrackerSchemaUpdater",
"LoginFormValidErrorMessages": "\\Wikibase\\Client\\Hooks\\LoginFormValidErrorMessagesHandler::handle",
"MagicWordwgVariableIDs": "Magic",
"OldChangesListRecentChangesLine": "ChangesListLines",
"OutputPageParserOutput": "Sidebar",
"ParserCacheSaveComplete": "DataUpdate",
"ParserClearState": "Parser",
"ParserFirstCallInit": "ParserFunctionRegistrant",
"ParserGetVariableValueSwitch": "Magic",
"ParserLimitReportPrepare": "Parser",
"ResourceLoaderJqueryMsgModuleMagicWords": "Magic",
"ResourceLoaderRegisterModules": "LibHooks",
"ScribuntoExternalLibraries": "\\Wikibase\\Client\\ClientHooks::onScribuntoExternalLibraries",
"SearchDataForIndex": "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"
},
"TrackingCategories": [
"unresolved-property-category",
"connected-redirect-category"
],
"AutoloadNamespaces": {
"Wikibase\\Client\\": "client/includes/",
"Wikibase\\Lib\\": "lib/includes/",
"Wikibase\\Lib\\Changes\\": "lib/packages/wikibase/changes/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\\Lib\\Tests\\Changes\\": "lib/packages/wikibase/changes/tests/",
"Wikibase\\DataAccess\\Tests\\": "data-access/tests/phpunit/"
},
"JobClasses": {
"wikibase-addUsagesForPage": "\\Wikibase\\Client\\Store\\AddUsagesForPageJob",
"ChangeNotification": "\\Wikibase\\Client\\ChangeNotificationJob",
"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.linkitem.init": {
"packageFiles": [
"wikibase.client.linkitem.init.js",
{
"name": "config.json",
"callback": "Wikibase\\Client\\ClientHooks::getSiteConfiguration"
}
],
"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/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.ui/jquery.ui.suggester.css",
"client/resources/jquery.ui/jquery.ui.ooMenu.css"
],
"dependencies": [
"jquery.spinner",
"jquery.ui",
"jquery.tipsy",
"mediawiki.api",
"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",
"mediawiki.icon"
]
},
"wikibase.client.data-bridge.init": {
"factory": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules::initModule"
},
"wikibase.client.data-bridge.externalModifiers": {
"factory": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules::externalModifiersModule"
},
"mw.config.values.wbDataBridgeConfig": {
"factory": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules::configModule"
},
"wikibase.client.data-bridge.app": {
"factory": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules::appModule"
},
"wikibase.client.data-bridge.app.modern": {
"factory": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules::modernAppModule"
},
"wikibase.client.data-bridge.app.legacy": {
"factory": "\\Wikibase\\Client\\DataBridge\\DataBridgeResourceLoaderModules::legacyAppModule"
}
},
"SpecialPages": {
"UnconnectedPages": "Wikibase\\Client\\Specials\\SpecialUnconnectedPages",
"PagesWithBadges": {
"class": "Wikibase\\Client\\Specials\\SpecialPagesWithBadges",
"factory": "Wikibase\\Client\\Specials\\SpecialPagesWithBadges::factory"
},
"EntityUsage": {
"class": "Wikibase\\Client\\Specials\\SpecialEntityUsage",
"factory": "Wikibase\\Client\\Specials\\SpecialEntityUsage::factory",
"services": [
"LanguageConverterFactory"
]
}
},
"MessagesDirs": {
"wikibaseclient": "client/i18n",
"wikibaseclientapi": "client/i18n/api",
"WikibaseLib": "lib/i18n"
},
"ExtensionMessagesFiles": {
"Wikibaseclientalias" : "client/WikibaseClient.i18n.alias.php",
"wikibaseclientmagic": "client/WikibaseClient.i18n.magic.php"
},
"callback": "\\Wikibase\\Lib\\LibHooks::onRegistration",
"manifest_version": 2
}