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",
|
|
|
|
"license-name": "GPL-2.0+",
|
|
|
|
"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": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
|
|
|
"ApiQueryGadgetCategories": "api/ApiQueryGadgetCategories.php",
|
|
|
|
"ApiQueryGadgets": "api/ApiQueryGadgets.php",
|
|
|
|
"Gadget": "Gadgets_body.php",
|
|
|
|
"GadgetHooks": "GadgetHooks.php",
|
2015-08-01 05:17:35 +00:00
|
|
|
"GadgetResourceLoaderModule": "includes/GadgetResourceLoaderModule.php",
|
2015-07-18 22:40:42 +00:00
|
|
|
"SpecialGadgets": "SpecialGadgets.php",
|
2015-10-20 06:27:23 +00:00
|
|
|
"SpecialGadgetUsage": "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": {
|
|
|
|
"ArticleSaveComplete": [
|
|
|
|
"GadgetHooks::articleSaveComplete"
|
|
|
|
],
|
|
|
|
"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"
|
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
|
|
|
}
|