Extension:ConsoleOutput

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
ConsoleOutput
Release status: stable
Implementation Tag
Author(s) Daniel Robbinstalk
MediaWiki 1.25+
License GNU General Public License 2.0 or later
Download https://github.com/BreezyOps/MediaWiki-ConsoleOutput
console
Translate the ConsoleOutput extension if it is available at translatewiki.net
Check usage and version matrix.

The ConsoleOutput MediaWiki extension provides a new tag, <console>, which can be used to format and colorize terminal output.

Its purpose is to accurately display colors that appear on terminals, and provide a means to highlight commands that a user types so that they are easy to see in relation to program output. This extension is used by Funtoo Linux for its installation and other documentation.

Wikis Using ConsoleOutput[edit]

The Funtoo Linux wiki uses the ConsoleOutput extension for rendering interactive console sessions in system documentation.

Suggested Use[edit]

It's generally recommended to use a template named console which in turn uses the <console> tag, such as the Console template on the Funtoo Linux wiki.

Example Output[edit]

An example of text output using the ConsoleOutput extension.