Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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.