https://bugzilla.wikimedia.org/show_bug.cgi?id=46095

Kevin Israel (PleaseStand) <pleasest...@live.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|code-update-regression      |
             Status|NEW                         |RESOLVED
                 CC|                            |pleasest...@live.com
         Resolution|---                         |WONTFIX
            Summary|[Regression] {{#switch}}    |{{#switch}} should not cast
                   |should not cast values to   |values to integers or
                   |integers or floats          |floats

--- Comment #1 from Kevin Israel (PleaseStand) <pleasest...@live.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to