# Projects

User does not belong to any projects.

# User Details

User Since
Jul 14 2016, 9:38 AM (188 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User

# Wed, Feb 19

OK. I think we understand the LaTeX commands allowed in MediaWiki quite well.

# Jul 24 2018

@Physikerwelt How exactly does that work? What are these "warning information from restbase"?

# Jun 10 2018

@Debenben Thank you for the mhchem list. Does this include all <chem> and <ce> tags? And all math including \ce{}? (It probably doesn't include $\ce H$, but they are a no-brainer to me, so we don't need them.) BTW, equations are still cut-off before a containing >. I guess I can't easily run that extraction on my own but would need to ask you if I need an updated list in a year's time?

# Jun 7 2018

@Pkra Exactly! That's why I was asking what update strategy you see.

@Debenben Your estimation might be right if you compare 'texvcjs + legacy mhchem' (current) with 'legacy mhchem'. I compared 'texvcjs + legacy mhchem' (current) with 'up-to-date mhchem'. The issue is, that users added quite a lot of braces to pass through texvcjs. But braces in mhchem syntax have a (rarely used) special meaning that was not properly implemented in legacy mhchem. I'd be fine to approach this step by step. But the goal should be to use the current mhchem version, at the end.

# Jun 6 2018

Thanks for the <chem> examples. They might not be the best choice semantically, but they show that we have a severe issue with <chem>. I estimate that 90% of all usages will render differently without texvcjs. Users really were creative in their attempts to circumvent unexpected output. I don't see a chance to create an automatic conversion tool (except this tool contains a few generic rules and 900 replacements that fit just one instance). So, I would be very interested, what update strategy you see. If it would be possible to have old and new renderings active at the same time, we could auto-rename all <chem> to <chemold> and then, in a manual process, I (hopefully with a little bit of help by the community) could convert them until there is no <chemold> remaining, at which point it could be switched off.

# May 30 2018

mhchem updated the task description for T195861: Create a committee to improve the math support in Wikimedia projects.

I am in!

# Jan 14 2018

mhchem added a comment to T184880: texvcjs - Find solution for other commands within \ce.

Is the wrong rendering of <chem>X + Y + {\alpha}-Z</chem> (where the presence of alpha modifies the rendering of the +) related or is this a separate bug?

mhchem added a comment to T184879: Fix \ce grammar with macros above/below texts .

Weirdly enough, this is not reset by opening a new \ce. I strongly suggest, each \ce starts its own grammar parsing.
Example: <math chem>\ce{A + B ->[\text{a}] C + D} \quad \ce{C + D}[/itex] Both ocurrences of C + D are rendered wrongly.

# Jan 13 2018

mhchem added a comment to T140217: Adjust texvcjs to prevent whitespace modifications in ce-tags.

# Jul 18 2016

mhchem added a comment to T12186: texvc strips whitespace required to render certain macros.

This issue is now handled in https://phabricator.wikimedia.org/T140217

mhchem added a comment to T140217: Adjust texvcjs to prevent whitespace modifications in ce-tags.

@Physikerwelt @csteipp
I created a grammar for checking the validity of \ce arguments.
https://raw.githubusercontent.com/mhchem/MathJax-mhchem-validity-syntax/master/mhchem-strict-simplified.grm

# Jul 14 2016

mhchem added a comment to T140217: Adjust texvcjs to prevent whitespace modifications in ce-tags.

@Physikerwelt Seems I have to learn quite a lot here. I did not even know that texvc's purpose is security. Can you point me to documentation? What threats are you protecting against by removing whitespace as input for a JS package?

mhchem added a comment to T140217: Adjust texvcjs to prevent whitespace modifications in ce-tags.

The description is quite correct. mhchem input syntax is not LaTeX syntax.

• $\ce{^227_90Th+}$
• $\ce{X_$i$^$x$}$

Whitespace has a syntactic meaning.

• $\ce{H-C}$ differs from $\ce{H - O} differs from$\ce{H-}\$ (- becoming a bond, a minus operator or negative charge)

Even braces have a synactic meaning.