MacroList should only display one help entry when there are multiple macros defined that differ only by case
|Reported by:||Owned by:||Christian Boos|
As an example, the th:wiki:EmailProcessorMacro allows
[[Email]]. I briefly discussed this with the author in th:5713 (screen capture is shown there).
With my limited knowledge of Trac, I believe this is due to the two entries in get_macros.
def get_macros(self): """Yield the name of the macro based on the class name.""" yield 'email' yield 'Email'
Would it be reasonable to alter MacroList so that only one help entry is displayed? Perhaps the header can show
[[Email]] or [[email]] followed by the help entry.
Change History (8)
comment:1 Changed 9 years ago by
|Summary:||MacroList should be case insensitive → MacroList should only display one help entry when there are multiple macros defined that differ only by case|
comment:6 Changed 8 years ago by
|Component:||general → wiki system|
|Status:||new → closed|