Extension:Sarcasm

MediaWiki extensions manual
Sarcasm
Release status: unmaintained
Implementation Tag , Skin
Description Adds sarcasm tags to the wiki that can be used for indicating text as sarcastic
Author(s) Inquisitor Ehrenstein (Inquisitor Ehrensteintalk)
Latest version 1.0 (2013-02-02)
MediaWiki >= 1.29.0
License GNU General Public License 2.0 or later
Download
<sarcasm></sarcasm>
Quarterly downloads 0
Translate the Sarcasm extension if it is available at translatewiki.net

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.

Installation

edit
  • Download and move the extracted Sarcasm folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Sarcasm
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Sarcasm' );
    
  • Configure the CSS class .sarcasm in MediaWiki:Common.css
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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;
}