Version 5 (modified by rupert thurner, 13 years ago) (diff)


List all Wiki Pages with Last Changed Data and Author


This macro prints a table of all (user generated, i.e. non-trac-default) wiki pages with last changed date and author as requested in Request-a-Hack #2427.


This macro is installable using python's easy_install utility:


There seem to be some issues with easy_install and Subversion 1.5 working directories which can be avoided using:

svn export listofwikipages
easy_install listofwikipages
rm -rf listofwikipages

People without Subversion installed can download the [download:listofwikipagesmacro/0.11 ZIP file], unpack it and run the following in the 0.11 directory:

python install

To enable this macro put the below text into your trac.ini configuration file, which is located in the config directory of your Trac installation. You need to restart trac to reread the macro file and the configuration file.

traclistofwikipages.* = enabled

# Optional list of ignored users, defaults to 'trac' to ignore trac's default wiki pages:
#ignore_users = trac

Bugs/Feature Requests

Existing bugs and feature requests for ListOfWikiPagesMacro are here.

If you have any issues, create a new ticket.

Download and Source

Download the [download:listofwikipagesmacro zipped source], check out using Subversion from here, or browse the source with Trac.


You can use this macro like this:


which prints a table of all wiki pages, or with a list of wiki pages:


this results in a table similar to this (example links not functional and no CSS styles on trac-hacks):

WikiPageLast Changed atBy
SandBox09/11/08 01:45:38 (0 seconds ago)martin
SandBox209/11/08 00:26:39 (79 minutes ago)martin
SandBox309/11/08 01:13:19 (32 minutes ago)martin
SiteStyle08/11/08 22:14:02 (4 hours ago)martin

Recent Changes

17126 by rjollos on 2018-04-14 09:18:09
TracListOfWikiPagesMacro 0.5: Conform to PEP8
16538 by rjollos on 2017-04-16 02:32:47
Fix indentation
15550 by rjollos on 2016-05-15 06:01:40
0.4: Add encoding statement to source files

Patch by ntmlod.

Refs #7588, #12776.



Author: martin_s