Manual:RenameRestrictions.php

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

MediaWiki has many builtin protection level. By this script, we can update DB's page_restrictions table to rename any current restriction level to new.