Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
`py -3.13 -m pwb -site:wikipedia:test -user:Pywikibot-test
PYWIKIBOT_TEST_WRITE token_tests -v PatrolTestCase.test_patrol`
tests: max_retries reduced from 15 to 3
test_patrol (__main__.PatrolTestCase.test_patrol)
Test the site.patrol() method. ... ERROR
======================================================================
ERROR: test_patrol (__main__.PatrolTestCase.test_patrol)
Test the site.patrol() method.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\pwb\GIT\core\tests\token_tests.py", line 137, in test_patrol
result = list(mysite.patrol(rcid=rc['rcid']))
File "C:\pwb\GIT\core\pywikibot\site\_generators.py", line 2146, in patrol
result = req.submit()
File "C:\pwb\GIT\core\pywikibot\data\api\_requests.py", line 1218, in
submit
raise pywikibot.exceptions.APIError(**error)
pywikibot.exceptions.APIError: protectednamespace-interface: This page
provides interface text for the software on this wiki, and is protected to
prevent abuse. To add or change translations for all wikis, please use
[https://translatewiki.net/ translatewiki.net], the MediaWiki localisation
project.
[servedby: mw-api-ext.eqiad.main-6787dc66b6-cfltg;
help: See https://test.wikipedia.org/w/api.php for API usage. Subscribe to
the mediawiki-api-announce mailing list at
<https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>
for notice of API deprecations and breaking changes.]
----------------------------------------------------------------------
Ran 1 test in 5.285s
FAILED (errors=1)
TASK DETAIL
https://phabricator.wikimedia.org/T435030
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]