Extension:BlockTitles

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
BlockTitles

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type Page action
DescriptionTemplate:Extension#description Allows users to block the creation or editing of articles with certain title names
Author(s)Template:Extension#username Travis Derouin (Tderouintalk)
Latest versionTemplate:Extension#version 0.1 (2006-12-01)
MediaWikiTemplate:Extension#mediawiki 1.6+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download Template:WikimediaDownload/svn
Hooks usedTemplate:Extension#hook
ArticleSaveManual:Hooks/ArticleSave

Translate the BlockTitles extension if it is available at translatewiki.net

Check usage and version matrix.

The BlockTitles extension allows MediaWiki administrators to block the creation, or editing, of articles with particular title names. For example, a commmon spam technique is to post an article that has the name of a URL. Using this tool can prevent these articles from being created.

License[edit]

Copyright 2006 Travis Derouin

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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Author[edit]

Travis Derouin ( travis @ wikihow.com)

Pre-requisites[edit]

This extension was tested with MediaWiki 1.6.7 and MediaWiki 1.8.2.

Installation[edit]

Download the latest snapshot and extract it to your extensions directory.

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

require_once("$IP/extensions/BlockTitles/BlockTitles.php");

Configuration[edit]

Simply add any regular expressions you want to the variable $wgBlockTitlePatterns in BlockTitles.php. By default there are no set patterns.

Bugs and enhancements[edit]

Bugs or feature requests can be sent to the author at travis @ wikihow.com.