[Home]WikiPatches/ManPageLinks

UseModWiki | WikiPatches | RecentChanges | Preferences

On some of my wikis people often refer to UNIX manual pages. The natural way to refer to manual pages is page(section), e.g. ls(1). This patch recognizes these and turns them into a hyperlink to the NetBSD? manual pages available on the web.

The full syntax recognized is: page(section.arch/collection)

The link is always displayed as: page(section)

The different parts are:

page
the name of the manual page
section
the manual section the page is in
arch
the architecture to use for architecture-specific pages, e.g. alpha or i386
collection
the page collection to search, e.g. NetBSD?-current or RedHat-7.0

The available collections depend on the server pointed to, as do the available architectures. The default server in the patch mainly serves NetBSD? manual pages.

Patch available here: ftp://ftp.gw.com/pub/people/kim/patches/usemod/manpage-links.diff

-- KimmoSuominen


UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited October 6, 2007 11:05 am by JuanmaMP (diff)
Search: