Skip to content
Snippets Groups Projects
Unverified Commit b8a69e2c authored by nl6720's avatar nl6720
Browse files

archwiki: LocalSettings.php: give registered users the 'writeapi' right

Adding/removing pages from the whitelist when using the Vector skin requires the write API now.
Without this, regular users get this error:

    You're not allowed to edit this wiki through the API.
parent 1a573ba9
No related branches found
No related tags found
1 merge request!601archwiki: LocalSettings.php: give registered users the 'writeapi' right
......@@ -278,11 +278,8 @@ $wgGroupPermissions['privileged']['editprotected2'] = true;
# disable user account creation via API
$wgAPIModules['createaccount'] = 'ApiDisabled';
# remove 'writeapi' right from users
# remove 'writeapi' right from unregistered users
$wgGroupPermissions['*']['writeapi'] = false;
$wgGroupPermissions['user']['writeapi'] = false;
# add 'writeapi' to autoconfirmed users
$wgGroupPermissions['autoconfirmed']['writeapi'] = true;
# stricter conditions for 'autoconfirmed' promotion
$wgAutoConfirmAge = 86400*3; // three days
# require at least 20 normal edits before granting the 'writeapi' right
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment