On 9/29/07, Chris Cox <[EMAIL PROTECTED]> wrote: > In later version of PmWiki you can do put the following in a page: > > [[{$FullName}?action=edit|edit]] > > And then when the page is (:include:)'d, it's a link > to edit the included content. Nice. > > I'd like to create a new markup that adds this to a page > instead of typing all of the above in. But, I can't figure > it out. Any hints? > > For example, I could add (:e:) and it would effectively > be the same as having the above inside the page to be > included. > >
What about (untested)? $ROSPatterns['/\\(:e:\\)/'] = '[[({$FullName}?action=)edit]]'; -- Dominique _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users