From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Email Address Image

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description Generates an image of input text for obfuscating email addresses.
Author(s)Template:Extension#username Maarten van Dantzich (Thinklingtalk)
Latest versionTemplate:Extension#version 1.1 (2008-02-25)
MediaWikiTemplate:Extension#mediawiki 1.11+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license No license specified
Download Template:WikimediaDownload/svn
Hooks usedTemplate:Extension#hook

Translate the EmailAddressImage extension if it is available at translatewiki.net

Check usage and version matrix.

The EmailAddressImage extension turns text between <email> and </email> 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.


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


  • Copy the code and place the file(s) in a directory called EmailAddressImage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/EmailAddressImage/EmailAddressImage.php";
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.