Beginnings of a rewrite of the captcha system in a more object-oriented fashion;...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sun, 24 Apr 2011 11:47:03 +0000 (11:47 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sun, 24 Apr 2011 11:47:03 +0000 (11:47 +0000)
commit86f875a58a14eda27adf4031320ce8b37711e357
tree5dece74539b538352574ef078243d10c1fb3c7ff
parent54fa154b40903ea8687ed1a9fbd036a4a5632a49
Beginnings of a rewrite of the captcha system in a more object-oriented fashion; currently although there are classes for different types of captcha, they don't actually represent a single captcha object, they're just confused frontend/backend messes.  With the places captchas are inserted increasingly using HTMLForm, it makes eminent sense to introduce a HTMLCaptchaField, but that needs a more OOP implementation of the actual captcha, which I've started here.  This is not finished and isn't actually implemented anywhere, but a) it's harmless, b) I don't want it to bitrot, and c) some feedback would always be appreciated, so here it is.
Captcha.php
ConfirmEdit.php
HTMLCaptchaField.php [new file with mode: 0644]