Steps to replicate the issue:
- Upload a PDF to Commons to create an Index page in Wikisource.
What happens?:
An error occurs that PDF pages are not scanned in Wikisource. The red error "Ошибка: неправильный интервал" ("Error: incorrect interval") appears in place of the page list on Index page.
What should have happened instead?:
The file must be scanned and a cache created.
An example:
- A file on Commons, uploaded March 26
- Redirect to this file in Wikisource, no preview. Even if it was created on Commons, Wikisource does not receive it. (It has been 5 days since the upload.)
- Index page is broken, the red error "неправильный интервал" ("incorrect interval").
The error started a year ago, a first bug report we had on June 2, 2024.
The file is not always scanned on Commons, unlike in this example. I don't know how files are cached, but it seems to me that it is because of the delay on Commons that sending the cache to Wikisource is delayed. And even after scanning on Commons, as in this example, due to the long period, Wikisource does not request the cache, which is why the error hangs in Wikisource.
I advised users to reset the cache on Commons. But zero editing does not help much, you have to fiddle with it for several minutes: open the page in the editor several times, click preview, even after saving the page the page does not update, and you have to repeat several times. And do the same in this file on Wikisource, and then also on the Index page.
But users, especially newbies and non-techies, do not succeed in all this. Topics about this:
- https://ru.wikisource.org/wiki/Викитека:Форум/Архив/2024#Долго_загружаются_PDF_в_пространстве_Страница
- https://ru.wikisource.org/wiki/Викитека:Форум/Архив/2024#Ошибка:_неправильный_интервал
- https://ru.wikisource.org/wiki/Обсуждение_участника:GeneralBabulech#Проблема_с_прогрузкой_файла_с_Викисклада
- https://ru.wikisource.org/wiki/Обсуждение_участника:Vladis13#Ошибка:_неправильный_интервал

