From now on, after adding new messages to MediaWiki namespace using the script, the protection level is not set, and the messages are editable only by the users which have the permission "editinterface", regardless the permission "protect" (which should be used for other purposes - protecting pages, and editing protected pages - not for editing system messages). This will separate the permissions, and won't require us to grant the permission "protect" in order to make the "editinterface" permission functional.
}
} else {
$article = new Article( $titleObj );
- $newid = $article->insertOn( $dbw, 'sysop' );
+ $newid = $article->insertOn( $dbw );
# FIXME: set restrictions
$revision = new Revision( array(
'page' => $newid,