Normal Questions

Why doesn't PmWiki use a database such as MySQL for page storage?

See PmWiki:FlatFileAdvantages.

How do I set up user-based passwords for my wiki?

See Cookbook:AuthUser and Cookbook:UserAuth.

How do I turn on the ?action=diag and ?action=phpinfo actions?


    $EnableDiag = 1;

in your config.php file.

How do I password-protect a wiki action?

Starting with version 2.0.beta50 you can assign password levels to actions. From the release notes:

The $HandleAuth array can be used to set the authorization level required for executing a corresponding action. For example, setting $HandleAuth['diff'] to 'edit' means that edit authorizations are required to view the page history (?action=diff). Similarly, setting $HandleAuth['source'] to 'admin' means that only the admin would be able to use ?action=source.

Silly Question

Which is better, Emacs or VI?

You're kidding, right? :-)

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.21 MarkupToHTML begin
 3: 00.24 00.23 MarkupToHTML end
 4: 00.24 00.24 MarkupToHTML begin
 5: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.26 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.26 00.25 MarkupToHTML end
 8: 00.26 00.25 MarkupToHTML begin
 9: 00.27 00.26 MarkupToHTML end
10: 00.27 00.26 now
Peak memory: 3,894,592 bytes