It should be very simple: It would enter the source wiki and show the Markdown code by default, but would have an option to preview your page in another tab.
Basic features:
+
* wikilinks, maps, images, inlinepages, and other basic functions should all work in the preview
* perhaps use local.css to format preview
* See the DVCS history with diffs and all