12 'wgCaptchaClass' => SimpleCaptcha::class,
13 'wgCaptchaStorageClass' => CaptchaHashStore::class,
26 [ [
'123', [
'question' =>
'1+2',
'answer' =>
'3' ] ] ],
33 [
'123', [
'question' =>
'1+2',
'answer' =>
'3' ] ],
38 [
'123', [
'question' =>
'1+2',
'answer' =>
'3' ] ],
39 [
'captchaId' =>
'345' ],
43 [
'123', [
'question' =>
'1+2',
'answer' =>
'3' ] ],
44 [
'captchaId' =>
'234',
'captchaWord' =>
'5' ],
48 [
'123', [
'question' =>
'1+2',
'answer' =>
'3' ] ],
49 [
'captchaId' =>
'345',
'captchaWord' =>
'5' ],
50 [
'captchaId' =>
'345',
'captchaData' => [
'question' =>
'2+2',
'answer' =>
'4' ],
51 'captchaWord' =>
'5' ],
CaptchaAuthenticationRequest.
static provideGetFieldInfo()
provideLoadFromSubmission()
getInstance(array $args=[])
Generic captcha authentication request class.
static unsetInstanceForTests()
static get()
Get somewhere to store captcha data that will persist between requests.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))