Page MenuHomePhabricator

Wikimedia OCR fails
Closed, ResolvedPublic

Description

While clicking on OCR button, I am getting this error message

⧼error⧽ undefined undefined

While clicking on Transcribe button, I am getting the following error message

Error from the OCR tool: Image URL must be for one of the following domain names: upload.wikimedia.org and upload.wikimedia.beta.wmflabs.org

This is happening for all Wikisources (on both Firefox and Chrome browsers for me)

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Allow thumb.wikimedia.org as host for imagestoolforge-repos/ocr!18ladsgrouppatch-1main
Customize query in GitLab

Event Timeline

Psephos subscribed.

Same; idk if it is a problem with proofreadpage or with wikimedia ocr; but the images showing up in proofreadpage now start with "thumb.wikimedia.org" instead of "upload.wikimedia.org" so ocr refuses to work on them (even tho it clearly "sees" them...);

thought it was maybe a mobile thing or 1 particular work I was working on but it is everything everywhere.

https://meta.wikimedia.org/wiki/Tech/News/2026/36 says "The domain of URLs for thumbnails is changing from upload.wikimedia.org to thumb.wikimedia.org. The old URLs will continue to work for the foreseeable future but MediaWiki will advertise the new domain instead." and points to T427465

This patch will fix it, I don't have rights to push the change but Sam will wake up in a couple of hours and can do it.

@taavi was too kind and pushed the change. Is it fixed now?

I've merged and released the above fix. Thanks everyone!

Bodhisattwa assigned this task to Ladsgroup.