2015-07-22 22:10:46 +00:00
|
|
|
{
|
|
|
|
"name": "Math",
|
2015-07-22 22:10:46 +00:00
|
|
|
"version": "3.0.0",
|
2015-07-22 22:10:46 +00:00
|
|
|
"author": [
|
|
|
|
"Tomasz Wegrzanowski",
|
|
|
|
"Brion Vibber",
|
|
|
|
"Moritz Schubotz",
|
2019-07-19 20:46:20 +00:00
|
|
|
"Derk-Jan Hartman",
|
|
|
|
"André Greiner-Petter"
|
2015-07-22 22:10:46 +00:00
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Math",
|
|
|
|
"descriptionmsg": "math-desc",
|
2018-02-01 07:19:23 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2015-07-22 22:10:46 +00:00
|
|
|
"callback": "MathHooks::registerExtension",
|
|
|
|
"type": "parserhook",
|
2018-10-17 17:08:39 +00:00
|
|
|
"requires": {
|
2020-06-15 20:53:21 +00:00
|
|
|
"MediaWiki": ">= 1.35.0"
|
2018-10-17 17:08:39 +00:00
|
|
|
},
|
2015-07-22 22:10:46 +00:00
|
|
|
"AutoloadClasses": {
|
2018-04-23 13:05:15 +00:00
|
|
|
"MathMathSymbolsDataModule": "src/MathMathSymbolsDataModule.php",
|
|
|
|
"MathChemSymbolsDataModule": "src/MathChemSymbolsDataModule.php",
|
|
|
|
"MathHooks": "src/MathHooks.php",
|
|
|
|
"MathRenderer": "src/MathRenderer.php",
|
|
|
|
"MathRestbaseInterface": "src/MathRestbaseInterface.php",
|
|
|
|
"MathSource": "src/MathSource.php",
|
|
|
|
"MathMathML": "src/MathMathML.php",
|
|
|
|
"MathMathMLCli": "src/MathMathMLCli.php",
|
2015-07-22 22:10:46 +00:00
|
|
|
"MathLaTeXML": "MathLaTeXML.php",
|
2018-04-23 13:05:15 +00:00
|
|
|
"SpecialMathShowImage": "src/SpecialMathShowImage.php",
|
|
|
|
"SpecialMathStatus": "src/SpecialMathStatus.php",
|
2019-07-19 20:46:20 +00:00
|
|
|
"SpecialMathWikibase": "src/SpecialMathWikibase.php",
|
2018-04-23 13:05:15 +00:00
|
|
|
"MathValidator": "src/MathValidator.php",
|
|
|
|
"MathFormatter": "src/MathFormatter.php",
|
2019-02-08 18:48:30 +00:00
|
|
|
"MathWikibaseHook": "src/MathWikibaseHook.php",
|
2018-05-18 17:08:51 +00:00
|
|
|
"MathMLRdfBuilder": "src/MathMLRdfBuilder.php",
|
2018-07-05 10:43:55 +00:00
|
|
|
"MathPng": "src/MathPng.php",
|
2019-07-19 20:46:20 +00:00
|
|
|
"MathDataUpdater": "src/MathDataUpdater.php",
|
|
|
|
"MathWikibaseConfig": "src/MathWikibaseConfig.php",
|
|
|
|
"MathWikibaseConnector": "src/MathWikibaseConnector.php",
|
2019-12-30 23:44:53 +00:00
|
|
|
"MathWikibaseInfo": "src/MathWikibaseInfo.php"
|
|
|
|
},
|
2020-05-12 16:41:04 +00:00
|
|
|
"AutoloadNamespaces": {
|
2020-05-29 13:19:54 +00:00
|
|
|
"MediaWiki\\Extension\\Math\\InputCheck\\": "src/InputCheck",
|
|
|
|
"MediaWiki\\Extension\\Math\\Rest\\": "src/Rest"
|
2020-05-12 16:41:04 +00:00
|
|
|
},
|
2019-12-30 23:44:53 +00:00
|
|
|
"TestAutoloadClasses": {
|
2019-12-06 20:47:52 +00:00
|
|
|
"MathMLHttpRequestTester": "tests/phpunit/MathMLHttpRequestTester.php",
|
|
|
|
"MathMLTestStatus": "tests/phpunit/MathMLTestStatus.php",
|
|
|
|
"DummyPropertyDataTypeLookup": "tests/phpunit/DummyPropertyDataTypeLookup.php"
|
2015-07-22 22:10:46 +00:00
|
|
|
},
|
|
|
|
"DefaultUserOptions": {
|
2018-02-02 16:02:33 +00:00
|
|
|
"math": "mathml"
|
2015-07-22 22:10:46 +00:00
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"MathAlias": "Math.alias.php",
|
|
|
|
"MathAliasNoTranslate": "Math.alias.noTranslate.php"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
2020-03-11 09:53:28 +00:00
|
|
|
"ParserFirstCallInit": "MathHooks::onParserFirstCallInit",
|
|
|
|
"GetPreferences": "MathHooks::onGetPreferences",
|
|
|
|
"LoadExtensionSchemaUpdates": "MathHooks::onLoadExtensionSchemaUpdates",
|
|
|
|
"ParserTestTables": "MathHooks::onParserTestTables",
|
|
|
|
"PageRenderingHash": "MathHooks::onPageRenderingHash",
|
|
|
|
"WikibaseClientDataTypes": "MathWikibaseHook::onWikibaseClientDataTypes",
|
|
|
|
"WikibaseRepoDataTypes": "MathWikibaseHook::onWikibaseRepoDataTypes",
|
|
|
|
"ParserAfterTidy": "MathHooks::onParserAfterTidy",
|
2020-09-28 12:50:50 +00:00
|
|
|
"SpecialPage_initList": "MathHooks::onSpecialPage_initList",
|
|
|
|
"MaintenanceRefreshLinksInit": "MathHooks::onMaintenanceRefreshLinksInit"
|
2015-07-22 22:10:46 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"MathDefaultLaTeXMLSetting": {
|
2020-05-12 00:53:49 +00:00
|
|
|
"value": {
|
|
|
|
"format": "xhtml",
|
|
|
|
"whatsin": "math",
|
|
|
|
"whatsout": "math",
|
|
|
|
"0": "pmml",
|
|
|
|
"1": "cmml",
|
|
|
|
"2": "mathtex",
|
|
|
|
"3": "nodefaultresources",
|
|
|
|
"preload": [
|
|
|
|
"LaTeX.pool",
|
|
|
|
"article.cls",
|
|
|
|
"amsmath.sty",
|
|
|
|
"amsthm.sty",
|
|
|
|
"amstext.sty",
|
|
|
|
"amssymb.sty",
|
|
|
|
"eucal.sty",
|
|
|
|
"[dvipsnames]xcolor.sty",
|
|
|
|
"url.sty",
|
|
|
|
"hyperref.sty",
|
|
|
|
"[ids]latexml.sty",
|
|
|
|
"texvc"
|
|
|
|
],
|
|
|
|
"linelength": 90
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MathDisableTexFilter": {
|
|
|
|
"value": "new"
|
|
|
|
},
|
|
|
|
"MathEnableExperimentalInputFormats": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"MathLaTeXMLTimeout": {
|
|
|
|
"value": 240
|
|
|
|
},
|
|
|
|
"MathLaTeXMLUrl": {
|
|
|
|
"value": "https://latexml.formulasearchengine.com/convert"
|
|
|
|
},
|
|
|
|
"MathMathMLTimeout": {
|
|
|
|
"value": 20
|
2015-07-22 22:10:46 +00:00
|
|
|
},
|
2020-05-12 00:53:49 +00:00
|
|
|
"MathMathMLUrl": {
|
|
|
|
"value": "https://mathoid-beta.wmflabs.org"
|
|
|
|
},
|
|
|
|
"MathFullRestbaseURL": {
|
|
|
|
"value": "https://wikimedia.org/api/rest_"
|
|
|
|
},
|
|
|
|
"MathConcurrentReqs": {
|
|
|
|
"value": 50
|
|
|
|
},
|
|
|
|
"MathoidCli": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"MathValidModes": {
|
|
|
|
"value": [
|
|
|
|
"png",
|
|
|
|
"source",
|
|
|
|
"mathml"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"MathEnableWikibaseDataType": {
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"MathEnableFormulaLinks": {
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"MathWikibasePropertyIdHasPart": {
|
|
|
|
"value": "P527"
|
|
|
|
},
|
|
|
|
"MathWikibasePropertyIdDefiningFormula": {
|
|
|
|
"value": "P2534"
|
|
|
|
},
|
|
|
|
"MathWikibasePropertyIdQuantitySymbol": {
|
|
|
|
"value": "P416"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"VisualEditor": {
|
|
|
|
"PluginModules": [
|
|
|
|
"ext.math.visualEditor"
|
|
|
|
]
|
|
|
|
}
|
2015-07-22 22:10:46 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"Math": [
|
2019-11-21 12:13:09 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2015-07-22 22:10:46 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ResourceModules": {
|
|
|
|
"ext.math.styles": {
|
|
|
|
"styles": "ext.math.css",
|
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.math.scripts": {
|
|
|
|
"scripts": "ext.math.js"
|
|
|
|
},
|
2019-07-19 20:46:20 +00:00
|
|
|
"ext.math.wikibase.scripts": {
|
|
|
|
"scripts": "ext.math.wikibase.js",
|
|
|
|
"dependencies": [
|
|
|
|
"jquery.wikibase.entityselector"
|
|
|
|
]
|
|
|
|
},
|
2015-07-22 22:10:46 +00:00
|
|
|
"ext.math.visualEditor": {
|
|
|
|
"scripts": [
|
2017-01-11 21:50:35 +00:00
|
|
|
"ve-math/ve.dm.MWLatexNode.js",
|
|
|
|
"ve-math/ve.ce.MWLatexNode.js",
|
|
|
|
"ve-math/ve.ui.MWLatexInspector.js",
|
|
|
|
"ve-math/ve.ui.MWLatexContextItem.js",
|
|
|
|
"ve-math/ve.ui.MWLatexPage.js",
|
|
|
|
"ve-math/ve.ui.MWLatexDialog.js",
|
|
|
|
"ve-math/ve.dm.MWChemNode.js",
|
|
|
|
"ve-math/ve.ce.MWChemNode.js",
|
|
|
|
"ve-math/ve.ui.MWChemInspector.js",
|
|
|
|
"ve-math/ve.ui.MWChemContextItem.js",
|
|
|
|
"ve-math/ve.ui.MWChemDialog.js",
|
|
|
|
"ve-math/ve.ui.MWChemDialogTool.js",
|
2015-09-17 12:52:15 +00:00
|
|
|
"ve-math/ve.dm.MWMathNode.js",
|
|
|
|
"ve-math/ve.ce.MWMathNode.js",
|
2015-12-06 22:35:25 +00:00
|
|
|
"ve-math/ve.ui.MWMathInspector.js",
|
|
|
|
"ve-math/ve.ui.MWMathContextItem.js",
|
2015-09-29 15:44:21 +00:00
|
|
|
"ve-math/ve.ui.MWMathDialog.js",
|
2015-12-06 22:35:25 +00:00
|
|
|
"ve-math/ve.ui.MWMathDialogTool.js"
|
2015-07-22 22:10:46 +00:00
|
|
|
],
|
|
|
|
"styles": [
|
2017-01-11 21:50:35 +00:00
|
|
|
"ve-math/ve.ui.MWLatexDialog.css",
|
|
|
|
"ve-math/ve.ce.MWLatexNode.css",
|
|
|
|
"ve-math/ve.ui.MWLatexInspector.css",
|
2019-07-31 14:04:35 +00:00
|
|
|
"ve-math/ve.ui.MWLatexContextItem.css",
|
2018-06-02 20:56:49 +00:00
|
|
|
"ve-math/ve.ui.MWLatexPage.css"
|
2015-07-22 22:10:46 +00:00
|
|
|
],
|
|
|
|
"dependencies": [
|
2016-05-27 14:04:30 +00:00
|
|
|
"ext.visualEditor.mwcore",
|
2019-01-23 22:36:14 +00:00
|
|
|
"ext.math.styles",
|
|
|
|
"oojs-ui.styles.icons-editing-advanced"
|
2015-07-22 22:10:46 +00:00
|
|
|
],
|
|
|
|
"messages": [
|
2017-01-11 21:50:35 +00:00
|
|
|
"math-visualeditor-mwchemdialog-title",
|
|
|
|
"math-visualeditor-mwlatexcontextitem-quickedit",
|
|
|
|
"math-visualeditor-mwlatexdialog-card-formula",
|
|
|
|
"math-visualeditor-mwlatexdialog-card-options",
|
|
|
|
"math-visualeditor-mwlatexinspector-display",
|
|
|
|
"math-visualeditor-mwlatexinspector-display-block",
|
|
|
|
"math-visualeditor-mwlatexinspector-display-default",
|
|
|
|
"math-visualeditor-mwlatexinspector-display-inline",
|
|
|
|
"math-visualeditor-mwlatexinspector-id",
|
2015-09-29 15:44:21 +00:00
|
|
|
"math-visualeditor-mwmathdialog-title",
|
2017-01-11 21:50:35 +00:00
|
|
|
"math-visualeditor-symbol-group-chem-addition",
|
|
|
|
"math-visualeditor-symbol-group-chem-aggregation",
|
|
|
|
"math-visualeditor-symbol-group-chem-arrows",
|
|
|
|
"math-visualeditor-symbol-group-chem-brackets",
|
|
|
|
"math-visualeditor-symbol-group-chem-charges",
|
|
|
|
"math-visualeditor-symbol-group-chem-dots",
|
|
|
|
"math-visualeditor-symbol-group-chem-equations",
|
|
|
|
"math-visualeditor-symbol-group-chem-formulae",
|
|
|
|
"math-visualeditor-symbol-group-chem-greek",
|
|
|
|
"math-visualeditor-symbol-group-chem-isotopes",
|
2017-02-22 19:49:45 +00:00
|
|
|
"math-visualeditor-symbol-group-chem-operators",
|
2017-01-11 21:50:35 +00:00
|
|
|
"math-visualeditor-symbol-group-chem-oxidation",
|
|
|
|
"math-visualeditor-symbol-group-chem-precipitate",
|
|
|
|
"math-visualeditor-symbol-group-chem-stoichiometric",
|
|
|
|
"math-visualeditor-symbol-group-math-accents",
|
|
|
|
"math-visualeditor-symbol-group-math-arrows",
|
|
|
|
"math-visualeditor-symbol-group-math-bounds",
|
|
|
|
"math-visualeditor-symbol-group-math-derivatives",
|
|
|
|
"math-visualeditor-symbol-group-math-functions",
|
|
|
|
"math-visualeditor-symbol-group-math-geometry",
|
|
|
|
"math-visualeditor-symbol-group-math-greek",
|
|
|
|
"math-visualeditor-symbol-group-math-hebrew",
|
|
|
|
"math-visualeditor-symbol-group-math-large",
|
|
|
|
"math-visualeditor-symbol-group-math-logic",
|
|
|
|
"math-visualeditor-symbol-group-math-matrices",
|
|
|
|
"math-visualeditor-symbol-group-math-modular",
|
|
|
|
"math-visualeditor-symbol-group-math-operators",
|
|
|
|
"math-visualeditor-symbol-group-math-parentheses",
|
|
|
|
"math-visualeditor-symbol-group-math-projections",
|
|
|
|
"math-visualeditor-symbol-group-math-relations",
|
|
|
|
"math-visualeditor-symbol-group-math-root",
|
|
|
|
"math-visualeditor-symbol-group-math-sets",
|
|
|
|
"math-visualeditor-symbol-group-math-spacing",
|
|
|
|
"math-visualeditor-symbol-group-math-special",
|
|
|
|
"math-visualeditor-symbol-group-math-subscripts",
|
|
|
|
"math-visualeditor-symbol-group-math-symbols",
|
|
|
|
"math-visualeditor-symbol-group-math-typefaces",
|
|
|
|
"math-visualeditor-symbol-group-math-unsorted"
|
2015-07-22 22:10:46 +00:00
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
]
|
2015-09-29 15:44:21 +00:00
|
|
|
},
|
2017-01-11 21:50:35 +00:00
|
|
|
"ext.math.visualEditor.mathSymbolsData": {
|
|
|
|
"class": "MathMathSymbolsDataModule"
|
2015-09-29 15:44:21 +00:00
|
|
|
},
|
2017-01-11 21:50:35 +00:00
|
|
|
"ext.math.visualEditor.mathSymbols": {
|
2015-09-29 15:44:21 +00:00
|
|
|
"styles": [
|
|
|
|
"ve-math/ve.ui.MWMathSymbols.css"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2017-01-11 21:50:35 +00:00
|
|
|
"ext.math.visualEditor.mathSymbolsData"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.math.visualEditor.chemSymbolsData": {
|
|
|
|
"class": "MathChemSymbolsDataModule"
|
|
|
|
},
|
|
|
|
"ext.math.visualEditor.chemSymbols": {
|
|
|
|
"styles": [
|
|
|
|
"ve-math/ve.ui.MWChemSymbols.css"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"ext.math.visualEditor.chemSymbolsData"
|
2015-09-29 15:44:21 +00:00
|
|
|
]
|
2015-07-22 22:10:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "Math/modules"
|
|
|
|
},
|
|
|
|
"SpecialPages": {
|
|
|
|
"MathShowImage": "SpecialMathShowImage",
|
2019-07-19 20:46:20 +00:00
|
|
|
"MathStatus": "SpecialMathStatus",
|
|
|
|
"MathWikibase": "SpecialMathWikibase"
|
2015-07-22 22:10:46 +00:00
|
|
|
},
|
2016-06-03 15:42:59 +00:00
|
|
|
"TrackingCategories": [
|
2017-08-15 14:19:41 +00:00
|
|
|
"math-tracking-category-error",
|
2020-09-29 19:15:42 +00:00
|
|
|
"math-tracking-category-render-error",
|
|
|
|
"math-tracking-category-mhchem-deprecation",
|
|
|
|
"math-tracking-category-texvc-deprecation"
|
2016-06-03 15:42:59 +00:00
|
|
|
],
|
2020-05-12 18:22:37 +00:00
|
|
|
"ServiceWiringFiles": [
|
|
|
|
"ServiceWiring.php"
|
|
|
|
],
|
2020-05-29 13:19:54 +00:00
|
|
|
"RestRoutes": [
|
|
|
|
{
|
|
|
|
"path": "/math/v0/check/{type}",
|
|
|
|
"method": "POST",
|
|
|
|
"class": "MediaWiki\\Extension\\Math\\Rest\\CheckHandler",
|
|
|
|
"services": [
|
|
|
|
"Math.CheckerFactory"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2020-05-12 00:53:49 +00:00
|
|
|
"manifest_version": 2
|
2015-07-22 22:10:46 +00:00
|
|
|
}
|