Debian Codegraph @

extensions/Math/extension.json

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 {
2 "name": "Math",
3 "author": [
4 "Tomasz Wegrzanowski",
5 "Brion Vibber",
6 "Moritz Schubotz",
7 "Derk-Jan Hartman",
8 "André Greiner-Petter",
9 "Johannes Stegmüller"
10 ],
11 "url": "https://www.mediawiki.org/wiki/Extension:Math",
12 "descriptionmsg": "math-desc",
13 "license-name": "GPL-2.0-or-later",
14 "type": "parserhook",
15 "requires": {
16 "MediaWiki": ">= 1.43"
17 },
18 "AutoloadNamespaces": {
19 "MediaWiki\\Extension\\Math\\": "src/"
20 },
21 "TestAutoloadClasses": {
22 "DummyPropertyDataTypeLookup": "tests/phpunit/DummyPropertyDataTypeLookup.php",
23 "MediaWiki\\Extension\\Math\\Tests\\MathWikibaseConnectorTestFactory": "tests/phpunit/unit/MathWikibaseConnectorTestFactory.php",
24 "MediaWiki\\Extension\\Math\\Tests\\MathMockHttpTrait": "tests/phpunit/MathMockHttpTrait.php",
25 "MediaWiki\\Extension\\Math\\WikiTexVC\\MMLmappings\\Util\\MMLTestUtilHTML": "tests/phpunit/unit/WikiTexVC/MMLTestUtilHTML.php",
26 "MediaWiki\\Extension\\Math\\WikiTexVC\\MMLmappings\\Util\\MMLTestUtil": "tests/phpunit/unit/WikiTexVC/MMLTestUtil.php",
27 "MediaWiki\\Extension\\Math\\WikiTexVC\\MMLmappings\\Util\\MMLComparator": "tests/phpunit/unit/WikiTexVC/MMLComparator.php"
28 },
29 "DefaultUserOptions": {
30 "math": "native",
31 "math-popups": "1"
32 },
33 "ExtensionMessagesFiles": {
34 "MathAlias": "Math.alias.php",
35 "MathAliasNoTranslate": "Math.alias.noTranslate.php"
36 },
37 "callback": "MediaWiki\\Extension\\Math\\Hooks::onConfig",
38 "ExtensionFunctions": [
39 "MediaWiki\\Extension\\Math\\Hooks::onExtensionFunctions"
40 ],
41 "HookHandlers": {
42 "ParserHooksHandler": {
43 "class": "MediaWiki\\Extension\\Math\\HookHandlers\\ParserHooksHandler",
44 "services": [
45 "Math.RendererFactory",
46 "UserOptionsLookup",
47 "HookContainer"
48 ]
49 },
50 "PreferencesHooksHandler": {
51 "class": "MediaWiki\\Extension\\Math\\HookHandlers\\PreferencesHooksHandler",
52 "services": [
53 "Math.Config"
54 ]
55 },
56 "ResourceLoaderConfigHandler": {
57 "class": "MediaWiki\\Extension\\Math\\HookHandlers\\ResourceLoaderConfigHandler",
58 "services": [
59 "Math.Config"
60 ]
61 },
62 "main": {
63 "class": "MediaWiki\\Extension\\Math\\Hooks",
64 "services": [
65 "UserOptionsManager"
66 ]
67 },
68 "schema": {
69 "class": "MediaWiki\\Extension\\Math\\HookHandlers\\SchemaHooksHandler"
70 }
71 },
72 "Hooks": {
73 "ParserFirstCallInit": "ParserHooksHandler",
74 "ParserAfterTidy": "ParserHooksHandler",
75 "ParserOptionsRegister": "ParserHooksHandler",
76 "GetPreferences": "PreferencesHooksHandler",
77 "UserGetDefaultOptions": "PreferencesHooksHandler",
78 "LoadExtensionSchemaUpdates": "schema",
79 "WikibaseClientDataTypes": "MediaWiki\\Extension\\Math\\WikibaseHook::onWikibaseClientDataTypes",
80 "WikibaseRepoDataTypes": "MediaWiki\\Extension\\Math\\WikibaseHook::onWikibaseRepoDataTypes",
81 "SpecialPage_initList": "main",
82 "MaintenanceRefreshLinksInit": "main",
83 "ResourceLoaderGetConfigVars": "ResourceLoaderConfigHandler"
84 },
85 "config": {
86 "MathDefaultLaTeXMLSetting": {
87 "value": {
88 "format": "xhtml",
89 "whatsin": "math",
90 "whatsout": "math",
91 "0": "pmml",
92 "1": "cmml",
93 "2": "mathtex",
94 "3": "nodefaultresources",
95 "preload": [
96 "LaTeX.pool",
97 "article.cls",
98 "amsmath.sty",
99 "amsthm.sty",
100 "amstext.sty",
101 "amssymb.sty",
102 "eucal.sty",
103 "[dvipsnames]xcolor.sty",
104 "url.sty",
105 "hyperref.sty",
106 "[ids]latexml.sty",
107 "texvc"
108 ],
109 "linelength": 90
110 }
111 },
112 "MathDisableTexFilter": {
113 "description": "To access this at run-time, use MathConfig::texCheckDisabled(). Do not use the non-normalized configuration directly.",
114 "value": "new"
115 },
116 "MathEnableExperimentalInputFormats": {
117 "value": false
118 },
119 "MathEntitySelectorFallbackUrl": {
120 "description": "Fallback value for wbEntitySelector if wbRepo is not configured. See https://www.mediawiki.org/wiki/Manual:CORS for cross wiki communication.",
121 "value": "https://www.wikidata.org/w/api.php"
122 },
123 "MathTexVCService": {
124 "description": "Determine which TexVC variant is used, currently available: 'mathoid', 'restbase' (default) and 'local'.",
125 "value": "restbase"
126 },
127 "MathSvgRenderer": {
128 "description": "Determine which SVG rendering service is used. Currently available 'mathoid', 'restbase'.",
129 "value": "restbase"
130 },
131 "MathLaTeXMLTimeout": {
132 "value": 240
133 },
134 "MathLaTeXMLUrl": {
135 "value": "https://latexml.formulasearchengine.com/convert"
136 },
137 "MathMathMLTimeout": {
138 "value": 20
139 },
140 "MathMathMLUrl": {
141 "value": "https://mathoid-beta.wmflabs.org"
142 },
143 "MathUseInternalRestbasePath": {
144 "description": "Whether to allow to use of internal RESTBase path instead of $wgMathFullRestbaseURL. Set false if you want to use external RESTBase in any case.",
145 "value": true,
146 "public": true
147 },
148 "MathInternalRestbaseURL": {
149 "value": null
150 },
151 "MathFullRestbaseURL": {
152 "value": "https://wikimedia.org/api/rest_"
153 },
154 "MathHTTPProxy": {
155 "description": "The HTTP proxy used for contacting RESTBase.",
156 "value": null
157 },
158 "MathConcurrentReqs": {
159 "value": 50
160 },
161 "MathoidCli": {
162 "value": false
163 },
164 "MathValidModes": {
165 "description": "To access this at run-time, use MathConfig::getValidRenderingModes(). Do not use the non-normalized configuration directly.",
166 "value": [
167 "source",
•168 "native"
169 ]
170 },
171 "MathEnableWikibaseDataType": {
172 "value": true
173 },
174 "MathEnableFormulaLinks": {
175 "value": true
176 },
177 "MathWikibasePropertyIdHasPart": {
178 "description": "Original Wikidata property that described the elements of a mathematical formula with the data type item.",
179 "value": "P527"
180 },
181 "MathWikibasePropertyIdInDefiningFormula": {
182 "description": "New Wikidata property that describe the elements of a mathematical formula with the data type 'mathematical expression'. This potentially replaces 'has part' in the future.",
183 "value": "P7235"
184 },
185 "MathWikibasePropertyIdDefiningFormula": {
186 "description": "The property that describes the mathematical formula representing an item in Wikidata.",
187 "value": "P2534"
188 },
189 "MathWikibasePropertyIdQuantitySymbol": {
190 "description": "The Wikidata property that is used to present mathematical expressions in 'has part'. The data type is 'string'.",
191 "value": "P416"
192 },
193 "MathWikibasePropertyIdSymbolRepresents": {
194 "description": "The Wikidata property that is used to present mathematical expressions in 'in defining formula'. The data type is 'item'.",
195 "value": "P9758"
196 }
197 },
198 "attributes": {
199 "Popups": {
200 "PluginModules": [
201 "ext.math.popup"
202 ]
203 },
204 "VisualEditor": {
205 "PluginModules": [
206 "ext.math.visualEditor"
207 ]
208 }
209 },
210 "MessagesDirs": {
211 "Math": [
212 "i18n",
213 "i18n/api"
214 ]
215 },
216 "QUnitTestModule": {
217 "localBasePath": "modules/ve-math/tests",
218 "remoteExtPath": "Math/modules/tests",
219 "scripts": [
220 "ve.dm.Autocomplete.test.js"
221 ],
222 "dependencies": [
223 "ext.math.visualEditor",
224 "test.VisualEditor"
225 ]
226 },
227 "ForeignResourcesDir": "modules",
228 "ResourceModules": {
229 "ext.math.styles": {
230 "styles": "ext.math.css"
231 },
232 "ext.math.popup": {
233 "packageFiles": "ext.math.popup.js",
234 "messages": [
235 "popups-settings-option-math",
236 "popups-settings-option-math-description"
237 ],
238 "dependencies": [
239 "mediawiki.user",
240 "mediawiki.ForeignApi"
241 ]
242 },
243 "mw.widgets.MathWbEntitySelector": {
244 "scripts": "mw.widgets.MathWbEntitySelector.js",
245 "dependencies": [
246 "oojs-ui-core",
247 "oojs-ui-windows",
248 "oojs-ui-widgets",
249 "mw.config.values.wbRepo",
250 "mediawiki.ForeignApi",
251 "mediawiki.widgets"
252 ]
253 },
254 "ext.math.visualEditor": {
255 "scripts": [
256 "ve-math/ve.dm.MWLatexNode.js",
257 "ve-math/ve.ce.MWLatexNode.js",
258 "ve-math/ve.ui.MWLatexInspector.js",
259 "ve-math/ve.ui.MWLatexContextItem.js",
260 "ve-math/ve.ui.MWLatexDialog.js",
261 "ve-math/ve.dm.MWChemNode.js",
262 "ve-math/ve.ce.MWChemNode.js",
263 "ve-math/ve.ui.MWChemInspector.js",
264 "ve-math/ve.ui.MWChemContextItem.js",
265 "ve-math/ve.ui.MWChemDialog.js",
266 "ve-math/ve.ui.MWChemDialogTool.js",
267 "ve-math/ve.dm.MWMathNode.js",
268 "ve-math/ve.ce.MWMathNode.js",
269 "ve-math/ve.ui.MWMathInspector.js",
270 "ve-math/ve.ui.MWMathContextItem.js",
271 "ve-math/ve.ui.MWMathDialog.js",
272 "ve-math/ve.ui.MWMathDialogTool.js",
273 "mw.widgets.MathWbEntitySelector.js"
274 ],
275 "styles": [
276 "ve-math/ve.ui.MWLatexDialog.less",
277 "ve-math/ve.ce.MWLatexNode.css",
278 "ve-math/ve.ui.MWLatexInspector.css",
279 "ve-math/ve.ui.MWLatexContextItem.css"
280 ],
281 "dependencies": [
282 "ext.visualEditor.mwcore",
283 "ext.math.styles",
284 "oojs-ui.styles.icons-editing-advanced"
285 ],
286 "messages": [
287 "math-visualeditor-mwchemdialog-title",
288 "math-visualeditor-mwlatexcontextitem-quickedit",
289 "math-visualeditor-mwlatexdialog-card-formula",
290 "math-visualeditor-mwlatexdialog-card-options",
291 "math-visualeditor-mwlatexinspector-display",
292 "math-visualeditor-mwlatexinspector-display-block",
293 "math-visualeditor-mwlatexinspector-display-default",
294 "math-visualeditor-mwlatexinspector-display-inline",
295 "math-visualeditor-mwlatexinspector-id",
296 "math-visualeditor-mwlatexinspector-qid",
297 "math-visualeditor-mwmathdialog-title",
298 "math-visualeditor-symbol-group-chem-addition",
299 "math-visualeditor-symbol-group-chem-aggregation",
300 "math-visualeditor-symbol-group-chem-arrows",
301 "math-visualeditor-symbol-group-chem-brackets",
302 "math-visualeditor-symbol-group-chem-charges",
303 "math-visualeditor-symbol-group-chem-dots",
304 "math-visualeditor-symbol-group-chem-equations",
305 "math-visualeditor-symbol-group-chem-formulae",
306 "math-visualeditor-symbol-group-chem-greek",
307 "math-visualeditor-symbol-group-chem-isotopes",
308 "math-visualeditor-symbol-group-chem-operators",
309 "math-visualeditor-symbol-group-chem-oxidation",
310 "math-visualeditor-symbol-group-chem-precipitate",
311 "math-visualeditor-symbol-group-chem-stoichiometric",
312 "math-visualeditor-symbol-group-math-accents",
313 "math-visualeditor-symbol-group-math-arrows",
314 "math-visualeditor-symbol-group-math-bounds",
315 "math-visualeditor-symbol-group-math-derivatives",
316 "math-visualeditor-symbol-group-math-functions",
317 "math-visualeditor-symbol-group-math-geometry",
318 "math-visualeditor-symbol-group-math-greek",
319 "math-visualeditor-symbol-group-math-hebrew",
320 "math-visualeditor-symbol-group-math-large",
321 "math-visualeditor-symbol-group-math-logic",
322 "math-visualeditor-symbol-group-math-matrices",
323 "math-visualeditor-symbol-group-math-modular",
324 "math-visualeditor-symbol-group-math-operators",
325 "math-visualeditor-symbol-group-math-parentheses",
326 "math-visualeditor-symbol-group-math-projections",
327 "math-visualeditor-symbol-group-math-relations",
328 "math-visualeditor-symbol-group-math-root",
329 "math-visualeditor-symbol-group-math-sets",
330 "math-visualeditor-symbol-group-math-spacing",
331 "math-visualeditor-symbol-group-math-special",
332 "math-visualeditor-symbol-group-math-subscripts",
333 "math-visualeditor-symbol-group-math-symbols",
334 "math-visualeditor-symbol-group-math-typefaces",
335 "math-visualeditor-symbol-group-math-unsorted"
336 ]
337 },
338 "ext.math.visualEditor.mathSymbols": {
339 "packageFiles": [
340 "ve-math/mathSymbols.js",
341 "ve-math/mathSymbols.json"
342 ],
343 "styles": [
344 "ve-math/ve.ui.MWMathSymbols.css"
345 ]
346 },
347 "ext.math.visualEditor.chemSymbols": {
348 "packageFiles": [
349 "ve-math/chemSymbols.js",
350 "ve-math/chemSymbols.json"
351 ],
352 "styles": [
353 "ve-math/ve.ui.MWChemSymbols.css"
354 ]
355 }
356 },
357 "ResourceFileModulePaths": {
358 "localBasePath": "modules",
359 "remoteExtPath": "Math/modules"
360 },
361 "SpecialPages": {
362 "MathShowImage": {
363 "class": "MediaWiki\\Extension\\Math\\SpecialMathShowImage",
364 "services": [
365 "Math.Config",
366 "Math.RendererFactory"
367 ]
368 },
369 "MathStatus": {
370 "class": "MediaWiki\\Extension\\Math\\SpecialMathStatus",
371 "services": [
372 "Math.Config",
373 "Math.RendererFactory"
374 ]
375 },
376 "MathWikibase": {
377 "class": "MediaWiki\\Extension\\Math\\SpecialMathWikibase",
378 "services": [
379 "Math.WikibaseConnector"
380 ]
381 }
382 },
383 "TrackingCategories": [
384 "math-tracking-category-error",
385 "math-tracking-category-render-error",
386 "math-tracking-category-mhchem-deprecation",
387 "math-tracking-category-texvc-deprecation"
388 ],
389 "ServiceWiringFiles": [
390 "ServiceWiring.php"
391 ],
392 "manifest_version": 2
393 }