MediaWiki:Protectedpagetext: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Mediawiki talk>ToBeFree
(Tell {{protected page text/level}} if the corresponding talk page is protected. Currently used to disable showing the blue button in this case, but useful in general. See Special:Permalink/1034886159#Changes_at_Requests_for_page_protection for details. (From the sandbox at MediaWiki talk:Protectedpagetext/sandbox; see that page's history for attribution and license))
 
(Created page with "45px|link=|Your IP address or username is blocked. <strong>This page has been protected. You can not edit or create this page because you haven't go...")
Line 1: Line 1:
__NOTOC__{{#switch:{{CASCADINGSOURCES}}
[[File:Stop x nuvola.png|45px|link=|Your IP address or username is blocked.]] <strong>This page has been protected. You can not edit or create this page because you haven't got rights to do it.
| {{FULLPAGENAME}}|= {{#ifexist: Template:Editnotices/Protection/{{FULLPAGENAME}}
</strong> [[File:Stop x nuvola.png|45px|link=|Your IP address or username is blocked.]]
    | {{Template:Editnotices/Protection/{{FULLPAGENAME}}|$1|$2}}
    | {{#ifeq: {{#titleparts:{{FULLPAGENAME}}|1|1}} | Special:Upload
      | {{Generic image names|protected}}
      | {{#switch: $1
          | protect | editprotected = {{protected page text/full|$1|$2|talk-protected={{#if:{{PROTECTIONLEVEL:edit|{{TALKPAGENAME}}}}|true|false}}}} <!-- Fully protected -->
          | templateeditor          = {{protected page text/template|$1|$2|talk-protected={{#if:{{PROTECTIONLEVEL:edit|{{TALKPAGENAME}}}}|true|false}}}} <!-- Template protected -->
          | extendedconfirmed      = {{protected page text/extendedconfirmed|$1|$2|talk-protected={{#if:{{PROTECTIONLEVEL:edit|{{TALKPAGENAME}}}}|true|false}}}} <!-- Extendedconfirmed protected -->
          | #default                = {{protected page text/semi|$1|$2|talk-protected={{#if:{{PROTECTIONLEVEL:edit|{{TALKPAGENAME}}}}|true|false}}}} <!-- Semi-protected -->
        }}{{#switch:$2|edit|create={{editnotice load|notice action = view}}}}
      }}
|#default = <!-- defer to MediaWiki:Cascadeprotected -->
  }}
}}

Revision as of 12:23, 17 September 2021

Your IP address or username is blocked. This page has been protected. You can not edit or create this page because you haven't got rights to do it. Your IP address or username is blocked.