Topic on Extension talk:Math

Hwgen22 (talkcontribs)

Hi


I have the following configuration in LocalSettings.php:

wfLoadExtension( 'Math' );

$wgMathValidModes[] = 'mathml';

$wgDefaultUserOptions['math'] = 'mathml';

$wgMathFullRestbaseURL = 'https://en.wikipedia.org/api/rest_v1/';


However, formula do not render correctly.


For example, this code: <math><20</math>


displays:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "/mathoid/local/v1/":): {\displaystyle <20}


What is causing the error and how to resolve it? Thanks!

203.220.96.59 (talkcontribs)

not rendering correctly for me either with the default settings.

Test Rendering the input "x^2+\text{a sample Text}" succeeded.

Test Comparing to the reference rendering succeeded.

Test Rendering of a+b in plain MathML mode succeeded.

Test Checking the presence of '+' in the MathML output succeeded.

Test Comparing the generated SVG with the reference failed.

Test Checking if MathML input is supported succeeded.

Test Rendering Presentation MathML sample failed.

Test Checking if the link to SVG image is correct failed.

Backend tests for rendering mode MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools) completed.


doestn seem to be anyone maintaining this project atm though.

Reply to "Math error"