Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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