1 MATHCAPTCHA PLUGIN FOR MEDIAWIKI
5 3. Installing the plugin
6 4. Customising captcha behaviour
13 The MathCaptcha plugin is an alternative captcha[1] mechanism which can
14 be used in conjunction with the ConfirmEdit extension[2] to provide a
15 more convenient means of blocking or throttling automated editing.
17 The method used to generate the captcha images, and the formatting of
18 said images, means that the captchas will not, at this time, defeat a
19 tool which is designed to break them; however, casual mass-registration
20 or mass-spamming attempts will be dissuaded.
26 * Working support for TeX within MediaWiki (using the standard TexVC
28 * ConfirmEdit extension
30 == 3. Installing the plugin ==
32 Check the plugin out from Subversion[4] (and check out the ConfirmEdit
33 extension, if you don't have it installed) and place the files in your
34 extensions/ directory, within your wiki root.
36 Edit LocalSettings.php and add the following lines near the bottom of the
37 file, above the closing ?> tag:
39 require_once( 'extensions/ConfirmEdit.php' );
40 require_once( 'extensions/MathCaptcha.php' );
41 $wgCaptchaClass = 'MathCaptcha';
43 This installs ConfirmEdit and instructs it to use the MathCaptcha plugin.
44 The default settings for ConfirmEdit are used. At this point, no further
45 action is required to have the plugin work for user registration or edits
46 which add new external links to a page.
48 == 4. Customising captcha behaviour ==
50 A number of settings relating to the ConfirmEdit extension can be used to alter
51 the attitude of the captcha, including those actions for which it appears,
52 users who do not have to pass a captcha, etc. See the ConfirmEdit.php file for
55 As an example, to throw a captcha for all edits, add the following line to
58 $wgCaptchaTriggers['edit'] = true;
68 Feedback on the MathCaptcha plugin is welcomed at <robchur@gmail.com>. To report bugs
69 with the ConfirmEdit extension, please use http://bugzilla.wikimedia.org.
73 i. http://en.wikipedia.org/wiki/Captcha
74 ii. http://meta.wikimedia.org/wiki/ConfirmEdit
75 iii. http://meta.wikimedia.org/wiki/Enable_TeX
76 iv. http://www.mediawiki.org/wiki/Subversion