Page MenuHomePhabricator

Should Wikidata Integrator and Pywikibot merge?
Open, Needs TriagePublic

Description

Within the Gene Wiki project we developed the Wikidata Integrator. When we started in 2014, it wasn't clear which Pywikibot to use. There was a compat and a core version. So we started directly interacting with the API and write our own wrappers around the API. These wrappers in end consolidated in the WDI.

The hackathon might be a good opportunity to reconsider and explore if WDI and Pywikibot can be merged into one python library

Event Timeline

@Andrawaag: Does someone plan to work on this / feels responsible? If so, please feel free to set an assignee.
Also, is this a project, a session, or a skillshare? Feel free to clarify via the Add Action...Move on Workboard dropdown. Thanks!

One idea would be to have a wdi submodule for wikidata like we use i18n submodule for i18n rPWIN.
There was also a first step with pywikibot/wikibase repository rPWWB but it was never integrated into Pywikbot rPWBC.
As pointed out above the hackathon would probably be a good place to consider it. See also T221801.

The Pywikibot Wikidata implementation has some issues, there is a rewrite proposal that tries to address/solve the issues: T186200

(Pywikibot already uses mwparserfromhell for templates, why not wikidataintegrator for Wikidata? In other words: Let's join forces! :D )

I could not find you :/

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)

I recommend using WikibaseIntegrator v0.12 instead(RC1 was recently released). It already supports most if not all of Wikibase and has nice APIs ;-)
See the notebooks here for a demonstration: https://github.com/LeMyst/WikibaseIntegrator/tree/rewrite-wbi/notebooks

I have built multiple tools using both the current stable v0.11 which has WikidataIntegrator inherited APIs and the new v0.12 APIs. I very much prefer the latter. The main maintainer @Myst is very responsive and friendly also. :)