jayvdb created this task. jayvdb claimed this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: Pywikibot-Other-scripts. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION This script describes itself as
"Script to copy images to Wikimedia Commons, or to another wiki."
However, it will only transfer files to Wikimedia Commons in compat, or the shared file repo in core.
In compat, it doesnt transfer files when fileIsOnCommons() is true.
In core, it doesnt transfer files when fileIsShared is true.
The 'fileIsonCommons' check was added in February 2007 https://mediawiki.org/wiki/Special:Code/pywikipedia/3286
I am unable to see why that was necessary, as it did already have a check whether the page is on the target site, and it would sys.exit if it was on the target site!
http://git.wikimedia.org/blob/pywikibot%2Fcompat.git/261583094f7912cc7bab816...
TASK DETAIL https://phabricator.wikimedia.org/T87082
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, jayvdb, Aklapper