[pmwiki-users] How to exclude Draft pages from RecentChanges?
Patrick R. Michaud
pmichaud at pobox.com
Tue Apr 18 09:56:28 CDT 2006
On Tue, Apr 18, 2006 at 04:45:12PM +0200, Roman wrote:
> If we want to exclude page of a known name from RecentChanges we can
> use local configuration files for that. But how to exclude all Draft
> pages? I put following lines to config.php but it does not work.
>
> if (substr($pagename, -6) == '-Draft')
> $RecentChangesFmt = array();
Seems like that ought to work. Keep in mind that this change
won't remove any existing -Draft pages listed in RecentChanges,
it just prevents new ones (or updates) from appearing.
Pm
More information about the pmwiki-users
mailing list