mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 15:44:33 +00:00
Introduce variables required for mathoid
This change prepares the reactivation of the MathML rendering mode. It adds configuration variables for * the mathoid server url * the mathoid server timeout * the debug mode. Change-Id: I8a2bb9076e571d7769787aac3e863f65637ce553
This commit is contained in:
parent
ed018d04b6
commit
1bb3bfa3b5
16
Math.php
16
Math.php
|
@ -121,6 +121,19 @@ $wgMathDirectory = false;
|
||||||
*/
|
*/
|
||||||
$wgUseMathJax = false;
|
$wgUseMathJax = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The url of the mathoid server.
|
||||||
|
* see http://www.formulasearchengine.com/mathoid
|
||||||
|
* TODO: Move documentation to WMF
|
||||||
|
*/
|
||||||
|
$wgMathMathMLUrl = 'http://gw124.iu.xsede.org:10042'; // Sponsored by https://www.xsede.org/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The timeout for the HTTP-Request sent to the MathML to render an equation,
|
||||||
|
* in seconds.
|
||||||
|
*/
|
||||||
|
$wgMathMathMLTimeout = 20;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use of LaTeXML for details see
|
* Use of LaTeXML for details see
|
||||||
* <http://latexml.mathweb.org/help>
|
* <http://latexml.mathweb.org/help>
|
||||||
|
@ -175,6 +188,9 @@ $wgMathTexvcCheckExecutable = __DIR__ . '/texvccheck/texvccheck';
|
||||||
* commands is allowed. See the wikipedia page Help:Math for details.
|
* commands is allowed. See the wikipedia page Help:Math for details.
|
||||||
*/
|
*/
|
||||||
$wgMathDisableTexFilter = false;
|
$wgMathDisableTexFilter = false;
|
||||||
|
|
||||||
|
/** Stores debug information in the database and provides more detailed debug output */
|
||||||
|
$wgMathDebug = false;
|
||||||
////////// end of config settings.
|
////////// end of config settings.
|
||||||
|
|
||||||
$wgExtensionFunctions[] = 'MathHooks::setup';
|
$wgExtensionFunctions[] = 'MathHooks::setup';
|
||||||
|
|
Loading…
Reference in a new issue