Jump to content

CAPTCHA

From mediawiki.org
This page is a translated version of the page CAPTCHA and the translation is 10% complete.

CAPTCHAs ("Completely Automated Public Turing test to tell Computers and Humans Apart"の略)はウィキメディアのウィキでは、ConfirmEdit 拡張子を介して、表向きはスパムを防止し、スパマーを抑止する手段として利用されています。 ほとんどのウィキでは、利用者がアカウントを作成したり、新しいページを作成したり、ページに外部リンクを追加したりしようとすると、CAPTCHA入力必要になることがあります。

pt.wiki では、2008年から2013年にかけて、荒らし行為を減らすために、未登録利用者や新規利用者の編集のたびにCAPTCHAが「一時的に」表示されました (議論bugzilla:41745を参照)。

現在のCAPTCHA実装には多くの問題があります。

  • They are only available in English (bugzilla:5309): the words used by our CAPTCHAs, however they are created, should be in the user's language. An unknown number of new users and edits are lost from non-English speaking people.
  • They violate accessibility principles (bugzilla:4845).
  • They don't effectively prevent bots from spamming.

Alternatives that might be implemented in the future

Image CAPTCHAs

Captcha images do not require text input which helps for mobile and internationalisation issue. Some ideas based on images:

  • Find the different one (view prototype). Several images from the same category (e.g., people) are shown mixed with one image from a different category (e.g., cat). Humans should be able to recognise which is the different one. Note that in this case, the question is always the same (find the different one) and the categories used are not exposed to the user.
  • Find all images of a kind (view prototype). Images from two or more categories are presented together. The user is explicitly asked to find all the images of a given type (e.g., all images of people wearing glasses).
  • 画像タグ(プロトタイプを見る) The user is presented with images that contain some tagged elements and options to pick the correct tag (e.g., is it a bird? is it a plane?).

The hard part here is how to create images and verify data in a way that is not exploitable to spambots. You need a very large set of CAPTCHAs (hundreds of thousands, ideally), otherwise an attacker can just map your CAPTCHA database. If you use a public image repository (such as Commons) or a public data source (such as Commons categories), chances are an attacker can match the CAPTCHA to the source and figure out the solution from that.

Replacing CAPTCHA with a honeypot

One possibility for avoiding localizations issues with the CAPTCHA is simply to remove it and replace it with a honeypot.

A homegrown reCAPTCHA clone

Write a version of reCAPTCHA that uses document images that have been processed by MediaWiki's ProofreadPage extension for Wikisource: WikiCAPTCHA. In other words, a CAPTCHA that feeds data to ProofreadPage to augment its OCR processing. You might build on existing code. It is worth noting that "reCAPTCHA hold no specific patents for the technology behind their text CAPTCHA algorithms (At least none they discuss on their website or are able to be found on the US Patents & Trademark Office site", according to one blogger [1]).

Also discussed at Wikimania 2012 with the presentation Wikicaptcha: a ReCAPTCHA-like solution for Wikisource

The advantage of this approach is that we can make the latent work force currently wasted in CAPTCHA into profit for a Wikimedia project (Wikisource); and that we can start with a limited data set. In fact, working the reCaptcha way we could create some sort of bootstrap data set, then show people a mix of captchas with known and unknown solutions, and use the known ones for verification and the unknown ones for generating more data. But that is not easy and should get significant focus in the project if you want a CAPTCHA system which is of any practical use at the end.

Accessibility

The accessibility of our current CAPTCHA is extremely bad. If the user has impaired eyesight or uses a screenreader the text-based CAPTCHA is almost entirely inaccessible to them. A handful of our larger wikis solve this via a volunteer-run account request system. Alternatives like image CAPTCHAs still violate accessibility principles (bugzilla:4845), an alternative such as an audio CAPTCHA could be considered, but would itself still fail to provide accessibility for people who are deaf-blind.

See also