[14:00:27] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @Lucas_WMDE & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:50:22] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @Lucas_WMDE & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:01:09] Hello [15:01:38] hi all, welcome to the Technical Advice IRC meeting! [15:02:02] hello! [15:02:06] feel free to ask! [15:03:04] tgr: If you're bored... https://phabricator.wikimedia.org/T228588 class refactoring in OATHAuth broke 2FA in both our mobile apps [15:03:31] Being questioned about whether the way/stuff we're exposing in clientlogin from authmanager is "right" or we could/should do soemthing else [15:04:17] you can provide a custom ID if you want [15:04:47] which I guess is the answer to [15:04:48] >I am wondering why the "id" is an actual PHP class name, rather than a "real" id, like totp, which chould just be provided by the PHP class and therefore would not change in such cases. [15:05:01] we haven't really though about clients wanting to depend on a specific ID, the vision was more about clients using the API to get the definitions for some form builder [15:06:46] there's AuthenticationRequest::getUniqueId(), although the original intent was to support use cases where you can have multiple instances of the same class (e.g. GoogleLogin where there are multiple Google accounts connected to the user) but there is no harm in using it to provide a fixed string [15:06:54] or fake the old value or whatever [15:22:52] <[1997kB]> hey is there a change in mobile interface recently, the new location of notification icon seems bit dislocated [15:23:15] I’m not aware of anything like that [15:23:40] I heard of some changes to Vector and Monobook (I think?) but not the mobile skins [15:26:20] <[1997kB]> https://drive.google.com/file/d/1-HDuhGgRQdbcS_hbj_JeyKrdNOgu8V1M/view?usp=drivesdk [15:27:18] Well that's odd. Looks like it's just getting cut off on the side of the screen. [15:27:21] there's a new beta channel for mobile web [15:27:33] you have to opt in though [15:28:32] that said there are often minor changes to the interface, or the OOUI components it uses [15:28:40] best course of action is filing a bug [15:30:29] <[1997kB]> tgr, opt in? how [15:32:40] maybe I'm confusing things [15:33:16] looks like there's https://www.mediawiki.org/wiki/Reading/Web/Mobile_Beta (which is not new) and https://meta.wikimedia.org/wiki/User:CKoerner_(WMF)/Advanced_mobile_contribution_options_second_update (which is newish) [15:36:08] Is there a bug with using pywikibot's 'setSitelink()' with dictionary at test.wikidata.org. Or am I doing something wrong? [15:38:54] Is there a betacluster commons-like wiki with wikibase and stuff? [15:40:06] iridescence: what do you mean? can you post your code, perhaps? [15:40:17] Isarra: don't think so, but there's testcommonswiki in the production cluster [15:41:30] https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Version shows WikibaseRepo [15:41:35] no idea if it’s configured, though [15:41:37] Try to run this: https://pastebin.com/Pv8yYn5x [15:41:39] I haven’t heard anything about it [15:42:07] https://test-commons.wikimedia.org/wiki/Main_Page [15:42:36] <[1997kB]> it looks like it's because of advanced mobile edit mode, I enabled that mode and it is normal now with an additional user icon. [15:42:54] iridescence: is that supposed to be supported? it doesn’t look like it from the code [15:43:13] but apparently you could call setSitelinks() (plural) with a list of sitelinks [15:43:16] It's working on wikidata.org [15:43:19] huh [15:43:48] what’s the error? (I don’t have pwb set up locally) [15:44:07] oh, wait, I misunderstood you [15:44:12] that code looks like it should work, yes [15:44:20] oh, I think I know the problem [15:44:25] you can’t add enwiki sitelinks to testwikidata [15:44:34] the only legal clients are testwiki, test2wiki and a few others I think [15:44:40] but no non-test wikis [15:45:58] no, wait, https://test.wikidata.org/wiki/Q377 has links to real wikis… [15:46:02] o_o [15:46:09] not sure how that’s supposed to work [15:46:34] I found out [15:46:54] yeah I just found your edit [15:46:58] It got me a really bad error message of it was already linjed [15:46:58] (via Special:ItemByTitle) [15:47:20] https://pastebin.com/9K1fV4Q1 [15:48:16] I think the API does return more information [15:48:19] but not in the 'error' field [15:48:37] or not in some subfield of that, not sure [15:48:50] I *think* I’ve been annoyed at that before, that pywikibot didn’t show me the important parts ^^ [15:48:55] but perhaps I’m confusing it with python-mwapi [15:50:10] yeah, could be the API [16:10:28] I guess the Technical Advice IRC Meeting is over – thanks to all who were there, and don’t forget you can always ask questions on the Wikimedia Developer Support forum :) https://discourse-mediawiki.wmflabs.org/ [16:45:45] <3