mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
939fcce084
Change-Id: Idb720c4c82bc0589426c3bda7c10ecbb1a128323 Follows-Up: I1c3d96720709253ad15bb8528cdd132571de2e4e
315 lines
9.1 KiB
JSON
315 lines
9.1 KiB
JSON
{
|
|
"name": "Math",
|
|
"version": "3.0.0",
|
|
"author": [
|
|
"Tomasz Wegrzanowski",
|
|
"Brion Vibber",
|
|
"Moritz Schubotz",
|
|
"Derk-Jan Hartman",
|
|
"André Greiner-Petter"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Math",
|
|
"descriptionmsg": "math-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"callback": "MathHooks::registerExtension",
|
|
"type": "parserhook",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.35.0"
|
|
},
|
|
"AutoloadClasses": {
|
|
"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",
|
|
"MathLaTeXML": "MathLaTeXML.php",
|
|
"SpecialMathShowImage": "src/SpecialMathShowImage.php",
|
|
"SpecialMathStatus": "src/SpecialMathStatus.php",
|
|
"SpecialMathWikibase": "src/SpecialMathWikibase.php",
|
|
"MathValidator": "src/MathValidator.php",
|
|
"MathFormatter": "src/MathFormatter.php",
|
|
"MathWikibaseHook": "src/MathWikibaseHook.php",
|
|
"MathMLRdfBuilder": "src/MathMLRdfBuilder.php",
|
|
"MathPng": "src/MathPng.php",
|
|
"MathDataUpdater": "src/MathDataUpdater.php",
|
|
"MathWikibaseConfig": "src/MathWikibaseConfig.php",
|
|
"MathWikibaseConnector": "src/MathWikibaseConnector.php",
|
|
"MathWikibaseInfo": "src/MathWikibaseInfo.php"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\Math\\InputCheck\\": "src/InputCheck",
|
|
"MediaWiki\\Extension\\Math\\Rest\\": "src/Rest"
|
|
},
|
|
"TestAutoloadClasses": {
|
|
"MathMLHttpRequestTester": "tests/phpunit/MathMLHttpRequestTester.php",
|
|
"MathMLTestStatus": "tests/phpunit/MathMLTestStatus.php",
|
|
"DummyPropertyDataTypeLookup": "tests/phpunit/DummyPropertyDataTypeLookup.php"
|
|
},
|
|
"DefaultUserOptions": {
|
|
"math": "mathml"
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"MathAlias": "Math.alias.php",
|
|
"MathAliasNoTranslate": "Math.alias.noTranslate.php"
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": "MathHooks::onParserFirstCallInit",
|
|
"GetPreferences": "MathHooks::onGetPreferences",
|
|
"LoadExtensionSchemaUpdates": "MathHooks::onLoadExtensionSchemaUpdates",
|
|
"ParserTestTables": "MathHooks::onParserTestTables",
|
|
"PageRenderingHash": "MathHooks::onPageRenderingHash",
|
|
"WikibaseClientDataTypes": "MathWikibaseHook::onWikibaseClientDataTypes",
|
|
"WikibaseRepoDataTypes": "MathWikibaseHook::onWikibaseRepoDataTypes",
|
|
"ParserAfterTidy": "MathHooks::onParserAfterTidy",
|
|
"SpecialPage_initList": "MathHooks::onSpecialPage_initList"
|
|
},
|
|
"config": {
|
|
"MathDefaultLaTeXMLSetting": {
|
|
"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
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"Math": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"ext.math.styles": {
|
|
"styles": "ext.math.css",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.math.scripts": {
|
|
"scripts": "ext.math.js"
|
|
},
|
|
"ext.math.wikibase.scripts": {
|
|
"scripts": "ext.math.wikibase.js",
|
|
"dependencies": [
|
|
"jquery.wikibase.entityselector"
|
|
]
|
|
},
|
|
"ext.math.visualEditor": {
|
|
"scripts": [
|
|
"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",
|
|
"ve-math/ve.dm.MWMathNode.js",
|
|
"ve-math/ve.ce.MWMathNode.js",
|
|
"ve-math/ve.ui.MWMathInspector.js",
|
|
"ve-math/ve.ui.MWMathContextItem.js",
|
|
"ve-math/ve.ui.MWMathDialog.js",
|
|
"ve-math/ve.ui.MWMathDialogTool.js"
|
|
],
|
|
"styles": [
|
|
"ve-math/ve.ui.MWLatexDialog.css",
|
|
"ve-math/ve.ce.MWLatexNode.css",
|
|
"ve-math/ve.ui.MWLatexInspector.css",
|
|
"ve-math/ve.ui.MWLatexContextItem.css",
|
|
"ve-math/ve.ui.MWLatexPage.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.visualEditor.mwcore",
|
|
"ext.math.styles",
|
|
"oojs-ui.styles.icons-editing-advanced"
|
|
],
|
|
"messages": [
|
|
"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",
|
|
"math-visualeditor-mwmathdialog-title",
|
|
"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",
|
|
"math-visualeditor-symbol-group-chem-operators",
|
|
"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"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.math.visualEditor.mathSymbolsData": {
|
|
"class": "MathMathSymbolsDataModule"
|
|
},
|
|
"ext.math.visualEditor.mathSymbols": {
|
|
"styles": [
|
|
"ve-math/ve.ui.MWMathSymbols.css"
|
|
],
|
|
"dependencies": [
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Math/modules"
|
|
},
|
|
"SpecialPages": {
|
|
"MathShowImage": "SpecialMathShowImage",
|
|
"MathStatus": "SpecialMathStatus",
|
|
"MathWikibase": "SpecialMathWikibase"
|
|
},
|
|
"TrackingCategories": [
|
|
"math-tracking-category-error",
|
|
"math-tracking-category-render-error"
|
|
],
|
|
"ServiceWiringFiles": [
|
|
"ServiceWiring.php"
|
|
],
|
|
"RestRoutes": [
|
|
{
|
|
"path": "/math/v0/check/{type}",
|
|
"method": "POST",
|
|
"class": "MediaWiki\\Extension\\Math\\Rest\\CheckHandler",
|
|
"services": [
|
|
"Math.CheckerFactory"
|
|
]
|
|
}
|
|
],
|
|
"manifest_version": 2
|
|
}
|