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 Distributions
mwreverts-0.0.5.zip
(12.1 kB
view details)
mwreverts-0.0.5.tar.gz
(6.4 kB
view details)
File details
Details for the file mwreverts-0.0.5.zip
.
File metadata
- Download URL: mwreverts-0.0.5.zip
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e76dabf8ab18b0aa64c371aa655af5415cce0be94ccf4194a628ce579c655105 |
|
MD5 | 66522d66e0c191cabe4fbda1c56a2fe8 |
|
BLAKE2b-256 | 8a2da152ce3b6b571fcea8da8979af4f6495ccfc91b6d139cf89fe8274735adf |
File details
Details for the file mwreverts-0.0.5.tar.gz
.
File metadata
- Download URL: mwreverts-0.0.5.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4885e85225924652137a28f4826dc26fca1af71320fab2ed21c204d387d4e6c2 |
|
MD5 | aeac53e9e919cfc261b43edf5f7214cb |
|
BLAKE2b-256 | 3f4515f5d0dbbb35bf0ef1eea47662ae278a8f862d8dd732d476597caaed99d9 |