[pmwiki-users] Bug: SectionEdit and the Include directive
DaveG
pmwiki at solidgone.com
Tue May 29 13:25:31 CDT 2007
Combining SectionEdit, and an 'include' with multiple pages with the same name causes the output to occur twice.
In this example, I get the PageAction list twice, *if* viewed from the Site group. Viewing from other groups works fine.
(:include {$Group}.PageActions {$SiteGroup}.PageActions:)
It looks like SectionEdit replaces PmWikis default 'include' markup with:
/*** Replacement for the supplied (:include:) markup*/
Markup('include', '>if',
'/\\(:include\\s+(\\S.*?):\\)/ei',
"PRR(SectionEditIncludeText(\$pagename, '$1'))");
Which part of the new markup is causing the problem, and what should it be changed to?
Using the SectionEdit directive '(:nosectionsinincludes:)' does not alter the output results. The list is still duplicated.
~ ~ Dave
More information about the pmwiki-users
mailing list