Changes between Version 1 and Version 2 of WikinfoPlugin
- Timestamp:
- Jul 9, 2005, 3:03:32 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikinfoPlugin
v1 v2 7 7 This is actually made for example how to write new macroplugin for new plugin system. 8 8 9 Usage: {{{ NlWikinfo([keyword][,keyword][...]) }}} 10 11 Currently 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 21 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: 22 {{{ 23 [nlwikinfo] 24 module = nlwikinfo 25 path = /var/trac/plugins/nlwikinfo 26 }}} 27 28 Path is required only if nlwikinfo.py is not in Python search path. 9 29 10 30 == Bugs/Feature Requests == … … 24 44 You can check out the source for WikinfoPlugin from Subversion at http://trac-hacks.swapoff.org/svn/wikinfoplugin. 25 45 26 == Example ==46 == Examples == 27 47 28 48 Latest version of wikipage: 29 {{{ Version [[nlwikinfo(version)]] }}} 49 {{{ 50 Version [[NlWikinfo(version)]] 51 }}} 30 52 53 Page originally created by: 54 {{{ 55 Created by [[NlWikinfo(author)]] 56 }}} 57 58 Page last modified by: 59 {{{ 60 Modified by [[NlWikinfo(changed_by)]] 61 }}} 62 63 Page last modified timestamp: 64 {{{ 65 [[NlWikinfo(changed_ts)]] 66 }}} 67 68 Last edit comment: 69 {{{ 70 ([[NlWikinfo(comment)]]) 71 }}} 31 72 32 73 == Author/Contributors ==