Page MenuHomePhabricator

RedKhan16
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Dec 29 2020, 9:25 AM (183 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
RedKhan16 [ Global Accounts ]

Recent Activity

Jan 16 2021

RedKhan16 added a comment to T272223: Can't change text with add_text script on a category.

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.

Jan 16 2021, 5:51 PM · Pywikibot-Scripts, Pywikibot
RedKhan16 created T272223: Can't change text with add_text script on a category.
Jan 16 2021, 5:21 PM · Pywikibot-Scripts, Pywikibot
RedKhan16 added a comment to T270904: Edits done by Pywikibot are not flagged as made by bot.

@Xqt: Didn't know at the moment that >>> means python CLI

Jan 16 2021, 4:32 PM · Pywikibot

Jan 14 2021

RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

OK, feeling stupid but figure it out now. I had to grant Upload, replace, and move files right on the Special:BotPasswords/Red_Khan_Bot page.
Thanks for help everybody, sorry to bother you.

Jan 14 2021, 5:36 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

Are you using a BotPassword?

Sorry, forgot to answer. Yes indeed, I'm using a BotPassword.
https://ageofempires.fandom.com/wiki/Special:BotPasswords/Red_Khan_Bot

Jan 14 2021, 5:29 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

Did some experimenting. This sequence works

Jan 14 2021, 5:04 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.
>>> import pywikibot
>>> site = pywikibot.Site('ageofempires:en')
>>> site.username()
'Red Khan Bot'
>>> site.logged_in()
False
>>> site.isBot(site.username())
True

Isn't site = pywikibot.Site('ageofempires:en') supposed to log me in?

Jan 14 2021, 4:46 PM · Pywikibot-Documentation, Documentation, Pywikibot

Jan 13 2021

RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

@JJMC89, thanks for help. It looks like the uploadeditmovefile is needed?

Jan 13 2021, 8:19 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

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

Jan 13 2021, 7:31 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

Thanks! I'll return to Fandom support then.

Jan 13 2021, 12:44 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.
['abusefilter-log', 'abusefilter-view', 'applychangetags', 'autoconfirmed', 'autopatrol', 'changetags', 'createpage', 'createtalk', 'edit', 'editsemiprotected', 'edittemplates', 'minoredit', 'move', 'move-categorypages', 'move-rootuserpages', 'move-subpages', 'nominornewtalk', 'purge', 'read', 'skipcaptcha', 'upload', 'writeapi']

Also I can upload files with new names (i.e. not re-uploading) using pywikibot.

Jan 13 2021, 12:32 PM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

Here are all the log entries for this command


Just in case you are wondering - I'm running pywikibot from Windows Subsystem for Linux.

Jan 13 2021, 11:27 AM · Pywikibot-Documentation, Documentation, Pywikibot
RedKhan16 added a comment to T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.

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: 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0]
PYWIKIBOT_DIR: Not set
PYWIKIBOT_DIR_PWB:
PYWIKIBOT_NO_USER_CONFIG: Not set
Config base dir: /home/user/pywikibot/core
Usernames for family "ageofempires":
        en: Red Khan Bot
Jan 13 2021, 10:01 AM · Pywikibot-Documentation, Documentation, Pywikibot

Jan 12 2021

RedKhan16 created T271871: Operator should be warned if he has not sufficient rights to reupload existing files with upload script.
Jan 12 2021, 11:39 PM · Pywikibot-Documentation, Documentation, Pywikibot

Dec 30 2020

RedKhan16 updated the task description for T270958: Use upload script with wildcards.
Dec 30 2020, 7:48 PM · Pywikibot-Scripts, Pywikibot
RedKhan16 added a comment to T270958: Use upload script with wildcards.

@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.

Dec 30 2020, 7:45 PM · Pywikibot-Scripts, Pywikibot
RedKhan16 created T270958: Use upload script with wildcards.
Dec 30 2020, 7:37 PM · Pywikibot-Scripts, Pywikibot

Dec 29 2020

RedKhan16 added a comment to T270904: Edits done by Pywikibot are not flagged as made by bot.

@Xqt Sorry, took me some time to figure out how to use the API.

Dec 29 2020, 2:01 PM · Pywikibot
RedKhan16 added a comment to T270904: Edits done by Pywikibot are not flagged as made by bot.

Please link to a specific recent changes.

https://ageofempires.fandom.com/wiki/Special:RecentChanges
Name of my bot is Red Khan Bot

Dec 29 2020, 10:39 AM · Pywikibot
RedKhan16 created T270904: Edits done by Pywikibot are not flagged as made by bot.
Dec 29 2020, 10:02 AM · Pywikibot