Aryeh Gregor wrote:
I was assuming it would just return wikitext, and that
integrated into the page and parsed, following all limits on wikitext
(including size) -- just as with current parser functions.
That's one simple way to implement, but we may wish to consider working
with a document tree structure instead to help future-proof it against
future syntax changes (or dropping out the wiki syntax entirely). Things
to consider... :)