https://bugzilla.wikimedia.org/show_bug.cgi?id=62291

            Bug ID: 62291
           Summary: The seed for math.random() should be reset before
                    #invoke
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: orlod...@wiki256.net
                CC: bjor...@wikimedia.org, tstarl...@wikimedia.org,
                    vasi...@gmail.com
       Web browser: ---
   Mobile Platform: ---

Since the seed is not reset, math.random() can be used to propagate a global
state between indenpendent module invocations, which should be avoided.

Example:
http://fr.wikipedia.org/w/index.php?title=Module:Sandbox&oldid=101826839

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to