| 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 |
"mathjax" |
| 170 |
] |
| 171 |
}, |
| 172 |
"MathEnableWikibaseDataType": { |
| 173 |
"value": true |
| 174 |
}, |
| 175 |
"MathEnableFormulaLinks": { |
| 176 |
"value": true |
| 177 |
}, |
| 178 |
"MathWikibasePropertyIdHasPart": { |
| 179 |
"description": "Original Wikidata property that described the elements of a mathematical formula with the data type item.", |
| 180 |
"value": "P527" |
| 181 |
}, |
| 182 |
"MathWikibasePropertyIdInDefiningFormula": { |
| 183 |
"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.", |
| 184 |
"value": "P7235" |
| 185 |
}, |
| 186 |
"MathWikibasePropertyIdDefiningFormula": { |
| 187 |
"description": "The property that describes the mathematical formula representing an item in Wikidata.", |
| 188 |
"value": "P2534" |
| 189 |
}, |
| 190 |
"MathWikibasePropertyIdQuantitySymbol": { |
| 191 |
"description": "The Wikidata property that is used to present mathematical expressions in 'has part'. The data type is 'string'.", |
| 192 |
"value": "P416" |
| 193 |
}, |
| 194 |
"MathWikibasePropertyIdSymbolRepresents": { |
| 195 |
"description": "The Wikidata property that is used to present mathematical expressions in 'in defining formula'. The data type is 'item'.", |
| 196 |
"value": "P9758" |
| 197 |
} |
| 198 |
}, |
| 199 |
"attributes": { |
| 200 |
"Popups": { |
| 201 |
"PluginModules": [ |
| 202 |
"ext.math.popup" |
| 203 |
] |
| 204 |
}, |
| 205 |
"VisualEditor": { |
| 206 |
"PluginModules": [ |
| 207 |
"ext.math.visualEditor" |
| 208 |
] |
| 209 |
} |
| 210 |
}, |
| 211 |
"MessagesDirs": { |
| 212 |
"Math": [ |
| 213 |
"i18n", |
| 214 |
"i18n/api" |
| 215 |
] |
| 216 |
}, |
| 217 |
"QUnitTestModule": { |
| 218 |
"localBasePath": "modules/ve-math/tests", |
| 219 |
"remoteExtPath": "Math/modules/tests", |
| 220 |
"scripts": [ |
| 221 |
"ve.dm.Autocomplete.test.js" |
| 222 |
], |
| 223 |
"dependencies": [ |
| 224 |
"ext.math.visualEditor", |
| 225 |
"test.VisualEditor" |
| 226 |
] |
| 227 |
}, |
| 228 |
"ForeignResourcesDir": "modules", |
| 229 |
"ResourceModules": { |
| 230 |
"ext.math.mathjax": { |
| 231 |
"group": "ext.math", |
| 232 |
"scripts": [ |
| 233 |
"ext.math.mathjax.js", |
| 234 |
"mathjax/es5/tex-chtml.js" |
| 235 |
] |
| 236 |
}, |
| 237 |
"ext.math.styles": { |
| 238 |
"styles": "ext.math.css" |
| 239 |
}, |
| 240 |
"ext.math.popup": { |
| 241 |
"packageFiles": "ext.math.popup.js", |
| 242 |
"messages": [ |
| 243 |
"popups-settings-option-math", |
| 244 |
"popups-settings-option-math-description" |
| 245 |
], |
| 246 |
"dependencies": [ |
| 247 |
"mediawiki.user", |
| 248 |
"mediawiki.ForeignApi" |
| 249 |
] |
| 250 |
}, |
| 251 |
"mw.widgets.MathWbEntitySelector": { |
| 252 |
"scripts": "mw.widgets.MathWbEntitySelector.js", |
| 253 |
"dependencies": [ |
| 254 |
"oojs-ui-core", |
| 255 |
"oojs-ui-windows", |
| 256 |
"oojs-ui-widgets", |
| 257 |
"mw.config.values.wbRepo", |
| 258 |
"mediawiki.ForeignApi", |
| 259 |
"mediawiki.widgets" |
| 260 |
] |
| 261 |
}, |
| 262 |
"ext.math.visualEditor": { |
| 263 |
"scripts": [ |
| 264 |
"ve-math/ve.dm.MWLatexNode.js", |
| 265 |
"ve-math/ve.ce.MWLatexNode.js", |
| 266 |
"ve-math/ve.ui.MWLatexInspector.js", |
| 267 |
"ve-math/ve.ui.MWLatexContextItem.js", |
| 268 |
"ve-math/ve.ui.MWLatexDialog.js", |
| 269 |
"ve-math/ve.dm.MWChemNode.js", |
| 270 |
"ve-math/ve.ce.MWChemNode.js", |
| 271 |
"ve-math/ve.ui.MWChemInspector.js", |
| 272 |
"ve-math/ve.ui.MWChemContextItem.js", |
| 273 |
"ve-math/ve.ui.MWChemDialog.js", |
| 274 |
"ve-math/ve.ui.MWChemDialogTool.js", |
| 275 |
"ve-math/ve.dm.MWMathNode.js", |
| 276 |
"ve-math/ve.ce.MWMathNode.js", |
| 277 |
"ve-math/ve.ui.MWMathInspector.js", |
| 278 |
"ve-math/ve.ui.MWMathContextItem.js", |
| 279 |
"ve-math/ve.ui.MWMathDialog.js", |
| 280 |
"ve-math/ve.ui.MWMathDialogTool.js", |
| 281 |
"mw.widgets.MathWbEntitySelector.js" |
| 282 |
], |
| 283 |
"styles": [ |
| 284 |
"ve-math/ve.ui.MWLatexDialog.less", |
| 285 |
"ve-math/ve.ce.MWLatexNode.css", |
| 286 |
"ve-math/ve.ui.MWLatexInspector.css", |
| 287 |
"ve-math/ve.ui.MWLatexContextItem.css" |
| 288 |
], |
| 289 |
"dependencies": [ |
| 290 |
"ext.visualEditor.mwcore", |
| 291 |
"ext.math.styles", |
| 292 |
"oojs-ui.styles.icons-editing-advanced" |
| 293 |
], |
| 294 |
"messages": [ |
| 295 |
"math-visualeditor-mwchemdialog-title", |
| 296 |
"math-visualeditor-mwlatexcontextitem-quickedit", |
| 297 |
"math-visualeditor-mwlatexdialog-card-formula", |
| 298 |
"math-visualeditor-mwlatexdialog-card-options", |
| 299 |
"math-visualeditor-mwlatexinspector-display", |
| 300 |
"math-visualeditor-mwlatexinspector-display-block", |
| 301 |
"math-visualeditor-mwlatexinspector-display-default", |
| 302 |
"math-visualeditor-mwlatexinspector-display-inline", |
| 303 |
"math-visualeditor-mwlatexinspector-id", |
| 304 |
"math-visualeditor-mwlatexinspector-qid", |
| 305 |
"math-visualeditor-mwmathdialog-title", |
| 306 |
"math-visualeditor-symbol-group-chem-addition", |
| 307 |
"math-visualeditor-symbol-group-chem-aggregation", |
| 308 |
"math-visualeditor-symbol-group-chem-arrows", |
| 309 |
"math-visualeditor-symbol-group-chem-brackets", |
| 310 |
"math-visualeditor-symbol-group-chem-charges", |
| 311 |
"math-visualeditor-symbol-group-chem-dots", |
| 312 |
"math-visualeditor-symbol-group-chem-equations", |
| 313 |
"math-visualeditor-symbol-group-chem-formulae", |
| 314 |
"math-visualeditor-symbol-group-chem-greek", |
| 315 |
"math-visualeditor-symbol-group-chem-isotopes", |
| 316 |
"math-visualeditor-symbol-group-chem-operators", |
| 317 |
"math-visualeditor-symbol-group-chem-oxidation", |
| 318 |
"math-visualeditor-symbol-group-chem-precipitate", |
| 319 |
"math-visualeditor-symbol-group-chem-stoichiometric", |
| 320 |
"math-visualeditor-symbol-group-math-accents", |
| 321 |
"math-visualeditor-symbol-group-math-arrows", |
| 322 |
"math-visualeditor-symbol-group-math-bounds", |
| 323 |
"math-visualeditor-symbol-group-math-derivatives", |
| 324 |
"math-visualeditor-symbol-group-math-functions", |
| 325 |
"math-visualeditor-symbol-group-math-geometry", |
| 326 |
"math-visualeditor-symbol-group-math-greek", |
| 327 |
"math-visualeditor-symbol-group-math-hebrew", |
| 328 |
"math-visualeditor-symbol-group-math-large", |
| 329 |
"math-visualeditor-symbol-group-math-logic", |
| 330 |
"math-visualeditor-symbol-group-math-matrices", |
| 331 |
"math-visualeditor-symbol-group-math-modular", |
| 332 |
"math-visualeditor-symbol-group-math-operators", |
| 333 |
"math-visualeditor-symbol-group-math-parentheses", |
| 334 |
"math-visualeditor-symbol-group-math-projections", |
| 335 |
"math-visualeditor-symbol-group-math-relations", |
| 336 |
"math-visualeditor-symbol-group-math-root", |
| 337 |
"math-visualeditor-symbol-group-math-sets", |
| 338 |
"math-visualeditor-symbol-group-math-spacing", |
| 339 |
"math-visualeditor-symbol-group-math-special", |
| 340 |
"math-visualeditor-symbol-group-math-subscripts", |
| 341 |
"math-visualeditor-symbol-group-math-symbols", |
| 342 |
"math-visualeditor-symbol-group-math-typefaces", |
| 343 |
"math-visualeditor-symbol-group-math-unsorted" |
| 344 |
] |
| 345 |
}, |
| 346 |
"ext.math.visualEditor.mathSymbols": { |
| 347 |
"packageFiles": [ |
| 348 |
"ve-math/mathSymbols.js", |
| 349 |
"ve-math/mathSymbols.json" |
| 350 |
], |
| 351 |
"styles": [ |
| 352 |
"ve-math/ve.ui.MWMathSymbols.css" |
| 353 |
] |
| 354 |
}, |
| 355 |
"ext.math.visualEditor.chemSymbols": { |
| 356 |
"packageFiles": [ |
| 357 |
"ve-math/chemSymbols.js", |
| 358 |
"ve-math/chemSymbols.json" |
| 359 |
], |
| 360 |
"styles": [ |
| 361 |
"ve-math/ve.ui.MWChemSymbols.css" |
| 362 |
] |
| 363 |
} |
| 364 |
}, |
| 365 |
"ResourceFileModulePaths": { |
| 366 |
"localBasePath": "modules", |
| 367 |
"remoteExtPath": "Math/modules" |
| 368 |
}, |
| 369 |
"SpecialPages": { |
| 370 |
"MathShowImage": { |
| 371 |
"class": "MediaWiki\\Extension\\Math\\SpecialMathShowImage", |
| 372 |
"services": [ |
| 373 |
"Math.Config", |
| 374 |
"Math.RendererFactory" |
| 375 |
] |
| 376 |
}, |
| 377 |
"MathStatus": { |
| 378 |
"class": "MediaWiki\\Extension\\Math\\SpecialMathStatus", |
| 379 |
"services": [ |
| 380 |
"Math.Config", |
| 381 |
"Math.RendererFactory" |
| 382 |
] |
| 383 |
}, |
| 384 |
"MathWikibase": { |
| 385 |
"class": "MediaWiki\\Extension\\Math\\SpecialMathWikibase", |
| 386 |
"services": [ |
| 387 |
"Math.WikibaseConnector" |
| 388 |
] |
| 389 |
} |
| 390 |
}, |
| 391 |
"TrackingCategories": [ |
| 392 |
"math-tracking-category-error", |
| 393 |
"math-tracking-category-render-error", |
| 394 |
"math-tracking-category-mhchem-deprecation", |
| 395 |
"math-tracking-category-texvc-deprecation" |
| 396 |
], |
| 397 |
"ServiceWiringFiles": [ |
| 398 |
"ServiceWiring.php" |
| 399 |
], |
| 400 |
"manifest_version": 2 |
| 401 |
} |