Framawiki created this task.
Framawiki added projects: Pywikibot-core, Pywikibot-Wikidata, Pywikibot-Other-scripts.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

Since rEPIM382c70f98183: Allow querying non-free images too change on the API of Extension:#mediawiki-extensions-pageimages, the name of the key is no longer page_image but is now page_image_free.
So illustrate_wikidata.py is actually entirely broken.

This code return an empty content for every page:

illustrate_wikidata.py
imagename = page.properties().get('page_image')

Note: I don't think that we need, with this script, to get non-free images too. So I'll just implement the rename, not the both elements key.


TASK DETAIL
https://phabricator.wikimedia.org/T169447

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Framawiki
Cc: Aklapper, pywikibot-bugs-list, Framawiki, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to