= Previous description
Right now, it just dumps MathML ([[ https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&prop=extracts&titles=Planck%20constant | example ]]) which might not necessarily be what users want.#textextracts:
There is an page preview boxes on russian wiki site. On those boxes math symbols are not rendering correctly, so it displayed as some ANSI symbols within text tag {\displaystyle}.* Strips the fallback images from the output of the Math extension; At the same time all the math symbols and formulas displayed correctly if just open the page by the link. So the issue is only to this preview page dialog. This issue may be reproduced on another language versions on which preview page dialogs is also in useand
* Flattens the `<span style="display: none;">` container element that wraps the `math` element and its children.
Environment: Win 7 x64 sp1, IE 11.0.20, FF 53.0 (32bit)The result is that HTML and plain text extracts contain the alt text of the MathML, Chrome 57.0.2987.133e.g.
= Steps to Reproduce:
1. Open some wiki page (on russian site), e.g. https://ruen.wikipedia.org/wiki/Python
2. Hover mouse over the link to page with some math, e.g. look foor "комплексное число"/api.php?format=jsonfm&action=query&prop=extracts&titles=Planck%20constant
Actual Results: Math formulas are not rendering, so it displays as below:and
> "Ко́мпле́ксные чи́сла — числа вида {\displaystyle x+iy} x+iy, где {\displaystyle x} x и {\displaystyle y} y — вещественные числа, {\displaystyle i} i"
{F7668233}
Expected Results: Math symbols & formulas should be displayed in rendered view== AC
* `math` elements (and their children) are stripped.
* `img.mwe-math-fallback-image` and `img.mwe-math-fallback-image-inline` elements aren't stripped from HTML extracts.
* Plain text extracts behave as before, i.e. the alt-text of the MathML markup is still renderered in plain text extracts.