Manual:RenameRestrictions.php/pl

From mediawiki.org
This page is a translated version of the page Manual:RenameRestrictions.php and the translation is 9% complete.

Details

renameRestrictions.php is a maintenance script that updates the page_restrictions and protected_titles tables to use a new name for a given restriction level.

MediaWiki has many built-in protection levels. Using this script, we can update the page_restrictions table to rename any current restriction level.

Arguments

Argument Description Required
oldlevel Old name of restriction level Wymagane
newlevel New name of restriction level Wymagane

Usage

php maintenance/renameRestrictions.php oldlevel newlevel
Terminal

Zobacz też