Ninovolador created this task.
Ninovolador added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Feature summary**:
UploadRobot gives you the chance to change the file name before uploading. I
would like to easily retrieve that new filename somehow.
**Use case(s)** :
When uploading a list of files, sometimes you need to change it mid-process.
I should be able to keep track of said change in my code.
I ended up editing _upload.py, line 312 and adding
self.last_filename = filename
**Benefits**:
I think it's self evident
TASK DETAIL
https://phabricator.wikimedia.org/T360837
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ninovolador
Cc: Aklapper, pywikibot-bugs-list, Ninovolador, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]