Mantis-Plugin: MediaWikiLinks - link wiki pages from issues

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
ptandler
Posts: 20
Joined: 31 May 2006, 15:31
Location: Darmstadt, Germany
Contact:

Mantis-Plugin: MediaWikiLinks - link wiki pages from issues

Post 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.
Cheers,
Peter
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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 [[...]].';
Please use Search before posting and read the Manual
ptandler
Posts: 20
Joined: 31 May 2006, 15:31
Location: Darmstadt, Germany
Contact:

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

Post by ptandler »

Thanks for your feedback, I fixed these and it will be included in the next release.
Cheers,
Peter
ptandler
Posts: 20
Joined: 31 May 2006, 15:31
Location: Darmstadt, Germany
Contact:

New version of MediaWikiLinks plugin-link wiki pages from is

Post 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.
Cheers,
Peter
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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
Please use Search before posting and read the Manual
Post Reply