In T98306#2881337, @Esanders wrote:Bit late to this party but <ce> seems like a very short acronym to use for a tag name http://en.wikipedia.org/wiki/ce lists just a few things it could stand for (including at least two other things in the field of chemistry).
Could we rename to <chem> and make <ce> a deprecated alias?
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Change chemistry tag name from ce to chem | mediawiki/extensions/Math | master | +4 -2 |
Related Objects
Related Objects
- Mentioned In
- T155476: VE+NWE: Add chemical symbol set into formula dialog
T153365: Support the <ce>/<chem> tag for chemical formula in VisualEditor
T155125: Replace all usages of <ce> with <chem> on wiki - Mentioned Here
- T155125: Replace all usages of <ce> with <chem> on wiki
T98306: Math extension, chemistry packages
Event Timeline
Comment Actions
I don't know enough about the topic to know how likely a structure extension is and if it should take precedence in getting the chem name. But given this extension exists now that should count for something. If it were latex based they could even share the name.
Comment Actions
Change 331672 had a related patch set uploaded (by Physikerwelt):
Change chemestry tag name ce->chem
Comment Actions
Is there a way we can search for instances of <ce> in the wild and fix them? I imagine it will only be a handful at this point.
Comment Actions
@Esanders you could use cirrussearch https://en.wikipedia.org/w/index.php?title=Special:Search&profile=default&fulltext=Search&search=insource%3A%2F%5C%3C%5Cce%3E%2F&searchToken=eoyn33djxxu6s209db520p9m0 however, there are many languages.
Comment Actions
When this is deployed, <chem> will be the recommended way to insert chemical formulas. <ce> will keep working for backwards compatibility, but should be replaced, for example using a bot. Current code that inserts or reads <ce> tags should be updated as well. Some day <ce> may be removed completely.
Comment Actions
cswiki: 0 occurences. Is there some documentation/help guide, how to use ce/chem? I think nobody on cswiki actually knows there is such an option to write chemical reactions (at least nobody editing and/or writing chemical articles). I'd like to write some help page on cswiki how to use this feature, I tried to search for some documentation on MW, but found only [[https://www.mediawiki.org/wiki/Extension:Chemistry/ChemFunctions.php|chemform doc]] (nobody didn't know about this either, but there is nothing about ce/chem), enwiki manual of style for chemistry does not contain any mention about this feature too.