Hi,
some time ago I saw on this list an GET option, which causes the output of the wiki text instead of the rendered version. Since I cannot remember how it was named, can someone please tell me?
Some thing like "&export=wiki" or "&feed=plain" or...
Thanks,
- Moritz
some time ago I saw on this list an GET option, which causes the output of the wiki text instead of the rendered version. Since I cannot remember how it was named, can someone please tell me?
Some thing like "&export=wiki" or "&feed=plain" or...
Wiki pages have a footer "Download in other formats / Plain text" and the plain text is a link to the wiki page with "?format=txt". Is that what you're talking about?
On Mon, 14 Mar 2005 13:30:52 +0100, Juanma Barranquero lekktu@gmail.com wrote:
some time ago I saw on this list an GET option, which causes the output of the wiki text instead of the rendered version. Since I cannot remember how it was named, can someone please tell me?
Some thing like "&export=wiki" or "&feed=plain" or...
Wiki pages have a footer "Download in other formats / Plain text" and the plain text is a link to the wiki page with "?format=txt". Is that what you're talking about?
I think you're muddling lists again! There's no link to "other formats" in MediaWiki, and the URL Moritz is looking for is ...&action=raw. Note that this sense a content-type of "text/x-wiki", mainly so that browsers will treat it as unknown format and suggest downloading.
Rowan Collins wrote:
I think you're muddling lists again! There's no link to "other formats" in MediaWiki, and the URL Moritz is looking for is ...&action=raw. Note that this sense a content-type of "text/x-wiki", mainly so that browsers will treat it as unknown format and suggest downloading.
Actually, it's specifically a protection against content-type sniffing in broken browsers like Internet Explorer and Safari. I'd prefer to serve the material as text/plain so it could display inline in the browser, but these browsers would then detect the presence of HTML tags, opening up cross-site scripting attacks and other fun security problems.
Anyway, in addition to action=raw we have Special:Export, which can be used to bundle up one or more pages at once in a simple XML wrapper format which contains some metadata (timestamp, username of last editor, the summary comment, if it was a minor edit, etc).
-- brion vibber (brion @ pobox.com)
I think you're muddling lists again! There's no link to "other
Yeah, sorry. I was thinking of Trac again. Three hours of sleep time are doing wonders for my ability to detect and react accurately to my environment :( :) (My only, lame excuse is that Trac has a wiki too...)
I will take more coffee before writing anything more.
Thanks, /L/e/k/t/u
It may have been "&action=raw", e.g. http://en.wikipedia.org/w/index.php?title=Wiki&action=raw .
-- Zigger
On Mon, 14 Mar 2005 12:48:31 +0100, Moritz Karbach wrote:
.. some time ago I saw on this list an GET option, which causes the output of the wiki text instead of the rendered version. Since I cannot remember how it was named, can someone please tell me?
Some thing like "&export=wiki" or "&feed=plain" or... ..
mediawiki-l@lists.wikimedia.org