[08:25:29] CFisch_NA_: I'm going to merge https://gerrit.wikimedia.org/r/#/c/354722/ if you don't pose obstacles… [08:26:03] Volker_E: yepp thanks go for it [08:27:08] CFisch_WMDE: ah, the two patches are submitted together [08:28:39] *rebase* [08:58:52] Hi everybody. My name is Denis Barthel, active in many German Wiki projects. I am running a workshop on wikivoyage in Hungary and, making the accounts for the participants right now, require a temporary lift of IP cap in de-Wikivoyage for the IP 85.67.117.165 [08:59:33] I made 6 accounts already and require six more. [09:03:06] Your help would be appreciated. [10:32:05] !ops wipe your ass [15:24:39] [[Tech]]; 105.141.149.244; /* hfjjeuyfsdkzkk. */ new section; https://meta.wikimedia.org/w/index.php?diff=16855541&oldid=16845296&rcid=9849562 [15:29:39] [[Tech]]; Zppix; Rm vandalism; https://meta.wikimedia.org/w/index.php?diff=16855561&oldid=16855541&rcid=9849584 [17:16:33] tgr: is there a way to check via the api whether a username will be allowed for a new account (aside from trying to create the account)? [17:19:04] ragesoss: list=users&usprop=cancreate (or something like that) [17:19:28] that looks about right [17:19:58] awesome, thanks tgr! [17:20:10] or you could check against the username blacklist (if thats a thing iirc theres a page in mediawiki namespace that lists whats not allowed) [17:20:11] that looks like it's it: https://meta.wikimedia.org/w/api.php?action=query&list=users&ususers=Moowdo|IbsenIbsen&usprop=cancreate [17:21:04] https://meta.wikimedia.org/w/api.php?action=query&list=users&ususers=Moowdo|FuckFuckFuckFuck&usprop=cancreate [17:21:12] works for the blacklist too, so that's perfect. [17:21:19] ragesoss: see also the error* base API parameters for more useful message formatting [17:21:34] error base lol [17:23:03] works for everything on the Wikimedia cluster except AbuseFilter IIRC [17:36:32] tgr: is this error message and code a bug? https://meta.wikimedia.org/w/api.php?action=query&list=users&ususers=Rages0ss&usprop=cancreate [17:36:34] $1 [17:42:28] filed. https://phabricator.wikimedia.org/T167163 [18:47:10] ragesoss: do you want a stable error code? You can do something like https://meta.wikimedia.org/w/api.php?action=query&list=users&ususers=Rages0ss&usprop=cancreate&errorformat=html&errorsuselocal if you just care about getting a message you can display [18:49:35] tgr: no, I don't need a stable error code right now, I just expected a meaningful value there [18:50:38] I could imagine wanting to use that code — there are other cases where I rely on similar ones — but don't need to at the moment. [18:51:28] it's autogenerated from the message key and the code responsible for that error apparently does not really use messages [18:52:07] at least there's a helpful comment [18:52:08] / This message pasting-together sucks. [18:52:18] https://phabricator.wikimedia.org/diffusion/ECAU/browse/master/AntiSpoof/CentralAuthAntiSpoofHooks.php;b60ea8e057a13d6c50fad2f082c63daa38e8fa81$61-68