Extension:LimitUserCount

LimitUserCount is a MediaWiki extension which provides the ability to limit the creation of new users based on user count.

It checks the current number of users in your Media Wiki and prevents on creating a new user if that number surpasses $wgLimitUserCount.

Motivation
When you start managing a wiki farm with tens or even hundred of wikis, and you want to control the number of registered users on each wiki without actually opening yourself each account, this extension can help you a lot.

Installation and usage
(In the above example, only 10 users will be allowed in the Wiki)
 * 1) Copy LimitUserCount.php to your Media Wiki extensions folder.
 * 2) Add the following lines at the end of LocalSettings.php:

Source of LimitUserCount.php

 * LimitUserCount.php


 * LimitUserCount.i18n.php

Configuration

 * 1) $wgLimitUserCount - Defines the maximum user count allowed in the Wiki.
 * 2) The 'limitusercount-message' message which you can alter. You can find it here - MediaWiki:Limitusercount-message

To do

 * 1) Consider extra parameters in the users count - bots, admins, blocked users