2015-07-22 22:10:46 +00:00
{
"name" : "Math" ,
"author" : [
"Tomasz Wegrzanowski" ,
"Brion Vibber" ,
"Moritz Schubotz" ,
2019-07-19 20:46:20 +00:00
"Derk-Jan Hartman" ,
2022-10-10 14:09:14 +00:00
"André Greiner-Petter" ,
"Johannes Stegmüller"
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
"type" : "parserhook" ,
2018-10-17 17:08:39 +00:00
"requires" : {
2023-11-29 12:39:28 +00:00
"MediaWiki" : ">= 1.42.0"
2018-10-17 17:08:39 +00:00
} ,
2020-05-12 16:41:04 +00:00
"AutoloadNamespaces" : {
2021-04-07 22:22:05 +00:00
"MediaWiki\\Extension\\Math\\" : "src/"
2020-05-12 16:41:04 +00:00
} ,
2019-12-30 23:44:53 +00:00
"TestAutoloadClasses" : {
2021-08-11 13:38:51 +00:00
"DummyPropertyDataTypeLookup" : "tests/phpunit/DummyPropertyDataTypeLookup.php" ,
2022-07-08 05:13:08 +00:00
"MediaWiki\\Extension\\Math\\Tests\\MathWikibaseConnectorTestFactory" : "tests/phpunit/unit/MathWikibaseConnectorTestFactory.php" ,
2022-12-23 13:33:57 +00:00
"MediaWiki\\Extension\\Math\\Tests\\MathMockHttpTrait" : "tests/phpunit/MathMockHttpTrait.php" ,
2023-11-24 09:30:05 +00:00
"MediaWiki\\Extension\\Math\\WikiTexVC\\MMLmappings\\Util\\MMLTestUtilHTML" : "tests/phpunit/unit/WikiTexVC/MMLTestUtilHTML.php" ,
"MediaWiki\\Extension\\Math\\WikiTexVC\\MMLmappings\\Util\\MMLTestUtil" : "tests/phpunit/unit/WikiTexVC/MMLTestUtil.php" ,
"MediaWiki\\Extension\\Math\\WikiTexVC\\MMLmappings\\Util\\MMLComparator" : "tests/phpunit/unit/WikiTexVC/MMLComparator.php"
2015-07-22 22:10:46 +00:00
} ,
"DefaultUserOptions" : {
2023-10-17 23:28:57 +00:00
"math" : "mathml" ,
"math-popups" : "1"
2015-07-22 22:10:46 +00:00
} ,
"ExtensionMessagesFiles" : {
"MathAlias" : "Math.alias.php" ,
"MathAliasNoTranslate" : "Math.alias.noTranslate.php"
} ,
2023-05-22 20:17:58 +00:00
"callback" : "MediaWiki\\Extension\\Math\\Hooks::onConfig" ,
2021-07-30 18:54:47 +00:00
"HookHandlers" : {
"ParserHooksHandler" : {
"class" : "MediaWiki\\Extension\\Math\\HookHandlers\\ParserHooksHandler" ,
"services" : [
2021-07-30 19:17:20 +00:00
"Math.RendererFactory" ,
2023-05-06 21:11:13 +00:00
"UserOptionsLookup" ,
"HookContainer"
2021-07-30 18:54:47 +00:00
]
2021-08-12 00:59:21 +00:00
} ,
"PreferencesHooksHandler" : {
"class" : "MediaWiki\\Extension\\Math\\HookHandlers\\PreferencesHooksHandler" ,
"services" : [
"Math.Config"
]
2022-07-17 09:59:09 +00:00
} ,
"ResourceLoaderConfigHandler" : {
"class" : "MediaWiki\\Extension\\Math\\HookHandlers\\ResourceLoaderConfigHandler" ,
"services" : [
"Math.Config"
]
2023-08-15 14:43:04 +00:00
} ,
"main" : {
"class" : "MediaWiki\\Extension\\Math\\Hooks"
} ,
"schema" : {
"class" : "MediaWiki\\Extension\\Math\\HookHandlers\\SchemaHooksHandler"
2021-07-30 18:54:47 +00:00
}
} ,
2015-07-22 22:10:46 +00:00
"Hooks" : {
2021-07-30 18:54:47 +00:00
"ParserFirstCallInit" : "ParserHooksHandler" ,
"ParserAfterTidy" : "ParserHooksHandler" ,
2021-08-10 14:28:00 +00:00
"ParserOptionsRegister" : "ParserHooksHandler" ,
2021-08-12 00:59:21 +00:00
"GetPreferences" : "PreferencesHooksHandler" ,
"UserGetDefaultOptions" : "PreferencesHooksHandler" ,
2023-08-15 14:43:04 +00:00
"LoadExtensionSchemaUpdates" : "schema" ,
2021-04-07 22:22:05 +00:00
"WikibaseClientDataTypes" : "MediaWiki\\Extension\\Math\\WikibaseHook::onWikibaseClientDataTypes" ,
"WikibaseRepoDataTypes" : "MediaWiki\\Extension\\Math\\WikibaseHook::onWikibaseRepoDataTypes" ,
2023-08-15 14:43:04 +00:00
"SpecialPage_initList" : "main" ,
"MaintenanceRefreshLinksInit" : "main" ,
2022-07-17 09:59:09 +00:00
"ResourceLoaderGetConfigVars" : "ResourceLoaderConfigHandler"
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" : {
2021-08-11 18:15:35 +00:00
"description" : "To access this at run-time, use MathConfig::texCheckDisabled(). Do not use the non-normalized configuration directly." ,
2020-05-12 00:53:49 +00:00
"value" : "new"
} ,
"MathEnableExperimentalInputFormats" : {
"value" : false
} ,
2022-07-17 09:59:09 +00:00
"MathEntitySelectorFallbackUrl" : {
"description" : "Fallback value for wbEntitySelector if wbRepo is not configured. See https://www.mediawiki.org/wiki/Manual:CORS for cross wiki communication." ,
"value" : "https://www.wikidata.org/w/api.php"
} ,
2022-10-10 14:09:14 +00:00
"MathTexVCService" : {
"description" : "Determine which TexVC variant is used, currently available: 'mathoid', 'restbase' (default) and 'local'." ,
"value" : "restbase"
} ,
2020-05-12 00:53:49 +00:00
"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"
} ,
2022-05-17 13:28:16 +00:00
"MathUseInternalRestbasePath" : {
2023-08-17 19:58:52 +00:00
"description" : "Whether to allow to use of internal RESTBase path instead of $wgMathFullRestbaseURL. Set false if you want to use external RESTBase in any case." ,
2022-05-17 02:36:28 +00:00
"value" : true ,
"public" : true
} ,
2023-05-22 20:17:58 +00:00
"MathInternalRestbaseURL" : {
"value" : null
} ,
2020-05-12 00:53:49 +00:00
"MathFullRestbaseURL" : {
"value" : "https://wikimedia.org/api/rest_"
} ,
"MathConcurrentReqs" : {
"value" : 50
} ,
"MathoidCli" : {
"value" : false
} ,
"MathValidModes" : {
2021-08-11 18:15:35 +00:00
"description" : "To access this at run-time, use MathConfig::getValidRenderingModes(). Do not use the non-normalized configuration directly." ,
2020-05-12 00:53:49 +00:00
"value" : [
"source" ,
"mathml"
]
} ,
"MathEnableWikibaseDataType" : {
"value" : true
} ,
"MathEnableFormulaLinks" : {
"value" : true
} ,
"MathWikibasePropertyIdHasPart" : {
2022-07-15 12:30:15 +00:00
"description" : "Original Wikidata property that described the elements of a mathematical formula with the data type item." ,
2020-05-12 00:53:49 +00:00
"value" : "P527"
} ,
2022-07-15 12:30:15 +00:00
"MathWikibasePropertyIdInDefiningFormula" : {
"description" : "New Wikidata property that describe the elements of a mathematical formula with the data type 'mathematical expression'. This potentially replaces 'has part' in the future." ,
"value" : "P7235"
} ,
2020-05-12 00:53:49 +00:00
"MathWikibasePropertyIdDefiningFormula" : {
2022-07-15 12:30:15 +00:00
"description" : "The property that describes the mathematical formula representing an item in Wikidata." ,
2020-05-12 00:53:49 +00:00
"value" : "P2534"
} ,
"MathWikibasePropertyIdQuantitySymbol" : {
2022-07-15 12:30:15 +00:00
"description" : "The Wikidata property that is used to present mathematical expressions in 'has part'. The data type is 'string'." ,
2020-05-12 00:53:49 +00:00
"value" : "P416"
2022-07-15 12:30:15 +00:00
} ,
"MathWikibasePropertyIdSymbolRepresents" : {
"description" : "The Wikidata property that is used to present mathematical expressions in 'in defining formula'. The data type is 'item'." ,
"value" : "P9758"
2020-05-12 00:53:49 +00:00
}
} ,
"attributes" : {
2022-07-08 05:13:08 +00:00
"Popups" : {
"PluginModules" : [
"ext.math.popup"
]
} ,
2020-05-12 00:53:49 +00:00
"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
]
} ,
2021-08-04 16:22:03 +00:00
"QUnitTestModule" : {
"localBasePath" : "modules/ve-math/tests" ,
"remoteExtPath" : "Math/modules/tests" ,
"scripts" : [
"ve.dm.Autocomplete.test.js"
] ,
"dependencies" : [
"ext.math.visualEditor" ,
"test.VisualEditor"
]
} ,
2015-07-22 22:10:46 +00:00
"ResourceModules" : {
"ext.math.styles" : {
2023-03-15 09:16:00 +00:00
"styles" : "ext.math.css"
2015-07-22 22:10:46 +00:00
} ,
2022-07-08 05:13:08 +00:00
"ext.math.popup" : {
"packageFiles" : "ext.math.popup.js" ,
2023-10-17 23:28:57 +00:00
"messages" : [
"popups-settings-option-math" ,
"popups-settings-option-math-description"
] ,
2022-07-08 05:13:08 +00:00
"dependencies" : [
2023-10-17 23:28:57 +00:00
"mediawiki.ForeignApi"
2022-07-08 05:13:08 +00:00
]
} ,
2020-11-02 12:38:51 +00:00
"mw.widgets.MathWbEntitySelector" : {
"scripts" : "mw.widgets.MathWbEntitySelector.js" ,
2019-07-19 20:46:20 +00:00
"dependencies" : [
2020-11-02 12:38:51 +00:00
"oojs-ui-core" ,
"oojs-ui-windows" ,
"oojs-ui-widgets" ,
"mw.config.values.wbRepo" ,
"mediawiki.ForeignApi" ,
"mediawiki.widgets"
2019-07-19 20:46:20 +00:00
]
} ,
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" ,
2022-07-20 15:51:31 +00:00
"ve-math/ve.ui.MWMathDialogTool.js" ,
"mw.widgets.MathWbEntitySelector.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" ,
2022-05-24 16:03:46 +00:00
"math-visualeditor-mwlatexinspector-qid" ,
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
]
2015-09-29 15:44:21 +00:00
} ,
2017-01-11 21:50:35 +00:00
"ext.math.visualEditor.mathSymbols" : {
2022-11-22 17:37:36 +00:00
"packageFiles" : [
"ve-math/mathSymbols.js" ,
"ve-math/mathSymbols.json"
] ,
2015-09-29 15:44:21 +00:00
"styles" : [
"ve-math/ve.ui.MWMathSymbols.css"
2017-01-11 21:50:35 +00:00
]
} ,
"ext.math.visualEditor.chemSymbols" : {
2022-11-22 17:37:36 +00:00
"packageFiles" : [
"ve-math/chemSymbols.js" ,
"ve-math/chemSymbols.json"
] ,
2017-01-11 21:50:35 +00:00
"styles" : [
"ve-math/ve.ui.MWChemSymbols.css"
2015-09-29 15:44:21 +00:00
]
2015-07-22 22:10:46 +00:00
}
} ,
"ResourceFileModulePaths" : {
"localBasePath" : "modules" ,
"remoteExtPath" : "Math/modules"
} ,
"SpecialPages" : {
2021-07-30 19:17:20 +00:00
"MathShowImage" : {
"class" : "MediaWiki\\Extension\\Math\\SpecialMathShowImage" ,
"services" : [
2021-08-11 18:15:35 +00:00
"Math.Config" ,
2021-07-30 19:17:20 +00:00
"Math.RendererFactory"
]
} ,
"MathStatus" : {
"class" : "MediaWiki\\Extension\\Math\\SpecialMathStatus" ,
"services" : [
2021-08-12 03:14:17 +00:00
"Math.Config" ,
2021-07-30 19:17:20 +00:00
"Math.RendererFactory"
]
} ,
2021-04-07 22:22:05 +00:00
"MathWikibase" : "MediaWiki\\Extension\\Math\\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"
] ,
2022-07-08 05:13:08 +00:00
"RestRoutes" : [
{
"path" : "/math/v0/popup/html/{qid}" ,
"method" : "GET" ,
"class" : "MediaWiki\\Extension\\Math\\Rest\\Popup" ,
"services" : [
"Math.WikibaseConnector" ,
"LanguageFactory" ,
2022-11-18 19:26:02 +00:00
"LanguageNameUtils" ,
2022-07-08 05:13:08 +00:00
"TitleFactory"
]
}
] ,
2020-05-12 00:53:49 +00:00
"manifest_version" : 2
2015-07-22 22:10:46 +00:00
}