mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 23:46:39 +00:00
48a5a0a7e8
There are separate JS files for them, so the CSS should be separate, too. This is a part of the refactoring that is required for bug T153365. Change-Id: Iadbe5eeccff25ed1d184658945a4eb52e465d863
237 lines
6.2 KiB
JSON
237 lines
6.2 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",
|
|
"license-name": "GPL-2.0+",
|
|
"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",
|
|
"MathValidator": "MathValidator.php",
|
|
"MathFormatter": "MathFormatter.php",
|
|
"MathWikidataHook": "MathWikidataHook.php",
|
|
"MathMLRdfBuilder": "MathMLRdfBuilder.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"
|
|
],
|
|
"PageRenderingHash": [
|
|
"MathHooks::onPageRenderingHash"
|
|
],
|
|
"EditPageBeforeEditToolbar": [
|
|
"MathHooks::onEditPageBeforeEditToolbar"
|
|
],
|
|
"WikibaseClientDataTypes": [
|
|
"MathWikidataHook::onWikibaseClientDataTypes"
|
|
],
|
|
"WikibaseRepoDataTypes": [
|
|
"MathWikidataHook::onWikibaseRepoDataTypes"
|
|
],
|
|
"ParserAfterTidy":[
|
|
"MathHooks::onParserAfterTidy"
|
|
]
|
|
},
|
|
"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,
|
|
"MathConcurrentReqs": 50,
|
|
"MathPath": false,
|
|
"MathTexvcCheckExecutable": false,
|
|
"MathValidModes": [
|
|
"png",
|
|
"source",
|
|
"mathml"
|
|
],
|
|
"MathEnableWikibaseDataType": true,
|
|
"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.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.MWMathPage.css",
|
|
"ve-math/ve.ui.MWMathDialog.css"
|
|
],
|
|
"dependencies": [
|
|
"ext.visualEditor.mwcore",
|
|
"ext.math.styles"
|
|
],
|
|
"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"
|
|
},
|
|
"TrackingCategories": [
|
|
"math-tracking-category-error"
|
|
],
|
|
"manifest_version": 1
|
|
}
|