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

       Web browser: ---
            Bug ID: 53109
           Summary: Use data.* instead of manual JSON attribute loading /
                    saving throughout the DOM postprocessor
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

We have moved data-parsoid to data.parsoid on the DOM and save that data at the
end of DOM postprocessing. Other attributes like data-mw are currently handled
manually.

It would probably be both faster and more convenient to use data.* for those
attributes as well. The necessary support for loading and saving them is mostly
implemented in loadDataAttrib (missing: loadDataAttribs) and saveDataAttribs.
With the exception of data-parsoid, we should only load data attributes that
are actually defined by default.

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