mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-15 03:33:55 +00:00
096f6e91fc
The main goal of this rewrite is to not use or mess with any global state. The ParserGetVariableValueTs and ParserGetVariableValueVarCache hooks were replaced with setting the timestamp via ParserOptions::setTimestamp(). This also means that {{#time:...}} from ParserFunctions extension will correctly use the page's timestamp instead of the current one. Disabling tidy is also done using ParserOptions instead of changing global state. Change-Id: Ib2810aa5891c57831380a1a4718656cc09932b96
44 lines
1 KiB
JSON
44 lines
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",
|
|
"CiteThisPageHooks": "CiteThisPage.hooks.php"
|
|
},
|
|
"manifest_version": 1
|
|
}
|