mediawiki-extensions-Math/extension.json
Thalia 5fe280c3cf Allow users to choose math inspector or math dialog
The context item for math nodes now has two edit buttons,
one for the inspector (edit inline) and one for the dialog
(edit). Creating a new math node automatically opens the
dialog.

Bug: T120382
Change-Id: Icd3ec75262fcc5e0cbc304051c651278b0d8b01c
2016-01-04 08:20:16 +00:00

223 lines
5.8 KiB
JSON

{
"name": "Math",
"version": "3.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.MWMathInspector.js",
"ve-math/ve.ui.MWMathContextItem.js",
"ve-math/ve.ui.MWMathDialog.js",
"ve-math/ve.ui.MWMathPage.js",
"ve-math/ve.ui.MWMathDialogTool.js"
],
"styles": [
"ve-math/ve.ce.MWMathNode.css",
"ve-math/ve.ui.MWMathIcons.css",
"ve-math/ve.ui.MWMathInspector.css",
"ve-math/ve.ui.MWMathDialog.css"
],
"dependencies": [
"ext.visualEditor.mwcore"
],
"messages": [
"math-visualeditor-mwmathcontextitem-quickedit",
"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
}