This is somewhat extended version of a part of the Sphene Community Tools (a wiki and web-board system, built on Django). The wikiwork-06072007.tar.gz package contains modified versions of some of the Python and template code from SCT.

wikiwork-06072007.tar.gz

(To use this stuff, you'll have to download SCT and then drop these changes in. No, I don't have a convenient diff or patch. Sorry! I'm doing a lot of hand twiddling on my web site, and this is just a snapshot.)

The original Sphene is distributed under the BSD license:

Sphene Community Tools (SCT) - http://sct.sphene.net/
Copyright (c) 2007, Herbert Poul (herbert.poul@gmail.com)
http://yourhell.com/svn/root/django/communitytools/trunk/LICENSE
My extensions are copyright 2007 Andrew Plotkin, and may also be used under the BSD license.