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 6 years ago by
- Summary changed from MacroList should be case insensitive to MacroList should only display one help entry when there are multiple macros defined that differ only by case
comment:6 in reply to: ↑ 5 Changed 6 years ago by
- Component changed from general to wiki system
- Resolution set to fixed
- Status changed from new to closed