InterWiki Should Recognize Wiki Types
Right now, wikis and other resources with InterWiki entries all get the standard InterWiki icon. It would be great if that icon could be set by the type of resource handled by the InterWiki syntax, be it a source code browser, a bug database, or any similar resource. (A similar resource is any resource that can be linked to as an InterWiki).
Types:
- Bug databases (a bug icon instead of the people icon)
- Revision control systems (a hard hat or some tools icon)
- etc, etc, etc
Examples include:
- Bug/Issue/Ticket-tracking databases (The icon could be a little bug)
[http://www.bugzilla.org/ Bugzilla databases]: Bug entries are always in the form http[s]://<server>/<path>/show_bug.cgi?id=<number> where an InterWiki link may be Bug:<number>
[http://trac.edgewall.org/ Trac tickets]: Trac tickets URLs are in the form http[s]://<server>/<path>/ticket/<number> where an InterWiki link may be Ticket:<number> or Bug:<number>
- Source Code Browsers (I've no clue what an icon for this would be)
Trac Files: In the form http[s]://<server>/<path>/browser/<source code path> where an InterWiki link may be Code:<source code path> or Source:<source code path>
Trac Revisions: In the form http[s]://<server>/<path>/changeset/<number> where an InterWiki link may be Revision:<number> or Change:<number>
- etc, etc, etc
I hope that these examples of how the InterWiki feature may be used to link to resources other than wikis help demonstrate how the InterWiki feature could be expanded. I picked on the two systems that I use for bug tracking and source code browsing most in these examples, but this is not intended to be an exhaustive list.
I had thought of requesting that InterWiki should recognize bugzilla, but made this request more general.
I don't think we'll add such magic, but something like [[OurRepo:foo|interwiki link with custom icon|class="repo"]] could be made working.