A set of utilities for detecting reverts in MediaWiki revisions.
Project description
# MediaWiki reverts
This library provides a set of utilities for detecting reverting activity in MediaWiki projects.
Installation: pip install mwreverts
Documentation: https://pythonhosted.org/mwreverts
Repositiory: https://github.com/mediawiki-utilities/python-mwreverts
License: MIT
## Basic example
>>> import mwreverts >>> >>> checksum_revisions = [ ... ("aaa", {'rev_id': 1}), ... ("bbb", {'rev_id': 2}), ... ("aaa", {'rev_id': 3}), ... ("ccc", {'rev_id': 4}) ... ] >>> >>> list(mwreverts.detect(checksum_revisions)) [Revert(reverting={'rev_id': 3}, reverteds=[{'rev_id': 2}], reverted_to={'rev_id': 1})]
## Author * Aaron Halfaker – https://github.com/halfak
## See also * https://meta.wikimedia.org/wiki/Research:Revert
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mwreverts-0.1.2.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for mwreverts-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 062dbfe4c9d1b730fca8e3fc254c2a7aaad315b809de15b270d60aa1c8442392 |
|
MD5 | 141c4a7d6048170bb0a2e1728ac2c71b |
|
BLAKE2b-256 | 3d273525b7f6230cebeca082214ab3c97841dfda20700af1e01d494b154064e7 |