Page MenuHomePhabricator

book2scroll is not working (due to jquery 404?)
Open, Needs TriagePublic

Description

Book2scroll ( https://tools.wmflabs.org/book2scroll/) is not working for Bengali Wikisource. It is hanging at loading...

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 26 2018, 3:47 PM

Thanks for reporting this. For future reference, please provide steps to reproduce when you report bugs. See https://www.mediawiki.org/wiki/How_to_report_a_bug

Steps to reproduce:

Expected outcome:
Content is shown

Actual outcome:
Shows "Loading" forever. This problem is not limited to Bengali WIkisource. The "network" tab of the browser's Developer Tools says:

Source map error: request failed with status 404
Resource URL: https://tools.wmflabs.org/book2scroll/resources/js/jquery/jquery-1.10.1.min.js
Source Map URL: jquery-1.10.1.min.map
Loading failed for the <script> with source “https://bn.wikisource.org/w/api.php?callback=jQuery110105317475357023044_1537983124467&action=parse&page=Page%3AM%C3%A1rk_Likhita_Susam%C3%A1c%C3%A1r.djvu%2F1&format=json&_=1537983124468”.
Aklapper renamed this task from book2scroll is not working for Bengali Wikisource to book2scroll is not working (due to jquery 404?).Sep 26 2018, 5:40 PM
Aklapper added a project: Tools.

I have fixed the jQuery issue, but the underlying problem is that this code is very old (as in Toolserver-old), and only works with some site naming schemes. Other languages don't work either for many titles.