Extension:EmailAddressImage

What can this extension do?
This extension turns text between &lt;email&gt; and &lt;/email&gt; tags into an image of the text, so you can embed email addresses in your wiki without having them harvested by spammers. The address will not be clickable or copy/pastable; users will have to copy it by hand into a mail.

Usage
The email address must be specified in this tag format: user@domain.com. The code verifies that the text between the tags looks like an email address to prevent HTML/XSS injection.

Installation
Copy code below into $IP/extensions/EmailAddressImage.php and $IP/extensions/EmailAddressImage-generator.php, then add the include to your LocalSettings.php.

Note that the code assumes you're placing the code files into $IP/extensions/. If you place them elsewhere (e.g. in $IP/extensions/EmailAddressImage/), you must modify the URL generated in the code to match.

1.11 fix
To get this working in MediaWiki 1.11 modify the EmailAddressImage.php file by adding "return true;" to the section below.