Opened 7 years ago

Fix macro description

Reported by: Owned by: Mitar Louis Cordier normal MovieMacro normal Mitar 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.

comment:1 Changed 7 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 7 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 7 years ago by Louis Cordier

Resolution: → fixed new → closed

(In [7358]) Fixes #6375.

comment:4 Changed 7 years ago by Louis Cordier

Resolution: fixed closed → reopened

Will make it pretty later.

Modify Ticket

Change Properties