Modify

Opened 5 years ago

Last modified 5 years ago

#6375 reopened defect

Fix macro description

Reported by: mitar Owned by: lcordier
Priority: normal Component: MovieMacro
Severity: normal Keywords:
Cc: mmitar@… 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 5 years ago by lcordier

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 5 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 5 years ago by lcordier

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

(In [7358]) Fixes #6375.

comment:4 Changed 5 years ago by lcordier

  • Resolution fixed deleted
  • Status changed from closed to reopened

Will make it pretty later.

Add Comment

Modify Ticket

Action
as reopened .
Author


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

 
Note: See TracTickets for help on using tickets.