Only roundtrip through parsoid for wikitext when necessary

Change-Id: I22597de676965d3fdf927ae3a04bbe3fb44b42ab
Merge "Only roundtrip through parsoid for wikitext when necessary"