Edgewall Software

Ticket #5274 (closed task: fixed)

Opened 12 months ago

Last modified 9 months 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:

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

HelloWorld.py (0.6 kB) - added by dharris <dharris+trac@…> 12 months ago.
HelloWorld? macro for use in 0.11 trac
Timestamp.py (396 bytes) - added by dharris <dharris+trac@…> 12 months ago.
Timestamp macro for use in trac 0.11

Change History

  Changed 12 months ago by dharris <dharris+trac@…>

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

Changed 12 months ago by dharris <dharris+trac@…>

HelloWorld? macro for use in 0.11 trac

Changed 12 months ago by dharris <dharris+trac@…>

Timestamp macro for use in trac 0.11

  Changed 12 months 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.

  Changed 11 months 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?

  Changed 10 months 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

follow-up: ↓ 6   Changed 9 months ago by anonymous

  • status changed from new to closed
  • resolution set to fixed

in reply to: ↑ 5   Changed 9 months ago by eblot

  • status changed from closed to reopened
  • resolution deleted

Replying to anonymous:

follow-up: ↓ 8   Changed 9 months 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 ...

in reply to: ↑ 7   Changed 9 months ago by eblot

  • status changed from reopened to closed
  • resolution set to fixed

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?

Add/Change #5274 (Documentation for macros in 0.11)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.