MediaWiki:Protectedpagetext: Difference between revisions

From Test Wiki
Content deleted Content added
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)
 
Kirill SH (talk | contribs)
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:
[[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.
__NOTOC__{{#switch:{{CASCADINGSOURCES}}
</strong> [[File:Stop x nuvola.png|45px|link=|Your IP address or username is blocked.]]
| {{FULLPAGENAME}}|= {{#ifexist: Template:Editnotices/Protection/{{FULLPAGENAME}}
| {{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 -->
}}
}}