[pmwiki-users] Subgroups recipe

John Rankin john.rankin at affinity.co.nz
Mon Jun 19 17:28:52 CDT 2006


On Tuesday, 20 June 2006 6:08 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Mon, Jun 19, 2006 at 10:06:30AM +1200, John Rankin wrote:
>> On Saturday, 17 June 2006 1:25 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>> >On Fri, Jun 16, 2006 at 03:48:24PM +1200, John Rankin wrote:
>> >> In hindsight, it should be called SubgroupMarkup.
>> >
>> >It's not too late to fix that.  :-)
>> >
>> I think it would be helpful. Subpage and subgroup capabilities
>> are functionally equivalent and while other wikis refer to
>> pages and subpages, the PmWiki group structure lends itself
>> more naturally to a group and subgroup interpretation, IMO.
>> 
>> So if you could rename the page, I can update the wording.
>
>Instead of renaming the page, I simply copied it from
>Cookbook.SubpageMarkup to Cookbook.SubgroupMarkup.  This
>leaves the history intact, and you can update the two pages
>as appropriate.
>
Patrick

Could you activate the recipe for SubgroupMarkup and all
pages in the Cookbook.SubgroupMarkup subgroup, please?
The subgroup is pages of the form 
    Cookbook.SubgroupMarkup,[[:upper:]0-9].*

The recipe redefines $NamePattern, which is used in the
ResolvePageName function before page customisations are
loaded. For testing, I have been loading it from the
config.php file, rather than as a per group or per page
customisation.
-- 
JR
--
John Rankin







More information about the pmwiki-users mailing list