[pmwiki-users] Automatically create pages and groups?
hsingfoo at gmail.com
Thu Aug 24 00:56:34 CDT 2006
The pattern may vary, But right now 'Pnnnnn' as in P00001.
With my 'skills' I would write: If $Name = *Pnnnnn* then autocreate else return
The above example is 1 pattern only and I forsee that I would need an
array of custom patters, for other uses.
On 8/23/06, Hans <hans.bracker at googlemail.com> wrote:
> On 23/08/06, Hsing-Foo Wang <hsingfoo at gmail.com> wrote:
> > Again, in my case, I would like the script to check the (partial) page
> > or groupname and based on the comparison is True/False invoke the
> > actions.
> > Partial means: aa1 would match:
> > - *a*
> > - a*
> > - aa*
> > - aa1*
> So on edit of a page the pagename should be checked against a
> certain pattern, and if true the AutoGroupPages function be invoked?
> What is the exact pattern you need to check the page name against?
More information about the pmwiki-users