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.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 16 2021
@Xqt: Didn't know at the moment that >>> means python CLI
Jan 14 2021
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.
In T271871#6745425, @JJMC89 wrote: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
Did some experimenting. This sequence works
>>> 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 13 2021
@JJMC89, thanks for help. It looks like the uploadeditmovefile is needed?
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
Thanks! I'll return to Fandom support then.
['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.
Here are all the log entries for this command
Just in case you are wondering - I'm running pywikibot from Windows Subsystem for Linux.
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 12 2021
Dec 30 2020
@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 29 2020
@Xqt Sorry, took me some time to figure out how to use the API.
In T270904#6713545, @Bugreporter wrote:Please link to a specific recent changes.
https://ageofempires.fandom.com/wiki/Special:RecentChanges
Name of my bot is Red Khan Bot