Opened 6 years ago

Closed 6 years ago

#4764 closed defect (fixed)

Missing macro description

Reported by: mitar Owned by: martin_s
Priority: low Component: ServerSideRedirectPlugin
Severity: normal Keywords:
Cc: mitar Trac Release: 0.11


Macro description is missing and WikiMacros shows:

Error: Can't get description for macro redirect

'ServerSideRedirectPlugin' object has no attribute 'get_macro_description'

It would be great if a description would be added with few examples.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by martin_s

  • Priority changed from normal to low
  • Resolution set to fixed
  • Status changed from new to closed

Added some documentation in [5354]. Have a look if it's working correctly for you and reopen this ticket if it doesn't.

Best Regards, Martin

comment:2 Changed 6 years ago by Mitar

  • Resolution fixed deleted
  • Status changed from closed to reopened

It looks like a great description, but it still does not show properly on the WikiMacros list. It is necessary to change Python class definition from:

class ServerSideRedirectPlugin (Component):


from import WikiMacroBase

class ServerSideRedirectPlugin(WikiMacroBase):

Then it works.

comment:3 Changed 6 years ago by martin_s

  • Resolution set to fixed
  • Status changed from reopened to closed

Thank you so much for pointing this out. I don't know why the class was wrong. It came maybe from the template I used. This was correct in all my other macros. I changed this, see [5356].

Add Comment

Modify Ticket

as closed The owner will remain martin_s.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.