wiki:MediaWikiPluginMacro

Version 2 (modified by permon, 17 years ago) (diff)

--

MediaWiki language processor

Notice: This plugin is unmaintained and available for adoption.

Description

Plugin introduces new wiki macro `mediawiki'. Macro turns trac wiki into pure mediawiki. It is based on this script.

Bugs/Feature Requests

Existing bugs and feature requests for MediaWikiPluginMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:mediawikipluginmacro here].

Source

You can check out MediaWikiPluginMacro from here using Subversion, or browse the source with Trac.

Example

{{{
#!mediawiki
= Heading =
Everything here is interpreted by ''mediawiki'' processor.

== List ==
# first
## first.a
## first.b

[Wiki link]
}}}

Recent Changes

17832 by rjollos on 2020-08-10 18:46:57
TracMediaWikiMacro 1.1dev: Fix multiple issues

  • 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]]

Patch by James Yonan.

Untested by committer.

Refs #3382.

17387 by rjollos on 2019-06-25 19:55:46
TracMediaWikiMacro 1.1dev: Fix parsing error for <

Refs #4172.

17386 by rjollos on 2019-06-25 19:52:11
TracMediaWikiMacro 1.1dev: Applied patch attached to wiki page

Refs #4172.

(more)

Author/Contributors

Author: permon
Contributors: