List of steps to reproduce (step by step, including full links if applicable):
- Go here
- Enable the OCR tool via the console: $('.ext-wikisource-ExtractTextWidget').show()
- Run the OCR and observe the console
What happens?:
A CORS error is logged, since the server responds with a 500 due to the language "nap" not being supported. I and other engineers already found this bug when testing locally. Also, a user-facing error is shown: "No text was returned by the OCR tool.".
What should have happened instead?:
There should be no CORS error.



