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:
physikerwelt (Moritz Schubotz) 2014-06-05 11:31:28 +02:00 committed by Physikerwelt
parent ed018d04b6
commit 1bb3bfa3b5

View file

@ -121,6 +121,19 @@ $wgMathDirectory = 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
* <http://latexml.mathweb.org/help>
@ -175,6 +188,9 @@ $wgMathTexvcCheckExecutable = __DIR__ . '/texvccheck/texvccheck';
* commands is allowed. See the wikipedia page Help:Math for details.
*/
$wgMathDisableTexFilter = false;
/** Stores debug information in the database and provides more detailed debug output */
$wgMathDebug = false;
////////// end of config settings.
$wgExtensionFunctions[] = 'MathHooks::setup';