4 * ConfirmEdit MediaWiki extension.
6 * This is a framework that holds a variety of CAPTCHA tools. The
7 * default one, 'SimpleCaptcha', is not intended as a production-
8 * level CAPTCHA system, and another one of the options provided
9 * should be used in its place for any real usages.
11 * Copyright (C) 2005-2007 Brion Vibber <brion@wikimedia.org>
12 * http://www.mediawiki.org/
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License along
25 * with this program; if not, write to the Free Software Foundation, Inc.,
26 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 * http://www.gnu.org/copyleft/gpl.html
33 if ( function_exists( 'wfLoadExtension' ) ) {
34 wfLoadExtension( 'ConfirmEdit' );
35 // Keep i18n globals so mergeMessageFileList.php doesn't break
36 $wgMessagesDirs['ConfirmEdit'] = __DIR__ . '/i18n';
37 $wgExtensionMessagesFiles['ConfirmEditAlias'] = __DIR__ . '/ConfirmEdit.alias.php';
39 'Deprecated PHP entry point used for ConfirmEdit extension. ' .
40 'Please use wfLoadExtension instead, ' .
41 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
45 die( 'This version of the ConfirmEdit extension requires MediaWiki 1.25+' );