mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-24 23:35:37 +00:00
e6b8b57d9b
Register the "Gadget", "Gadget definition", and their respective talk namespaces. It will not be possible to create any pages in the Gadget and Gadget definition namespaces due to the "gadgets-edit" and "gadgets- definition-edit" rights not being granted to any groups. Depends on Iaf8b44d02adf9 in MediaWiki core. Change-Id: Ia88c774cc0decc252a4a4277d14822048db95801
88 lines
2 KiB
JSON
Executable file
88 lines
2 KiB
JSON
Executable file
{
|
|
"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",
|
|
"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
|
|
},
|
|
{
|
|
"id": 2303,
|
|
"constant": "NS_GADGET_DEFINITION_TALK",
|
|
"name": "Gadget_definition_talk"
|
|
}
|
|
],
|
|
"AvailableRights": [
|
|
"gadgets-edit",
|
|
"gadgets-definition-edit"
|
|
],
|
|
"SpecialPages": {
|
|
"Gadgets": "SpecialGadgets"
|
|
},
|
|
"APIListModules": {
|
|
"gadgetcategories": "ApiQueryGadgetCategories",
|
|
"gadgets": "ApiQueryGadgets"
|
|
},
|
|
"MessagesDirs": {
|
|
"Gadgets": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"GadgetsAlias": "Gadgets.alias.php",
|
|
"GadgetsNamespaces": "Gadgets.namespaces.php"
|
|
},
|
|
"AutoloadClasses": {
|
|
"ApiQueryGadgetCategories": "api/ApiQueryGadgetCategories.php",
|
|
"ApiQueryGadgets": "api/ApiQueryGadgets.php",
|
|
"Gadget": "Gadgets_body.php",
|
|
"GadgetHooks": "GadgetHooks.php",
|
|
"GadgetResourceLoaderModule": "includes/GadgetResourceLoaderModule.php",
|
|
"SpecialGadgets": "SpecialGadgets.php",
|
|
"GadgetRepo": "includes/GadgetRepo.php",
|
|
"MediaWikiGadgetsDefinitionRepo": "includes/MediaWikiGadgetsDefinitionRepo.php"
|
|
},
|
|
"Hooks": {
|
|
"ArticleSaveComplete": [
|
|
"GadgetHooks::articleSaveComplete"
|
|
],
|
|
"BeforePageDisplay": [
|
|
"GadgetHooks::beforePageDisplay"
|
|
],
|
|
"UserGetDefaultOptions": [
|
|
"GadgetHooks::userGetDefaultOptions"
|
|
],
|
|
"GetPreferences": [
|
|
"GadgetHooks::getPreferences"
|
|
],
|
|
"ResourceLoaderRegisterModules": [
|
|
"GadgetHooks::registerModules"
|
|
],
|
|
"UnitTestsList": [
|
|
"GadgetHooks::onUnitTestsList"
|
|
]
|
|
},
|
|
"manifest_version": 1
|
|
}
|