In https://gerrit.wikimedia.org/r/#/c/mediawiki/services/mathoid/+/447558/3/test/features/math/simple.js the warning feature was implemented. In https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Math/+/442124/ the warnings are displayed as tracking categories. However, in the middle, I guess in restbase the information is lost. For testcase
curl -X POST "https://en.wikipedia.org/api/rest_v1/media/math/check/chem" -d "type=chem&q=\ce {pH=-\log _{10}[H+]}" {"success":true,"checked":"{\\ce {pH=-\\log _{10}[H]}}","requiredPackages":["mhchem"],"identifiers":["p","H","H"],"endsWithDot":false}
I do not see a warning. I guess somewhere in this file
https://github.com/wikimedia/restbase/blame/master/v1/mathoid.yaml
or close to this file one need to specify that the warning field is preserved.
I do not exactly know how to do that. @mobrovac @Pchelolo @Clarakosi any idea?