| Mpaa created this task. Mpaa added a project: Pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
In current implementation, when a new page is created in Page: ns on wikisource, the text is preloaded from the underlying file djvu file.
ProofreadPage overrides Page.text property. Preloading is done in there.
The advantage is that MW takes care of the different file formats (djvu, pdf, etc.) and the user does not need to download any file (which can be huge).
The drawback is that if a page already exists, it is not possible to reload the page from the original file and overwrite the existent page. latter is actually not very frequent but it might happen.
The current workaround is to delete the pages and reapply the script.
To overcome this, in addition to the current way (which is recommended to be left), the script could be extended with possibility to load content also from files.
Cc: Aklapper, pywikibot-bugs-list, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Sn1per, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
