On 25.04.2012 19:10, Brion Vibber wrote:
On Wed, Apr 25, 2012 at 10:07 AM, Gabriel Wicke
<wicke(a)wikidev.net
<mailto:wicke@wikidev.net>> wrote:
On 04/25/2012 06:42 PM, Brion Vibber wrote:
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.
This was pretty much the reason why I picked it for action=raw back then.
I like Daniel's idea to use something more specific to MediaWiki though.
Maybe text/x-mediawiki?
I'm down with that. :)
Well... changing the mime type now might break a bunch of clients that rely on
it, no? At least in cases where it's actually used in a ContentType header.
For practical reasons, I suggest to stay with application/x-wiki, and make
action=raw use that too, unless ctype=text/x-wiki. then it should use
text/x-wiki in the ContentType header too.
-- daniel