magnusmanske / petscan_rs

The repo for the PetScan tool
https://petscan.wmflabs.org/
GNU General Public License v3.0
44 stars 10 forks source link

Petscan no more working #141

Closed wikimarcok closed 1 year ago

wikimarcok commented 1 year ago

Blank (white) page at start, no error shown, from yesterday. Tried with Firefox and Chrome browsers (both up-to-date versions) on Ubuntu.

M2k-dewiki commented 1 year ago

Also see

isaranto commented 1 year ago

Hi! I am following up on this as this has been caused by a change in the underlying infrastructure that ORES is built upon. (More info here) ORES is being deprecated and the current ores-legacy application under ores.wikimedia.org does not support such callbacks, meaning that it will not return javascript objects but proper json. Such requests can be made as CORS is allowed for domains such as petscan.wmflabs.org. @magnusmanske Would it be easy to use a fetch function instead with https://ores.wikimedia.org/v3/scores/ and manipulate the json response? let me know if I can help in any other way.

magnusmanske commented 1 year ago

Hi, just saw this issue. PetScan is back up, I deactivated the ORES functions until I can fix it properly.

magnusmanske commented 1 year ago

Fixed the request using fetch

isaranto commented 1 year ago

Thanks a lot @magnusmanske !