Page MenuHomePhabricator

WS export: Wikisource editors should have an easy way to bypass the cache
Open, Needs TriagePublic

Description

As a Wikisource editor I often export in ePub/PDF to check that the export is good when I am finishing to proofread a book.
Then I fix the issues I have spotted and download the book again.
The new WS export cache makes this workflow more difficult: I now have to go to ws-export.wmcloud.org, check each time the "no cache" option and then download instead of just clicking on the "download in ePub" link of the sidebar.
It would be nice to simplify this workflow.

What about an option in the new "Download" dialog on Wikisource that would allow to bypass the cache?
It should keep its state between downloads.
It might be meaningful to display it only to logged-in users that are more likely to be in an "editing" workflow than in a "reading" workflow.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Cheeky hack in the meantime:

$(function() {
  $("#p-coll-print_export a[href*='ws-export.wmcloud.org/?format'").each(function(i, a) {
    $(a).attr("href", $(a).attr("href") + "&nocache=1");
  });
});