https://bugzilla.wikimedia.org/show_bug.cgi?id=44555
Web browser: ---
Bug ID: 44555
Summary: Expose wikitext of template parameters and add basic
editing support
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/DOM
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Expose template parameters in a JSON array as described in
https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Non-semantic_parameter_editing,
so that the Visual Editor folks can start playing with it.
In a second step, add basic editing support without escaping.
Finally, add escaping for template parameters.
Editing support for page content caught up in a multi-template DOM structure is
something we should probably defer for now. It would either require *very*
powerful escaping logic (I'd venture the guess that it is actually possible
with template interaction), or a wrapper extension tag that enforces DOM
nesting for the entire block in both the PHP parser and Parsoid. Until we have
that, we should still expose the content as strings as in the spec to provide
read-only wikitext context for editors, but ignore changes to those strings
when serializing modified template content.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l