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

       Web browser: ---
            Bug ID: 47291
           Summary: Cloned Cite object does not clear if the parser was
                    cloned inside a <ref> or <references>
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Keywords: patch-in-gerrit
          Severity: normal
          Priority: Unprioritized
         Component: Cite
          Assignee: bjor...@wikimedia.org
          Reporter: bjor...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

If the parser is cloned inside a <ref> or <references> tag (e.g. if the first
call to MessageCache::getParser() in the page is due to a message inside one of
those tags), then the cloned Cite object created in Cite::cloneState() will
have mInRef or mInReferences true and therefore the call to Cite::clearState()
will not actually clear the Cite object.

-- 
You are receiving this mail because:
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