MediaWiki talk:Protectedpagetext
Add topicProtected edit request on 25 August 2024
[edit]It is requested that the interface page at MediaWiki:Protectedpagetext be created. (edit · history · last · links)
This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to fully protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. When the request has been completed or denied, please add the |
I have created some protection templates similar to the ones used on sister projects Wikipedia and Meta (the latter of which is based on the former). Here’s the code I suggest:
<div class="mw-parser-output"> __NOTOC__{{#switch:{{CASCADINGSOURCES}} | {{FULLPAGENAME}}|= {{#ifexist:Template:Editnotices/Protection/{{FULLPAGENAME}} | {{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 --> | #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 = }} }} </div>
2604:3D08:9476:BE00:54CE:32F2:7EBC:42BF 23:55, 25 August 2024 (UTC)