From 1bb3bfa3b5656af5ee57784578996e9513600a4d Mon Sep 17 00:00:00 2001 From: "physikerwelt (Moritz Schubotz)" Date: Thu, 5 Jun 2014 11:31:28 +0200 Subject: [PATCH] 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 --- Math.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Math.php b/Math.php index 53d1a10e6..14b248fca 100644 --- a/Math.php +++ b/Math.php @@ -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 * @@ -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';