Extension:External image whitelist

Usage
Make sure that $wgAllowExternalImages is false in your LocalSettings.php before installing this extension. It will not work otherwise.

Then, follow the directions on your wiki's "MediaWiki:External image whitelist" page to add regular expression fragments that will be matched whenever an external image is about to be displayed. Items matching that regex will have the respective image displayed ("hot linked"), otherwise only a link to that image will be shown.

Download instructions
Download the extension from the Subversion repository and save it into the ExternalImageWhitelist directory of your wiki. If you have shell access to your server, you may do the following to download the extension.

Warning: Before you download read Requirements or you might install the wrong version: cd extensions svn co http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_13/extensions/ExternalImageWhitelist

Requirements

 * MediaWiki version 1.13.x. This feature is present in the core MediaWiki software as of version 1.14.0.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters

 * $wgExtImgWlExtensions:Array of extensions to search for before matching URLs to the whitelist regex. Default value:.