mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-11 16:58:38 +00:00
f63eaeac23
This change only connects the restbase and the mathinput interfaces but does not change any functionality. Change-Id: I3a23e5008c26c5f14ad842dcb5d22906a8aff33c
219 lines
5.6 KiB
JSON
219 lines
5.6 KiB
JSON
{
|
|
"name": "Math",
|
|
"version": "2.0.0",
|
|
"author": [
|
|
"Tomasz Wegrzanowski",
|
|
"Brion Vibber",
|
|
"Moritz Schubotz",
|
|
"Derk-Jan Hartman"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Math",
|
|
"descriptionmsg": "math-desc",
|
|
"callback": "MathHooks::registerExtension",
|
|
"type": "parserhook",
|
|
"AutoloadClasses": {
|
|
"MathDataModule": "MathDataModule.php",
|
|
"MathHooks": "Math.hooks.php",
|
|
"MathRenderer": "MathRenderer.php",
|
|
"MathRestbaseInterface": "MathRestbaseInterface.php",
|
|
"MathTexvc": "MathTexvc.php",
|
|
"MathSource": "MathSource.php",
|
|
"MathMathML": "MathMathML.php",
|
|
"MathLaTeXML": "MathLaTeXML.php",
|
|
"MathInputCheck": "MathInputCheck.php",
|
|
"MathInputCheckTexvc": "MathInputCheckTexvc.php",
|
|
"MathInputCheckRestbase": "MathInputCheckRestbase.php",
|
|
"SpecialMathShowImage": "SpecialMathShowImage.php",
|
|
"SpecialMathStatus": "SpecialMathStatus.php"
|
|
},
|
|
"DefaultUserOptions": {
|
|
"math": "png"
|
|
},
|
|
"ExtensionFunctions": [
|
|
"MathHooks::setup"
|
|
],
|
|
"ExtensionMessagesFiles": {
|
|
"MathAlias": "Math.alias.php",
|
|
"MathAliasNoTranslate": "Math.alias.noTranslate.php"
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": [
|
|
"MathHooks::onParserFirstCallInit"
|
|
],
|
|
"GetPreferences": [
|
|
"MathHooks::onGetPreferences"
|
|
],
|
|
"LoadExtensionSchemaUpdates": [
|
|
"MathHooks::onLoadExtensionSchemaUpdates"
|
|
],
|
|
"ParserTestTables": [
|
|
"MathHooks::onParserTestTables"
|
|
],
|
|
"UnitTestsList": [
|
|
"MathHooks::onRegisterUnitTests"
|
|
],
|
|
"PageRenderingHash": [
|
|
"MathHooks::onPageRenderingHash"
|
|
],
|
|
"EditPageBeforeEditToolbar": [
|
|
"MathHooks::onEditPageBeforeEditToolbar"
|
|
]
|
|
},
|
|
"config": {
|
|
"MathCheckFiles": true,
|
|
"MathDefaultLaTeXMLSetting": {
|
|
"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
|
|
},
|
|
"MathDirectory": false,
|
|
"MathDisableTexFilter": "new",
|
|
"MathEnableExperimentalInputFormats": false,
|
|
"MathFileBackend": false,
|
|
"MathLaTeXMLTimeout": 240,
|
|
"MathLaTeXMLUrl": "http://gw125.iu.xsede.org:8888",
|
|
"MathMathMLTimeout": 20,
|
|
"MathMathMLUrl": "http://mathoid.testme.wmflabs.org",
|
|
"MathFullRestbaseURL": false,
|
|
"MathPath": false,
|
|
"MathTexvcCheckExecutable": false,
|
|
"MathValidModes": [
|
|
"png",
|
|
"source",
|
|
"mathml"
|
|
],
|
|
"Texvc": false,
|
|
"TexvcBackgroundColor": "transparent"
|
|
},
|
|
"VisualEditorPluginModules": [
|
|
"ext.math.visualEditor"
|
|
],
|
|
"MessagesDirs": {
|
|
"Math": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ParserTestFiles": [
|
|
"mathParserTests.txt"
|
|
],
|
|
"ResourceModules": {
|
|
"ext.math.styles": {
|
|
"position": "top",
|
|
"styles": "ext.math.css",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.math.desktop.styles": {
|
|
"position": "top",
|
|
"styles": "ext.math.desktop.css"
|
|
},
|
|
"ext.math.scripts": {
|
|
"scripts": "ext.math.js"
|
|
},
|
|
"ext.math.editbutton.enabler": {
|
|
"scripts": "ext.math.editbutton.js",
|
|
"messages": [
|
|
"math_tip",
|
|
"math_sample"
|
|
]
|
|
},
|
|
"ext.math.visualEditor": {
|
|
"scripts": [
|
|
"ve-math/ve.dm.MWMathNode.js",
|
|
"ve-math/ve.ce.MWMathNode.js",
|
|
"ve-math/ve.ui.MWMathDialog.js",
|
|
"ve-math/ve.ui.MWMathPage.js",
|
|
"ve-math/ve.ui.MWMathInspectorTool.js"
|
|
],
|
|
"styles": [
|
|
"ve-math/ve.ce.MWMathNode.css",
|
|
"ve-math/ve.ui.MWMathIcons.css",
|
|
"ve-math/ve.ui.MWMathDialog.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.visualEditor.mwcore"
|
|
],
|
|
"messages": [
|
|
"math-visualeditor-mwmathdialog-title",
|
|
"math-visualeditor-mwmathdialog-card-formula",
|
|
"math-visualeditor-mwmathdialog-card-options",
|
|
"math-visualeditor-mwmathinspector-display",
|
|
"math-visualeditor-mwmathinspector-display-block",
|
|
"math-visualeditor-mwmathinspector-display-default",
|
|
"math-visualeditor-mwmathinspector-display-inline",
|
|
"math-visualeditor-mwmathinspector-id",
|
|
"math-visualeditor-mwmathinspector-title",
|
|
"math-visualeditor-symbol-group-accents",
|
|
"math-visualeditor-symbol-group-arrows",
|
|
"math-visualeditor-symbol-group-bounds",
|
|
"math-visualeditor-symbol-group-derivatives",
|
|
"math-visualeditor-symbol-group-functions",
|
|
"math-visualeditor-symbol-group-geometry",
|
|
"math-visualeditor-symbol-group-greek",
|
|
"math-visualeditor-symbol-group-hebrew",
|
|
"math-visualeditor-symbol-group-large",
|
|
"math-visualeditor-symbol-group-logic",
|
|
"math-visualeditor-symbol-group-matrices",
|
|
"math-visualeditor-symbol-group-modular",
|
|
"math-visualeditor-symbol-group-operators",
|
|
"math-visualeditor-symbol-group-parentheses",
|
|
"math-visualeditor-symbol-group-projections",
|
|
"math-visualeditor-symbol-group-relations",
|
|
"math-visualeditor-symbol-group-root",
|
|
"math-visualeditor-symbol-group-sets",
|
|
"math-visualeditor-symbol-group-spacing",
|
|
"math-visualeditor-symbol-group-special",
|
|
"math-visualeditor-symbol-group-subscripts",
|
|
"math-visualeditor-symbol-group-symbols",
|
|
"math-visualeditor-symbol-group-typefaces",
|
|
"math-visualeditor-symbol-group-unsorted"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.math.visualEditor.data": {
|
|
"class": "MathDataModule"
|
|
},
|
|
"ext.math.visualEditor.symbols": {
|
|
"styles": [
|
|
"ve-math/ve.ui.MWMathSymbols.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.math.visualEditor.data"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Math/modules"
|
|
},
|
|
"SpecialPages": {
|
|
"MathShowImage": "SpecialMathShowImage",
|
|
"MathStatus": "SpecialMathStatus"
|
|
},
|
|
"manifest_version": 1
|
|
}
|