mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-15 11:31:40 +00:00
ee4973ebfa
Bug: T200997 Depends-On: Ib16db04e499ad28216ee08b8cccccf3f141e2bad Change-Id: I4a01bfb6f89c0f4e137feda7cf5551f970fc6905
125 lines
3.3 KiB
JSON
125 lines
3.3 KiB
JSON
{
|
|
"name": "Gadgets",
|
|
"author": [
|
|
"Daniel Kinzler",
|
|
"Max Semenik"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Gadgets",
|
|
"descriptionmsg": "gadgets-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.32.0"
|
|
},
|
|
"type": "other",
|
|
"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",
|
|
"capitallinkoverride": false,
|
|
"defaultcontentmodel": "GadgetDefinition"
|
|
},
|
|
{
|
|
"id": 2303,
|
|
"constant": "NS_GADGET_DEFINITION_TALK",
|
|
"name": "Gadget_definition_talk"
|
|
}
|
|
],
|
|
"ContentHandlers": {
|
|
"GadgetDefinition": "GadgetDefinitionContentHandler"
|
|
},
|
|
"AvailableRights": [
|
|
"gadgets-edit",
|
|
"gadgets-definition-edit"
|
|
],
|
|
"SpecialPages": {
|
|
"Gadgets": "SpecialGadgets",
|
|
"GadgetUsage": "SpecialGadgetUsage"
|
|
},
|
|
"APIListModules": {
|
|
"gadgetcategories": "ApiQueryGadgetCategories",
|
|
"gadgets": "ApiQueryGadgets"
|
|
},
|
|
"MessagesDirs": {
|
|
"Gadgets": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"GadgetsAlias": "Gadgets.alias.php",
|
|
"GadgetsNamespaces": "Gadgets.namespaces.php"
|
|
},
|
|
"RawHtmlMessages": [
|
|
"gadgets-definition"
|
|
],
|
|
"AutoloadClasses": {
|
|
"ApiQueryGadgetCategories": "includes/api/ApiQueryGadgetCategories.php",
|
|
"ApiQueryGadgets": "includes/api/ApiQueryGadgets.php",
|
|
"Gadget": "includes/Gadget.php",
|
|
"GadgetHooks": "includes/GadgetHooks.php",
|
|
"GadgetResourceLoaderModule": "includes/GadgetResourceLoaderModule.php",
|
|
"SpecialGadgets": "includes/SpecialGadgets.php",
|
|
"SpecialGadgetUsage": "includes/SpecialGadgetUsage.php",
|
|
"GadgetRepo": "includes/GadgetRepo.php",
|
|
"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"
|
|
},
|
|
"Hooks": {
|
|
"PageContentSaveComplete": [
|
|
"GadgetHooks::onPageContentSaveComplete"
|
|
],
|
|
"BeforePageDisplay": [
|
|
"GadgetHooks::beforePageDisplay"
|
|
],
|
|
"CodeEditorGetPageLanguage": [
|
|
"GadgetHooks::onCodeEditorGetPageLanguage"
|
|
],
|
|
"ContentHandlerDefaultModelFor": [
|
|
"GadgetHooks::onContentHandlerDefaultModelFor"
|
|
],
|
|
"EditFilterMergedContent": [
|
|
"GadgetHooks::onEditFilterMergedContent"
|
|
],
|
|
"PageContentInsertComplete": [
|
|
"GadgetHooks::onPageContentInsertComplete"
|
|
],
|
|
"UserGetDefaultOptions": [
|
|
"GadgetHooks::userGetDefaultOptions"
|
|
],
|
|
"GetPreferences": [
|
|
"GadgetHooks::getPreferences"
|
|
],
|
|
"ResourceLoaderRegisterModules": [
|
|
"GadgetHooks::registerModules"
|
|
],
|
|
"wgQueryPages": [
|
|
"GadgetHooks::onwgQueryPages"
|
|
],
|
|
"DeleteUnknownPreferences": [
|
|
"GadgetHooks::onDeleteUnknownPreferences"
|
|
]
|
|
},
|
|
"config": {
|
|
"GadgetsRepoClass": "MediaWikiGadgetsDefinitionRepo",
|
|
"SpecialGadgetUsageActiveUsers": true
|
|
},
|
|
"manifest_version": 1
|
|
}
|