Changes between Version 1 and Version 2 of WikiMacros


Ignore:
Timestamp:
06/03/10 15:59:46 (14 years ago)
Author:
zeiss
Comment:

Importing pages from "/var/lib/svn/trac/etsicheck2" using WikiImport plugin.

Legend:

Unmodified
Added
Removed
Modified
  • WikiMacros

    v1 v2  
    3636Macros, like Trac itself, are written in the [http://python.org/ Python programming language]. 
    3737 
    38 For more information about developing macros, see the [trac:TracDev development resources] on the main project site. 
     38For more information about developing macros, see the [wiki:TracDev development resources] on the main project site. 
    3939 
    4040 
    4141== Implementation == 
    4242 
    43 Here are 2 simple examples showing how to create a Macro with Trac 0.11.  
    44  
    45 Also, have a look at [trac:source:tags/trac-0.11/sample-plugins/Timestamp.py Timestamp.py] for an example that shows the difference between old style and new style macros and at the [trac:source:tags/trac-0.11/wiki-macros/README macros/README] which provides a little more insight about the transition. 
     43Here are 2 simple examples on how to create a Macro with [wiki:0.11 Trac 0.11] have a look at source:trunk/sample-plugins/Timestamp.py for an example that shows the difference between old style and new style macros and also source:trunk/wiki-macros/README which provides a little more insight about the transition. 
    4644 
    4745=== Macro without arguments === 
     
    5755from trac.wiki.macros import WikiMacroBase 
    5856 
    59 class TimeStampMacro(WikiMacroBase): 
     57class TimestampMacro(WikiMacroBase): 
    6058    """Inserts the current time (in seconds) into the wiki page.""" 
    6159