Modify ↓
Opened 14 years ago
Last modified 4 years ago
#7748 new defect
Make definition lists work
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | MediaWikiPluginMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Definition lists like
;Fruits :Apples, Oranges ;Vegetables :Carrots, Cabbage
Makes the processor barf with:
NameError: global name 'findColonNoLinks' is not defined
Attachments (0)
Change History (3)
comment:1 Changed 4 years ago by
comment:2 Changed 4 years ago by
Owner: | permon deleted |
---|
comment:3 Changed 4 years ago by
This plugin appears to be unmaintained. Would you like committer access?
Note: See
TracTickets for help on using
tickets.
Interestingly this function wasn't implemented at all in the parser.
I made a meek attempt at porting the function from PHP:
The places this function is called, I replaced with the following:
These changes create a minimum of functionality for the definition lists.
It's possible that porting the rest of the function from PHP would be fairly straightforward. I know the users I support mostly use Mediawiki, but they don't seem to use this macro, instead using Trac markup directly.