|Version 3 (modified by anonymous, 9 years ago) (diff)|
Simple script to retrieve information from the database and add it to a wikipage.
This was actually made as an example on how to write a plugin using the new architecture.
Currently supported keywords:
- author - Author of first version
- version - Latest version of page
- changed_by - Page last changed by
- comment - Latest comment of changed by
- changed_ts - Page last changed timestamp
Since this is new style plugin instead of old style macro, you have to install this plugin. Copy nlwikinfo.py macro to any path you want and add following in trac.ini:
[nlwikinfo] module = nlwikinfo path = /var/trac/plugins/nlwikinfo
Path is required only if nlwikinfo.py is not in Python search path.
If you have any issues, create a new ticket.
Latest version of wikipage:
Page originally created by:
Created by [[NlWikinfo(author)]]
Page last modified by:
Modified by [[NlWikinfo(changed_by)]]
Page last modified timestamp:
Last edit comment: