mediawiki-extensions-CiteTh.../extension.json
Florian Schmidt c422031326 Add a possibility to add a "cite this page" link without adding the NS as a content namespace
Sometimes it's required or at least a good option to have a cite this page
link on pages, that aren't content pages (like the project namespace).

This change adds a new configuration option for this extensions to allow to
add namespaces as namespaces that should have a cite this page link, even if
they're not a content page.

Bug: T150053
Change-Id: I2523bd9124ab8998a7c327d8045d7585d4dcf8b4
2016-12-30 16:55:11 +01:00

51 lines
1.3 KiB
JSON

{
"name": "CiteThisPage",
"author": [
"Ævar Arnfjörð Bjarmason",
"James D. Forrester"
],
"url": "https://www.mediawiki.org/wiki/Extension:CiteThisPage",
"descriptionmsg": "citethispage-desc",
"license-name": "GPL-2.0+",
"type": "specialpage",
"ExtensionMessagesFiles": {
"CiteThisPageAliases": "CiteThisPage.alias.php"
},
"MessagesDirs": {
"CiteThisPage": [
"i18n"
]
},
"Hooks": {
"SkinTemplateBuildNavUrlsNav_urlsAfterPermalink": [
"CiteThisPageHooks::onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink"
],
"BaseTemplateToolbox": "CiteThisPageHooks::onBaseTemplateToolbox"
},
"ResourceModules": {
"ext.citeThisPage": {
"position": "top",
"styles": "ext.citeThisPage.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "CiteThisPage/modules"
},
"SpecialPages": {
"CiteThisPage": "SpecialCiteThisPage"
},
"AutoloadClasses": {
"SpecialCiteThisPage": "SpecialCiteThisPage.php",
"CiteThisPageHooks": "CiteThisPage.hooks.php"
},
"config": {
"CiteThisPageAdditionalNamespaces": {
"value": {},
"description": "An array of namespaces where the 'Cite this page' link is also visible, additionally to the content pages.",
"merge_strategy": "array_plus"
}
},
"manifest_version": 2
}