Difference between revisions of "Template:Check file on delete/doc"
Jump to navigation
Jump to search
imported>Davidgothberg (Grammar fix.) |
imported>Davidgothberg (Adding that this template now also warns for known high-risk files.) |
||
| Line 5: | Line 5: | ||
This is the {{tl|check file on delete}} template. | This is the {{tl|check file on delete}} template. | ||
| − | This template is normally only used by the system, it is called from [[MediaWiki:Filedelete-intro]]. It displays a warning message when an admin tries to delete a protected file. | + | This template is normally only used by the system, it is called from [[MediaWiki:Filedelete-intro]]. It displays a warning message when an admin tries to delete a protected file or a known high-risk file. |
| − | This template detects all three kinds of protection: edit, move and upload protection. It warns even if it is only semi-protection. | + | This template detects all three kinds of protection: edit, move and upload protection. It warns even if it is only semi-protection. It then displays a message as seen above this documentation box. |
| − | If the file is not protected at all this template produces no output. | + | This template also checks against a list of images used in system messages and a list of the most widely used images. If a match is found it displays this message: |
| + | |||
| + | {{check file on delete|test1=yes}} | ||
| + | |||
| + | |||
| + | If the file is not protected at all and is not a known high-risk image then this template produces no output. | ||
=== See also === | === See also === | ||
Revision as of 03:44, 2 October 2011
| 40px | This is a documentation subpage for Template:Check file on delete. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes on the talk page before implementing them. |
This is the {{check file on delete}} template.
This template is normally only used by the system, it is called from MediaWiki:Filedelete-intro. It displays a warning message when an admin tries to delete a protected file or a known high-risk file.
This template detects all three kinds of protection: edit, move and upload protection. It warns even if it is only semi-protection. It then displays a message as seen above this documentation box.
This template also checks against a list of images used in system messages and a list of the most widely used images. If a match is found it displays this message:
If the file is not protected at all and is not a known high-risk image then this template produces no output.
See also
- {{check page on delete}} – The warning message for normal pages, and for file pages that have no locally uploaded file.