Brad Jorsch <> changed:

           What    |Removed                     |Added
           Keywords|                            |easy

--- Comment #1 from Brad Jorsch <> ---
Since math.random is supposed to be an interface to the C rand() function,[1]
and that function is explicitly defined as being seeded with 1 if srand
(math.randomseed) hasn't been called,[2] I'd suggest fixing this by calling
math.randomseed( 1 ) at the top of mw.executeFunction() (in

If no one objects in a reasonable period of time (and no one beats me to it),
I'll submit a Gerrit change to do this at some point in the not-too-distant


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

Reply via email to