Page MenuHomePhabricator

HTML Tags are stripped from extension output
Closed, ResolvedPublic

Description

Author: physik

Description:
Some HTML Tags are stripped from extension output on betalabs even though the "markerType" => 'nowiki' is used to prevent the output from further modifications.
This problem does not happen on my local vagrant test instance.

The concrete example that can be seen on http://deployment.wikimedia.beta.wmflabs.org/wiki/User:Anomie/Sandbox
if visited as logged in visitor with MathML rendering option in your user preference section is reported as BUG 66495. But I don't know if the bug is related to the Math extension or some other effect.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=2542

Details

Reference
bz66516

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:21 AM
bzimport set Reference to bz66516.
bzimport added a subscriber: Unknown Object (MLST).

physik wrote:

Can anybody reproduce this issue?

physik wrote:

I could reproduce the bug locally by setting

$wgUseTidy=true;

It seems to be tidy bug reported as

http://sourceforge.net/p/tidy/patches/84/

before.

Change 153965 had a related patch set uploaded by Physikerwelt:
Protect MathML from Tidy

https://gerrit.wikimedia.org/r/153965

Change 154083 had a related patch set uploaded by Physikerwelt:
Protect MathML from Tidy

https://gerrit.wikimedia.org/r/154083

Change 153965 abandoned by Physikerwelt:
Protect MathML from Tidy

Reason:
Abandon in favour of Ib48b91238c3eddd6a86b62f6ce57801d7058f0d8.
Thanks to TheDJ for the tip.

https://gerrit.wikimedia.org/r/153965

physik wrote:

*** Bug 66495 has been marked as a duplicate of this bug. ***

Change 154083 merged by jenkins-bot:
Protect MathML from Tidy

https://gerrit.wikimedia.org/r/154083

Danny_B removed a subscriber: wikibugs-l-list.