mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-21 19:12:37 +00:00
bf52906742
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly. Change-Id: Icd502cce677b70b6dc0685efbbe8513e166cdfbc
272 lines
7.2 KiB
JSON
272 lines
7.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-or-later",
|
|
"type": "parserhook",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.40.0"
|
|
},
|
|
"MessagesDirs": {
|
|
"Cite": [
|
|
"i18n",
|
|
"modules/ve-cite/i18n"
|
|
]
|
|
},
|
|
"Hooks": {
|
|
"APIQuerySiteInfoGeneralInfo": "main",
|
|
"ContentHandlerDefaultModelFor": "main",
|
|
"ParserAfterParse": "parser",
|
|
"ParserClearState": "parser",
|
|
"ParserCloned": "parser",
|
|
"ParserFirstCallInit": "parser",
|
|
"ResourceLoaderGetConfigVars": "main"
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "Cite\\Hooks\\CiteHooks"
|
|
},
|
|
"parser": {
|
|
"class": "Cite\\Hooks\\CiteParserHooks"
|
|
}
|
|
},
|
|
"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": "Cite\\ResourceLoader\\CiteCSSFileModule",
|
|
"styles": "ext.cite.style.css",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.cite.visualEditor.core": {
|
|
"localBasePath": "modules/ve-cite",
|
|
"remoteExtPath": "Cite/modules/ve-cite",
|
|
"scripts": [
|
|
"ve.dm.MWReferenceModel.js",
|
|
"ve.dm.MWReferencesListNode.js",
|
|
"ve.dm.MWReferenceNode.js",
|
|
"ve.ce.MWReferencesListNode.js",
|
|
"ve.ce.MWReferenceNode.js",
|
|
"ve.ui.MWReferencesListCommand.js"
|
|
],
|
|
"styles": [
|
|
"ve.ce.MWReferencesListNode.css",
|
|
"ve.ce.MWReferenceNode.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.visualEditor.mwcore",
|
|
"ext.visualEditor.mwtransclusion"
|
|
],
|
|
"messages": [
|
|
"cite-ve-referenceslist-isempty",
|
|
"cite-ve-referenceslist-isempty-default",
|
|
"cite-ve-referenceslist-missingref",
|
|
"cite-ve-referenceslist-missingref-in-list",
|
|
"cite-ve-referenceslist-missingreflist",
|
|
"visualeditor-internal-list-diff-default-group-name-mwreference",
|
|
"visualeditor-internal-list-diff-group-name-mwreference"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.cite.visualEditor": {
|
|
"class": "Cite\\ResourceLoader\\CiteVisualEditorModule",
|
|
"localBasePath": "modules/ve-cite",
|
|
"remoteExtPath": "Cite/modules/ve-cite",
|
|
"scripts": [
|
|
"ve.ui.MWReferenceGroupInputWidget.js",
|
|
"ve.ui.MWReferenceSearchWidget.js",
|
|
"ve.ui.MWReferenceResultWidget.js",
|
|
"ve.ui.MWUseExistingReferenceCommand.js",
|
|
"ve.ui.MWCitationDialog.js",
|
|
"ve.ui.MWReferencesListDialog.js",
|
|
"ve.ui.MWReferenceDialog.js",
|
|
"ve.ui.MWReferenceDialogTool.js",
|
|
"ve.ui.MWCitationDialogTool.js",
|
|
"ve.ui.MWReferenceContextItem.js",
|
|
"ve.ui.MWReferencesListContextItem.js",
|
|
"ve.ui.MWCitationContextItem.js",
|
|
"ve.ui.MWCitationAction.js",
|
|
"ve.ui.MWReference.init.js",
|
|
"ve.ui.MWCitationNeededContextItem.js"
|
|
],
|
|
"styles": [
|
|
"ve.ui.MWReferenceDialog.css",
|
|
"ve.ui.MWReferenceContextItem.css",
|
|
"ve.ui.MWReferenceGroupInputWidget.css",
|
|
"ve.ui.MWReferenceResultWidget.css",
|
|
"ve.ui.MWReferenceSearchWidget.css",
|
|
"ve.ui.MWCitationDialogTool.css"
|
|
],
|
|
"dependencies": [
|
|
"oojs-ui.styles.icons-alerts",
|
|
"oojs-ui.styles.icons-editing-citation",
|
|
"oojs-ui.styles.icons-interactions",
|
|
"ext.cite.visualEditor.core",
|
|
"ext.cite.style",
|
|
"ext.cite.styles",
|
|
"ext.visualEditor.mwtransclusion",
|
|
"ext.visualEditor.base",
|
|
"ext.visualEditor.mediawiki"
|
|
],
|
|
"messages": [
|
|
"cite-ve-changedesc-ref-group-both",
|
|
"cite-ve-changedesc-ref-group-from",
|
|
"cite-ve-changedesc-ref-group-to",
|
|
"cite-ve-changedesc-reflist-group-both",
|
|
"cite-ve-changedesc-reflist-group-from",
|
|
"cite-ve-changedesc-reflist-group-to",
|
|
"cite-ve-changedesc-reflist-responsive-set",
|
|
"cite-ve-changedesc-reflist-responsive-unset",
|
|
"cite-ve-citationneeded-button",
|
|
"cite-ve-citationneeded-description",
|
|
"cite-ve-citationneeded-reason",
|
|
"cite-ve-citationneeded-title",
|
|
"cite-ve-dialog-reference-editing-reused",
|
|
"cite-ve-dialog-reference-editing-reused-long",
|
|
"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-responsive-label",
|
|
"cite-ve-dialog-reference-options-section",
|
|
"cite-ve-dialog-reference-placeholder",
|
|
"cite-ve-dialog-reference-title",
|
|
"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",
|
|
"cite-ve-othergroup-item",
|
|
"parentheses",
|
|
"word-separator"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.cite.ux-enhancements": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Cite/modules",
|
|
"scripts": [
|
|
"ext.cite.a11y.js",
|
|
"ext.cite.highlighting.js",
|
|
"ext.cite.tracking.js"
|
|
],
|
|
"styles": [
|
|
"ext.cite.a11y.css",
|
|
"ext.cite.highlighting.css"
|
|
],
|
|
"messages": [
|
|
"cite_reference_link_prefix",
|
|
"cite_references_link_accessibility_label",
|
|
"cite_references_link_many_accessibility_label",
|
|
"cite_references_link_accessibility_back_label"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Cite/modules"
|
|
},
|
|
"QUnitTestModule": {
|
|
"localBasePath": "modules/ve-cite/tests",
|
|
"remoteExtPath": "Cite/modules/ve-cite/tests",
|
|
"scripts": [
|
|
"ve.dm.citeExample.js",
|
|
"ve.dm.Converter.test.js",
|
|
"ve.dm.InternalList.test.js",
|
|
"ve.dm.Transaction.test.js",
|
|
"ve.ui.DiffElement.test.js",
|
|
"ve.ui.MWWikitextStringTransferHandler.test.js"
|
|
],
|
|
"dependencies": [
|
|
"ext.cite.visualEditor",
|
|
"test.VisualEditor"
|
|
]
|
|
},
|
|
"attributes": {
|
|
"CodeMirror": {
|
|
"TagModes": {
|
|
"ref": "text/mediawiki",
|
|
"references": "text/mediawiki"
|
|
}
|
|
},
|
|
"EventLogging": {
|
|
"Schemas": {
|
|
"ReferencePreviewsBaseline": "/analytics/legacy/referencepreviewsbaseline/1.0.0",
|
|
"ReferencePreviewsCite": "/analytics/legacy/referencepreviewscite/1.0.0"
|
|
}
|
|
},
|
|
"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
|
|
},
|
|
"CiteVisualEditorOtherGroup": {
|
|
"public": true,
|
|
"value": false
|
|
},
|
|
"CiteResponsiveReferences": {
|
|
"public": true,
|
|
"value": true
|
|
}
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"Cite\\": "src/"
|
|
},
|
|
"TrackingCategories": [
|
|
"cite-tracking-category-cite-error"
|
|
],
|
|
"manifest_version": 2
|
|
}
|