Last modified: 2013-09-10 16:39:09 UTC
In non-PNG rendering, \sim is rendered as ~ or ∼ depending on whether it is preceded by a blank space (or a letter) or not. * <math>\sim</math> gives ˜ * <math> \sim</math> gives ∼ There's an even blatant case but it seems to happen only in Chinese Wikipedia: <math>A/\sim</math> and <math>A/ \sim</math> gives different results.
What is the non-PNG rendering? If that's the old "HTML for simple math" mode that has been removed, then I think this bug entry can be closed.
This bug is OLD! I can't remember very well. The answer is probably "Yes" but I think it was possible to render in MathML. Anyway, if PNG is the only rendering now and in the future, then yes, please close this bug.
There are other modes, TeX Source, MathJax and LaTeXML and the others are deprecated. I'm not sure exactly which are enabled on Wikipedia, but the MathJax one certainly is.
As long as <math>\sim</math> and <math> \sim</math> give the same rendering now (and hopefully it won't regress in the future), I'm ok with it. I have just tested <math>A/\sim</math> and <math>A/ \sim</math> in Chinese Wiki, and the problem has gone away as well. So far so good :)