darthbhyrava added a comment.
gen = (pywikibot.Page(site, x['title'])
for x in gen if x['type'] != 'log' or 'title' in x)
So, since we don't want to re-implement the non-titled entries bug in
imageuncat, that's the issue resolved here.
gen.request['rcprop'] = 'title|user|comment|ids'
for p in gen:
yield pywikibot.Page(site, p['title'], p['ns'])
And since we just saw how imageuncat doesn't, in fact, call the extra props,
a non-modified rcprop will do. That's this issue solved, too. :D
I'll submit another patch with these changes in mind, then.
TASK DETAIL
https://phabricator.wikimedia.org/T129193
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: darthbhyrava
Cc: Multichill, Mpaa, gerritbot, darthbhyrava, Aklapper, Avicennasis,
pywikibot-bugs-list, jayvdb, Lewizho99
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs