From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png

Release status:Extension status stable

ImplementationTemplate:Extension#type Tag, Parser function
DescriptionTemplate:Extension#description Adds a tag and a function to display a random BOFH excuse
Author(s)Template:Extension#username Helmut K. C. Tessarek (tessustalk)
Latest versionTemplate:Extension#version 1.3 (2015-01-11)
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Hooks usedTemplate:Extension#hook

Translate the BOFH extension if it is available at translatewiki.net

Check usage and version matrix.

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

Installation[edit source]

  • 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:
require_once( "$IP/extensions/BOFH/BOFH.php" );
  • YesY Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Usage[edit source]

tag[edit source]

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

function[edit source]

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

{{bofh:}} will look like this:

BOFH example1.png

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:

BOFH excuse sample.png