Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

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

I have installed MediaWiki on my website. I want to shut it down temporarily, until I completely fill it with articles.

Is this possible? Is there any maintenance shut down feature?

(Version: 1.18.1)

share|improve this question

migrated from superuser.com Mar 29 '12 at 5:50

This question came from our site for computer enthusiasts and power users.

up vote 9 down vote accepted

Add to LocalSettings.php:

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;

But of course admin is able to edit pages.

share|improve this answer
Oh boy, that helped so much. Thank you! – hkBattousai Mar 28 '12 at 21:10

Maybe $wgReadOnly is what you're looking for.

share|improve this answer

Your Answer


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.