mediawiki-extensions-Cite/extension.json
Thiemo Kreuz 1a371ec6a5 Extract all hook handler functions to small glue classes
As of now, this patch does not touch the existing code. However, the
goal is to remove a lot of the related code from the Cite class. This
will be done in later patches. This here is a separate patch to make
reviewing the later patches much easier.

The existing parser tests should be proof enough this chain of patches
is not changing any behavior.

Change-Id: I27ae972f81071bb4036bd452560768fae409417b
2019-11-07 09:45:32 +01:00

132 lines
3.3 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": 19489336,
"ReferencePreviewsCite": 19489328
}
},
"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",
"CiteParserHooks": "includes/CiteParserHooks.php",
"CiteParserTagHooks": "includes/CiteParserTagHooks.php"
},
"TrackingCategories": [
"cite-tracking-category-cite-error"
],
"manifest_version": 2
}