mediawiki-extensions-Cite/extension.json
Thiemo Kreuz 28dd373d24 Move misplaced ParserFirstCallInit hook handler to CiteHooks
All other hook handlers are in the dedicated CiteHooks class.

Main motivation here is to make the huge Cite class smaller,
especially by removing static code that does not rely on anything
else the class does.

Bug: T236260
Change-Id: If0b3f6c989e44283428cda4b2c4d8d5303385d22
2019-10-25 10:34:35 +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": "CiteHooks::onParserFirstCallInit",
"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
}