AuthorRequired

Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.


Goal

Require page authors to provide an author name before allowing changes to be saved.

Solution

Add the line

    $EnablePostAuthorRequired = 1;

to a local customization file. This will cause the edit form to be redisplayed with a message that "An author name is required". The text of the message can be changed via the $AuthorRequiredFmt variable.

See Also

  • PmWiki.AuthorTracking

Contributors

  • Pm, 14-Mar-2004

pmwiki-2.3.32 -- Last modified by {{Pm}}

from IP: 85.171.160.186 ip should be disabled by default for security reasons