Page MenuHomePhabricator

Implement User Feedback to Round One
Closed, DuplicatePublic

Description

Implementation suggested improvements for the MathML User Feedback

Event Timeline

Change 964604 had a related patch set uploaded (by Stegmujo; author: Stegmujo):

[mediawiki/extensions/Math@master] Squash letters in operatorname and numbers in numeric scripts

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

Change 964605 had a related patch set uploaded (by Stegmujo; author: Stegmujo):

[mediawiki/extensions/Math@master] Use Mi for function names

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

Change 965071 had a related patch set uploaded (by Stegmujo; author: Stegmujo):

[mediawiki/extensions/Math@master] Remove mstyle around spacing elements

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

Change 965072 had a related patch set uploaded (by Stegmujo; author: Stegmujo):

[mediawiki/extensions/Math@master] Remove too many rows in smallmatrix

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

@Deyan could you maybe elaborate why mi is preferred over mo?

@Physikerwelt I think the spec implies that:

https://w3c.github.io/mathml/#presm_mi_desc

An mi element represents a symbolic name or arbitrary text that should be rendered as an identifier. Identifiers can include variables, function names, and symbolic constants.

as it also endorses InvisibleApply later on: https://w3c.github.io/mathml/#presm_invisibleops

Certain operators that are "invisible" in traditional mathematical notation should be represented using specific characters (or entity references) within mo elements, rather than simply by nothing.

Generally multiple alphabet letters and <mo> were not really designed for each other, I am told, which is part of what led to the invisible Unicode characters.

Ok. Maybe we better try can add the invisible apply first. Otherwise, it is worse than it was before. MatJax differentiates between operators and functions https://github.com/wikimedia/mediawiki-extensions-Math/blob/d916647b2f9ab3024152e25ae639d2d67ff90c94/src/TexVC/MMLmappings/BaseMappings.php#L414 I don't understand why det is an operator and dim is a function. I am leaning towards treating everything in that list as function.

Change 971291 had a related patch set uploaded (by Stegmujo; author: Stegmujo):

[mediawiki/extensions/Math@master] Fix liminf and limsup spacing

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