|
ChangeSummary<< Page Paths | Cookbook-V1 | Diff Keep Days >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
QuestionHow can I add a field to the edit form to allow authors to enter a "summary" of the changes made, and have this summary appear in RecentChanges and page history? AnswerNote: This cookbook script only works with PmWiki version s 0.6.19 and later.
The Attach:changesum.php script modifies the edit form to provide a text box for entering a one-line summary of edit changes, and to have this summary line appear in the RecentChanges and page history displays. To use this script, simply copy it into your local/ subdirectory and then add the following line to your configuration file: Note that if you have any other local customizations that modify the This page has the ChangeSummary feature enabled, so that you can experiment with making changes to this page and viewing the summary lines in RecentChanges and the page history. BugsIn the case that edits are passwd protected, this module breaks the default authentication process of PmWiki (dialogs for login/passwd authentication refuse to show themselves, and authentication simply fails). Including scripts/sessionauth.php solves this problem, although only partially (wiki users want dialogs). --AnthonyLiekens Contributors
Sandbox for changes and experimentspmwiki-2.2.0-beta68 -- Last modified by {{Pm}}
|