mediawiki-extensions-Cite/extension.json
Thiemo Kreuz a037f76317 Streamline Hooks section in extension.json
Main motivation here is to make the list easier to read. We are not
going to have more than a single hook handler per hook anyway.

Bug: T236260
Change-Id: I72357a89402e6febfa1e99f825a3fd699c5561b7
2019-10-25 10:28:08 +02:00

129 lines
3.1 KiB
JSON

{
"name": "Cite",
"version": "1.0.0",
"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-or-later",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.34.0"
},
"MessagesDirs": {
"Cite": [
"i18n",
"i18n/api",
"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",
"APIQuerySiteInfoGeneralInfo": "CiteHooks::onAPIQuerySiteInfoGeneralInfo"
},
"ResourceModules": {
"ext.cite.styles": {
"styles": {
"ext.cite.styles.css": {},
"ext.cite.print.css": {
"media": "print"
}
},
"skinStyles": {
"minerva": "ext.cite.styles.minerva.less"
},
"targets": [
"desktop",
"mobile"
]
},
"ext.cite.style": {
"class": "CiteCSSFileModule",
"styles": "ext.cite.style.css",
"targets": [
"desktop",
"mobile"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "Cite/modules"
},
"attributes": {
"CodeMirror": {
"TagModes": {
"ref": "text/mediawiki"
}
},
"EventLogging": {
"Schemas": {
"ReferencePreviewsBaseline": 19414499
}
},
"VisualEditor": {
"PluginModules": [
"ext.cite.visualEditor"
]
}
},
"ConfigRegistry": {
"cite": "GlobalVarConfig::newInstance"
},
"config": {
"CiteBookReferencing": {
"description": "Development feature flag for Book Referencing, a way to nest citations. Please don't enable in production.",
"public": true,
"value": false
},
"CiteStoreReferencesData": {
"description": "If set to true, references are saved in the database so that other extensions can retrieve them independently of the main article content.",
"public": true,
"value": false
},
"CiteCacheReferencesDataOnParse": {
"description": "Requires $wgCiteStoreReferencesData. By default, references are cached only on database access. If set to true, references are also cached whenever pages are parsed.",
"public": true,
"value": false
},
"CiteVisualEditorOtherGroup": {
"public": true,
"value": false
},
"CiteResponsiveReferences": {
"public": true,
"value": true
}
},
"AutoloadClasses": {
"ApiQueryReferences": "includes/ApiQueryReferences.php",
"Cite": "includes/Cite.php",
"CiteHooks": "includes/CiteHooks.php",
"CiteDataModule": "includes/CiteDataModule.php",
"CiteCSSFileModule": "includes/CiteCSSFileModule.php"
},
"TrackingCategories": [
"cite-tracking-category-cite-error"
],
"manifest_version": 2
}