[Pmwiki-users] Re: Publishing a part of your wiki -- Experience using PmWiki

Patrick R. Michaud pmichaud
Wed Sep 22 07:31:47 CDT 2004


On Wed, Sep 22, 2004 at 12:38:04PM +0200, chr at home.se wrote:
> 
> A custom EditFunction could instead of exporting the page upon a save, add
> the name of the page to e.g. 'PagesToBeExported'. The publisher can then
> use this page to simplify the proofreading task. 

One can do this already -- just create custom RecentChanges pages that
are only updated when the text contains [:public:].  In PmWiki 1.0:

    if (strstr(@$_REQUEST['text'],'[:public:]')!==false) {
      $RecentChanges['Main.PagesToBeExported'] =
        '* $Group.$Tlink . . . $CurrentTime by $AuthorLink';
    }

Pm



More information about the pmwiki-users mailing list