00076: generalize $DefaultGroup

Summary: generalize $DefaultGroup
Created: 2004-10-07 12:29
Status: Closed
Category: Feature
From: PRZ
Assigned:
Priority: 1
Version: All
OS:

Description: In the pmwiki.php code, change the Main.AllRecentChanges occurence by $DefaultGroup.AllRecentChanges to finalize the $DefaultGroup propagation.

Also, in the template Main.SideBar shall be changed by $DefaultGroup.SideBar.

It can also be replaced by $DefaultGroup.$SideMenu (see PITS.00077)


Several months ago there was a discussion about how strongly $DefaultGroup should propagate, and it was decided that the current implementation is best [1]. The problem with the above is that new administrators are often surprised when changing $DefaultGroup causes the SideBar, AllRecentChanges, SearchWiki, etc. to (silently) stop working. So, based on the principle of least surprise I'm going to leave the current configuration.

It's probably worth a Cookbook.MainGroupChange recipe to tell someone how to move these items to another group. --Pm

At least for the SideBar this should not be a problem. We could still change the templates to do <!--wiki:$Group.SideBar $DefaultGroup.SideBar Main.SideBar--> Balu


See :