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


Give authors a way to indicate text insertions and deletions.


Add the following markup: inserted text and deleted text. Provide a <#>? keyword that lets readers toggle between showing and hiding revisions. In browse, the default is to show revisions; in print and publish, the default is to hide revisions.




Put revisions.php in the local/ directory and add the following line to local/local.php:



If using the printable_version or print_publish recipes, make sure revisions.php loads after so that revisions are hidden in the printable view.

The script includes the optional extra of ^^superscript^^ and __subscript__ markup. Comment out if desired.

See Also

PublishWikiTrail, which sets revisions to be hidden by default.


28 October 2003: released

Comments, Bugs

In this case, when the text to be revised is a bullet item:

* meeting minutes

the markup works but destroys

Leave this field for future bugs or comments for your script


  • John Rankin (with thanks to Carlo Strozzi for spotting a fix needed so the script works correctly with PmWiki/PmWiki 0.5 and above)

pmwiki-2.3.7 -- Last modified by {{}}?

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