Page MenuHomePhabricator

Implement wikimedia-utilities Revision methods
Closed, DeclinedPublic

Description

the wikimedia-utilities Revision class has functionality than the pywikibot Revision class does not have.
https://bitbucket.org/halfak/wikimedia-utilities/src/cb1177b18ad757210e14dd1923d5393a3d2a9c1a/wmf/api.py?at=default#cl-46

It would be great if Aaron could copy his logic into the pywikibot Revision class to maintain attribution.
If not, pywikibot should re-implement it with the same signature.

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
DeclinedHalfak

Event Timeline

jayvdb assigned this task to Halfak.
jayvdb raised the priority of this task from to Medium.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot.
jayvdb added subscribers: Halfak, Unknown Object (MLST), jayvdb and 2 others.

Does the xml_dump sub-package contain any dependencies outside of that sub-package? i.e. could pywikibot use MediaWiki-Utilities for only dump processing, replacing the pywikibot dump processing which probably isnt as mature ?

could pywikibot use MediaWiki-Utilities for only dump processing

Totally. :)

The only substantial dependency is the use of external UNIX utilities for processing 7zip XML dumps. Regretfully, there is no python library with support for 7zip.

Ok, it looks like it isnt useful to be compatible with the old version of #mediawiki-utilities , as wikiwho functionality is already in the new mediawiki-utilities.