[09:05:27] Hello! I tried to modify the module Lang at srwiki so that it shows the abbreviation (skracenica) of the language, instead of the whole name. However, I did not succeed. Can you tell me where I'm wrong? [09:05:51] https://sr.wikipedia.org/w/index.php?title=Модул:Lang&diff=23132326&oldid=23132319 [09:05:58] https://sr.wikipedia.org/w/index.php?title=Модул:Language/data/iana_languages&diff=prev&oldid=23132328 [09:08:36] I understand that I need to assign value, but don't know how to do that [12:46:58] https://www.mediawiki.org/wiki/Topic:Vmwiwu073xo33eh5 [12:47:17] Anybody have experience with using OAuth2 towards wikimedia stuff? [12:47:29] I can't figure out what to use as client_id [12:49:59] https://www.mediawiki.org/wiki/OAuth/For_Developers#Authorization_2 [12:50:08] >Ask the user to authorize the application by sending them to oauth2/authorize under the wiki's REST endpoint (usually rest.php), with response_type=code and the client token (as client_id) [12:54:04] I did not get a client token when I created a consumer [12:54:26] I got only Client application key, Client application secret and Access token [12:58:43] I tried all of those for client_id [12:58:45] none worked [13:02:36] It looks like the docs use varying terms for the same thing [13:02:37] >When registering the application, you receive two pieces of credentials: the consumer token (a public ID for the application) and the secret token (sort of like a password). [13:02:44] Did you try the "consumer token"? [13:07:09] I only got things labeled as "Client application key", "Client application secret" and "Access token" and I tried all 3 of them, all give the same error. I figured the "Client application key" is the "consumer token" [13:07:11] but it is not [13:09:44] I see I can ask here: https://meta.wikimedia.org/wiki/Tech [13:09:47] I will post there [13:11:52] I've just filed https://phabricator.wikimedia.org/T253447 for the docs being seemingly confusing [13:12:16] At a bare minimmu, the "client token' only being once on that page is wrong [13:17:31] [[Tech]]; Iwan.Aucamp; /* What to use as client_id for OAuth2 */ new section; https://meta.wikimedia.org/w/index.php?diff=20110553&oldid=20109434&rcid=15552702 [13:18:38] Thanks [13:18:46] I will cross-link [13:20:26] [[Tech]]; Iwan.Aucamp; /* What to use as client_id for OAuth2 */; https://meta.wikimedia.org/w/index.php?diff=20110557&oldid=20110553&rcid=15552709 [13:22:52] "consumer" is a terribly term, no one understands that [13:23:20] but unfortunately that's what the OAuth spec uses (1.0 anyway) so it crept into a lot os places [13:23:35] in other places we use "app" or "client" [13:24:26] would be nice to be consistent but that's the kind of thing that tends not to happen without real ownership [13:25:16] "token" is also a term we should avoid, and it might refer to the key or the (key,secret) pair depending on context [13:25:47] but yeat the client_id is the client key (consumer token etc) [13:40:45] tgr: any idea why using the "Client application key" is not working? [13:43:06] So the exact request I'm sending is https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id=e94c7e871c045d08a8f6f96af162f7a6&redirect_uri=http%3A%2F%2F127-0-0-1.nip.io%3A3000&response_type=code&scope=openid&state=bb484598b34a4b6fa856d6a56a27624f&code_challenge=EV9H0BFZ4K6-ErEmyb8SiVyKWFojRd3Gj8JkBCNrKew&code_challenge_method=S256&response_mode=query [14:16:41] [[Tech]]; Iwan.Aucamp; /* What to use as client_id for OAuth2 */; https://meta.wikimedia.org/w/index.php?diff=20110620&oldid=20110557&rcid=15552929 [14:59:22] [[Tech]]; 72.74.131.76; /* MediaWiki forum */ new section; https://meta.wikimedia.org/w/index.php?diff=20110657&oldid=20110620&rcid=15553055 [18:07:28] umm...what is going on with this file? https://commons.wikimedia.org/wiki/File:Mohammad_taha_farahani.jpg [18:07:34] It is deleted, but at the same time not [18:08:01] is that a bug, or am I missing something? [18:08:17] never mind...a purged help clear it up [21:44:10] is there any equivalent of centralauth for IPs? [21:57:33] Extension:GlobalBlocking i suppose [22:54:10] bawolff i mean something i can use on wmf wikis [22:54:18] "no" is an acceptable answer, just asking if it exists not that it's required [22:54:52] Naleksuh: Use to do what exactly [22:55:04] CentralAuth does a lot of things [22:55:15] centralauth lets you see edit counts/blocked status/user groups for every wiki on an account, i want to do that but on an ip [22:57:39] No, we don't have anything for that. However maybe https://tools.wmflabs.org/guc/ works for IPs, idk. It would definitely be possible to make a toolforge tool to do that [23:39:46] Naleksuh, yes, GUC (as bawolff linked) and Globalcontribs (https://xtools.wmflabs.org/globalcontribs ) will work for IPs [23:41:10] took like upwards of a minute to load [23:41:11] is that normal