Multichill created this task. Multichill added a subscriber: Multichill. Multichill added projects: pywikibot-core, Pywikibot-Wikidata. Multichill changed Security from none to none.
TASK DESCRIPTION The current WikidataQueryPageGenerator in pagegenerators.py tries to return pages on connected sites. Sometimes we want Wikidata items. If site is a Basesite, the generator shouldn't try to do "link = page.getSitelink(site)", but just return the Wikidata item.
TASK DETAIL https://phabricator.wikimedia.org/T76944
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Multichill Cc: Aklapper, Multichill, jayvdb, pywikipedia-bugs