2015-04-07 20:14:26 +00:00
|
|
|
{
|
|
|
|
"name": "Gadgets",
|
|
|
|
"author": [
|
|
|
|
"Daniel Kinzler",
|
|
|
|
"Max Semenik"
|
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Gadgets",
|
|
|
|
"descriptionmsg": "gadgets-desc",
|
2018-02-01 07:05:41 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2017-02-04 21:06:01 +00:00
|
|
|
"requires": {
|
2023-08-19 05:19:53 +00:00
|
|
|
"MediaWiki": ">= 1.41"
|
2017-02-04 21:06:01 +00:00
|
|
|
},
|
2015-04-07 20:14:26 +00:00
|
|
|
"type": "other",
|
2015-08-01 08:44:33 +00:00
|
|
|
"namespaces": [
|
|
|
|
{
|
|
|
|
"id": 2300,
|
|
|
|
"constant": "NS_GADGET",
|
|
|
|
"name": "Gadget",
|
2022-08-27 14:04:31 +00:00
|
|
|
"capitallinkoverride": false
|
2015-08-01 08:44:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2301,
|
|
|
|
"constant": "NS_GADGET_TALK",
|
|
|
|
"name": "Gadget_talk"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2302,
|
|
|
|
"constant": "NS_GADGET_DEFINITION",
|
|
|
|
"name": "Gadget_definition",
|
|
|
|
"protection": "gadgets-definition-edit",
|
2015-08-03 06:37:32 +00:00
|
|
|
"capitallinkoverride": false,
|
|
|
|
"defaultcontentmodel": "GadgetDefinition"
|
2015-08-01 08:44:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2303,
|
|
|
|
"constant": "NS_GADGET_DEFINITION_TALK",
|
|
|
|
"name": "Gadget_definition_talk"
|
|
|
|
}
|
|
|
|
],
|
2015-08-03 06:37:32 +00:00
|
|
|
"ContentHandlers": {
|
2022-02-06 18:54:47 +00:00
|
|
|
"GadgetDefinition": "MediaWiki\\Extension\\Gadgets\\Content\\GadgetDefinitionContentHandler"
|
2015-08-03 06:37:32 +00:00
|
|
|
},
|
2015-08-01 08:44:33 +00:00
|
|
|
"AvailableRights": [
|
|
|
|
"gadgets-definition-edit"
|
|
|
|
],
|
2015-04-07 20:14:26 +00:00
|
|
|
"SpecialPages": {
|
2022-08-16 15:24:01 +00:00
|
|
|
"Gadgets": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Special\\SpecialGadgets",
|
|
|
|
"services": [
|
|
|
|
"GadgetsRepo"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"GadgetUsage": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Special\\SpecialGadgetUsage",
|
|
|
|
"services": [
|
|
|
|
"GadgetsRepo"
|
|
|
|
]
|
|
|
|
}
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
|
|
|
"APIListModules": {
|
2022-08-16 15:24:01 +00:00
|
|
|
"gadgetcategories": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Api\\ApiQueryGadgetCategories",
|
|
|
|
"services": [
|
|
|
|
"GadgetsRepo"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gadgets": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Api\\ApiQueryGadgets",
|
|
|
|
"services": [
|
|
|
|
"GadgetsRepo"
|
|
|
|
]
|
|
|
|
}
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"Gadgets": [
|
2019-01-20 19:25:32 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2015-04-07 20:14:26 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
2015-08-01 08:44:33 +00:00
|
|
|
"GadgetsAlias": "Gadgets.alias.php",
|
|
|
|
"GadgetsNamespaces": "Gadgets.namespaces.php"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
2018-08-27 17:29:54 +00:00
|
|
|
"RawHtmlMessages": [
|
|
|
|
"gadgets-definition"
|
|
|
|
],
|
2022-02-06 18:54:47 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\Gadgets\\": "includes/"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
2021-10-17 13:05:15 +00:00
|
|
|
"TestAutoloadClasses": {
|
2022-08-16 15:24:01 +00:00
|
|
|
"GadgetTestTrait": "tests/phpunit/GadgetTestTrait.php"
|
2021-10-17 13:05:15 +00:00
|
|
|
},
|
2021-12-06 10:34:17 +00:00
|
|
|
"HookHandlers": {
|
|
|
|
"GadgetHooks": {
|
2022-08-16 15:24:01 +00:00
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Hooks",
|
|
|
|
"services": [
|
2023-12-05 18:00:37 +00:00
|
|
|
"GadgetsRepo",
|
|
|
|
"UserOptionsLookup"
|
|
|
|
],
|
|
|
|
"optional_services": [
|
|
|
|
"MobileFrontend.Context"
|
2022-08-16 15:24:01 +00:00
|
|
|
]
|
2023-08-15 13:36:56 +00:00
|
|
|
},
|
|
|
|
"GadgetCodeEditorHooks": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\CodeEditorHooks"
|
2021-12-06 10:34:17 +00:00
|
|
|
}
|
|
|
|
},
|
2015-04-07 20:14:26 +00:00
|
|
|
"Hooks": {
|
2021-12-06 10:34:17 +00:00
|
|
|
"PageDeleteComplete": "GadgetHooks",
|
|
|
|
"PageSaveComplete": "GadgetHooks",
|
|
|
|
"BeforePageDisplay": "GadgetHooks",
|
2023-08-15 13:36:56 +00:00
|
|
|
"CodeEditorGetPageLanguage": "GadgetCodeEditorHooks",
|
2021-12-06 10:34:17 +00:00
|
|
|
"ContentHandlerDefaultModelFor": "GadgetHooks",
|
|
|
|
"EditFilterMergedContent": "GadgetHooks",
|
|
|
|
"UserGetDefaultOptions": "GadgetHooks",
|
|
|
|
"GetPreferences": "GadgetHooks",
|
|
|
|
"PreferencesGetLegend": "GadgetHooks",
|
|
|
|
"ResourceLoaderRegisterModules": "GadgetHooks",
|
|
|
|
"wgQueryPages": "GadgetHooks",
|
2022-10-14 01:27:45 +00:00
|
|
|
"DeleteUnknownPreferences": "GadgetHooks",
|
2022-08-27 14:04:31 +00:00
|
|
|
"PreferencesGetIcon": "GadgetHooks",
|
|
|
|
"getUserPermissionsErrors": "GadgetHooks"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
2022-08-16 15:24:01 +00:00
|
|
|
"ServiceWiringFiles": [
|
|
|
|
"includes/ServiceWiring.php"
|
|
|
|
],
|
2015-08-03 06:37:32 +00:00
|
|
|
"config": {
|
2020-05-12 00:52:38 +00:00
|
|
|
"GadgetsRepoClass": {
|
2022-08-16 15:24:01 +00:00
|
|
|
"value": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo",
|
|
|
|
"services": [
|
|
|
|
"MainWANObjectCache",
|
|
|
|
"RevisionLookup"
|
|
|
|
]
|
|
|
|
}
|
2020-05-12 00:52:38 +00:00
|
|
|
},
|
|
|
|
"SpecialGadgetUsageActiveUsers": {
|
|
|
|
"value": true
|
|
|
|
}
|
2015-08-03 06:37:32 +00:00
|
|
|
},
|
2020-05-12 00:52:38 +00:00
|
|
|
"manifest_version": 2
|
2015-04-07 20:14:26 +00:00
|
|
|
}
|