mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-27 17:00:15 +00:00
c422031326
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
51 lines
1.3 KiB
JSON
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
|
|
}
|