wiki:MediaWikiPluginMacro

MediaWiki language processor

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin introduces a wiki macro mediawiki. This macro turns Trac wiki content into pure MediaWiki:

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

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

[Wiki link]
}}}

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.

defect

2 / 14

task

1 / 2

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

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
Maintainer: none (needsadoption)
Contributors:

Last modified 6 years ago Last modified on Jun 25, 2019, 7:52:22 PM