https://bugzilla.wikimedia.org/show_bug.cgi?id=36089
--- Comment #1 from Markus Krötzsch <[email protected]> 2012-04-19 12:35:42 UTC --- Yes, using floatval there is wrong. The fix should be to give an integer (it is a namespace id after all). I would not insert code to try and convert floats to integers; it's the callers fault to pass a float as a namespace (PHP is just far too friendly in such cases; somebody passing a float as a namespace id is clearly confused and should be informed as early as possible). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
