[pmwiki-users] Config group (Was: Edit page extensions)

chr at home.se chr at home.se
Mon Apr 25 15:12:30 CDT 2005


On Mon, 25 Apr 2005, Patrick R. Michaud wrote:

> On Mon, Apr 25, 2005 at 03:26:53PM -0400, Neil Herber wrote:
> > The more I read about wiki configuration pages, the more I want to see them 
> > in their own group (say, PmConfig). 
> 
> This is... -by far-, the best proposal I've ever heard for this.
> Great job, Neil.  Almost every other name I've seen has some sort
> of potential for conflict.

Some people might wonder what a "Pm" is, and how to configure "it" ;-)

> Currently PmWiki comes distributed with the following pre-defined pages:
> 
>     Main.HomePage     - default start page
>     Main.SearchWiki   - search results page
>     Main.PageNotFound - page of text displayed if page isn't located
>     Main.WikiSandbox  - default sandbox
>     Main.SideBar      - default sidebar
>     PmWiki.*          - PmWiki documentation, but also contains
>                         PmWiki.EditQuickReference and 
>                         PmWiki.UploadQuickReference
> 
>     Main.GroupAttributes, 
>     PmWiki.GroupAttributes - pages to lock passwords on Main and PmWiki groups
>

> If we define a custom group for config pages, does that affect anything
> in the Main or PmWiki groups?  Or does everything work out okay if we
> leave all of the above pages where they are (perhaps except
> PmWiki.EditQuickReference and PmWiki.UploadQuickReference) and just add
> a PmConfig group?

I do hope we'll at least eventually move all of them into the config 
group. Btw, if it's relevant, I can post an excerpt of the config file of
wiki.lyx.org, so that we can see what tricks I had to do in order to 
move the pages to my 'Site' group. (it's for pmwiki-v1 though)

> How do we handle internationalization of these pages?

I'm not sure internationlization of page names is an issue... actually, 
maybe you could explain what the problem is in more detail? Do you mean 
how to make an edit form that can be used with all languages?

> I don't want to have a PmConfigFr group, so I'd guess the forms either
> have to be self-internationalizing (e.g., via $[phrase] markups in the
> forms themselves) or corresponding per-language forms in the PmWikiFr,
> PmWikiDe, PmWikiEs, etc. groups.  Personally I think I prefer the
> $[phrase] markups...

Another solution could possibly be to let different sections of a page be 
used for different languages. In fact, something like this would work:

(:if language english:)
bla bla bla
(:if language swedish:)
bla bla bla
(:ifend:)

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list