25 Apr 2012 18:09
Mime-Type for wikitext
Daniel Kinzler <daniel <at> brightbyte.de>
2012-04-25 16:09:31 GMT
2012-04-25 16:09:31 GMT
Hi all! I just noticed that MediaWiki uses two different mime types for wikitext: * application/x-wiki is used by AjaxResponse, OutputPage and StreamFile. * text/x-wiki is used by RawAction.php (i.e. when you use action=raw) Is there a good reason for this, or is it just an oversight? I suggest to use the same mime type everywhere, and keep the old one for compatibility reasons - i.e. we should use application/x-wiki consistently, and RawAction could support text/x-wiki as an alias. That being said... the *correct* mime type would imho be application/x-mediawiki. But i don't insist on it :) -- daniel
RSS Feed