Brion Vibber wrote:
A bigger deal will probably be actually changing
structures that don't
render consistently, and that'll depend on how brave we are changing nested
template & table structures to fit a hierarchical document model.
We've basically got two levels of stuff:
* parsing wiki markup into a document structure that's useful for editing
* using the document structure to render HTML output or an editing
environment
Our classic MediaWiki parser does only a tiny bit of the first in the
preprocessor, and then leaves a lot more of our markup to the transformation
layer, which is how we end up with things like templates that expand into an
HTML tag opener, of which which some adjacent templates contain the contents
and endings.
If we can devise a way to consistently treat expansions that *aren't* a
hierarchical match fro the HTML node tree, then we might not have to change
templates much. If we can't, then we might have to start enforcing
hierarchical template & other code nesting and go through and migrate a
bunch of existing templates.
-- brion
{{Open template}} text {{Close template}} structures are IMHO a big
problem for any WYSIWYG editor.
But there's no way they are going away.