How can I configure MediaWiki so that I am the only one that will be able to edit content of MediaWiki?

1 Answer 1


You'll want to disable editing for non-logged in users, disable registration, and disable editing for regular users (Just in case someone is already registered)

Put this at the bottom of your LocalSettings.php

# Disable editing and account creation for regular and anonymous users
$wgGroupPermissions['*']['edit']              = false;
$wgGroupPermissions['*']['createaccount']     = false;
$wgGroupPermissions['user']['edit']           = false;
# Enable editing for yourself
$wgGroupPermissions['sysop']['edit']          = true;
# Hides the IP in the header
$wgShowIPinHeader                             = false;

For more about user rights, see this manual page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.