Feature summary (what you would like to be able to do and where): user.contributions should return tags of an edit as well.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
I used code like:
from pywikibot import Site, User user = User(Site("en"), input('Enter user name: ')) counts = {} for page, oldid, ts, comment in user.contributions(50): # do some stuff with contributions here
It would be nice if we could get the tags of the contribution, like in line 5 of the code block above.
Benefits (why should this be implemented?): The Mediawiki API has a method for getting tags of an edit, so it should be possible. Also, this helps count edits better by making it possible to exclude a specific tag (e.g. mw-reverted).