Extension:RegexBlock

RegexBlock is an extension adds special page with the interface for blocking, viewing and unblocking user names and IP addresses using regular expressions. It was originally written by Bartek Łapiński for Wikia.

Installation
Note: this extension works best when used along with setting shared database and memcached.


 * 1) Copy the   folder and   into the   folder
 * 2) Add   to your GlobalSettings.php file.
 * 3) Create required tables.
 * 4) Set $wgSharedDB to the name of a shared database of your choice (in GlobalSettings.php).
 * 5) Set $wgMainCacheType to 'CACHE_MEMCACHED' and $wgMemCachedServers. The latter could look like this: $wgMemCachedServers = array ("127.0.0.1:11000"); (for a memcached server running on IP 127.0.0.1 and port 11000).

Depending on your previous configuration, you may need to remove or comment a line including the older regexBlock.php (probably in your GlobalSettings.php file).

Requires a total of 2 tables to be created.

Use

 * 1) Go to
 * 2) Enter the IP address or the username to be blocked to the "IP Adress or username" field
 * 3) Enter an optional reason
 * 4) Select expiry time
 * 5) Select if you want to block the creation of new accounts and if the match needs to be exact
 * 6) Press "Block this user"

Licensing and downloads
The extension is available under the GNU General Public License 2.0 or later, and can be downloaded from Subversion, or accessed via the web-based viewer.

The software is provided as-is. Updates will be made according to the needs of Wikimedia wikis; or where critical vulnerabilities are discovered.