Description
Steps to reproduce (step by step instructions, with links, commands and necessary data to reproduce the error)
- Visit https://www.wikifunctions.org/view/en/Z861
- Under Try a function, enter a string and a language as the input arguments
- Run function
Observed behavior
- In Details, notice the evaluation error and Unspecified error notations. The unspecified error, which can be seen using Developer Tools, includes the string 'this.functor_ is not a function'
We see this error occasionally in logstash, but to my knowledge we don't know if it's always associated with calls to this particular function.
A community member made the following comment in Telegram, on August 6: Why do we need a built-in Z861? Since the built-in implementation didn't work on the first test, I made a composition just switching the arguments of the similar function we already have: Z26107
Expected behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- The error should not arise with valid inputs.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist