AbdealiJK added a comment.

@DrTrigon you can find the code for that at https://github.com/AbdealiJK/file-metadata/blob/95cc2abb3506608266b1faf0da0722433ad6b03b/tests/bulk.py
Note that it has some extra args:

  • -logname - The logname to write to. Used as -logname:Some_Name which tells it to write to User:<LoggedInUserInUserConfig>/logs/Some_Name.
  • -dryrun - Print the log rather than writing to the userspace. needs to be used as -dryrun:1

PS: I have not tested this script rigorously, no unittests, it's not "supported", etc. etc. Use at own risk.


TASK DETAIL
https://phabricator.wikimedia.org/T136985

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DrTrigon, AbdealiJK
Cc: zhuyifei1999, jayvdb, AbdealiJK, Aklapper, pywikibot-bugs-list, DrTrigon, Zppix, Lethexie, Jay8g
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to