On Wed, 25 Apr 2012 09:09:31 -0700, Daniel Kinzler <daniel(a)brightbyte.de>
wrote:
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
text/vnd.mediawiki.wikitext
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]