= Wiki Info = == Description == 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. Usage: {{{ NlWikinfo([keyword][,keyword][...]) }}} 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 == Installation == 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. == Bugs/Feature Requests == Existing bugs and feature requests for WikinfoPlugin are [report:9?COMPONENT=WikinfoPlugin here]. If you have any issues, create a [http://trac-hacks.swapoff.org/newticket?component=WikinfoPlugin&owner=rede new ticket]. == Download == [source:wikinfoplugin/0.9 WikinfoPlugin for 0.9]. == Source == You can check out the source for WikinfoPlugin from Subversion at http://trac-hacks.swapoff.org/svn/wikinfoplugin. == Examples == Latest version of wikipage: {{{ Version [[NlWikinfo(version)]] }}} Page originally created by: {{{ Created by [[NlWikinfo(author)]] }}} Page last modified by: {{{ Modified by [[NlWikinfo(changed_by)]] }}} Page last modified timestamp: {{{ [[NlWikinfo(changed_ts)]] }}} Last edit comment: {{{ ([[NlWikinfo(comment)]]) }}} == Author/Contributors == '''Author:''' [wiki:rede rede] [[BR]] '''Contributors:''' [[TagIt(plugin,rede,example,0.9)]]