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

TASK DESCRIPTION
  **List of steps to reproduce**:
  
    >>> import pywikibot
    >>> s = pywikibot.Site()
    >>> p = pywikibot.Page(s, 'Foobar')
    >>> raise AbuseFilterDisallowedError(p, 'bar', 'baz')
  
  **What happens?**:
  
    Traceback (most recent call last):
      File "<pyshell#5>", line 1, in <module>
        raise AbuseFilterDisallowedError(p, 'bar', 'baz')
    pywikibot.exceptions.AbuseFilterDisallowedError: Edit to page [[Foobar]] 
disallowed by the AbuseFilter.
    bar
    >>> 
  
  **What should have happened instead?**:
  Either add the "other" information to the exception message string or this 
information can be omitted I guess
  
  **Software version**:
  Pywikibot 6.4+
  rPWBC15ca230 
<https://phabricator.wikimedia.org/rPWBC15ca230277dcb55526e345ff0692eda0e777bff7>

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

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

To: Xqt
Cc: Aklapper, JJMC89, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to