Last modified: 2013-11-03 09:05:33 UTC
{{#switch: 1.20 |1.1=a |1.2=b |1.10=h |1.20=t }} --> b {{#switch: 1.10 |1.1=a |1.2=b |1.10=h |1.20=t }} --> a I don't know when this happened, but it happened recently I think.
Not a regression; this was probably always broken because of the use of == instead of === in the relevant parts of the code. In fact, this is documented at <https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#Comparison_behaviour>. Fixing this may break compatibility with existing wikitext.
Of course, that's not to say I like the current behavior: it can make the result depend on PHP_INT_MAX! {{#ifeq:4000000000000000000|4000000000000000001|32-bit|64-bit}}