[pmwiki-users] Problem with URLapprove
chr at home.se
chr at home.se
Mon Jun 13 15:36:35 CDT 2005
On Mon, 13 Jun 2005, Patrick R. Michaud wrote:
> I dunno, I should probably fix this.
> > The second thing I wonder is why you've got 'Main' hardcoded? If this
> > shouldn't be the same as $DefaultGroup, I really think we should introduce
> > a separate variable name for this - if nothing else, $MainGroup,
> > $ConfigGroup or $SiteGroup. I think we had this discussion a while back,
> > but I can't remember any of the useful names we came up with.
> Well, it all comes down to the same thing as has been discussed before...
> Then one day they decide they really want to have people start in the
> 'XYZ' group instead of 'Main', so they set $DefaultGroup='XYZ' in
> config.php, and later discover.
> It just ends up being too many things tied to what new administrators
> expect $DefaultGroup to do.
> However, since since lots of people seem to want to easily move things
> from Main into other groups, I'm open to introducing another variable
> (along the lines of $MainGroup, $UtilGroup, or $SiteGroup) that indicates
> the group where these "utility" pages are being kept. It'd still be
> up to the admin to actually move things into the new group when
> the variable is changed.
Would there be any drawback to changing hardcoded "Main"-strings into
$UtilGroup or $SiteGroup (execept that we'd have to choose a name)? This
variable would of course be set to 'Main' by default.
How about $PmWikiConfigGroup? It's a pity $PmWikiGroup sounds too much
like it'd just point to /PmWiki/ (perhaps with a language twist)
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users