Extension:Bad Image List

The Bad Image List extension provides more flexible blacklisting of images which shouldn't be rendered inline, and is friendlier in terms of management and performance for larger sites.

The extension was written by Rob Church in July 2006 and requires MediaWiki 1.7.0 or later to work. The code is cache-friendly, and works with shared memory caching (memcached, APC etc.) if available, to reduce database hits. All users can view the list, and trusted users can add and remove items from it; the latter is controlled with standard permissions. List modifications are logged for later review.

Installation

 * 1) Obtain the latest version of the extension from Subversion and place all files in the extensions directory
 * 2) Run the install.php script from the command line to set up the table used for the list
 * 3) * This requires that $wgDBadminuser and $wgDBadminpassword are set up in AdminSettings.php
 * 4) * If there is a problem running the script, use the table definition in badimage.sql to create the table in the database
 * 5) Add the line require_once( 'extensions/BadImage.php' ); to your LocalSettings.php file
 * 6) Access Special:Version on your wiki and search for the corresponding entry to verify installation was successful

Use
To view or edit the bad image list, access Special:Badimages. When in privileged mode, you will be able to add or remove images.

Adding an image
To add an image, enter its name in the title box, provide a reason if desired, and click Add. You can enter the name with or without the namespace prefix, i.e. "Image:Foo.png" and "Foo.png" are both acceptable.

Removing an image
To remove an image, click the remove link next to the item in the list. Provide a reason and click Remove.