Modify ↓
Opened 16 years ago
Last modified 4 years ago
#3382 new defect
[PATCH] Multiple fixes
Reported by: | James Yonan | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | MediaWikiPluginMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
This patch is against r2483:
- Fixed issue where
_specialUrlPat
regex inreplaceFreeExternalLinks
was failing to render external links in paragraphs containing newlines because there.DOTALL
regex flag was not being used to allow .* to match newlines. - Fixed bug in
replaceFreeExternalLinks
where the loop variablei
was being stepped on for another purpose by code inside the loop. - Fixed regex issue where control-char ranges for ascii were being specified to match against unicode strings.
- Fixed issue where
nextItem
was called with only one rather than the required two parameters. - Support rendering of anchor links such as:
[[#heading 4|heading four]]
Attachments (2)
Change History (6)
Changed 16 years ago by
Attachment: | mediawikipluginmacro.diff added |
---|
comment:1 Changed 16 years ago by
Changed 4 years ago by
Attachment: | mediawikipluginmacro_parser_ticket3382_plus.patch added |
---|
Re-create patch on this ticket, plus remove duplicate macro instance.
comment:2 Changed 4 years ago by
Owner: | permon deleted |
---|
comment:3 Changed 4 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Thanks - without this patch, this plugin doesn't work in trac 0.11; with it, it does.
If you install system-wide you'll also need this in your trac.ini
[components]
section:Debian package with this patch (built on Ubuntu Hardy): http://config.fsf.org/packages/pool/ubuntu-hardy/custom/tracmediawikimacro_1.0-2_all.deb