On Thu, Jun 11, 2015 at 7:52 PM, Corey Floyd <cfloyd@wikimedia.org> wrote:
The good news is that we don't have to worry about the wiki text or templates. Parsoid already has dealt with that and is providing additional markup. This makes it possible to do a 2 way conversion between HTML<->Wikitext for VE. The goal is to build upon that work to the same thing with "ParsoidHTML"->JSON. 

All Parsoid does is expose the wikitext structure through the HTML. It does not magically make the templates used across seven projects and nearly 300 languages (or even different sections of the same wiki) uniform.