iews/renderer.test.js",
"ext.cite.highlighting.test.js"
],
"dependencies": [
"ext.cite.ux-enhancements"
],
"optional": {
"Popups": {
"dependencies": [
"ext.cite.referencePreviews"
]
},
"VisualEditor": {
"scripts": [
"ve-cite/ve.dm.citeExample.js",
"ve-cite/converter/ve.dm.Converter.test.js",
"ve-cite/converter/ve.dm.ConverterIntegrationTestCases.js",
"ve-cite/converter/ve.dm.ConverterStoreTestCases.js",
"ve-cite/converter/ve.dm.ConverterSubReferenceTestCases.js",
"ve-cite/converter/ve.dm.ConverterTestCases.js",
"ve-cite/ve.dm.MWDocumentReferences.test.js",
"ve-cite/ve.dm.MWGroupReferences.test.js",
"ve-cite/ve.dm.InternalList.test.js",
"ve-cite/ve.dm.MWReferenceModel.test.js",
"ve-cite/ve.dm.MWReferenceNode.test.js",
"ve-cite/ve.dm.MWReferencesListNode.test.js",
"ve-cite/ve.dm.Transaction.test.js",
"ve-cite/ve.ce.ClipboardHandler.test.js",
"ve-cite/ve.ui.DiffElement.test.js",
"ve-cite/ve.ui.MWCitationDialogTool.test.js",
"ve-cite/ve.ui.MWReferenceContextItem.test.js",
"ve-cite/ve.ui.MWReferenceEditPanel.test.js",
"ve-cite/ve.ui.MWReferenceGroupInputWidget.test.js",
"ve-cite/ve.ui.MWReferenceResultWidget.test.js",
"ve-cite/ve.ui.MWReferenceSearchWidget.test.js",
"ve-cite/ve.ui.MWReferencesListDialog.test.js",
"ve-cite/ve.ui.MWUseExistingReferenceCommand.test.js",
"ve-cite/ve.ui.MWWikitextStringTransferHandler.test.js"
],
"dependencies": [
"ext.cite.visualEditor",
"test.VisualEditor"
]
}
},
"factory": "Cite\\ResourceLoader\\OptionalLoader::addOptional"
},
"attributes": {
"CodeMirror": {
"TagModes": {
"ref": "text/mediawiki",
"references": "text/mediawiki"
}
},
"CommunityConfiguration": {
"EditorCapabilities": {
"citeEditor": {
"class": "Cite\\Config\\CiteEditorCapability",
"services": [
"Cite.AlphabetsProvider",
"MainConfig",
"ContentLanguage",
"LinkRenderer"
]
}
},
"Providers": {
"Cite": {
"store": {
"type": "wikipage",
"args": [
"MediaWiki:CiteConfig.json"
]
},
"validator": {
"type": "jsonschema",
"args": [
"Cite\\Config\\Schemas\\CiteSchema"
]
},
"type": "mw-config",
"options": {
"editorCapability": "citeEditor"
}
}
}
},
"Popups": {
"PluginModules": [
"ext.cite.referencePreviews"
]
},
"VisualEditor": {
"PluginModules": [
"ext.cite.visualEditor"
]
}
},
"ConfigRegistry": {
"cite": "MediaWiki\\Config\\GlobalVarConfig::newInstance"
},
"config": {
"CiteSubReferencing": {
"description": "Temporary feature flag while the sub-referencing feature (a way to nest citations and e.g. reference pages in a book) is in development.",
"value": false
},
"CiteSubRefMergeInDevelopment": {
"description": "Dev-only feature flag to temporarily hide risky parts of the feature to merge (i.e. \"reuse\") identical sub-references (see T406453). This might affect how sub-references are numbered, e.g. later sub-references get lower numbers when earlier ones are merged. It might also affect the behavior of VisualEditor.",
"value": false
},
"CiteVisualEditorOtherGroup": {
"description": "If VisualEditor should list the citation features as part of the existing \"Insert\" drop-down menu instead of a top-level \"Cite\" toolbar button.",
"value": false
},
"CiteResponsiveReferences": {
"description": "If long lists with more than $wgCiteResponsiveReferencesThreshold references should behave responsive by default and be displayed in two or more columns. This can also be toggled individually with to enable and to disable it.",
"value": true
},
"CiteResponsiveReferencesThreshold": {
"description": "The number of references at which CiteResponsiveReferences is enabled.",
"value": 10
},
"CiteReferencePreviews": {
"description": "Feature flag to enable or disable the popups provided by the Popups extension for [ tags.",
"value": true
},
"CiteReferencePreviewsConflictingNavPopupsGadgetName": {
"description": "@var string: Name of a gadget that would cause duplicate reference preview popups. Should usually be identical to wgPopupsConflictingNavPopupsGadgetName in the Popups extension.",
"value": "Navigation_popups"
},
"CiteReferencePreviewsConflictingRefTooltipsGadgetName": {
"description": "@var string: Name of a gadget that would cause duplicate reference preview popups. Known conflicting gadgets include \"ReferenceTooltips\", \"CiteTooltip\" alias \"RefTooltip\", \"ReferencePopups\", and \"tooltipRef\" (see T274353).",
"value": "ReferenceTooltips"
},
"CiteUseLegacyBacklinkLabels": {
"description": "Feature flag switching between numeric and legacy i18n backlink labels (true) and new-style Community Configuration and CLDR alphabet sequences (false).",
"value": true
},
"CiteBacklinkCommunityConfiguration": {
"description": "Feature flag to enable the Cite community configuration.",
"value": false
},
"CiteDefaultBacklinkAlphabet": {
"description": "List of letters in the Alphabet to be used to auto-generate backlink labels. Separated by spaces. Defaults to English Alphabet \"a\" to \"z\" when not specified. Currently only used when CiteUseLegacyBacklinkLabels is set to false.",
"value": null
}
},
"AutoloadNamespaces": {
"Cite\\": "src/"
},
"TestAutoloadNamespaces": {
"Cite\\Tests\\": "tests/phpunit/"
},
"TrackingCategories": [
"cite-tracking-category-cite-diffing-error",
"cite-tracking-category-cite-error",
"cite-tracking-category-ref-details"
],
"ParsoidModules": [
{
"name": "Cite",
"domProcessors": [
{
"class": "Cite\\Parsoid\\CiteDocumentPostProcessor",
"services": [
"MainConfig"
]
}
],
"tags": [
{
"name": "ref",
"handler": {
"class": "Cite\\Parsoid\\RefTagHandler",
"services": [
"MainConfig"
]
},
"options": {
"wt2html": {
"unpackOutput": false,
"embedsHTMLInAttributes": true
},
"outputHasCoreMwDomSpecMarkup": true
}
},
{
"name": "references",
"handler": {
"class": "Cite\\Parsoid\\ReferenceListTagHandler",
"services": [
"MainConfig"
]
},
"options": {
"wt2html": {
"embedsHTMLInAttributes": true
},
"html2wt": {
"format": "block"
},
"outputHasCoreMwDomSpecMarkup": true
}
}
]
}
],
"manifest_version": 2
}
]