Opened 16 years ago
Last modified 4 years ago
#3382 new defect
[PATCH] Multiple fixes — at Initial Version
Reported by: | James Yonan | Owned by: | permon |
---|---|---|---|
Priority: | normal | Component: | MediaWikiPluginMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
This patch is against http://trac-hacks.org/svn/mediawikipluginmacro (r2483)
- Fixed issue where _specialUrlPat regex in replaceFreeExternalLinks was failing to render external links in paragraphs containing newlines because the re.DOTALL regex flag was not being used to allow .* to match newlines.
- Fixed bug in replaceFreeExternalLinks where the loop variable 'i' 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]]
Note: See
TracTickets for help on using
tickets.