in reply to Is there a module for object-oriented substring handling/substitution?
https://www.mediawiki.org/wiki/VisualEditor/WikiDom_Specification
WikiDom is a serialization of Wikitext based on JSON and optimized for transport and adaptive processing.The structure is based on two basic types of nodes, branches and leafs.
Branch nodes have child nodes and leaf nodes have content. A node can not be a branch and a leaf.
Content objects in leaf nodes use offset annotations for formatting.
|
---|
In Section
Seekers of Perl Wisdom