Template:Edit filter warning/testcases
| This is the template test cases page for the sandbox of Template:Edit filter warning. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Default (ideally should not be used but useful in case the template is used wrong)
[edit]{{codex demo|div=yes|cdxType=error|text=
{{Edit filter warning
|action = warn
|desc = Foobar
}}
}}
{{Edit filter warning/sandbox}}
{{codex demo|div=yes|cdxType=error|text=
{{Edit filter warning
|action = disallow
|desc = Foobar
}}
}}
{{Edit filter warning/sandbox}}
{{codex demo|div=yes|cdxType=error|text=
{{Edit filter warning
|action = deauto
|desc = Foobar
}}
}}
{{Edit filter warning/sandbox}}
{{codex demo|div=yes|cdxType=error|text=
{{Edit filter warning
|action = degroup
|desc = Foobar
}}
}}
{{Edit filter warning/sandbox}}
Not used but may still be handy in the future. |
|---|
{{codex demo|div=yes|cdxType=error|text=
{{Edit filter warning
|action = block
|desc = Foobar
}}
}}
{{Edit filter warning/sandbox}}
|
Other cases
[edit]{{Edit filter warning|edit filter warning|action=warn |demo=yes |friendly=yes |text=You've done something unconstructive, but we don't want to bite you}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=warn |demo=yes |friendly= |text=You've done something unconstructive, and we're more sure it's a Bad Idea}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=disallow |demo=yes |friendly=yes |text=You've done something unconstructive and we're stopping you, but we don't want to bite you}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=deauto |demo=yes |text=We need to delay your ability to become autoconfirmed right now.}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=degroup |demo=yes |text=We need to remove you from every group.}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=disallow |demo=yes |friendly= |text=You've done something unconstructive and we're stopping you, more forcefully}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=warn |demo=yes |filter=220 |friendly=yes |text=<div style="font-weight: bold; font-size: 132.25%; text-align: center;">Notice</div>
'''An [[Wikipedia:Edit filter|automated filter]] has identified a possible formatting error in your edit.'''
Please read the section below that applies to you. '''Are you attempting to:'''
* '''add a link to another website'''? The <code><a href></code> [[HTML tag]] does not work on Wikipedia. The correct syntax for adding external links on Wikipedia is <code>[http://www.example.com link title]</code>. Replace <code>http://www.example.com</code> with the [[Uniform Resource Locator|URL]] of the website you wish to link to, and <code>link title</code> with the text you wish to display on the link.
* '''add an image from another website'''? Unfortunately, it is not possible to do this on Wikipedia. If you created the image, however, you may [[Wikipedia:Upload|upload]] the image to Wikipedia and link to the image as follows: <code>[[File:Example.jpg]]</code>. Note: In certain instances, such as in a [[Wikipedia:Gallery tag|gallery]] or [[Help:Infobox|infobox]], the square brackets (<code>[[ ]]</code>) may not be necessary. Replace <code>File:Example.jpg</code> with the name of the file. For more detailed information, please see [[Wikipedia:Extended image syntax]]. If you did not create the image, then in most cases, you will not be able to add it to Wikipedia, which requires that content be [[Free content|free]] (that is, may be reused, copied, and modified freely by others) unless allowed under the provision of [[Wikipedia:Fair use|fair use]]. See our [[Wikipedia:Copyrights|copyright policy]] for more details.
* '''add an image hosted on Wikipedia or Wikimedia Commons?''' Likely, what you tried to do was to use the entire [[Uniform Resource Locator|URL]] of the image. The correct syntax for adding an image to a Wikipedia article is <code>[[File:Example.jpg]]</code>. Note: In certain instances, such as in a [[Wikipedia:Gallery tag|gallery]] or [[Help:Infobox|infobox]], the square brackets (<code>[[ ]]</code>) may not be necessary. Replace <code>File:Example.jpg</code> with the name of the file. For more detailed information, please see [[Wikipedia:Extended image syntax]].
After you have made the appropriate corrections to your edit, press "Publish changes" below to save.
If you received this message in error, please press "Publish changes" below and then proceed to <span class="plainlinks">[https://en.wikipedia.org/w/index.php?title=Wikipedia:Edit_filter/False_positives&action=edit§ion=1 report this error]</span>.}}
An automated filter has identified a possible formatting error in your edit.
Please read the section below that applies to you. Are you attempting to:
- add a link to another website? The
<a href=''>HTML tag does not work on Wikipedia. The correct syntax for adding external links on Wikipedia is[http://www.example.com link title]. Replacehttp://www.example.comwith the URL of the website you wish to link to, andlink titlewith the text you wish to display on the link. - add an image from another website? Unfortunately, it is not possible to do this on Wikipedia. If you created the image, however, you may upload the image to Wikipedia and link to the image as follows:
[[File:Example.jpg]]. Note: In certain instances, such as in a gallery or infobox, the square brackets ([[ ]]) may not be necessary. ReplaceFile:Example.jpgwith the name of the file. For more detailed information, please see Wikipedia:Extended image syntax. If you did not create the image, then in most cases, you will not be able to add it to Wikipedia, which requires that content be free (that is, may be reused, copied, and modified freely by others) unless allowed under the provision of fair use. See our copyright policy for more details. - add an image hosted on Wikipedia or Wikimedia Commons? Likely, what you tried to do was to use the entire URL of the image. The correct syntax for adding an image to a Wikipedia article is
[[File:Example.jpg]]. Note: In certain instances, such as in a gallery or infobox, the square brackets ([[ ]]) may not be necessary. ReplaceFile:Example.jpgwith the name of the file. For more detailed information, please see Wikipedia:Extended image syntax.
After you have made the appropriate corrections to your edit, press "Publish changes" below to save.
If you received this message in error, please press "Publish changes" below and then proceed to report this error.{{Edit filter warning/sandbox}}
An automated filter has identified a possible formatting error in your edit.
Please read the section below that applies to you. Are you attempting to:
- add a link to another website? The
<a href=''>HTML tag does not work on Wikipedia. The correct syntax for adding external links on Wikipedia is[http://www.example.com link title]. Replacehttp://www.example.comwith the URL of the website you wish to link to, andlink titlewith the text you wish to display on the link. - add an image from another website? Unfortunately, it is not possible to do this on Wikipedia. If you created the image, however, you may upload the image to Wikipedia and link to the image as follows:
[[File:Example.jpg]]. Note: In certain instances, such as in a gallery or infobox, the square brackets ([[ ]]) may not be necessary. ReplaceFile:Example.jpgwith the name of the file. For more detailed information, please see Wikipedia:Extended image syntax. If you did not create the image, then in most cases, you will not be able to add it to Wikipedia, which requires that content be free (that is, may be reused, copied, and modified freely by others) unless allowed under the provision of fair use. See our copyright policy for more details. - add an image hosted on Wikipedia or Wikimedia Commons? Likely, what you tried to do was to use the entire URL of the image. The correct syntax for adding an image to a Wikipedia article is
[[File:Example.jpg]]. Note: In certain instances, such as in a gallery or infobox, the square brackets ([[ ]]) may not be necessary. ReplaceFile:Example.jpgwith the name of the file. For more detailed information, please see Wikipedia:Extended image syntax.
After you have made the appropriate corrections to your edit, press "Publish changes" below to save.
If you received this message in error, please press "Publish changes" below and then proceed to report this error.
{{Edit filter warning|edit filter warning|action=warn |demo=yes |filter=132 |friendly=no |text=<b style="font-size: larger;">Warning</b>: An automated filter has identified this edit as removing all [[Wikipedia:Categorization|categories]] from an article, which is potentially unconstructive. Please be aware that [[Wikipedia:Vandalism|vandalism]] may result in [[Wikipedia:Blocking policy|revocation of your editing privileges]]. If this edit is constructive, please click 'Publish changes' again, and [[Wikipedia:Edit filter/False positives|report this error]].}}
{{Edit filter warning/sandbox}}
{{Edit filter warning|edit filter warning|action=disallow |demo=yes |filter=3 |friendly=yes |text=An automated filter has identified this edit as potentially unconstructive, so it has been disallowed. ''Please do not replace Wikipedia pages with blank content.'' Blank pages are harmful to Wikipedia because they have a tendency to confuse readers.
If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. If this edit is constructive, please [[Wikipedia:Edit filter/False positives|report this error]].
* If this page is a duplicate article, please [[Wikipedia:Redirect|redirect]] it to an appropriate existing page.
* If the page has been [[Wikipedia:How to spot vandalism|vandalised]], please [[Wikipedia:How to revert a page to an earlier version|revert]] it to the last legitimate version.
* If you feel that the content of the page is inappropriate, please [[Wikipedia:How to edit a page|edit]] the page and replace it with appropriate content or leave a message on the [[Wikipedia:Talk page|talk page]].
* If you believe the page should be deleted altogether, please see [[Wikipedia:Articles for deletion|articles for deletion]] for information on how to proceed.
* If the page is a [[Wikipedia:Biographies of living persons|biography of a living person]] that is problematic, please report the problem at the [[Wikipedia:Biographies of living persons/Noticeboard|noticeboard]].}}
If you would like to experiment, please use the sandbox. If this edit is constructive, please report this error.
- If this page is a duplicate article, please redirect it to an appropriate existing page.
- If the page has been vandalised, please revert it to the last legitimate version.
- If you feel that the content of the page is inappropriate, please edit the page and replace it with appropriate content or leave a message on the talk page.
- If you believe the page should be deleted altogether, please see articles for deletion for information on how to proceed.
- If the page is a biography of a living person that is problematic, please report the problem at the noticeboard.
{{Edit filter warning/sandbox}}
If you would like to experiment, please use the sandbox. If this edit is constructive, please report this error.
- If this page is a duplicate article, please redirect it to an appropriate existing page.
- If the page has been vandalised, please revert it to the last legitimate version.
- If you feel that the content of the page is inappropriate, please edit the page and replace it with appropriate content or leave a message on the talk page.
- If you believe the page should be deleted altogether, please see articles for deletion for information on how to proceed.
- If the page is a biography of a living person that is problematic, please report the problem at the noticeboard.
{{Edit filter warning|edit filter warning|action=disallow |demo=yes |text=An automated filter has identified this edit as potentially unconstructive, so it has been disallowed. If this edit is constructive, please [[Wikipedia:Edit filter/False positives|report this error]]. Disruptive editing may result in a [[Wikipedia:Blocking policy|block from editing]].}}
{{Edit filter warning/sandbox}}