Related Gerrit Patches:
|mediawiki/extensions/AbuseFilter : master||Tweak the result of unary minus on non-numbers, expand int-like list|
|mediawiki/extensions/AbuseFilter : master||Expand the list of types that can be cast to int|
Hm, well, we could add those as well. As for strings... We should cast '1.2' to float, '123' to int, and '1.0' to float. It shouldn't be super-hard. Re-opening, although I cannot patch this right now.