Extension:BOFH

Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
BOFH
Release status: stableCategory:Stable extensions
Implementation Tag Category:Tag extensions, Parser function Category:Parser function extensions
Description Adds a tag and a function to display a random BOFH excuse
Author(s) Helmut K. C. Tessarek (tessustalk)
Latest version 1.9 (2024-12-28)
Compatibility policy Master maintains backward compatibility.Category:Extensions with master compatibility policy
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
README
<bofh>
Category:All extensions

The BOFH extension allows users to display a random BOFH (Bastard Operator From Hell) excuse on a wiki page.

Installation

  • Grab the code via git:
cd extensions
git clone https://github.com/tessus/mwExtensionBOFH.git BOFH
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension('BOFH');
  • Yes Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Usage

tag

Add a <bofh/> tag to display a random BOFH excuse.

function

A function can be used to display a random excuse in a nostalgic look.

{{bofh:}} will look like this:


Without a value the width of the box will be the length of the excuse, but you can also specify a fixed length {{bofh:600}} or a percentage {{bofh:40%}}.

{{bofh:600}} will look like this:

Category:Simple extensions
Category:All extensions Category:Extensions in GitHub version control Category:Extensions with manual MediaWiki version Category:Extensions with master compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:Simple extensions Category:Stable extensions Category:Tag extensions