http://develop.twiki.org/~develop/cgi-bin/search/Main/?search=variable;skin=plain
returns
TWiki Installation Error
Incorrect format of search template (missing sections? There should be 4 %SPLIT% tags)
--
SD
The purpose of the plain skin is just to view topics without page decoration. I do not recall that there is a link to search with the plain skin. Do you have a need for that?
Hmm, there is a bug, it should fall back to the classic skin if a skin template is not available.
Compare with Cairo code:
http://twiki.org/cgi-bin/search/Sandbox/?search=variable&skin=plain
--
PTh
Filed
Item1301
--
PTh
This is a problem with the default search template. This defines various macros, and then includes the "view" template. The plain view template doesn't expand the macros - it is a simple view. Since the code assumes the existence of the SPLIT tags in the text, it fails.
The templates in Cairo worked differently (they didn't have this delegation of responsibility to the view template).
We could revert the search template to the old "big" form, but by so doing we throw away all Arthurs work in rationalising the templates. Or we could throw away view.plain.tmpl - I'm not sure why we have it, TBH. Or we can redefine view.plain.tmpl so it fits with the other templates.
Decided to change vaiew.plain.tmpl so it fits with the default templates. If plain is going to be a skin, it really should be shaved off into a Contrib.
CC