InterWikiMap for Ubuntu Manpages

Dustin Kirkland dustin.kirkland at gmail.com
Wed Apr 7 21:15:59 BST 2010


Howdy ubuntu-doc, ubuntu-devel,

I just added an InterWikiMap for manpages.ubuntu.com on both
wiki.ubuntu.com and help.ubuntu.com (for those times when you just
want to reference the system manuals).

This means that you can now conveniently link to HTML versions of
Ubuntu manpages with the following syntax directly from the wiki
page's source:
 * Manpage:dash will point to http://manpages.ubuntu.com/dash which
redirects to http://manpages.ubuntu.com/manpages/lucid/en/man1/dash.1.html
 * Manpage:kvm will point to http://manpages.ubuntu.com/kvm which
redirects to http://manpages.ubuntu.com/manpages/lucid/en/man1/kvm.1.html
etc.

It ain't perfect, but it should get you to the right page the
overwhelming majority of the time.

When it doesn't automatically get you to the page you want (eg,
"open", which has multiple manpages), you can link it manually:
 * [[http://manpages.ubuntu.com/manpages/lucid/en/man3/open.3tcl.html|open(3tcl)]]

Or you can feel free hack the source code to make it work better ;-)
 * http://bazaar.launchpad.net/~kirkland/ubuntu-manpage-repository/main/annotate/head%3A/cgi-bin/search.py

Cheers,
-- 
:-Dustin



More information about the ubuntu-devel mailing list