petscan does ORES queries like GET https://ores.wikimedia.org/v3/scores/?callback=jQuery321036517573042888485_1695658622590&_=1695658622591, and it seems to expect get back valid JavaScript which calls a function jQuery321036517573042888485_1695658622590 with the data as a parameter.
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
Is there a codebase somewhere for petscan? Perhaps if it is the only use case then we could avoid returning Javascript from the server side
Comment Actions
Thanks for pointing that out!
I have added to the existing issue https://github.com/magnusmanske/petscan_rs/issues/141
The issue is that the new ores-legacy service that has been in place to assist in the ORES to Lift Wing migration (https://wikitech.wikimedia.org/wiki/ORES) does not accept JSONP callbacks and users should work with making GET requests (in this case using https://ores.wikimedia.org/v3/scores/).
I think best thing would be to replace this function call with a fetch method that performs a GET request.