From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Implementation Tag , Skin
Description Adds sarcasm tags to the wiki that can be used for indicating text as sarcastic
Author(s) (Inquisitor Ehrensteintalk)
Latest version 1.0 (2013-02-02)
Database changes No
License GNU General Public License v2+
Translate the Sarcasm extension if it is available at translatewiki.net
Check usage and version matrix.

The Sarcasm extension implements parsing for the <sarcasm> tags indicate when text is intended to be sarcastic. The goal is to make sarcasm through text more identifiable, which is often problematic due to the lack of non verbal communication that would normally indicate sarcasm that can result in action taken against users for incivility because their actions were misinterpreted. This extension will also hopefully facilitate wiki communities and good humor by encouraging jokes and sarcasm.


  1. Download the extension files
  2. Upload the file to the /extensions/ directory
  3. Add the following line to LocalSettings.php
    require_once( "$IP/extensions/sarcasm.php" );
  4. Configure the CSS class .sarcasm in MediaWiki:Common.css

Define style[edit]

You can customize the way that sarcasm tags affect text by styling the .sarcasm selector in the CSS pages on your wiki.

For example, add the following to your MediaWiki:Common.css to color them gray:

.sarcasm {
    color: #A4A4A4;