Last modified: 2013-02-18 10:56:29 UTC
It would be great, if there would be a very simple XML output/skin to be used with XSLT. I mean a wiki text like ==Header== *a *b<ref name="ref">[http://example.com/ Reference]</ref> text <refences/> could be rendered to something like <mediawiki title="Wikipedia" wgArticlePath="/wiki/$1" . . .> <user name="127.0.0.1" id="" newmessages="true" . . . /> <sidebar> . . . </sidebar> <page wgArticleId="4711" wgTitle="Test" wgCanonicalNamespace="" . . . /> <content wgCurRevisionId="31173"> <h indent="2" achnor="Header">Header</h> <list type="unordered"> <li>a</li> <li>b<ref name="ref"/></li> </list> <p>text</p> <references/> </content> <references> <ref name="ref"> <link href="http://example.com/">Reference</link> </ref> </references> </page> . . . </mediawiki> so that a really custom skin could be created. I don't know if this would be posible. Maybe it would break with too many existing extensions. The <content> would almost be the same as it's now with HTML. I know, a new skin would not be enough to achieve my proposal.
XSLT use to be fun years ago. Given the complexity of managing XSLT / XML output, we are not going to ever implement such support.