Difference between revisions of "Template:Check page on delete"

From blackwiki
Jump to navigation Jump to search
imported>Cenarium
(removing blanks)
imported>MusikAnimal
m (Changed protection level for "Template:Check page on delete": High-risk template or module; used in system message ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
   | id = mw-confirmdeletetext-protected
 
   | id = mw-confirmdeletetext-protected
 
   | text =  
 
   | text =  
'''Note!''' This page has the following protections set:
+
'''Note!''' This page has the following protections set (see its [{{fullurl:Special:Log/protect|page={{FULLPAGENAMEE}}}} protection log] for details):
 
     {{#if: {{PROTECTIONLEVEL:edit}}  
 
     {{#if: {{PROTECTIONLEVEL:edit}}  
 
     | * Edit: {{PROTECTIONLEVEL:edit}}
 
     | * Edit: {{PROTECTIONLEVEL:edit}}

Latest revision as of 22:06, 25 February 2019


Template documentation[view] [edit] [history] [purge]

This is the {{check page on delete}} template.

This template is normally only used by the system, it is called from MediaWiki:Confirmdeletetext. It displays a warning message when an admin tries to delete a protected page, for instance a protected article.

This template detects all three kinds of protection: edit, move and upload protection. It warns even if it is only semi-protection.

If the page is not protected at all this template produces no output.

This template is sometimes also called in file space. That is, MediaWiki:Confirmdeletetext and thus this template is also called when deleting file pages that have no locally uploaded file.

See also

  • {{check file on delete}} – The warning message for file pages that do have a locally uploaded file.