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": {
|
2018-08-04 22:47:17 +00:00
|
|
|
"MediaWiki": ">= 1.32.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",
|
|
|
|
"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
|
|
|
},
|
|
|
|
"Hooks": {
|
2016-10-06 16:16:15 +00:00
|
|
|
"PageContentSaveComplete": [
|
|
|
|
"GadgetHooks::onPageContentSaveComplete"
|
2015-04-07 20:14:26 +00:00
|
|
|
],
|
|
|
|
"BeforePageDisplay": [
|
|
|
|
"GadgetHooks::beforePageDisplay"
|
|
|
|
],
|
2015-08-03 06:37:32 +00:00
|
|
|
"CodeEditorGetPageLanguage": [
|
|
|
|
"GadgetHooks::onCodeEditorGetPageLanguage"
|
|
|
|
],
|
|
|
|
"ContentHandlerDefaultModelFor": [
|
|
|
|
"GadgetHooks::onContentHandlerDefaultModelFor"
|
|
|
|
],
|
|
|
|
"EditFilterMergedContent": [
|
|
|
|
"GadgetHooks::onEditFilterMergedContent"
|
|
|
|
],
|
|
|
|
"PageContentInsertComplete": [
|
|
|
|
"GadgetHooks::onPageContentInsertComplete"
|
|
|
|
],
|
2015-04-07 20:14:26 +00:00
|
|
|
"UserGetDefaultOptions": [
|
|
|
|
"GadgetHooks::userGetDefaultOptions"
|
|
|
|
],
|
|
|
|
"GetPreferences": [
|
|
|
|
"GadgetHooks::getPreferences"
|
|
|
|
],
|
|
|
|
"ResourceLoaderRegisterModules": [
|
|
|
|
"GadgetHooks::registerModules"
|
|
|
|
],
|
2015-10-27 13:29:26 +00:00
|
|
|
"wgQueryPages": [
|
|
|
|
"GadgetHooks::onwgQueryPages"
|
2018-04-06 00:18:46 +00:00
|
|
|
],
|
|
|
|
"DeleteUnknownPreferences": [
|
|
|
|
"GadgetHooks::onDeleteUnknownPreferences"
|
2015-04-07 20:14:26 +00:00
|
|
|
]
|
|
|
|
},
|
2015-08-03 06:37:32 +00:00
|
|
|
"config": {
|
2015-12-17 14:03:21 +00:00
|
|
|
"GadgetsRepoClass": "MediaWikiGadgetsDefinitionRepo",
|
|
|
|
"SpecialGadgetUsageActiveUsers": true
|
2015-08-03 06:37:32 +00:00
|
|
|
},
|
2015-05-29 03:39:10 +00:00
|
|
|
"manifest_version": 1
|
2015-04-07 20:14:26 +00:00
|
|
|
}
|