Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5274 closed task (fixed)

Documentation for macros in 0.11

Reported by: dharris <dharris+trac@…> Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: wiki system Version: devel
Severity: normal Keywords: macro wiki documentation
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Short version:

Please update TracDev/ReleaseNotes/0.11 with information about the changes to macros.

Longer version:

I've recently installed 0.11 and noticed that the TimeStamp macro is not working. After researching on the trac site, I see that there's a significant changes to the macro system in 0.11, but I don't see any user-level documentation about this.

Please add something to the release notes and/or the WikiMacros page to discuss how to use macros in 0.11

Attachments (2)

HelloWorld.py (623 bytes ) - added by dharris <dharris+trac@…> 17 years ago.
HelloWorld macro for use in 0.11 trac
Timestamp.py (396 bytes ) - added by dharris <dharris+trac@…> 17 years ago.
Timestamp macro for use in trac 0.11

Download all attachments as: .zip

Change History (10)

comment:1 by dharris <dharris+trac@…>, 17 years ago

Working from example code on the MacroBazaar, I've created 0.11 versions of the Timestamp and HelloWorld example macros. I will attach them to this ticket.

Perhaps they can be used:

  • in the code base for new examples
  • as a base for the macro documentation

by dharris <dharris+trac@…>, 17 years ago

Attachment: HelloWorld.py added

HelloWorld macro for use in 0.11 trac

by dharris <dharris+trac@…>, 17 years ago

Attachment: Timestamp.py added

Timestamp macro for use in trac 0.11

comment:2 by Emmanuel Blot, 17 years ago

Have you checked out trunk/wiki-macros/README and trunk/sample-plugins/Timestamp.py ?

I've tested the latest trunk with this macro and it works fine.

comment:3 by Christian Boos, 17 years ago

Milestone: 0.11.10.11

Not much remaining to be done - maybe include the source:trunk/sample-plugins/HelloWorld.py in the WikiMacros page for 0.11 and remove the section about old-style macros?

comment:4 by martin.marcher@…, 17 years ago

I just created wiki:Trac0.11/TracMacros as well as wiki:Trac0.11 and wiki:0.11 with the TitleIndex macros so that Information can be found easier.

Also it seems that there is confusion wether to start documenting 0.11 under wiki:Trac0.11 or wiki:0.11 as both have starter content for documentation

comment:5 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

in reply to:  5 comment:6 by Emmanuel Blot, 17 years ago

Resolution: fixed
Status: closedreopened

Replying to anonymous:

comment:7 by ThurnerRupert, 17 years ago

tried to close this as anonymous, as this really mediocre (not to say crap) spam protection blocks normal closing text *grrr* after a few edits. merged WikiMacros into wiki:0.11/TracMacros

in reply to:  7 comment:8 by Emmanuel Blot, 17 years ago

Resolution: fixed
Status: reopenedclosed

Replying to ThurnerRupert:

tried to close this as anonymous, as this really mediocre (not to say crap) spam protection blocks normal closing text *grrr* after a few edits. merged WikiMacros into wiki:0.11/TracMacros

Ok, understood. Try adding a comment to say you're not just another anonymous in this case. Have you tried the "email setting" tip to prevent from being considered as a spammer?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.