mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 08:14:09 +00:00
708d87c181
It's possible to pass information between multiple #invokes on a page by having the first call math.randomseed with one of a set of known seeds and then having the second examine the output from math.random to determine which of those known seeds was used. Prevent that by calling math.randomseed( 1 ) when invoking (see the bug for details on why that seed). But avoid doing so if e.g. a frame:expandTemplate() call results in a recursive invoke. Bug: 62291 Change-Id: Id01cb63eca52ced29bf4efebc38beb9f159b7b0e |
||
---|---|---|
.. | ||
engines |