It's a human-readable text format, so I'd advocate for text/x-wiki. I don't
know where or how the application/x-wiki came about.
-- brion
On Apr 25, 2012 9:09 AM, "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
_______________________________________________
Wikitext-l mailing list
Wikitext-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l