mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-15 11:45:23 +00:00
12623a5acd
The SkinTemplateToolboxEnd hook is nasty and requires echo-ing raw HTML. It also has the problem that if there are any other extensions using that hook, the CiteThisPage link will easily end up in the wrong place and under the wrong heading. This is trivial to fix though by using the BaseTemplateToolbox hook, which is designed for actually adding links to the toolbox! Bug: T140290 Change-Id: I9557130c40e17edc12a225a3b7b1cdec028f93d0
45 lines
1.1 KiB
JSON
45 lines
1.1 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",
|
|
"CiteThisPageOutput": "SpecialCiteThisPage.php",
|
|
"CiteThisPageHooks": "CiteThisPage.hooks.php"
|
|
},
|
|
"manifest_version": 1
|
|
}
|