The other day I took the time to migrate the serializers into the latest codebase.

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/VisualEditor/modules/es/serializers/

There are lots of things we can do to finish and or complete them, but they are a good way to hit the ground running.

Some key things that need to be worked on:
The serializers depend on some static methods in es and es.Html - but are otherwise very stand-alone. We may even want to move es and es.Html (which are very general purpose libraries) to a shared library that the parser and es code can both depend on.

- Trevor

On Thu, Oct 27, 2011 at 1:38 PM, Gabriel Wicke <wicke@wikidev.net> wrote:
Hi,

today I started to look into generating something closer to WikiDom from the
parser in the ParserPlayground extension. For further testing and parser
development, changes to the structure will need to be mirrored in the
current serializers and renderers, which likely won't be used very long once
the editor integration gets underway.

The serializers developed in wikidom/lib/es seem to be just what would be
needed, so I am wondering if it would make sense to put some effort into
plugging those into the parser at this early stage while converting the
parser output to WikiDom. The existing round-trip and parser testing
infrastructure can then already be run against these serializers.

The split codebases make this a bit harder than necessary, so maybe this
would also be a good time to draw up a rough plan on how the integration
should look like. Swapping the serializers will soon break the existing
ParserPlayground extension, so a move to another extension or the wikidom
repository might make sense.

Looking forward to your thoughts,

Gabriel


_______________________________________________
Wikitext-l mailing list
Wikitext-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l