Page MenuHomePhabricator

allow showing captchas on Wikibase
Open, MediumPublic

Description

It is currently not possible to show a captcha to the user when entering a URL in a Wikibase item or property. This should be possible.

Types of captcha to check:

  • FancyCaptcha
  • HCaptcha

UIs to check:

  • Wikibase special pages
  • Current (legacy) Wikidata item UI
  • NewLexeme special page
  • Current Wikidata Lexeme UI
  • Current mobile termbox
  • New mobile UI (MEX)
  • Wikimedia Commons structured data UI
  • EntitySchema special pages
  • EntitySchema UI
  • Wikidata Bridge

Event Timeline

Lydia_Pintscher raised the priority of this task from to Medium.
Lydia_Pintscher updated the task description. (Show Details)

Just for information: If an edit fails because of a CAPTCHA (missing or not/false solved), the API should return all relevant information:

{"edit":{"captcha":{"type":"image","mime":"image/png","id":"1610928352","url":"/index.php?title=Special:Captcha/image&wpCaptchaId=1610928352"},"result":"Failure"}}

The url parameter is the link to load the captcha image from. With the id parameter and the value of the user (who solves the CAPTCHA) you can retry the save api call with the relevant data, e.g. (for an edit):

action=edit&format=json&title=Pagetitle&summary=&captchaid=1610928352&captchaword=edvfd // and all other required parameters

Hope that helps :P

If you manage a Wikibase instance and wonder why your users can't enter email addresses or URLs while you can as admin, you have probably hit this bug.

Bugreporter renamed this task from allow showing captchas on Wikibase items and properties to allow showing captchas on Wikibase .Jun 11 2022, 6:04 PM
Bugreporter renamed this task from allow showing captchas on Wikibase to allow showing captchas on Wikibase.May 20 2026, 1:09 PM
Bugreporter updated the task description. (Show Details)

I've been asked for an update: This is very much still needed and becoming more pressing.