Debian Codegraph @

extensions/Cite/extension.json

raw symbols SCIP
1 {
2 "name": "Cite",
3 "author": [
4 "Ævar Arnfjörð Bjarmason",
5 "Andrew Garrett",
6 "Brion Vibber",
7 "Ed Sanders",
8 "Marius Hoch",
9 "Steve Sanbeg",
10 "Trevor Parscal",
11 "..."
12 ],
13 "url": "https://www.mediawiki.org/wiki/Extension:Cite",
14 "descriptionmsg": "cite-desc",
15 "license-name": "GPL-2.0-or-later",
16 "type": "parserhook",
17 "requires": {
18 "MediaWiki": ">= 1.43"
19 },
20 "MessagesDirs": {
21 "Cite": [
22 "i18n",
23 "modules/ve-cite/i18n"
24 ]
25 },
26 "Hooks": {
27 "APIQuerySiteInfoGeneralInfo": "main",
28 "ContentHandlerDefaultModelFor": "main",
29 "GetPreferences": "main",
30 "ParserAfterParse": "parser",
31 "ParserClearState": "parser",
32 "ParserCloned": "parser",
33 "ParserFirstCallInit": "parser",
34 "EditPage::showEditForm:initial": "main",
35 "MakeGlobalVariablesScript": "main",
36 "ResourceLoaderGetConfigVars": "main",
37 "ResourceLoaderRegisterModules": "main",
38 "UserGetDefaultOptions": "main"
39 },
40 "HookHandlers": {
41 "main": {
42 "class": "Cite\\Hooks\\CiteHooks",
43 "services": [
44 "Cite.ReferencePreviewsContext",
45 "Cite.GadgetsIntegration",
46 "UserOptionsLookup"
47 ]
48 },
49 "parser": {
50 "class": "Cite\\Hooks\\CiteParserHooks",
51 "services": [
52 "MainConfig"
53 ]
54 }
55 },
56 "ResourceModules": {
57 "ext.cite.styles": {
58 "styles": {
59 "ext.cite.styles.less": {},
60 "ext.cite.print.less": {
61 "media": "print"
62 }
63 },
64 "skinStyles": {
65 "minerva": "ext.cite.styles.minerva.less"
66 }
67 },
68 "ext.cite.parsoid.styles": {
69 "localBasePath": "modules/parsoid-styles",
70 "remoteExtPath": "Cite/modules/parsoid-styles",
71 "class": "Cite\\ResourceLoader\\CiteCSSFileModule",
72 "styles": "ext.cite.parsoid.styles.less",
73 "skinStyles": {
74 "minerva": "ext.cite.parsoid.styles.minerva.less"
75 }
76 },
77 "ext.cite.ux-enhancements": {
78 "localBasePath": "modules",
79 "remoteExtPath": "Cite/modules",
80 "scripts": [
81 "ext.cite.a11y.js",
82 "ext.cite.highlighting.js",
83 "ext.cite.tracking.js"
84 ],
85 "styles": [
86 "ext.cite.a11y.less",
87 "ext.cite.highlighting.less"
88 ],
89 "messages": [
90 "cite_references_link_accessibility_label",
91 "cite_references_link_many_accessibility_label",
92 "cite_references_link_accessibility_back_label"
93 ]
94 }
95 },
96 "ResourceFileModulePaths": {
97 "localBasePath": "modules",
98 "remoteExtPath": "Cite/modules"
99 },
100 "ServiceWiringFiles": [
101 "src/ServiceWiring.php"
102 ],
103 "QUnitTestModule": {
104 "localBasePath": "",
105 "remoteExtPath": "Cite",
106 "scripts": [
107 "tests/qunit/ext.cite.referencePreviews/createReferenceGateway.test.js",
108 "tests/qunit/ext.cite.referencePreviews/isReferencePreviewsEnabled.test.js",
109 "tests/qunit/ext.cite.referencePreviews/renderer.test.js"
110 ],
111 "optional": {
112 "Popups": {
113 "dependencies": [
114 "ext.cite.referencePreviews"
115 ]
116 },
117 "VisualEditor": {
118 "scripts": [
119 "tests/qunit/ve-cite/ve.dm.citeExample.js",
120 "tests/qunit/ve-cite/ve.dm.Converter.test.js",
121 "tests/qunit/ve-cite/ve.dm.MWDocumentReferences.test.js",
122 "tests/qunit/ve-cite/ve.dm.MWGroupReferences.test.js",
123 "tests/qunit/ve-cite/ve.dm.InternalList.test.js",
124 "tests/qunit/ve-cite/ve.dm.MWReferenceModel.test.js",
125 "tests/qunit/ve-cite/ve.dm.MWReferenceNode.test.js",
126 "tests/qunit/ve-cite/ve.dm.MWReferencesListNode.test.js",
127 "tests/qunit/ve-cite/ve.dm.Transaction.test.js",
128 "tests/qunit/ve-cite/ve.ui.DiffElement.test.js",
129 "tests/qunit/ve-cite/ve.ui.MWCitationDialogTool.test.js",
130 "tests/qunit/ve-cite/ve.ui.MWReferenceContextItem.test.js",
131 "tests/qunit/ve-cite/ve.ui.MWReferenceEditPanel.test.js",
132 "tests/qunit/ve-cite/ve.ui.MWReferenceGroupInputWidget.test.js",
133 "tests/qunit/ve-cite/ve.ui.MWReferenceResultWidget.test.js",
134 "tests/qunit/ve-cite/ve.ui.MWReferenceSearchWidget.test.js",
135 "tests/qunit/ve-cite/ve.ui.MWReferencesListDialog.test.js",
136 "tests/qunit/ve-cite/ve.ui.MWUseExistingReferenceCommand.test.js",
137 "tests/qunit/ve-cite/ve.ui.MWWikitextStringTransferHandler.test.js"
138 ],
139 "dependencies": [
140 "ext.cite.visualEditor",
141 "test.VisualEditor"
142 ]
143 }
144 },
145 "factory": "Cite\\ResourceLoader\\OptionalLoader::addOptional"
146 },
147 "attributes": {
148 "CodeMirror": {
149 "TagModes": {
150 "ref": "text/mediawiki",
151 "references": "text/mediawiki"
152 }
153 },
154 "EventLogging": {
155 "Schemas": {
156 "ReferencePreviewsPopups": "/analytics/legacy/referencepreviewspopups/1.1.0"
157 }
158 },
159 "Popups": {
160 "PluginModules": [
161 "ext.cite.referencePreviews"
162 ]
163 },
164 "VisualEditor": {
165 "PluginModules": [
166 "ext.cite.visualEditor"
167 ]
168 }
169 },
170 "ConfigRegistry": {
171 "cite": "GlobalVarConfig::newInstance"
172 },
173 "config": {
174 "CiteBookReferencing": {
175 "description": "Temporary feature flag while the extends=\"…\" feature (a way to nest citations and e.g. reference pages in a book) is in development.",
176 "public": true,
177 "value": false
178 },
179 "CiteVisualEditorOtherGroup": {
180 "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.",
181 "public": true,
182 "value": false
183 },
184 "CiteResponsiveReferences": {
185 "description": "If long <references /> 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 <references responsive /> to enable and <references responsive=\"0\" /> to disable it.",
186 "public": true,
187 "value": true
188 },
189 "CiteResponsiveReferencesThreshold": {
190 "description": "The number of references at which CiteResponsiveReferences is enabled.",
191 "public": true,
192 "value": 10
193 },
194 "CiteReferencePreviews": {
195 "description": "Feature flag to enable or disable the popups provided by the Popups extension for <ref> tags.",
196 "value": true
197 },
198 "CiteReferencePreviewsConflictingNavPopupsGadgetName": {
199 "description": "@var string: Name of a gadget that would cause duplicate reference preview popups. Should usually be identical to wgPopupsConflictingNavPopupsGadgetName in the Popups extension.",
200 "value": "Navigation_popups"
201 },
202 "CiteReferencePreviewsConflictingRefTooltipsGadgetName": {
203 "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).",
204 "value": "ReferenceTooltips"
205 }
206 },
207 "AutoloadNamespaces": {
208 "Cite\\": "src/"
209 },
210 "TestAutoloadNamespaces": {
211 "Cite\\Tests\\": "tests/phpunit/"
212 },
213 "TrackingCategories": [
214 "cite-tracking-category-cite-error",
215 "cite-tracking-category-ref-extends"
216 ],
217 "ParsoidModules": [
218 {
219 "name": "Cite",
220 "domProcessors": [
221 {
222 "class": "Cite\\Parsoid\\RefProcessor",
223 "services": [
224 "MainConfig"
225 ]
226 }
227 ],
228 "tags": [
229 {
230 "name": "ref",
231 "handler": "Cite\\Parsoid\\Ref",
232 "options": {
233 "wt2html": {
234 "unpackOutput": false,
235 "embedsHTMLInAttributes": true
236 },
237 "outputHasCoreMwDomSpecMarkup": true
238 }
239 },
240 {
241 "name": "references",
242 "handler": {
243 "class": "Cite\\Parsoid\\References",
244 "services": [
245 "MainConfig"
246 ]
247 },
248 "options": {
249 "wt2html": {
250 "embedsHTMLInAttributes": true
251 },
252 "html2wt": {
253 "format": "block"
254 },
255 "outputHasCoreMwDomSpecMarkup": true
256 }
257 }
258 ]
259 }
260 ],
261 "manifest_version": 2
262 }