I.hate.spam.mail.here created this task.
I.hate.spam.mail.here added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**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`).
TASK DETAIL
https://phabricator.wikimedia.org/T308961
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: I.hate.spam.mail.here
Cc: Aklapper, pywikibot-bugs-list, I.hate.spam.mail.here, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]