This wiki is being moved to a new server and cannot be edited. Please sit tight. Thank you.

Spam prevention for published email addresses

From semantic-mediawiki.org

Hello,

I have a property with data type email and see it rendering as a normal mailto email link: <a rel="nofollow" target="_blank" class="external text" href="mailto:foo@baz.bar">foo@baz.bar</a>.

Now, that's not the best for a public wiki, where we would risk spam to published mail addresses (and the fear of users of adding them in the form). It concerns not only 1 contact email but a lot of email addresses that this property gets assigned to.

Is there any way of altering this property to improve spam prevention (Wikipedia:Address munging)? Ideally, there would be a way to assign a CSS class to the property… where can I start?

21:17, 15 April 2015

Consider using {{#set:}} parser function to set the property and any combination of string or regex functions to display it mangled.

03:44, 16 April 2015