mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-15 11:59:54 +00:00
0fb7807e9a
In trying to fix bug 35866, I32c9eca6 changed the behavior of 'mod' to no longer cast its arguments to integers, which conventiently also solved bug 6068. However, this also broke many existing uses that depended on that casting. This change reverts 'mod' to its old behavior while still solving bug 35866, and at the same time adds a new 'fmod' operator with the new behavior to keep bug 6068 fixed as well. Change-Id: I6114c6e769119e6ced61b3b55b6f70b03b5b1ebe |
||
---|---|---|
.. | ||
ExpressionTest.php |