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

       Web browser: ---
            Bug ID: 60006
           Summary: Purge cacheKey from data-parsoid before dumping DOM
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: DOM
          Assignee: gwi...@wikimedia.org
          Reporter: ssas...@wikimedia.org
                CC: jforres...@wikimedia.org, ssas...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

See example below:

[subbu@earth lib] echo "[[Image:Foo.jpg|thumb|200px]]" |node parse
<body data-parsoid='{"dsr":[0,30,0,0]}'><figure typeof="mw:Image/Thumb"
data-parsoid='{"optList":[{"ck":"thumbnail","ak":"thumb"},{"ck":"width","ak":"200px"}],"cacheKey":"[[Image:Foo.jpg|thumb|200px]]","dsr":[0,29,2,2]}'><a
href="./File:Foo.jpg"
data-parsoid='{"a":{"href":"./File:Foo.jpg"},"dsr":[2,27,null,null]}'><img
resource="./File:Foo.jpg"
src="//upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/200px-Foo.jpg"
height="131" width="200"
data-parsoid='{"a":{"resource":"./File:Foo.jpg","height":"131"},"sa":{"resource":"Image:Foo.jpg","height":""}}'/></a></figure>
</body>

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