Changes between Version 3 and Version 4 of WikiMacros


Ignore:
Timestamp:
Nov 4, 2008, 9:55:14 PM (15 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WikiMacros

    v3 v4  
    4141== Implementation ==
    4242
    43 Here 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.
     43Here are 2 simple examples showing how to create a Macro with Trac 0.11.
     44
     45Also, 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.
    4446
    4547=== Macro without arguments ===
     
    5557from trac.wiki.macros import WikiMacroBase
    5658
    57 class TimestampMacro(WikiMacroBase):
     59class TimeStampMacro(WikiMacroBase):
    5860    """Inserts the current time (in seconds) into the wiki page."""
    5961