Manual:Interface/Protectedpagetext

From mediawiki.org

MediaWiki:Protectedpagetext is shown to the user when they attempt to edit a page that has been protected from editing, and the user does not have the appropriate editing permission (see example).

Parameters[edit]

  • $1 - the raw name of the right which is needed to edit the page
  • $2 - the action the user attempted to perform

Preview[edit]

  • $1=editprotected
'"`UNIQ--templatestyles-00000004-QINU`"'<div class="mw-parser-output"><table id="mw-protectedpagetext" class="fmbox fmbox-system plainlinks" role="presentation" style="border-style:none;"><tr><td class="mbox-text">'"`UNIQ--templatestyles-00000003-QINU`"'<table class="ombox ombox-protection plainlinks" role="presentation"><tr><td class="mbox-image">[[File:Semi-protection-shackle-keyhole.svg|40x40px|link=|alt=]]</td><td class="mbox-text" style="font-weight:bold;font-size:130%;">This page is currently protected and can be edited only by [[Project:Administrators|administrators]].</td></tr></table>
<table class="wikitable" width="100%">
<tr>
<th>Why is the page protected?</th>
<th>What can I do?</th>
</tr>
<tr valign="top">
<td width="35%">
<ul>
<li> Some [[Help:Templates|templates]] and site interface pages are permanently protected due to visibility. Occasionally, pages are temporarily protected because of editing disputes. Most pages can be edited by anyone.</li>
<li> The reason for protection can be found in the [//www.mediawiki.org/w/index.php?title=Special:Log&type=protect&page=Manual:Interface/Protectedpagetext protection log]. If there are no relevant entries in the protection log, the page may have been moved after being protected.</li>
<li> You might be in the wrong place; MediaWiki is '''not''' Wikipedia, Wikibooks or any other Wikimedia project. </li> 
</td><td><ul><li> [[Manual_talk:Interface/Protectedpagetext|Discuss this page]] with others.</li>
<li> [[Project:Village Pump|Request unprotection]] of the page. </li>
<li> Check [[Project:About]] to find out what this site is about. </li>
</ul>
</td>
</tr>
</table></td></tr></table></div>
  • $1=editsemiprotected
'"`UNIQ--templatestyles-00000009-QINU`"'<div class="mw-parser-output"><table id="mw-semiprotectedpagetext" class="fmbox fmbox-system plainlinks" role="presentation" style="border-style:none;"><tr><td class="mbox-text">'"`UNIQ--templatestyles-00000008-QINU`"'<table class="ombox ombox-protection plainlinks" role="presentation"><tr><td class="mbox-image">[[File:Semi-protection-shackle.svg|40px|link=|alt=Padelock]]</td><td class="mbox-text" style="font-weight:bold;font-size:130%;">This page is currently semi-protected and can be edited only by established registered users.</td></tr></table>

<table class="wikitable" width="100%">
<tr>
<th>Why is the page protected?</th>
<th>What can I do?</th>
</tr>
<tr style="vertical-align:top;">
<td style="width:35%;">
<ul>
<li> While most pages can be edited or translated by anyone, semi-protection is sometimes necessary to prevent vandalism to popular pages.</li>
<li> The reason for protection can be found in the [//www.mediawiki.org/w/index.php?title=Special:Log&type=protect&page=Manual:Interface/Protectedpagetext protection log]. If there are no relevant entries in the protection log, the page may [//www.mediawiki.org/w/index.php?title=Special:Log&type=move&page=Manual:Interface/Protectedpagetext have been moved] after being protected.</li>
<li> You might be in the wrong place; MediaWiki is '''not''' Wikipedia, Wikibooks or any other Wikimedia project. </li> </ul> </td>
<td><ul><li> If you have a user account, [[Special:UserLogin|log in]] first. If you do not yet have an account, you may [//www.mediawiki.org/w/index.php?title=Special:UserLogin&type=signup create one]; after 4 days, you will be able to edit semi-protected pages.</li>

<li>[[Manual_talk:Interface/Protectedpagetext|Discuss this page]] with others.</li>
<li>[[Project:Village Pump|Request unprotection]] of the page.</li>
<li>Check [[Project:About]] to find out what this site is about. </li>
</ul>
</td>
</tr>
</table></td></tr></table></div>

Default message[edit]

This page has been protected to prevent editing or other actions.