Template:No spam/doc: Difference between revisions

From TestWiki
Content added Content deleted
(fill in cite)
m (Comment out Template:High risk for now. -DM)
 
(23 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{For|template that generates "@" for Mention-[[WP:Notifications|Notifications]] in discussion replies|Template:Reply to|Template:Ping}}
{{for|template that generates "@" for Mention-[[w:WP:Notifications|Notifications]] in discussion replies|Template:Reply to|Template:Ping}}
{{Documentation subpage}}
{{Documentation subpage}}
{{#ifeq:{{ROOTPAGENAME}}|No spam|<!--- {{High risk|approximately 200,000}} ---> {{used in system}}}}
<!--
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
-->
-->
=== Usage ===
=== Usage ===
<code><nowiki>{{no spam|account|example.com}}</nowiki></code> → {{no spam|account|example.com}}
<code><nowiki>{{</nowiki>{{ROOTPAGENAME}}|account|example.com}}</code> → {{{{ROOTPAGENAME}}|account|example.com}}


<code><nowiki>{{no spam}}</nowiki></code> (or <code><nowiki>{{@}}</nowiki></code>) → {{@}}
<code><nowiki>{{</nowiki>{{ROOTPAGENAME}}}}</code> {{#ifeq:{{ROOTPAGENAME}}|No spam|(or <code><nowiki>{{@}}</nowiki></code>)}} → {{{{ROOTPAGENAME}}|}}


This template is designed to help prevent spam from being sent to an e-mail address inserted onto a Wikipedia page. Because nearly all spam is automated,<ref name="Pearce2006">{{cite book|author=Robyn Pearce|title=About Time for Teaching: 120 Time-Saving Tips for Teachers and Those Who Support Them|url=https://books.google.com/books?id=hgtaw61drMsC&pg=PA137&dq=%22all+spam+is+automated%22|date=January 2006|publisher=Robyn Pearce|isbn=978-0-7900-1044-1|page=137}}</ref> altering the format of the e-mail address to where it does not match the [[regular expression]](s) in the e-mail address search engine helps prevent spam.
This template is designed to help prevent spam from being sent to an e-mail address inserted onto a Wikipedia page. Because nearly all spam is automated,<ref name="Pearce2006">{{cite book|author=Robyn Pearce|title=About Time for Teaching: 120 Time-Saving Tips for Teachers and Those Who Support Them|url=https://books.google.com/books?id=hgtaw61drMsC&pg=PA137&dq=%22all+spam+is+automated%22|date=January 2006|publisher=Robyn Pearce|isbn=978-0-7900-1044-1|page=137}}</ref> altering the format of the e-mail address to where it does not match the [[regular expression]](s) in the e-mail address search engine helps prevent spam.
Line 14: Line 15:
{{Reflist}}
{{Reflist}}


{{#ifeq:{{ROOTPAGENAME}}|No spam
=== Redirects ===
|=== Redirects ===
*{{tl|nospam}}
*{{tl|nospam}}
*{{tl|email}}
*{{tl|email}}
*{{tl|@}}
*{{tl|@}}

=== See also ===
*{{tl|No spam blue}}|
=== See also ===
*{{tl|No spam}}
}}

<includeonly>{{Sandbox other||
{{#ifeq:{{PAGENAME}}|{{ROOTPAGENAME}}|
[[Category:Character templates]]
[[Category:Link templates]]
[[Category:Character-substitution templates]]
}}
}}</includeonly>

Latest revision as of 20:03, 22 June 2020

Usage[edit]

{{No spam|account|example.com}}account@example.com

{{No spam}} (or {{@}}) → @

This template is designed to help prevent spam from being sent to an e-mail address inserted onto a Wikipedia page. Because nearly all spam is automated,[1] altering the format of the e-mail address to where it does not match the regular expression(s) in the e-mail address search engine helps prevent spam.

References[edit]

  1. Robyn Pearce (January 2006). About Time for Teaching: 120 Time-Saving Tips for Teachers and Those Who Support Them. Robyn Pearce. p. 137. ISBN 978-0-7900-1044-1.

Redirects

See also