- The PlainSkin topics is missing.
- The ClassicSkin needs new screen shots (see Item588)
- The PlainSkin topic should explain its use (get rendered text without decoartion; get unredered raw text (how))
--
PTh
ClassicSkin should be part of
ClassicSkinContrib, which is automatically installed with a new release.
This was corrected in SVN 7879
What is
PlainSkin? Why do we need it?
CC
Yes, plain skin is needed, for example by TWiki applications that want to include or iframe another topic without page decoration. Example:
http://mail.twiki.org/do/view/TWiki/TimBernersLee?skin=plain
In fact, another skin needs to be documented as well:
text
skin (
TextSkin) is similar to
plain
skin, but without the html header. Example use to get the raw text without/with meta data:
http://mail.twiki.org/do/view/Bugs/Item1190?skin=text&raw=on&contenttype=text/plain
http://mail.twiki.org/do/view/Bugs/Item1190?skin=text&raw=debug&contenttype=text/plain
--
PTh
I had to change above variables from
%SCRIPTURL{view}%
to
%SCRIPTURL%/view%SCRIPTSUFFIX%
due to bug
Item1197
--
PTh
text
is
not a skin. Like
rss
, it is a hack mode for the view script only, and as such is documented in
TWikiScripts. I cleaned up the code so that the text of the topic is recoverable by:
http://mail.twiki.org/do/view/Bugs/Item1190?raw=text
Which is supposed to provide the full source of the topic, including embedded meta-data. This is documented in
TWikiScripts.
AFAIK there is no
plain
skin. There are no template topics for it, and it is not referenced anywhere in code.
skin=plain
simply means "no skin" - you could equally write
skin=none
, or
skin=sausage
. Please don't confuse people by documenting it as a "skin" - it's isn't one, it's an
absence of a skin. I removed the plainSkin topic for this reason.
CC
Anything
twiki/templates/view.foobar.tmpl
is a skin by definition (as documented in
TWikiSkins)
The
plain
PlainSkin is useful (as described above) and should be restored so that people can discover it easily with the
TWikiSkinBrowser.
The
text
skin was not documented but is probably used "out there". Lets take this as an opportunity to document this. Again, the
TWikiSkinBrowser makes it easy for people to discover the skins and its features.
PTh
I repeat; there is
no plain
skin. Try
ls templates/*.plain.*
and you will come up empty-handed. IMHO it is misleading to document something as a skin, when it clearly isn't a skin! (it confused me for some time, until I worked it out by reading the code)
The
text
"skin", AFAICT, was a hack used to pervert the view script to view raw. Unlike
plain
it really
is a skin. You can document it as follows:
The text
skin only works when viewing a topic. It displays the text content of the topic without any screen decorations such as top or bottom bars. Meta-data, including form data, is not displayed in text
skin.
Note: If you want to view the raw text of a topic, it is better to use the ?raw=text
URL parameter, as described in TWikiScripts.
CC
If that skin is missing it needs to be added back. It was a skin in Cairo Rlease, see
TWiki:TWiki.TWikiSkinBrowser. FYI, that release had the following view skins:
view.dragon.tmpl
view.pattern.tmpl
view.plain.pattern.tmpl
view.plain.tmpl
view.print.pattern.tmpl
view.print.tmpl
view.rss.tmpl
view.text.tmpl
The only template that is not a skin is the
TWiki.ClassicSkin (
view.tmpl
); it is labelled as a skin because of the
TWikiSkinBrowser.
--
PTh
Closed in favor of
Item1336
--
PTh