[12:10:26] Masterphi: ah, you might have been affected by https://github.com/mediawiki-utilities/python-mwapi/issues/35 [12:10:33] I should’ve remembered that, sorry [12:10:48] mwapi is useful for parameter encoding and some other stuff but its login method isn’t great :| [12:11:22] (the comment there about `.login.result` might also be relevant) [18:05:57] Lucas_WMDE: I still get `writeapidenied: You're not allowed to edit this wiki through the API` when using the workaround listed in the issue you listed [18:06:32] which is weird, since I'm hitting the `login` action [18:09:44] is there a special permission that I need granted to the user to be able to use Bot Passwords? [18:13:23] Shouldn't specifically.. [18:18:43] * has to have writeapi to be able to login through the API [18:19:16] is that a server configuration, or something that can be changed on my user? [18:19:20] the writeapi right was removed in 1.43 for that reason https://phabricator.wikimedia.org/T294397 but https://wiki.mozilla.org/Special:Version is 1.39.10 [18:19:23] https://wiki.mozilla.org/Special:ListGroupRights [18:19:38] no, that's something you'd have to talk to the server administrator(s) about [18:21:09] But the users group gets it... [18:21:27] Yeah, it seems writeapi is given to a bunch of groups [18:21:42] logging in with the api is a write action [18:21:51] and if you're not logged in, you're not in the users group [18:22:11] lol [18:22:13] i see [18:22:16] yeah, that stupid edge case [18:22:18] super secure [18:23:20] Yeah, as AntiComposite says, go shout at their people with server access :P [18:26:23] which is like.... 1 person right now ugh [18:26:41] but this is progress. Thanks ya'll!!! [18:29:21] It's a one line change for them [18:29:52] upgrading to the newer version? [18:30:23] Nope [18:30:34] Depending on what they've done... They probably just need to remove one line from their LocalSettings.php [18:31:21] https://github.com/wikimedia/mediawiki/blob/REL1_39/includes/MainConfigSchema.php#L7627 [18:31:28] They almost certainly have a line like... [18:31:40] $wgGroupPermissions['*']['writeapi'] = false; [18:31:45] They just need to remove that [18:36:35] Reedy : Aight, sending this info to SRE. Thank you so much for the details! Saved me A LOT of time <3