Tim Starling wrote:
I propose removing message mode, which obviously has never been reviewed or tested properly, and replacing it with preprocess mode. So instead of calling transformMsg() twice, messages will be transformed by calling preprocess() once.
Preprocess mode at least gets some eyeballs on it due to its use in Special:ExpandTemplates, where there is a strict expectation of consistency with HTML mode. It works in a reasonably intuitive way: templates and template arguments work in basically the same way as in HTML mode, it's just XML-style extensions that get skipped.
Sounds good...
-- brion