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

            Bug ID: 71061
           Summary: mw.ustring.gmatch does not find all matches on HHVM
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
               URL: https://test2.wikipedia.org/wiki/Lua_in_HHVM
                OS: All
            Status: NEW
          Keywords: hhvm
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

When trying HHVM, I noticed pages using [[cs:Module:Diagram]] on cswiki
displayed script error. After testing a little bit, it seems mw.ustring.gmatch
sometimes terminates its search prematurely (and returns a shorter list than it
should).

On the linked test2 page, the diagram (taken from cs) sometimes render
correctly, sometimes renders only partially (some data is ignored), sometimes
results in Script error ("no slices found - can't draw pie chart"), as _no_
data at all is found by the mw.ustring.gmatch( slicesStr or '', "%b()" ) input
parser.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to