MWX/ManPage: Difference between revisions

From Woozle Writes Code
< MWX
Jump to navigation Jump to search
 
No edit summary
Line 9: Line 9:
</hide>
</hide>
==About==
==About==
[[SpecialManPage]] is a simple extension for [[MediaWiki]] which allows [[manpage]]s to be displayed within the wiki. It makes use of the "man" command's "--html" option which displays output in [[HTML]] instead of fixed-width [[plaintext]].
[[SpecialManPage]] is a simple extension for [[MediaWiki]] which allows [[manpage]]s to be displayed within the wiki as a Special page. It makes use of the "man" command's "--html" option which displays output in [[HTML]] instead of fixed-pitch [[plaintext]]. The page to display is requested within the URL, e.g. {{l/manpage|ssh}}. Manpage contents can also be transcluded, but this may not be particularly useful until some features are added for excerpting sections of manpages rather than showing the whole thing.


* [[/code]]
* [[/code]]

Revision as of 01:05, 22 July 2013

<hide> page type::article page type::project thing type::software thing type::MediaWiki extension license::open source platform::MediaWiki author::User:Woozle </hide>

About

SpecialManPage is a simple extension for MediaWiki which allows manpages to be displayed within the wiki as a Special page. It makes use of the "man" command's "--html" option which displays output in HTML instead of fixed-pitch plaintext. The page to display is requested within the URL, e.g. Template:L/manpage. Manpage contents can also be transcluded, but this may not be particularly useful until some features are added for excerpting sections of manpages rather than showing the whole thing.