[Pywikipedia-bugs] [Maniphest] [Commented On] T272223: Can't change text with add_text script on a category

2021-01-16 Thread RedKhan16
RedKhan16 added a comment. No problem, not something that I use on a big scale anymore. Accidentally stumbled upon it, thought that you might want to know about it. Another detail - unlike `-except` option `-grepnot` doesn't seem to give any output. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Created] T272223: Can't change text with add_text script on a category

2021-01-16 Thread RedKhan16
RedKhan16 created this task. RedKhan16 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I run basically the same command that is given in the manual <https://www.mediawiki.org/wiki/Manual:Pywikibot/add_text.py#Exam

[Pywikipedia-bugs] [Maniphest] [Commented On] T270904: Edits done by Pywikibot are not flagged as made by bot

2021-01-16 Thread RedKhan16
RedKhan16 added a comment. @Xqt: Didn't know at the moment that `>>>` means python CLI >>> import pywikibot >>> site = pywikibot.Site('ageofempires:en') >>> site.sitename 'ageofempires:en' >>> info = site.userinfo >

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-14 Thread RedKhan16
RedKhan16 added a comment. OK, feeling stupid but figure it out now. You need to grant `Upload, replace, and move files` right on the `Special:BotPasswords/Red_Khan_Bot` page. Thanks for help everybody, sorry to bother you. TASK DETAIL https://phabricator.wikimedia.org/T271871 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-14 Thread RedKhan16
RedKhan16 added a comment. In T271871#6745425 <https://phabricator.wikimedia.org/T271871#6745425>, @JJMC89 wrote: > Are you using a BotPassword? Sorry, forgot to answer. Yes indeed, I'm using a BotPassword. TASK DETAIL https://phabricator.wikimedia.org/T271871 EMAIL PR

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-14 Thread RedKhan16
RedKhan16 added a comment. Did some experimenting. This sequence works >>> import pywikibot >>> site = pywikibot.Site('ageofempires:en') >>> sorted(site.userinfo['rights']) ['abusefilter-log', 'abusefilter-view', 'applychangetags', 'autoconfirmed',

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-14 Thread RedKhan16
RedKhan16 added a comment. >>> import pywikibot >>> site = pywikibot.Site('ageofempires:en') >>> site.username() 'Red Khan Bot' >>> site.logged_in() False >>> site.isBot(site.username()) True Isn't `site = pywikibo

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-13 Thread RedKhan16
RedKhan16 added a comment. @JJMC89, thanks for help. It looks like the `uploadeditmovefile` is needed? TASK DETAIL https://phabricator.wikimedia.org/T271871 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RedKhan16 Cc: JJMC89, Multichill, Xqt

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-13 Thread RedKhan16
RedKhan16 added a comment. Still, unfortunately, no luck. https://ageofempires.fandom.com/wiki/Special:ListGroupRights specifically shows that bots do have the 'reupload' right but I'm still getting no `reupload` in the rights list ['abusefilter-log', 'abusefilter-view

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script

2021-01-13 Thread RedKhan16
RedKhan16 added a comment. Thanks! I'll return to Fandom support then. TASK DETAIL https://phabricator.wikimedia.org/T271871 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RedKhan16 Cc: Multichill, Xqt, Aklapper, pywikibot-bugs-list, RedKhan16

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Can't reupload existing files with upload script

2021-01-13 Thread RedKhan16
RedKhan16 added a comment. Here is all the log entries file for this command F33997715: upload-bot.log <https://phabricator.wikimedia.org/F33997715> Just in case you are wondering - I'm running pywikibot from Windows Subsystem for Linux. As for the restrictions made by th

[Pywikipedia-bugs] [Maniphest] [Commented On] T271871: Can't reupload existing files with upload script

2021-01-13 Thread RedKhan16
RedKhan16 added a comment. Sorry, forgot about those Pywikibot: [https] r-pywikibot-core.git (bb333d2, g14032, 2021/01/12, 13:32:59, stable) Release version: 5.5.0 requests version: 2.22.0 cacerts: /etc/ssl/certs/ca-certificates.crt certificate test: ok Python

[Pywikipedia-bugs] [Maniphest] [Created] T271871: Can't reupload exisitng files with upload script

2021-01-12 Thread RedKhan16
RedKhan16 created this task. RedKhan16 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Greetings! I'm trying to mass re-upload new versions of existing files to Fandom using Pywikibot, but get an error. Here is a part

[Pywikipedia-bugs] [Maniphest] [Edited] T270958: Use upload script with wildcards

2020-12-30 Thread RedKhan16
RedKhan16 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T270958 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RedKhan16 Cc: Aklapper, pywikibot-bugs-list, RedKhan16, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido

[Pywikipedia-bugs] [Maniphest] [Commented On] T270958: Use upload script with wildcards

2020-12-30 Thread RedKhan16
RedKhan16 added a comment. @Aklapper, hello! > Is this a feature request to change some code in Pywikibot itself? Or is this a support question if something is possible? The latter. TASK DETAIL https://phabricator.wikimedia.org/T270958 EMAIL PREFERENCES ht

[Pywikipedia-bugs] [Maniphest] [Created] T270958: Use upload script with wildcards

2020-12-30 Thread RedKhan16
RedKhan16 created this task. RedKhan16 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Couldn't find it anywhere in documentation, but is it possible to use upload script with wildcards? If I use `upload /path/to/files

[Pywikipedia-bugs] [Maniphest] [Commented On] T270904: Edits done by Pywikibot are not flagged as made by bot

2020-12-29 Thread RedKhan16
RedKhan16 added a comment. @Xqt Sorry, took me some time to figure out how to use the API. Request `/api.php?action=query=json=userinfo=blockinfo%7Cgroups%7Crights%7Chasmsg` Result { "batchcomplete": "", "query": { &qu

[Pywikipedia-bugs] [Maniphest] [Created] T270904: Edits done by Pywikibot are not flagged as made by bot

2020-12-29 Thread RedKhan16
RedKhan16 created this task. RedKhan16 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I'm using Pywikibot to batch upload files to Fandom and then chnage their categories and add a template using "upload",