PageHistorySource

Summary: Disable markup in page history
Version: 1.1
Prerequisites:
Status: Working
Maintainer: GNUZoo
Categories: Links

Questions answered by this recipe

I made changes to the page code, but the page history shows a table and not the code. How can I see what I typed into the edit form in the page history?

I changed some pictures and my page history shows the pictures. How can I get it to show the filenames?

How can I make the history show changes to the page source code?

Description

This recipe disables markup in the page history source code that is displayed. PMWiki will display a table or pictures instead of the page code that someone changed. This will make PMWiki display the page code (some people call it the page markup, or page source code).

Installation

Copy PagehistorySource.phpΔ to your cookbook directory.

In your config.php:

include_once("cookbook/PageHistorySource.php");

or in your farmconfig.php enter:

include_once("$FarmD/cookbook/PageHistorySource.php");

Notes

Release Notes

This program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation http://www.fsf.org either version 2 of the License, or (at your option) any later version.

Copyright 2007 by GNUZoo email: guru [snail] gnuzoo [period] org

Please donate to the author at url: http://gnuzoo.org/GNUZooPayPal

  • Version 1.1 - Changed code so that ONLY source is viewable which is what was intended. Previously someone could click the link that would display changes in output in the history.
  • Version 1.0 - Initial Release

See Also

Contributors

Comments

See discussion at PageHistorySource-Talk?

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.