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.11 00.11 MarkupToHTML begin
 3: 00.14 00.13 MarkupToHTML end
 4: 00.14 00.13 MarkupToHTML begin
 5: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.16 00.15 MarkupToHTML end
 8: 00.16 00.15 MarkupToHTML begin
 9: 00.16 00.15 MarkupToHTML end
10: 00.16 00.15 now
Peak memory: 3,552,496 bytes