[00:25:44] SMalyshev: Sure. Mostly, it "just about" works. :-) [00:49:59] James_F: well, but I need some details... I've send a long email to sdc/wikitech lists, but the summary is that I'm not sure how wikidata IDs are used on Commons [00:50:20] should they have prefixes or not? If not, how do we know they are not native entities but foreign ones? [00:50:56] SMalyshev: I don't know. I know that they used to, but also that that area of the code was changed a lot when we found it didn't work, and now I don't know. [00:51:30] Leszek and A.ddshore are the experts, and I defer to them. The internals of Wikibase are very hairy. [00:51:38] James_F: do you know who might know that? [00:51:51] ah well, addshoreVacation you mean :) [00:52:06] That's why I didn't ping him. :-) [00:52:21] hopefully Leszek is around and sees the mail [00:52:37] * James_F nods. [02:32:19] Hii [02:32:49] SMalyshev: James_F they should probably not have prefixes anywhere [02:33:15] Properties are the same properties, this no differentiation / prefoxes [02:33:27] Same for items, they only exist on wikidata for now [02:33:35] And mediainfo, only on commons [02:33:45] The concept of prefixes has for now been totally removed from wikibase [02:33:59] (unless anything has changed in the last 2 or 3 weeks) [02:34:27] https://usercontent.irccloud-cdn.com/file/UUZG8AvQ/irccloudcapture1998484800343366910.jpg [02:34:36] Hi from San Juan! [03:08:07] :-) [16:37:13] anomie: hey. can you point me to the code or ticket related to the "remote" user prefix stuff? [16:37:48] duesen: Not offhand. Remind me to look it up in an hour or so [16:38:21] if you can tell me some good search terms, i'll go hunt for it myself [16:38:29] if i don't find it, i'll poke you again :) [17:07:11] duesen: that would be T20209 I think? [17:07:11] T20209: Provide consistent native way to attribute offsite users in revision history - https://phabricator.wikimedia.org/T20209 [17:14:49] duesen: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/386625 is the patch, it has three tasks linked. The real motivation for doing it was because it was decided that we didn't want to deal with updating the actor table to add a user ID that might reattribute imported edits to a wrong person after the fact. [17:15:07] tgr: no, i don't think that'S what I'm looking for... [17:16:07] anomie: right, thanks. I'm running into related trouble with UserIdentities created from revision rows read from another wiki's databasem, see T222380 [17:16:07] T222380: Decide how to represent the identity of users from another wiki. - https://phabricator.wikimedia.org/T222380 [17:16:23] I'll cross-reference the old issue there [19:26:35] tgr: Hi, I'm sorry about this: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/507806. If it wasn't worth it, I wouldn't have made it. I've learnt from several of patches that creating multiple objects of the same thing which one can be created and used is not so good. [19:26:47] That is why I made the patch while I was reading the code. [19:27:04] If it's not an improvement, sorry to bother reviewer time. I'll abandon it. Sorry! [19:28:37] xSavitar: there's nothing to apologize for, it's up to you how you spend your time [19:29:15] IMO these kinds of tiny changes are not worth it, but it's up to you [19:29:28] I won't review it so I'm not bothered :) [19:30:15] Okay, thanks! :) [19:30:16] it doesn't help that the installer is a scary part of the codebase, in most areas such a patch could be merged without thinking [19:30:29] xSavitar: The other thing, is some code has internal caching... [19:30:30] public static function getMain() { [19:30:30] if ( self::$instance === null ) { [19:30:30] self::$instance = new self; [19:30:30] } [19:30:30] return self::$instance; [19:30:32] } [19:30:49] in the installer I wouldn't exclude the possibility that something somewhere resets the globals and you end up with a different object [19:31:07] Okay Reedy [19:31:31] So basically, it possibly comes to being micro optimisation [19:31:56] tgr: Okay, I get your point, thanks. [19:32:28] Though, you would hope if the context was changing between the calls, it might be documented as such :) [19:33:30] Reedy, tgr, I didn't know that in the case of that code, the global could have been resetted, I didn't see it. [19:33:39] but yeah, it makes sense [19:34:22] you wouldn't, unless the walk through the entire call tree between the two points of using the getter [19:34:32] which is exactly what I don't want to do :) [19:34:53] Okay, makes sense, so in that case, we just leave it as-is for now. [20:00:03] James_F: that WikibaseMediaInfo fail is weird, not sure if it's related but I'll take a look [20:02:21] SMalyshev: If it's related then I'm worried that it passed in master. [20:02:49] yes indeed... it passed merge tests so I wonder what's different.... [20:03:10] maybe some unmerged bugfix for mediainfo? [20:04:32] I looked, I don't see anything obvious. [20:04:35] no recent fixes to that test [20:10:42] ApiUpload::performStash Stashing temporary file failed: UploadStashFileException Could not store file "/tmp/MW_PHPUnit_Wikibase\MediaInfo\Tests\Integration\MultiLingualCapV9xIR7 [20:10:46] that worries me