Jump to content

User talk:Tdittmar/MailObfuscator

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 17 years ago by
"Then, you must include the script in all templates that you provide for your page."

This needs elaboration. -- Sy / (talk) 10:20, 6 June 2006 (UTC)Reply

I agree. I couldn't figure it out either, until I poked aorund a bit. What he really means is "skin" not "template". I injected the code into an appropriate place into my MonoBook.php file (in the skins directory), and it worked for me. I used the snippet without the / in front of "extensions" 09:12, 13 April 2007 (UTC)Reply

Thanks for this extension; very nice.

One minor thing, the warnings $mailObfuscate_ERR_Invalid_Address and $mailObfuscate_MSG_Activate_JavaScript are not rendered in the function mailObfuscate_Render unless you declare them as global, i.e.

function mailObfuscate_Render($source, $argv)
  global $mailObfuscate_ERR_Invalid_Address, $mailObfuscate_MSG_Activate_JavaScript;

Thanks again!