| hoo added a comment. |
In T138717#2811406, @Lydia_Pintscher wrote:Does anyone of you know what we need to do to fix this?
The <math> tag needs to be preprocessed if outputted by Lua. The math formatter can hardly do that: Preprocessing depends on the concrete Parser instance.
Also we run into problems here because we probably don't want to pollute our wikitext output with that.
In theory we could special case this either on the PHP side or in Lua and run the wikitext through Parser::preprocess or frame:preprocess respectively. For that we probably want to have another callback on the data type definition that allows us to determine whether the outputted wikitext needs preprocessing or not (that's also quite ugly?).
TASK DETAIL
EMAIL PREFERENCES
To: hoo
Cc: Lydia_Pintscher, daniel, Physikerwelt, Aklapper, Zppix, hoo, Lucie, Debenben, D3r1ck01, Izno, Wikidata-bugs, Prod, aude, fredw, Pkra, jayvdb, Ricordisamoa, scfc, Mbch331, Jay8g, Ltrlg
Cc: Lydia_Pintscher, daniel, Physikerwelt, Aklapper, Zppix, hoo, Lucie, Debenben, D3r1ck01, Izno, Wikidata-bugs, Prod, aude, fredw, Pkra, jayvdb, Ricordisamoa, scfc, Mbch331, Jay8g, Ltrlg
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
