• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

  • 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://svn.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://svn.twiki.org/do/view/Bugs/Item1190?skin=text&raw=on&contenttype=text/plain

http://svn.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://svn.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

ItemTemplate
Summary Missing ClassicSkin and PlainSkin topics
ReportedBy PeterThoeny
Codebase

SVN Range Wed, 14 Dec 2005 build 7851
AppliesTo Extension
Component ClassicSkin, PlainSkin
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 7900 7927 7928 8092 8093
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2006-01-07 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback