[Pmwiki-users] New Marathon skin and some questions

Patrick R. Michaud pmichaud
Tue Oct 26 11:23:35 CDT 2004


On Tue, Oct 26, 2004 at 07:03:13PM +0200, Steffen Bauch wrote:
> 
> The template file is XHTML Strict compatible, but I don't know if 
> Pmwiki2 creates XHTML Strict code, so the doctype is XHTML 
> Transitional. Can I change it to XHTML Strict?

Try it and see what happens.  If it doesn't work with XHTML Strict
then post a PITS entry and we'll take a look.  :-)

> Is there a need to include <!--HeaderText--> in the header of the 
> template? I have done so for now, but I am unsure if I should do this 
> because it adds a lot of styles I don't need. Also this styles seems 
> to belong to Pmwiki default skin. Is this wanted?

The styles that are added by <!--HeaderText--> are needed to get the
page history, indented text (->), outdented text (-<), and other markups
to work correctly.  They aren't specific to PmWiki's default skin,
but more to making sure the basic markups render properly.  (The styles
for PmWiki's default skin are in pub/skins/pmwiki/pmwiki.css.)

> At the moment I am using using devel14, I tried devel16 yesterday and 
> realized that something that was
> <pre>
> 	a
> 	b
> </pre>
> 
> now gets
> 
> <pre>	a</pre>
> <pre>	b</pre>
> This breaks my style and I think also the logical structure of the document.

You're right, this is a bug, probably introduced by the fix to PITS:00101.
I'll take a look.

> The skin still uses the old template naming, how should I change 
> everything to be pmwiki2 compatible? (especially the link of the CSS)

I don't know yet.  In all probability you will use $SkinDirUrl/<skin.css>
where <skin.css> is the name of your css file.

> Is it possibile to make a preview page of my skin in the development wiki? 

Yes, I'm planning to implement a skins gallery again as soon as I get
the skin configuration variables in order again.

> I haven't some public pmwiki2 at the moment, I just want to use 
> PmWiki as CMS and not world-writeable and have security concern 
> using a development version. 

The security in PmWiki 2 devel is at least as good as that of PmWiki 1--no
need to worry about it too much.

> Is there a way to exclude a $Group of AllRecentChanges and Search? 

Sure, $SearchPatterns will let you exclude pages or limit searches to
specific groups.

> I want to have a public part (readonly, just editable by me), 
> a non-public part (read and write by authorized users) and a 
> personal part (read and write only by me).  How should I model this 
> with pmwiki2? 

I'd create separate WikiGroups for each part.  

> Is there some advanced configuration example?

Still working on documentation, sorry.  :-|

Pm



More information about the pmwiki-users mailing list