Xqt added a comment.
Couldn't reproduce it with the current master branch:
>>> import pwb, pywikibot as py
Warning (from warnings module):
File "C:\pwb\GIT\core\pywikibot\config2.py", line 1136
warn('"{0}" present in our user-config.py is no longer a supported '
_ConfigurationDeprecationWarning: "sysopnames" present in our
user-config.py is no longer a supported configuration variable. Please inform
the maintainers if you depend on it.
>>> pywikibot = py
>>> site = pywikibot.Site('en', 'wikipedia')
>>> page = pywikibot.Page(site, "Mary_Shelley")
>>> list(page.imagelinks())
WARNING: File 'File:Wikinews-logo.svg' contains missing revisions
[FilePage('File:Book collection.jpg'), FilePage('File:Books-aj.svg aj
ashton 01.svg'), FilePage('File:Dragon-149393.svg'),
FilePage('File:FrankensteinDraft.jpg'), FilePage('File:Frontispiece to
Frankenstein 1831.jpg'), FilePage('File:GodwinJournal.jpg'),
FilePage('File:Mary Wollstonecraft Shelley Rothwell.tif'), FilePage('File:Mary
and Percy Shelley. Engraving by George Stodart after monument by Henry
Weekes.jpg'), FilePage('File:Nuvola apps bookcase.svg'), FilePage('File:Percy
Bysshe Shelley by Alfred Clint.jpg'), FilePage('File:Polygon.jpg'),
FilePage('File:Portrait of Percy Bysshe Shelley by Curran, 1819.jpg'),
FilePage('File:RothwellMaryShelley.jpg'),
FilePage('File:ShelleySharpeJuliet.jpg'), FilePage('File:Shelley Easton.tif'),
FilePage('File:Speaker Icon.svg'), FilePage('File:St Pancras Old Church in
1815.jpg'), FilePage('File:Vampire Smiley.png'),
FilePage('File:Wikibooks-logo.svg'), FilePage('File:Wikinews-logo.svg'),
FilePage('File:Wikiquote-logo.svg'), FilePage('File:Wikisource-logo.svg'),
FilePage('File:Wikiversity-logo-Snorky.svg'),
FilePage('File:Wikiversity-logo-en.svg'), FilePage('File:WilliamShelley.jpg'),
FilePage('File:Wollstonecraft Shelley Grave 1.jpg'), FilePage('File:Claire
Clairmont, by Amelia Curran.jpg'), FilePage('File:Commons-logo.svg'),
FilePage('File:Cscr-featured.svg'), FilePage('File:Flag of the United
Kingdom.svg'), FilePage('File:Folder Hexagonal Icon.svg'), FilePage('File:Mary
Wollstonecraft by John Opie (c. 1797).jpg'), FilePage('File:OOjs UI icon
edit-ltr-progressive.svg'), FilePage('File:Portal-puzzle.svg'),
FilePage('File:Semi-protection-shackle.svg'), FilePage('File:Sf-userbox.png'),
FilePage('File:Wiktionary-logo-v2.svg')]
>>>
This bug is related to the older "stable" pypi repository and solved in
meantime with https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/539357/
Unfortunately some tests are still failing and I haven't updated pypi release
for few months due to this but maybe this would be a reason to ignore this rule
and upload a newer release.
TASK DETAIL
https://phabricator.wikimedia.org/T236405
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, Dvorapa, Aklapper, pywikibot-bugs-list, OlehOnyshchcak, Zkhalido,
Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus,
Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs