Page 1 of 1

Mantis-Plugin: MediaWikiLinks - link wiki pages from issues

Posted: 28 Sep 2010, 16:04
by ptandler
Hi,

we wrote a very simple plugin that supports the MediaWiki-style of links to pages: Using [[Some Page]] you can reference pages in your wiki installation or in wikipedia directly from your issue descriptions. This is quite useful if you have issues of complex features where you need to collect a lot of information about requirements etc.

The base URL of the wiki can be configured. Download from: http://blog.teambits.de/2010/09/28/mant ... wikilinks/

Looking forward to hear your feedback.

Re: Mantis-Plugin: MediaWikiLinks - link wiki pages from iss

Posted: 28 Sep 2010, 19:59
by atrol
Nice work, thanks for contributing

A few comments from a very quick code review:

Remove the various unused static variables in file MediaWikiLinks.php (I guess relicts from MantisCoreFormatting.php)

Typo: strings_english.txt

Code: Select all

$s_plugin_MediaWikiLinks_description = 'Allow links to media wiki pages (double backets) [[...]] to be used in mantis issue descriptions.';
->
$s_plugin_MediaWikiLinks_description = 'Allow links to media wiki pages (double brackets) [[...]] to be used in mantis issue descriptions.';
Typos: strings_german.txt

Code: Select all

$s_plugin_MediaWikiLinks_config = 'Konfigutation';
->
$s_plugin_MediaWikiLinks_config = 'Konfiguration';

$s_plugin_MediaWikiLinks_description = 'Ermöglicht Seiten in eindem media wiki aus Issues heraus zu verlinken - wie beim MediaWiki in doppelten eckigen Klammern [[...]].';
->
$s_plugin_MediaWikiLinks_description = 'Ermöglicht Seiten in einem media wiki aus Einträgen heraus zu verlinken - wie beim MediaWiki in doppelten eckigen Klammern [[...]].';

Re: Mantis-Plugin: MediaWikiLinks - link wiki pages from iss

Posted: 29 Sep 2010, 06:59
by ptandler
Thanks for your feedback, I fixed these and it will be included in the next release.

New version of MediaWikiLinks plugin-link wiki pages from is

Posted: 30 Dec 2011, 13:30
by ptandler
So, a new version of MediaWikiLinks is available now with small fixes and small improvements:
  • now also supports to configure multiple external sources, similar to MediaWiki's interwiki-feature, such as [[wikipedia-en:Mantis Bug Tracker]]
  • The configuration URL may contain "*" as a placeholder for linked page identifier.
  • support to specify the text to be used for the link with "|", e.g. [[wikipedia-en:Mantis Bug Tracker|more about mantis]]
I now also move the code to github: https://github.com/ptandler/MediaWikiLinks

I would be pleased if this plugin could be included in the https://github.com/mantisbt-plugins group.

Re: Mantis-Plugin: MediaWikiLinks - link wiki pages from iss

Posted: 30 Dec 2011, 14:12
by atrol
ptandler wrote: I would be pleased if this plugin could be included in the https://github.com/mantisbt-plugins group.
Please write to the developer mailing list (mantisbt-dev) for this.
http://www.mantisbt.org/mailinglists.php