mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
509741dc17
* The query request prop=references will return a JSON blob of all references in the page * Conveniently references are returned with an array id key that corresponds to an anchor tag in the HTML * When references storage is disabled the API request will trigger an error. Bug: T123290 Change-Id: I81a965bcb47d17df18f1e415e3c25f88f6b48ffc
196 lines
5.2 KiB
JSON
196 lines
5.2 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"
|
|
],
|
|
"LinksUpdate": [
|
|
"CiteHooks::onLinksUpdate"
|
|
],
|
|
"LinksUpdateComplete": [
|
|
"CiteHooks::onLinksUpdateComplete"
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"ext.cite.visualEditor.core": {
|
|
"scripts": [
|
|
"ve-cite/ve.dm.MWReferenceModel.js",
|
|
"ve-cite/ve.dm.MWReferencesListNode.js",
|
|
"ve-cite/ve.dm.MWReferenceNode.js",
|
|
"ve-cite/ve.ce.MWReferencesListNode.js",
|
|
"ve-cite/ve.ce.MWReferenceNode.js",
|
|
"ve-cite/ve.ui.MWReferencesListCommand.js"
|
|
],
|
|
"styles": [
|
|
"ve-cite/ve.ce.MWReferencesListNode.css",
|
|
"ve-cite/ve.ce.MWReferenceNode.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.visualEditor.mwcore"
|
|
],
|
|
"messages": [
|
|
"cite-ve-referenceslist-isempty",
|
|
"cite-ve-referenceslist-isempty-default",
|
|
"cite-ve-referenceslist-missingref"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.cite.visualEditor.data": {
|
|
"class": "CiteDataModule"
|
|
},
|
|
"ext.cite.visualEditor": {
|
|
"scripts": [
|
|
"ve-cite/ve.ui.MWReferenceGroupInputWidget.js",
|
|
"ve-cite/ve.ui.MWReferenceSearchWidget.js",
|
|
"ve-cite/ve.ui.MWReferenceResultWidget.js",
|
|
"ve-cite/ve.ui.MWUseExistingReferenceCommand.js",
|
|
"ve-cite/ve.ui.MWCitationDialog.js",
|
|
"ve-cite/ve.ui.MWReferencesListDialog.js",
|
|
"ve-cite/ve.ui.MWReferenceDialog.js",
|
|
"ve-cite/ve.ui.MWReferenceDialogTool.js",
|
|
"ve-cite/ve.ui.MWCitationDialogTool.js",
|
|
"ve-cite/ve.ui.MWReferenceContextItem.js",
|
|
"ve-cite/ve.ui.MWReferencesListContextItem.js",
|
|
"ve-cite/ve.ui.MWCitationContextItem.js",
|
|
"ve-cite/ve.ui.MWCitationAction.js",
|
|
"ve-cite/ve.ui.MWReference.init.js"
|
|
],
|
|
"styles": [
|
|
"ve-cite/ve.ui.MWReferenceContextItem.css",
|
|
"ve-cite/ve.ui.MWReferenceGroupInputWidget.css",
|
|
"ve-cite/ve.ui.MWReferenceIcons.css",
|
|
"ve-cite/ve.ui.MWReferenceResultWidget.css",
|
|
"ve-cite/ve.ui.MWReferenceSearchWidget.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.cite.visualEditor.core",
|
|
"ext.cite.visualEditor.data",
|
|
"ext.cite.style",
|
|
"ext.visualEditor.mwtransclusion",
|
|
"ext.visualEditor.mediawiki"
|
|
],
|
|
"messages": [
|
|
"cite-ve-dialog-reference-editing-reused",
|
|
"cite-ve-dialog-reference-options-group-label",
|
|
"cite-ve-dialog-reference-options-group-placeholder",
|
|
"cite-ve-dialog-reference-options-name-label",
|
|
"cite-ve-dialog-reference-options-section",
|
|
"cite-ve-dialog-reference-title",
|
|
"cite-ve-dialog-reference-useexisting-full-label",
|
|
"cite-ve-dialog-reference-useexisting-label",
|
|
"cite-ve-dialog-reference-useexisting-tool",
|
|
"cite-ve-dialog-referenceslist-contextitem-description-general",
|
|
"cite-ve-dialog-referenceslist-contextitem-description-named",
|
|
"cite-ve-dialog-referenceslist-title",
|
|
"cite-ve-dialogbutton-citation-educationpopup-title",
|
|
"cite-ve-dialogbutton-citation-educationpopup-text",
|
|
"cite-ve-dialogbutton-reference-full-label",
|
|
"cite-ve-dialogbutton-reference-tooltip",
|
|
"cite-ve-dialogbutton-reference-title",
|
|
"cite-ve-dialogbutton-referenceslist-tooltip",
|
|
"cite-ve-reference-input-placeholder",
|
|
"cite-ve-toolbar-group-label"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.visualEditor.mwreference": {
|
|
"@comment": "Deprecated alias",
|
|
"dependencies": [
|
|
"ext.cite.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Cite/modules"
|
|
},
|
|
"VisualEditorPluginModules": [
|
|
"ext.cite.visualEditor"
|
|
],
|
|
"ConfigRegistry": {
|
|
"cite": "GlobalVarConfig::newInstance"
|
|
},
|
|
"config": {
|
|
"AllowCiteGroups": true,
|
|
"CiteCacheReferences": false,
|
|
"CiteStoreReferencesData": false,
|
|
"CiteCacheReferencesDataOnParse": false
|
|
},
|
|
"AutoloadClasses": {
|
|
"ApiQueryReferences": "ApiQueryReferences.php",
|
|
"Cite": "Cite_body.php",
|
|
"CiteHooks": "CiteHooks.php",
|
|
"CiteDataModule": "CiteDataModule.php",
|
|
"CiteCSSFileModule": "CiteCSSFileModule.php"
|
|
},
|
|
"ParserTestFiles": [
|
|
"citeParserTests.txt"
|
|
],
|
|
"TrackingCategories": [
|
|
"cite-tracking-category-cite-error"
|
|
],
|
|
"manifest_version": 1
|
|
}
|