mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 19:10:15 +00:00
5fcecf9e5f
When VisualEditor is not installed, there is no point in registered resource loader modules that depends on it. A use case is trying to run tests for the MediaWiki tarball. It comes with Cite but without VisualEditor. The patch is based on GuidedTour patch by Matthew Flaschen https://gerrit.wikimedia.org/r/#/c/305691/ for T143297 Change-Id: Idf769e0149f93c099a94b1b7a6cb203273dab881
110 lines
2.4 KiB
JSON
110 lines
2.4 KiB
JSON
{
|
|
"name": "Cite",
|
|
"author": [
|
|
"Ævar Arnfjörð Bjarmason",
|
|
"Andrew Garrett",
|
|
"Brion Vibber",
|
|
"Ed Sanders",
|
|
"Marius Hoch",
|
|
"Steve Sanbeg",
|
|
"Trevor Parscal",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Cite",
|
|
"descriptionmsg": "cite-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "parserhook",
|
|
"MessagesDirs": {
|
|
"cite": "i18n",
|
|
"ve-cite": "modules/ve-cite/i18n"
|
|
},
|
|
"APIPropModules": {
|
|
"references": {
|
|
"class": "ApiQueryReferences"
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": [
|
|
"Cite::setHooks"
|
|
],
|
|
"ContentHandlerDefaultModelFor": [
|
|
"CiteHooks::onContentHandlerDefaultModelFor"
|
|
],
|
|
"ResourceLoaderTestModules": [
|
|
"CiteHooks::onResourceLoaderTestModules"
|
|
],
|
|
"ResourceLoaderRegisterModules": [
|
|
"CiteHooks::onResourceLoaderRegisterModules"
|
|
],
|
|
"LinksUpdate": [
|
|
"CiteHooks::onLinksUpdate"
|
|
],
|
|
"LinksUpdateComplete": [
|
|
"CiteHooks::onLinksUpdateComplete"
|
|
],
|
|
"ResourceLoaderGetConfigVars": [
|
|
"CiteHooks::onResourceLoaderGetConfigVars"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"ext.cite.styles": {
|
|
"styles": {
|
|
"ext.cite.styles.css": {},
|
|
"ext.cite.print.css": {
|
|
"media": "print"
|
|
}
|
|
},
|
|
"position": "bottom"
|
|
},
|
|
"ext.cite.a11y": {
|
|
"scripts": "ext.cite.a11y.js",
|
|
"styles": "ext.cite.a11y.css",
|
|
"messages": [
|
|
"cite_references_link_accessibility_label",
|
|
"cite_references_link_many_accessibility_label"
|
|
],
|
|
"position": "bottom"
|
|
},
|
|
"ext.cite.style": {
|
|
"class": "CiteCSSFileModule",
|
|
"styles": "ext.cite.style.css",
|
|
"position": "top",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Cite/modules"
|
|
},
|
|
"VisualEditorPluginModules": [
|
|
"ext.cite.visualEditor"
|
|
],
|
|
"ConfigRegistry": {
|
|
"cite": "GlobalVarConfig::newInstance"
|
|
},
|
|
"config": {
|
|
"AllowCiteGroups": true,
|
|
"CiteCacheReferences": false,
|
|
"CiteStoreReferencesData": false,
|
|
"CiteCacheReferencesDataOnParse": false,
|
|
"CiteVisualEditorOtherGroup": false
|
|
},
|
|
"AutoloadClasses": {
|
|
"ApiQueryReferences": "includes/ApiQueryReferences.php",
|
|
"Cite": "includes/Cite.php",
|
|
"CiteHooks": "includes/CiteHooks.php",
|
|
"CiteDataModule": "includes/CiteDataModule.php",
|
|
"CiteCSSFileModule": "includes/CiteCSSFileModule.php"
|
|
},
|
|
"ParserTestFiles": [
|
|
"tests/parser/citeParserTests.txt"
|
|
],
|
|
"TrackingCategories": [
|
|
"cite-tracking-category-cite-error"
|
|
],
|
|
"manifest_version": 1
|
|
}
|