Ramu_ummadishetty added a comment.
I tested current master against a file marked with
{{NowCommons|ThisFileDefinitelyDoesNotExist12345.png}} on
testwiki(https://test.wikipedia.org/wiki/File:Screenshot_2026-06-28_113132.png).
The referenced Commons file did not exist. The script logged:
python pwb.py nowcommons -simulate
Retrieving 1 pages from wikipedia:test.
>>> File:Screenshot 2026-06-28 113132.png <<<
No page is using "Screenshot 2026-06-28 113132.png" anymore.
ERROR: Page [[commons:File:ThisFileDefinitelyDoesNotExist12345.png]]
doesn't exist.
1 read operation
Execution time: 2 seconds
Read operation time: 2.0 seconds
Script terminated successfully.
and terminated successfully without crashing. I could not reproduce the issue
described in the task on the current version.
TASK DETAIL
https://phabricator.wikimedia.org/T293572
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]