* A page can only be protected with cascading protection if the
* requested restriction level is included in this array.
*
- * This is intended to prevent abuse - if any protection could be
- * cascading, users could who cannot normally protect pages could
- * "protect" them by transcluding them on protected pages they are
- * allowed to edit.
- *
* 'autoconfirmed' is quietly rewritten to 'editsemiprotected' for backwards compatibility.
* 'sysop' is quietly rewritten to 'editprotected' for backwards compatibility.
*/
return Status::newGood();
}
- // Only certain restrictions can cascade... Otherwise, users who cannot normally protect pages
- // could "protect" them by transcluding them on protected pages they are allowed to edit.
+ // Only certain restrictions can cascade...
$editrestriction = isset( $limit['edit'] ) ? array( $limit['edit'] ) : $this->mTitle->getRestrictions( 'edit' );
foreach ( array_keys( $editrestriction, 'sysop' ) as $key ) {
$editrestriction[$key] = 'editprotected'; // backwards compatibility
'right-reupload-shared' => 'Override files on the shared media repository locally',
'right-upload_by_url' => 'Upload files from a URL',
'right-purge' => 'Purge the site cache for a page without confirmation',
-'right-autoconfirmed' => 'Edit semi-protected pages',
+'right-autoconfirmed' => 'Not be affected by IP-based rate limits',
'right-bot' => 'Be treated as an automated process',
'right-nominornewtalk' => 'Not have minor edits to discussion pages trigger the new messages prompt',
'right-apihighlimits' => 'Use higher limits in API queries',
'right-ipblock-exempt' => 'Bypass IP blocks, auto-blocks and range blocks',
'right-proxyunbannable' => 'Bypass automatic blocks of proxies',
'right-unblockself' => 'Unblock themselves',
-'right-protect' => 'Change protection levels and edit protected pages',
+'right-protect' => 'Change protection levels and edit cascade-protected pages',
'right-editprotected' => 'Edit pages protected as "{{int:protect-level-sysop}}"',
'right-editsemiprotected' => 'Edit pages protected as "{{int:protect-level-autoconfirmed}}"',
'right-editinterface' => 'Edit the user interface',
The right to use <tt>&action=purge</tt> in the URL, without needing to confirm it (by default, anonymous users need to confirm it).',
'right-autoconfirmed' => "{{doc-right|autoconfirmed}}
If your account is older than [[mw:Manual:\$wgAutoConfirmAge|wgAutoConfirmAge]] and if you have at least [[mw:Manual:\$wgAutoConfirmCount|\$wgAutoConfirmCount]] edits, you are in the '''group \"autoconfirmed\"''' (note that you can't see this group at [[Special:ListUsers]]).
-If you are in that group, you have (by default) the '''right \"autoconfirmed\"'''. With this right, you can for example <!-- I think this right includes more things --> edit semi-protected pages.",
+If you are in that group, you have (by default) the '''right \"autoconfirmed\"''', which exempts you from certain rate limits (those based on your IP address or otherwise intended solely for new users). Other rate limits may still apply; see {{msg-mw|right-noratelimit}}.",
'right-bot' => '{{doc-right|bot}}',
'right-nominornewtalk' => '{{doc-right|nominornewtalk}}
If someone with this right (bots by default) edits a user talk page and marks it as minor (requires {{msg-mw|right-minoredit}}), the user will not get a notification "You have new messages".',