mediawiki-extensions-Scribunto/tests/engines
Brad Jorsch 708d87c181 Prevent passing information between #invokes using math.random
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
2014-04-01 13:46:09 -04:00
..
LuaCommon Prevent passing information between #invokes using math.random 2014-04-01 13:46:09 -04:00
LuaSandbox Update phpunit @group annotations 2013-11-01 11:56:24 -04:00
LuaStandalone LuaStandalone: Release functions when no longer referenced 2014-02-25 22:59:05 +00:00