Ticket #5274 (closed task: fixed)
Opened 5 years ago
Last modified 5 years ago
Documentation for macros in 0.11
| Reported by: | dharris <dharris+trac@…> | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | wiki system | Version: | devel |
| Severity: | normal | Keywords: | macro wiki documentation |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 5 years ago by dharris <dharris+trac@…>
Changed 5 years ago by dharris <dharris+trac@…>
- Attachment HelloWorld.py added
HelloWorld? macro for use in 0.11 trac
Changed 5 years ago by dharris <dharris+trac@…>
- Attachment Timestamp.py added
Timestamp macro for use in trac 0.11
comment:2 Changed 5 years ago by eblot
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 Changed 5 years ago by cboos
- Milestone changed from 0.11.1 to 0.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 Changed 5 years ago by martin.marcher@…
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 follow-up: ↓ 6 Changed 5 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
comment:6 in reply to: ↑ 5 Changed 5 years ago by eblot
- Resolution fixed deleted
- Status changed from closed to reopened
Replying to anonymous:
comment:7 follow-up: ↓ 8 Changed 5 years ago by 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 ...
comment:8 in reply to: ↑ 7 Changed 5 years ago by eblot
- Resolution set to fixed
- Status changed from reopened to closed
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?



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: