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

--- Comment #1 from [email protected] ---
As for data-mw, moving inlined data-mw into a single global data-mw JSON (or
JSON-LD) object with information about all typed nodes might be a good
intermediate fix. 

data-mw = {
  "#mwt1" : {
    @type: "mw:Transclusion"
    target: {...},
    params: {...}
  },
  #mwt2": {
    @type: "mw:Extension"
    target: "math",
    attrs: {...},  // or could be called params as well
    body: {...}
  },
  ...
}

This way, the DOM and data about DOM will be separate and can also be served
separately if necessary, or clients that dont care about this information can
completely ignore this without bloating the DOM itself.  It also eliminates one
level of escaping and can be processed concurrently by clients like VE.

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