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

       Web browser: ---
            Bug ID: 52042
           Summary: jqueryMsg uses the same astCache for all parser
                    objects
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Oh man, this was annoying to discover…

jqueryMsg uses the same astCache for all parser objects. This is apparently
expected behavior, but I'm pretty sure it's incorrect, as each parser can have
different messages under the same key.


    mw.jqueryMsg.parser.prototype = {
        ...
         * This cache is shared by all instances of mw.jqueryMsg.parser.
        astCache: {},
        ...
    }

-- 
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