Changes between Version 1 and Version 2 of WikinfoPlugin


Ignore:
Timestamp:
Jul 9, 2005 5:03:32 PM (9 years ago)
Author:
rede
Comment:

Added installation instructions

Legend:

Unmodified
Added
Removed
Modified
  • WikinfoPlugin

    v1 v2  
    77This is actually made for example how to write new macroplugin for new plugin system. 
    88 
     9Usage: {{{ NlWikinfo([keyword][,keyword][...]) }}} 
     10 
     11Currently supported keywords: 
     12 * author        - Author of first version 
     13 * version       - Latest version of page 
     14 * changed_by    - Page last changed by 
     15 * comment       - Latest comment of changed by 
     16 * changed_ts    - Page last changed timestamp 
     17 
     18 
     19== Installation == 
     20 
     21Since 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: 
     22{{{ 
     23[nlwikinfo] 
     24module = nlwikinfo 
     25path = /var/trac/plugins/nlwikinfo 
     26}}} 
     27 
     28Path is required only if nlwikinfo.py is not in Python search path. 
    929 
    1030== Bugs/Feature Requests ==  
     
    2444You can check out the source for WikinfoPlugin from Subversion at http://trac-hacks.swapoff.org/svn/wikinfoplugin. 
    2545 
    26 == Example == 
     46== Examples == 
    2747 
    2848Latest version of wikipage: 
    29 {{{ Version [[nlwikinfo(version)]] }}} 
     49{{{  
     50Version [[NlWikinfo(version)]]  
     51}}} 
    3052 
     53Page originally created by: 
     54{{{  
     55Created by [[NlWikinfo(author)]] 
     56}}} 
     57 
     58Page last modified by: 
     59{{{ 
     60Modified by [[NlWikinfo(changed_by)]] 
     61}}} 
     62 
     63Page last modified timestamp: 
     64{{{ 
     65[[NlWikinfo(changed_ts)]] 
     66}}} 
     67 
     68Last edit comment: 
     69{{{ 
     70([[NlWikinfo(comment)]]) 
     71}}} 
    3172 
    3273== Author/Contributors ==