Template:Spamprotectionmatch/doc
Appearance
![]() | This is a documentation subpage for Template:Spamprotectionmatch. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
Usage
[edit]{{Spamprotectionmatch|links|count}}
This template is called by MediaWiki:Spamprotectionmatch and is not meant to be called anywhere else.
links
is a list of link(s) which triggered MediaWiki:Spam-blacklist or meta:MediaWiki:Spam-blacklist.
count
is the number of links.
The text is based on this version of MediaWiki:Spamprotectionmatch, but with a link count and correct grammar if there are multiple links. MediaWiki does not pass the number of links to MediaWiki:Spamprotectionmatch, so it calculates the number and passes it to this template.