[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Asirra CAPTCHA module for the ConfirmEdit MediaWiki extension. 4 * @author Bachsau 5 * @author Niklas Laxström 6 * 7 * Makes use of the Asirra (Animal Species Image Recognition for 8 * Restricting Access) CAPTCHA service, developed by John Douceur, Jeremy 9 * Elson and Jon Howell at Microsoft Research. 10 * 11 * Asirra uses a large set of images from http://petfinder.com. 12 * 13 * For more information about Asirra, see: 14 * http://research.microsoft.com/en-us/um/redmond/projects/asirra/ 15 * 16 * This MediaWiki code is released into the public domain, without any 17 * warranty. YOU CAN DO WITH IT WHATEVER YOU LIKE! 18 * 19 * @file 20 * @ingroup Extensions 21 */ 22 23 if ( !defined( 'MEDIAWIKI' ) ) { 24 exit; 25 } 26 27 $dir = __DIR__; 28 require_once ( $dir . '/ConfirmEdit.php' ); 29 30 $wgCaptchaClass = 'Asirra'; 31 $wgMessagesDirs['Asirra'] = __DIR__ . '/i18n/asirra'; 32 $wgExtensionMessagesFiles['Asirra'] = $dir . '/Asirra.i18n.php'; 33 $wgAutoloadClasses['Asirra'] = $dir . '/Asirra.class.php'; 34 35 $wgResourceModules['ext.confirmEdit.asirra'] = array( 36 'localBasePath' => $dir . '/resources', 37 'remoteExtPath' => 'ConfirmEdit/resources', 38 'scripts' => 'ext.confirmEdit.asirra.js', 39 'messages' => array( 40 'asirra-failed', 41 ), 42 ); 43
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |