[Pmwiki-users] GroupHeader and bullet

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 5 09:02:08 CDT 2003


On Thu, Jun 05, 2003 at 05:58:51AM -0400, John Coxon wrote:
> Hi from a new PmWiki user who just loves it. I'm not a programmer but 
> am enjoying following the discussions here.
> 
> One little quirk I've discovered:
> 
> I often use a [----] horizontal rule at the end of my GroupHeader page. 
> If a page within the group then begins with a bullet it renders as an 
> [*] UNLESS the horizontal rule in the GroupHeader is followed by a 
> return or two. See an example at http://coxontool.com/reference
> 
> So I taught myself to add the return - no big deal - however I find 
> that each time I open the GroupHeader to do an edit, the return is 
> removed. Actually one return at a time - if I put in several, one is 
> removed each time it's opened.  Is there a simple fix for this?

Yup--PmWiki shouldn't be chopping off the return.  I'll have to look at 
the code to see why that's happening.

> I keep finding more and more uses for PmWiki, mostly private for now 
> though some will go public once I develop layouts I'm happy with. I can 
> see that with all these wikis running, it's going to be a bit of a 
> hassle at upgrade time. Is there a relatively simple way I can run them 
> all from one set of scripts with separate data files and localizations?

This is exactly why I created WikiGroups--I also found myself creating
lots of wikis and it became a real pain at upgrade time.  With WikiGroups,
each group can have its own localization file held in "local/Group.php"
where 'Group' is the name of the WikiGroup.

However, if that's not good enough, there's another way to do it on Unix
systems:  you could have one "master directory" containing the PmWiki software,
and then for each sub-installation simple create a directory that contains
symbolic links to the pmwiki.php, scripts, and wikilib.d directories.  
Each sub-installation would run from its own directory (with its own
wiki.d and local.php), but would use the shared software and files in the
master directory.  Then upgrading would only be needed in the master directory.

However, I think that WikiGroups is probably better.  I know that one
PmWiki user is actually using a single PmWiki installation to support
wikis on separate virtual hosts, so even that's possible.

Pm




More information about the pmwiki-users mailing list