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