Add a simpler way to integrate the bug tracker, move macro to MoinMoin Wiki
converted to 1.6 markup
|Deletions are marked like this.||Additions are marked like this.|
|Line 25:||Line 25:|
|I'm working on [http://bugs.debian.org/402289 #402289]||I'm working on [[http://bugs.debian.org/402289|#402289]]|
I see that users refer to bugs using [http://bugs.debian.org/402289 #402289]. These links are easy to mistype, and will break if the bug system url will change. Also, if you want one day to replace all bug from "#n" to "bug N", you have to search and replace the whole wiki.
A better solution is to add this interwiki to the wiki intermap.txt:
Then you can link to bug using this syntax:
I'm working on Bug:402289
I'm working on 402289
There is a Bug macro in MacroMarket/Bug.
Using the bug macro is little more involved, but it render nicer links with better title and link text:
I'm working on [[Bug(402289)]]
I'm working on #402289