Difference between revisions of "Template:Protected page text/interface"

From Wikishire
Jump to: navigation, search
m
m
Line 2: Line 2:
 
| padlock-color = brown
 
| padlock-color = brown
 
| png = yes
 
| png = yes
| protection-message = This user {{#switch:{{{type}}}|CSS=CSS page|JS|#default=script}} is currently protected and can be edited only by {{ROOTPAGENAME}} and interface administrators.  
+
| protection-message = This user {{#ifeq:{{{type|}}}|CSS|CSS page|{{#ifeq:{{{type|}}}|JS|script|script}}}} is currently protected and can be edited only by {{ROOTPAGENAME}} and interface administrators.  
| first-message = User {{#switch:{{{type}}}|CSS=CSS page|JS|#default=script}}s are able to execute code in a user’s browser.
+
| first-message = User {{#ifeq:{{{type|}}}|CSS|CSS page|{{#ifeq:{{{type|}}}|JS|script|script}}}}s are able to execute code in a user’s browser.
 
*As a security precaution, those pages are only allowed to be edited by the user and interface administrators.
 
*As a security precaution, those pages are only allowed to be edited by the user and interface administrators.
 
| protection-level = interface
 
| protection-level = interface

Revision as of 05:28, 22 June 2019

Why is the page protected?

  • User scripts are able to execute code in a user’s browser.
  • As a security precaution, those pages are only allowed to be edited by the user and interface administrators.

What do I do?