TWikiScripts has this documentation:
For historical reasons, the view script has a special interpretation of the text skin. In earlier TWiki versions the skin=text parameter was used like this: http://.../view/MyWeb/MyTopic?skin=text&contenttype=text/plain&raw=on
which shows the topic as plain text; useful for those who want to download plain text for the topic. Using skin=text this way is DEPRECATED, use raw=text instead.
The
view?raw=text
only covers the
raw=debug
functionality. The
raw=on
functionality is missing, it returns the raw text as seen in edit mode, e.g. without meta data. The
skin=text&contenttype=text/plain&raw=on
can be retired in the future, but another command with same functionality should be provided. Not sure what a good parameter value is, possibly
view?raw=edit
.
--
PTh
Are you seeing a bug with
raw=on
? It works fine for me, and is documented in the parameters to the
view
script.
Discarded.
CC
May be I did not express myself clearly. We need two different "raw views", one returning text with meta data (same as file; implemented with
raw=text
), and one without (same as when editing a topic; missing implementation). Both as plain text, without a textarea.
--
PTh
To get a feel for the degree of confusion in Cairo around this issue see
http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item450
.
You are right, and
Item1212 was an error, so I reverted it.
raw=text
was always intended to return the text field of the topic. What I really needed to do was add
raw=all
to show metadata as well. Though it escapes me why anyone would want to view
raw=text
(new definition)
SVN 8324
CC