Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    >>> import pwb, pywikibot as py
    >>> s = py.Site()
    >>> p = py.Page(s, 'user talk:xqt')
    >>> p.revision_count('xqt')
    0
    >>> 
  
  But the result shoul be 3285 (currently).
  
  The reason is that the result is calculated by
  `return sum(cnt[username] for username in contributors)`
  and contributors is a iterable too which gives single Chars back. There might 
be a result different from 0 if the user same has one char too.

TASK DETAIL
  https://phabricator.wikimedia.org/T261047

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck, 
Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to