This is a script to replace all potentially-offensive images in Wikipedia pages with a placeholder, . It should have an extremely low rate of missing offensive images, although there is a risk of false positives.

Clicking the placeholder will reveal the original.

Installation

edit

Note that the installation instructions for this script are somewhat unusual.

First, copy this to your common.js:

importScript('User:Anomie/hide-images.js');

Then copy this to your common.css:

@import url('//en.wikipedia.org/w/index.php?action=raw&title=User:Anomie/hide-images.css&ctype=text/css');

Compatability

edit

This script has been tested and functions using the Vector skin in the following browsers:

  • Firefox 25.0
  • Safari 6.0
  • Chrome 31.0
  • IE 8.0+

Caveats

edit
  • If you become logged out, offensive images may be shown.
  • Offensive text or ASCII art is not censored. User:Anomie/censorship may be used to hide potentially-offensive text.
  • Offensive images in the MediaWiki user interface are not censored.
  • Offensive images generated by other scripts (e.g. WP:POPUPS) may not be censored.
  • Offensive images added via CSS (e.g. as the background image of an element) will not be censored.
  • This script may have false positives, i.e. hiding of images that are not actually offensive. This is a side effect of the script's extremely low false-negative rate.