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": {
|
2022-03-20 14:07:38 +00:00
|
|
|
"MediaWiki": ">= 1.39.0"
|
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 12:18:02 +00:00
|
|
|
"capitallinkoverride": false,
|
2015-08-01 08:44:33 +00:00
|
|
|
"protection": "gadgets-edit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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-edit",
|
|
|
|
"gadgets-definition-edit"
|
|
|
|
],
|
2015-04-07 20:14:26 +00:00
|
|
|
"SpecialPages": {
|
2022-02-06 18:54:47 +00:00
|
|
|
"Gadgets": "MediaWiki\\Extension\\Gadgets\\SpecialGadgets",
|
|
|
|
"GadgetUsage": "MediaWiki\\Extension\\Gadgets\\SpecialGadgetUsage"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
|
|
|
"APIListModules": {
|
2022-02-06 18:54:47 +00:00
|
|
|
"gadgetcategories": "MediaWiki\\Extension\\Gadgets\\Api\\ApiQueryGadgetCategories",
|
|
|
|
"gadgets": "MediaWiki\\Extension\\Gadgets\\Api\\ApiQueryGadgets"
|
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": {
|
|
|
|
"GadgetTestUtils": "tests/phpunit/GadgetTestUtils.php"
|
|
|
|
},
|
2021-12-06 10:34:17 +00:00
|
|
|
"HookHandlers": {
|
|
|
|
"GadgetHooks": {
|
|
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Hooks"
|
|
|
|
}
|
|
|
|
},
|
2015-04-07 20:14:26 +00:00
|
|
|
"Hooks": {
|
2021-12-06 10:34:17 +00:00
|
|
|
"PageDeleteComplete": "GadgetHooks",
|
|
|
|
"PageSaveComplete": "GadgetHooks",
|
|
|
|
"BeforePageDisplay": "GadgetHooks",
|
2022-04-19 13:42:45 +00:00
|
|
|
"CodeEditorGetPageLanguage": "MediaWiki\\Extension\\Gadgets\\Hooks::onCodeEditorGetPageLanguage",
|
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",
|
|
|
|
"PreferencesGetIcon": "GadgetHooks"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
2015-08-03 06:37:32 +00:00
|
|
|
"config": {
|
2020-05-12 00:52:38 +00:00
|
|
|
"GadgetsRepoClass": {
|
2022-02-06 18:54:47 +00:00
|
|
|
"value": "MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo"
|
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
|
|
|
}
|