Extension:Sarcasm

Category:Unmaintained extensions#Sarcasm Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Sarcasm
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions, Skin Category:Skin extensions
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 Category:Extensions in Wikimedia version control
<sarcasm></sarcasm>
Quarterly downloads 3 (Ranked 113rd)
Translate the Sarcasm extension if it is available at translatewiki.net
Category:All extensions

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

  • 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
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Define style

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;
}
Category:All extensions Category:Extensions in Wikimedia version control Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:Skin extensions Category:Tag extensions Category:Unmaintained extensions