mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-26 09:15:23 +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 |
||
---|---|---|
.. | ||
CommonTest.php | ||
CommonTests-data-fail1.lua | ||
CommonTests-data-fail2.lua | ||
CommonTests-data-fail3.lua | ||
CommonTests-data-fail4.lua | ||
CommonTests-data-fail5.lua | ||
CommonTests-data.lua | ||
CommonTests.lua | ||
HtmlLibraryTest.php | ||
HtmlLibraryTests.lua | ||
LanguageLibraryTest.php | ||
LanguageLibraryTests.lua | ||
LuaDataProvider.php | ||
LuaEngineTestBase.php | ||
LuaEnvironmentComparisonTest.php | ||
LuaInterpreterTest.php | ||
luaParserTests.txt | ||
MessageLibraryTest.php | ||
MessageLibraryTests.lua | ||
SiteLibraryTest.php | ||
SiteLibraryTests.lua | ||
TestFramework.lua | ||
TextLibraryTest.php | ||
TextLibraryTests.lua | ||
TitleLibraryTest.php | ||
TitleLibraryTests.lua | ||
UriLibraryTest.php | ||
UriLibraryTests.lua | ||
UstringLibraryNormalizationTests.lua | ||
UstringLibraryTest.php | ||
UstringLibraryTests.lua |