New MathML option available in Wikipedia

418 views
Skip to first unread message

Frédéric Wang

unread,
May 3, 2012, 2:41:09 PM5/3/12
to
Hi all,

Today, a new Math rendering mode has been added to Wikipedia. You need a
Wikipedia account to use it. In My preferences => Appearance => Math,
choose "MathJax". Once enabled, MathJax's HTML-CSS output will be used
by default. If you want to use MathML instead, right click on a formula
and choose "Math Settings => Math Renderer => MathML".

--
Frédéric Wang maths-informatique-jeux.com/blog/frederic

Vincent Lefevre

unread,
May 3, 2012, 8:52:51 PM5/3/12
to dev-tec...@lists.mozilla.org
Hi,

On 2012-05-03 20:41:09 +0200, Frédéric Wang wrote:
> Today, a new Math rendering mode has been added to Wikipedia. You need a
> Wikipedia account to use it. In My preferences => Appearance => Math, choose
> "MathJax". Once enabled, MathJax's HTML-CSS output will be used by default.
> If you want to use MathML instead, right click on a formula and choose "Math
> Settings => Math Renderer => MathML".

This doesn't seem to work correctly in Firefox 10. An example:

http://en.wikipedia.org/wiki/Interval_%28mathematics%29#Excluding_the_endpoints

where I get some "amp;" and "lt;". The source shows:

<span class="tex" dir="ltr">$ \begin{align} (a,b) &amp;amp;= &amp;amp;]a,b[ &amp;amp;= \{x\in\R\,|\,a&amp;lt;x&amp;lt;b\}, \\{} [a,b) &amp;amp;= &amp;amp;[a,b[ &amp;amp;=\{x\in\R\,|\,a\le x&amp;lt;b\}, \\ (a,b] &amp;amp;= &amp;amp;]a,b] &amp;amp;= \{x\in\R\,|\,a&amp;lt;x\le b\}, \\{} [a,b] &amp;amp; &amp;amp; &amp;amp;= \{x\in\R\,|\,a\le x\le b\}. \end{align} $</span>

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Frédéric Wang

unread,
May 4, 2012, 3:05:49 AM5/4/12
to
>
> This doesn't seem to work correctly in Firefox 10. An example:
>
> http://en.wikipedia.org/wiki/Interval_%28mathematics%29#Excluding_the_endpoints
>
> where I get some "amp;" and "lt;". The source shows:
>
> <span class="tex" dir="ltr">$ \begin{align} (a,b)&amp;amp;=&amp;amp;]a,b[&amp;amp;= \{x\in\R\,|\,a&amp;lt;x&amp;lt;b\}, \\{} [a,b)&amp;amp;=&amp;amp;[a,b[&amp;amp;=\{x\in\R\,|\,a\le x&amp;lt;b\}, \\ (a,b]&amp;amp;=&amp;amp;]a,b]&amp;amp;= \{x\in\R\,|\,a&amp;lt;x\le b\}, \\{} [a,b]&amp;amp;&amp;amp;&amp;amp;= \{x\in\R\,|\,a\le x\le b\}. \end{align} $</span>
>

Yes, that's a bug in Wikimedia:
https://bugzilla.wikimedia.org/show_bug.cgi?id=36059

--
Frédéric Wang maths-informatique-jeux.com/blog/frederic
Reply all
Reply to author
Forward
0 new messages