Hi Elisavet,
Reverts:
Sumit pointed you in the right direction. In case you're curious about types of reverts beyond identity reverts, this phab task has an excellent write-up / analysis of how to detect the different types:
https://phabricator.wikimedia.org/T252366
Deletions:
I'm not fully sure what you are referring to here, but if it's:
* blanking of content: no fool-proof automatic way to detect when editors are deleting full sections/pages, but there are a few options. You can inspect edit comments and page diffs for evidence of blanking, but an easier place to start is probably with automatic edit tags (e.g., mw-blank). Here's the
full list of tags and dump of tag types (
table;
example XML dump) and all tags applied (
table;
example XML dump). I'm not familiar with Wikidata tags so you probably want to do some examination of what they're actually detecting to make sure it's what you are looking for before you rely on them for analysis.
Best,
Isaac