Skip to main content

A set of utilities for detecting reverts in MediaWiki revisions.

Project description

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.556790.svg)](https://doi.org/10.5281/zenodo.556790)

# MediaWiki reverts

This library provides a set of utilities for detecting reverting activity in MediaWiki projects.

## 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

## Cite as Aaron Halfaker. (2017). mediawiki-utilities/python-mwreverts: v0.1.4 [Data set]. Zenodo. http://doi.org/10.5281/zenodo.556790

## See also * https://meta.wikimedia.org/wiki/Research:Revert

Project details


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.5.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

mwreverts-0.1.5-py2.py3-none-any.whl (18.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mwreverts-0.1.5.tar.gz.

File metadata

  • Download URL: mwreverts-0.1.5.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mwreverts-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d23889becb5b953dfbc904d6654421818bbc0044491ded3564cb7374873fc579
MD5 e4878333c92b7736556c0abd767110fd
BLAKE2b-256 8d287ef18de4745cc103264fe5254af31cb3e00213ee910243f0e61f104b84c5

See more details on using hashes here.

File details

Details for the file mwreverts-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mwreverts-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6ac108bf7a4c21914efee63c9a89c216702dbe93c18b3b813e7f40ff9bd32cc
MD5 26e575700c635c64c08d77909862f15c
BLAKE2b-256 f47d83190f9457507d01e77e77d5b0a0222bf99684ad11d4471a4fdf89db908b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page