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": {
|
2021-05-28 18:00:46 +00:00
|
|
|
"MediaWiki": ">= 1.37.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",
|
|
|
|
"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": {
|
|
|
|
"GadgetDefinition": "GadgetDefinitionContentHandler"
|
|
|
|
},
|
2015-08-01 08:44:33 +00:00
|
|
|
"AvailableRights": [
|
|
|
|
"gadgets-edit",
|
|
|
|
"gadgets-definition-edit"
|
|
|
|
],
|
2015-04-07 20:14:26 +00:00
|
|
|
"SpecialPages": {
|
2015-10-20 06:27:23 +00:00
|
|
|
"Gadgets": "SpecialGadgets",
|
|
|
|
"GadgetUsage": "SpecialGadgetUsage"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
|
|
|
"APIListModules": {
|
|
|
|
"gadgetcategories": "ApiQueryGadgetCategories",
|
|
|
|
"gadgets": "ApiQueryGadgets"
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
],
|
2015-04-07 20:14:26 +00:00
|
|
|
"AutoloadClasses": {
|
2018-02-25 02:22:46 +00:00
|
|
|
"ApiQueryGadgetCategories": "includes/api/ApiQueryGadgetCategories.php",
|
|
|
|
"ApiQueryGadgets": "includes/api/ApiQueryGadgets.php",
|
|
|
|
"Gadget": "includes/Gadget.php",
|
|
|
|
"GadgetHooks": "includes/GadgetHooks.php",
|
2015-08-01 05:17:35 +00:00
|
|
|
"GadgetResourceLoaderModule": "includes/GadgetResourceLoaderModule.php",
|
2018-02-25 02:22:46 +00:00
|
|
|
"SpecialGadgets": "includes/SpecialGadgets.php",
|
|
|
|
"SpecialGadgetUsage": "includes/SpecialGadgetUsage.php",
|
2015-07-18 22:40:42 +00:00
|
|
|
"GadgetRepo": "includes/GadgetRepo.php",
|
2015-08-03 06:37:32 +00:00
|
|
|
"GadgetDefinitionNamespaceRepo": "includes/GadgetDefinitionNamespaceRepo.php",
|
|
|
|
"MediaWikiGadgetsDefinitionRepo": "includes/MediaWikiGadgetsDefinitionRepo.php",
|
|
|
|
"GadgetDefinitionContent": "includes/content/GadgetDefinitionContent.php",
|
2016-02-16 19:38:44 +00:00
|
|
|
"GadgetDefinitionContentArmor": "includes/content/GadgetDefinitionContentArmor.php",
|
2015-08-03 06:37:32 +00:00
|
|
|
"GadgetDefinitionContentHandler": "includes/content/GadgetDefinitionContentHandler.php",
|
|
|
|
"GadgetDefinitionValidator": "includes/content/GadgetDefinitionValidator.php",
|
|
|
|
"GadgetDefinitionSecondaryDataUpdate": "includes/content/GadgetDefinitionSecondaryDataUpdate.php",
|
|
|
|
"GadgetDefinitionDeletionUpdate": "includes/content/GadgetDefinitionDeletionUpdate.php"
|
2015-04-07 20:14:26 +00:00
|
|
|
},
|
2021-10-17 13:05:15 +00:00
|
|
|
"TestAutoloadClasses": {
|
|
|
|
"GadgetTestUtils": "tests/phpunit/GadgetTestUtils.php"
|
|
|
|
},
|
2015-04-07 20:14:26 +00:00
|
|
|
"Hooks": {
|
2021-03-24 21:22:11 +00:00
|
|
|
"PageSaveComplete": "GadgetHooks::onPageSaveComplete",
|
2020-03-01 08:42:17 +00:00
|
|
|
"BeforePageDisplay": "GadgetHooks::beforePageDisplay",
|
|
|
|
"CodeEditorGetPageLanguage": "GadgetHooks::onCodeEditorGetPageLanguage",
|
|
|
|
"ContentHandlerDefaultModelFor": "GadgetHooks::onContentHandlerDefaultModelFor",
|
|
|
|
"EditFilterMergedContent": "GadgetHooks::onEditFilterMergedContent",
|
|
|
|
"UserGetDefaultOptions": "GadgetHooks::userGetDefaultOptions",
|
|
|
|
"GetPreferences": "GadgetHooks::getPreferences",
|
2021-11-05 22:12:36 +00:00
|
|
|
"PreferencesGetLegend": "GadgetHooks::onPreferencesGetLegend",
|
2020-03-01 08:42:17 +00:00
|
|
|
"ResourceLoaderRegisterModules": "GadgetHooks::registerModules",
|
|
|
|
"wgQueryPages": "GadgetHooks::onwgQueryPages",
|
|
|
|
"DeleteUnknownPreferences": "GadgetHooks::onDeleteUnknownPreferences"
|
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": {
|
|
|
|
"value": "MediaWikiGadgetsDefinitionRepo"
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|