Prod created this task. Prod added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Running `pywikibot.Site().allpages(namespace=6)` return with only a subset of the results. When running `PageGenerator.result` in `_generators.py`, it fails when trying to upcast from Page to FilePage partway through the list. The reason seems to be that one of the files it encounters, `File:Foo.txt` is an extension that is no longer allowed. Although it suppresses the ValueError when doing the extension check in the `__iniit__` fuction, in the `update_page(p, pagedata, self.props)` just below, it errors when checking if the file is a FilePage. pywikibot 9.4.0 TASK DETAIL https://phabricator.wikimedia.org/T379513 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Prod Cc: Aklapper, pywikibot-bugs-list, Prod, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
