MediaWiki:Protectedpagetext: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
m (project namespaces (via JWB))
Tag: Reverted
(test new label)
Tag: Reverted
Line 4: Line 4:
| image = [[File:OOjs UI icon lock-destructive.svg|middle|20px|alt=|link=]]
| image = [[File:OOjs UI icon lock-destructive.svg|middle|20px|alt=|link=]]
| text = {{#ifexist: {{FULLPAGENAME}}
| text = {{#ifexist: {{FULLPAGENAME}}
| {{#if: {{#switch: $1 | protect | editprotected = 1 }}<!-- edit protection-->
| {{#switch: $1 | protect  
    | This page '''[[Test Wiki:Page protection rules|protected]]''' and can only be edited "'[[Test Wiki:Administrators|administrators]]''' and '''[[Test Wiki:Engineers|engineers]]'''.
    | editprotected = This page is '''[[Test Wiki:Page protection rules|protected]]''' and can only be edited "'[[Test Wiki:Administrators|administrators]]''' and '''[[Test Wiki:Engineers|engineers]]'''.
     | This page is '''[[Test Wiki:Partial page protection|partially protected]]''' and cannot be edited by '''unregistered''' and '''new members'''.
     | #default = This page is '''[[Test Wiki:Partial page protection|semi protected]]''' and cannot be edited by '''unregistered''' and '''new members'''.
     }}
     }}
|{{#if: {{#switch: $1 | protect | editprotected = 1 }}<!-- creation protection-->
|{{#if: {{#switch: $1 | protect | editprotected = 1 }}<!-- creation protection-->

Revision as of 15:23, 11 June 2022