[pmwiki-users] FAQ: Editable RecentChanges

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 9 00:21:28 CDT 2005

On Mon, Aug 08, 2005 at 04:24:19PM -0700, H. Fox wrote:
> Is there even an option to produce (All)RecentUploads pages?  
> That seems useful.

PmWiki v1 had RecentUploads pages, so far I haven't added them
for v2 (and nobody's really pushed for them).

> Is the following acceptable, or is something with substr() better?
> if ($action=='edit' && preg_match('/\\.(All)?Recent(Changes|Uploads)$/',
>   $pagename)) { $DefaultPasswords['edit'] = '*'; }

This works just fine.


More information about the pmwiki-users mailing list