Extension:LockTitle

Enables locking of certain titles to prohibit unprivileged users to create said page. The locking is per page basis and utilizing a table in the database to store the pages. A simple special page is available to create or remove locks.

License
Copyright © 2006 Carl Fürstenberg This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Author
Carl Fürstenberg (AzaToth) 

Pre-requisites
This extension has only yet been tested with 1.9.2 SVN trunk

Files to install
Place these files in extension/LockTitle

LockTitle.sql
CREATE TABLE /*$wgDBprefix*/locktitle ( `key` varchar(255) binary NOT NULL,  PRIMARY KEY  (`key`) ) ENGINE=InnoDB;

Instructions
run this command in the top directory (to create the table needed):

extensions/LockTitles/install.php

In your MediaWiki LocalSettings.php, add the following line some place towards the bottom of the file:

require_once("$IP/extensions/LockTitles/LockTitles.php"); require_once("$IP/extensions/LockTitles/SpecialLockTitles.php");

Configuration
Priviledged users have acess to the page Special:LockTitle where adding and removing of locks can be done.