mediawiki-extensions-CiteTh.../extension.json
Kunal Mehta 12623a5acd Use BaseTemplateToolbox hook so link appears in the right place
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
2016-07-13 15:27:14 -07:00

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
}