Modify

Opened 8 years ago

Last modified 8 years ago

#6375 reopened defect

Fix macro description

Reported by: Mitar Owned by: Louis Cordier
Priority: normal Component: MovieMacro
Severity: normal Keywords:
Cc: Mitar Trac Release: 0.11

Description

Fix macro description. On WikiMacros page which lists all macros there is no description while (empty) entry for this macro is shown twice. If users are used to read that page for help on using macros they cannot know how to use this macro.

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by Louis Cordier

What file do I need to edit? I don't see anything wrong, other than maybe I am using a milti-line string for description in setup.py.

comment:2 Changed 8 years ago by Mitar

You have to define description of the MovieMacro class. There is none. And get_macro_description method of WikiMacroBase class then uses this. Of course you could also redefine get_macro_description method.

And there are two entries for your macro because you both extend WikiMacroBase and implement IWikiMacroProvider. You should not do both. Just drop IWikiMacroProvider.

comment:3 Changed 8 years ago by Louis Cordier

Resolution: fixed
Status: newclosed

(In [7358]) Fixes #6375.

comment:4 Changed 8 years ago by Louis Cordier

Resolution: fixed
Status: closedreopened

Will make it pretty later.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain Louis Cordier.

Add Comment


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

 
Note: See TracTickets for help on using tickets.