mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 15:16:56 +00:00
Remove unused config variables from extension.json
Bug: T228547 Change-Id: I0aa7b624b645c3773b0d758634d370a494d1028a
This commit is contained in:
parent
3f16af9dc0
commit
0de63bdf6c
|
@ -39,9 +39,6 @@
|
|||
"DefaultUserOptions": {
|
||||
"math": "mathml"
|
||||
},
|
||||
"ExtensionFunctions": [
|
||||
"MathHooks::setup"
|
||||
],
|
||||
"ExtensionMessagesFiles": {
|
||||
"MathAlias": "Math.alias.php",
|
||||
"MathAliasNoTranslate": "Math.alias.noTranslate.php"
|
||||
|
@ -73,7 +70,6 @@
|
|||
]
|
||||
},
|
||||
"config": {
|
||||
"MathCheckFiles": true,
|
||||
"MathDefaultLaTeXMLSetting": {
|
||||
"format": "xhtml",
|
||||
"whatsin": "math",
|
||||
|
@ -98,27 +94,21 @@
|
|||
],
|
||||
"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": "https://wikimedia.org/api/rest_",
|
||||
"MathConcurrentReqs": 50,
|
||||
"MathPath": false,
|
||||
"MathTexvcCheckExecutable": false,
|
||||
"MathoidCli": false,
|
||||
"MathValidModes": [
|
||||
"png",
|
||||
"source",
|
||||
"mathml"
|
||||
],
|
||||
"MathEnableWikibaseDataType": true,
|
||||
"Texvc": false,
|
||||
"TexvcBackgroundColor": "transparent"
|
||||
"MathEnableWikibaseDataType": true
|
||||
},
|
||||
"VisualEditorPluginModules": [
|
||||
"ext.math.visualEditor"
|
||||
|
|
|
@ -148,22 +148,6 @@ class MathHooks {
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up $wgMathPath and $wgMathDirectory globals if they're not already set.
|
||||
*/
|
||||
public static function setup() {
|
||||
global $wgMathPath, $wgMathDirectory,
|
||||
$wgUploadPath, $wgUploadDirectory;
|
||||
|
||||
if ( $wgMathPath === false ) {
|
||||
$wgMathPath = "{$wgUploadPath}/math";
|
||||
}
|
||||
|
||||
if ( $wgMathDirectory === false ) {
|
||||
$wgMathDirectory = "{$wgUploadDirectory}/math";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the <math> tag with the Parser.
|
||||
*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @covers MathInputCheckTexvc
|
||||
* @covers MathMathMLCli
|
||||
*
|
||||
* @group Math
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue