mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-12-18 01:40:31 +00:00
9d11216d4b
Change-Id: I042d6f33f9ecd2573f25e737bb0ee9a43869eeac
143 lines
3.2 KiB
JSON
143 lines
3.2 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.41"
|
|
},
|
|
"type": "other",
|
|
"namespaces": [
|
|
{
|
|
"id": 2300,
|
|
"constant": "NS_GADGET",
|
|
"name": "Gadget",
|
|
"capitallinkoverride": false
|
|
},
|
|
{
|
|
"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": "MediaWiki\\Extension\\Gadgets\\Content\\GadgetDefinitionContentHandler"
|
|
},
|
|
"AvailableRights": [
|
|
"gadgets-definition-edit"
|
|
],
|
|
"SpecialPages": {
|
|
"Gadgets": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Special\\SpecialGadgets",
|
|
"services": [
|
|
"GadgetsRepo"
|
|
]
|
|
},
|
|
"GadgetUsage": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Special\\SpecialGadgetUsage",
|
|
"services": [
|
|
"GadgetsRepo"
|
|
]
|
|
}
|
|
},
|
|
"APIListModules": {
|
|
"gadgetcategories": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Api\\ApiQueryGadgetCategories",
|
|
"services": [
|
|
"GadgetsRepo"
|
|
]
|
|
},
|
|
"gadgets": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Api\\ApiQueryGadgets",
|
|
"services": [
|
|
"GadgetsRepo"
|
|
]
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"Gadgets": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"GadgetsAlias": "Gadgets.alias.php",
|
|
"GadgetsNamespaces": "Gadgets.namespaces.php"
|
|
},
|
|
"RawHtmlMessages": [
|
|
"gadgets-definition"
|
|
],
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\Gadgets\\": "includes/"
|
|
},
|
|
"TestAutoloadClasses": {
|
|
"GadgetTestTrait": "tests/phpunit/GadgetTestTrait.php"
|
|
},
|
|
"HookHandlers": {
|
|
"GadgetHooks": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\Hooks",
|
|
"services": [
|
|
"GadgetsRepo",
|
|
"UserOptionsLookup"
|
|
],
|
|
"optional_services": [
|
|
"MobileFrontend.Context"
|
|
]
|
|
},
|
|
"GadgetCodeEditorHooks": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\CodeEditorHooks"
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"PageDeleteComplete": "GadgetHooks",
|
|
"PageSaveComplete": "GadgetHooks",
|
|
"BeforePageDisplay": "GadgetHooks",
|
|
"CodeEditorGetPageLanguage": "GadgetCodeEditorHooks",
|
|
"ContentHandlerDefaultModelFor": "GadgetHooks",
|
|
"EditFilterMergedContent": "GadgetHooks",
|
|
"UserGetDefaultOptions": "GadgetHooks",
|
|
"GetPreferences": "GadgetHooks",
|
|
"PreferencesGetLegend": "GadgetHooks",
|
|
"ResourceLoaderRegisterModules": "GadgetHooks",
|
|
"wgQueryPages": "GadgetHooks",
|
|
"DeleteUnknownPreferences": "GadgetHooks",
|
|
"PreferencesGetIcon": "GadgetHooks",
|
|
"getUserPermissionsErrors": "GadgetHooks"
|
|
},
|
|
"ServiceWiringFiles": [
|
|
"includes/ServiceWiring.php"
|
|
],
|
|
"config": {
|
|
"GadgetsRepoClass": {
|
|
"value": {
|
|
"class": "MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo",
|
|
"services": [
|
|
"MainWANObjectCache",
|
|
"RevisionLookup"
|
|
]
|
|
}
|
|
},
|
|
"SpecialGadgetUsageActiveUsers": {
|
|
"value": true
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|