[07:04:15] multichill: Good morning. Fixed the moviemeter movies... [08:02:16] !nyanreview https://github.com/wmde/WikibaseDataModelServices/pull/2 | addshore [08:02:16] addshore: ~=[,,_,,]:3 .oO(review!!!) https://github.com/wmde/WikibaseDataModelServices/pull/2 [08:02:39] addshore: http://korrekt.org/page/Note:Wikidata_on_the_Moon [08:04:07] benestar: Is his site running a MediaWiki version from 2010!?! [08:04:23] ask Markus ;) [08:04:38] http://korrekt.org/page/Special:Version <- obviously [08:04:45] Doesn't sound safe to me. :) [08:37:48] Oh, SMW 1.5.6 [08:37:59] I know some XSS this thing has ;p [08:38:30] !evil JeroenDeDauw [08:38:30] JeroenDeDauw is eeeeeevil >:( [08:39:33] sjoerddebruin: well thank you good sir [08:40:11] addshore: benestar: why the 'Statement' subns for the guid gen stuff? [08:40:40] I'm not comlaining about it, just wondering what the reasoning behind it is [08:41:10] Think it's kinda hard to find the best organization upfront, which is not a big deal since we can still change it before release [08:41:52] JeroenDeDauw: because they are Statement guids? [08:42:10] agree that we should think about it once we have more stuff in there [08:42:49] benestar: well, then you could have Services\Statement\Guid\ as ns as well, since they are GUIDs... or Services\Statement\Guid\Generators\ ;p [08:43:00] heh :O [08:43:17] we could also do Services\Guid, doesn't really matter to me [08:43:24] let's see how grouping works best [08:43:31] That is kinda more odd :) [09:42:16] Lydia_WMDE, Tobi_WMDE_SW_NA: i'd like to join the daily via hangout in a minute [09:49:33] frimelle, Thiemo_WMDE: ping me for the daily [09:52:07] DanielK_WMDE sorry, we saw it too late! :( [09:53:00] hrmph. well then, you'll have to do without my dazzeling insights ;) [09:54:54] DanielK_WMDE: setting up hangout would've taken longer than the whole daily :P [09:57:38] benestar: but if you had, the daily would have taken longer :) [09:57:57] actually, joining the hangout should take about 20 sec. ok, 1 minute with the external mic [10:04:29] DanielK_WMDE: you may be interested in https://gerrit.wikimedia.org/r/#/c/221592/2 [10:21:15] addshore: nice! [11:44:49] benestar: addshore Thiemo_WMDE https://phabricator.wikimedia.org/T104187 < any disagreement with that list? [12:05:25] JeroenDeDauw: Responded. [12:45:07] is https://phabricator.wikimedia.org/T102148 supposed to be fixed now? [12:46:35] 'cause I just tried to add an english alias to a property but can't because it complains about the japanese label [14:09:11] aude: More reports that https://phabricator.wikimedia.org/T98471 is still happening [15:22:33] JeroenDeDauw: there is a pull req up in serialization! [15:22:53] hi all [15:26:42] addshore: https://phabricator.wikimedia.org/T104187 [15:26:52] addshore: will haz a look [15:40:05] benestar: you win one free internets for actually pointing out the package public issue in that PR [15:40:33] JeroenDeDauw: \o/ [16:35:34] sjoerddebruin: that hasn't been deployed yet has it? when I asked last week lydia originally said thursday but then said it's actually the thursday after [16:35:46] Hm [16:35:56] (so the one coming up) [16:36:17] it's still annoying as hell either way :/ [17:01:05] sjoerddebruin: I see the first constraint violation reports for movie meter [17:11:52] multichill: Yeah, I've fixed the movies. [17:21:45] what should I do with https://www.wikidata.org/wiki/Q17984051? it's basically https://www.wikidata.org/wiki/Q16503 except they can't be merged... if I leave it like that, it's weird that the equivalent pages in the same language aren't on the same item, if I move all the same language ones to the same item, it'll break the interwiki links [17:35:30] someone might want to keep an eye on https://www.wikidata.org/wiki/Q185696 as well [17:35:47] *someone else [17:36:21] eh sorry [17:36:24] https://www.wikidata.org/wiki/Q1050649 is the one i meant [17:43:44] * nikki will watch out for it [17:45:56] hey addshore :) [17:51:49] jzerebecki: https://gerrit.wikimedia.org/r/#/c/221653/ [17:54:23] hi benestar [17:55:19] !merge 221653 | addshore [17:55:19] addshore: merge merge merge MERGEEEEEEEEEEEEE https://gerrit.wikimedia.org/r/#/c/221653/ [17:57:27] gimmie 2 secs [18:04:54] benestar: I presume view/resources/wikibase/wikibase.css goes nowhere near mobile then? [18:05:38] addshore: should've tested that :P [18:05:48] but doesn't because it doesn't have target => mobile [18:58:21] Andrew Mabbett likes https://tools.wmflabs.org/bambots/PageTools.php?wiki=itwiki&page=Cesare+Beccaria but I'm not sure what's the point [19:04:33] Design from the past. [19:04:48] ORCID-pushing: check [19:16:48] benestar|cloud: probably going to head home in a bit [20:00:22] multichill: hey around? [20:00:33] https://www.wikidata.org/wiki/Special:Contributions/Dexbot [20:00:44] Amir1: Yup, just cleaning out some last paintings before going to bed [20:00:54] :) [20:01:04] It's awesome [20:01:13] what you do is awesome [20:01:44] Nice, the lists :-) [20:04:24] Amir1: I just broke the 80.000 paintings milstone [20:05:35] I will start helping soon [20:31:56] benestar|cloud: back ;P [20:43:01] benestar|cloud: are you going to poke it or shall i? [21:05:30] addshore: hey, online now :) [21:05:35] ohia ;p [21:05:42] how you prefer ;) [21:06:45] benestar: I'll let you poke it [21:06:54] also good spot with the mehtod I added @deprecated to :P [21:07:58] addshore: shall I just create a pull request on top of that branch and you merge it? [21:08:20] yeh you could do!, or just push straight to the branch [21:08:36] the first I guess would be technically nicer, as then I would merge your stuff and you would merge mine nd yours [21:08:44] (y) [21:09:35] * aude waves :) [21:11:11] * addshore waves at aude [21:11:24] addshore: how's the office? [21:11:30] officey :D [21:11:36] :) [21:11:41] are we still on 0.5? [21:11:45] ;) [21:13:07] aude: for sure :P [21:13:13] * benestar also waves at aude [21:13:17] heh [21:14:21] addshore: you forgot @licence tags :O [21:14:31] bah, the repo has a licence right? [21:14:33] not releasing your work under GNU GPL :P [21:14:49] * benestar added them [21:15:07] :p [21:16:42] we should have some static Assert::stuff class [21:16:54] just weird to copy those assertion methods over and over again [21:16:59] benestar: we do [21:17:06] daniel's new library [21:17:15] aude: but not in DataModelSerialization :S [21:17:35] is it a standalone lib? [21:17:37] https://github.com/wmde/assert [21:17:40] afaik [21:17:45] it is standalone [21:17:53] JeroenDeDauw: PHP 5.3 4 lyf [21:17:58] MIT o.O [21:18:19] reedy@terbium:~$ php -v [21:18:19] PHP 5.3.10-1ubuntu3.18+wmf1 with Suhosin-Patch (cli) (built: Apr 20 2015 20:25:25) [21:18:32] Reedy: and imagescalers [21:18:37] and other random stuff afaik [21:18:39] ja [21:18:49] I was just doing it generally that we are still using it [21:18:50] :) [21:18:55] yep [21:19:04] unfortunately [21:20:11] aude: I have no access to edit it :S [21:20:43] me neither apparently [21:20:53] * aude rage to tob [21:20:54] i [21:21:13] Reedy: we love 5.3 [21:21:30] benestar: to edit what? [21:21:40] * Reedy edits addshores degree [21:21:48] addshor: no push access to that repo (wmde/Assert) [21:21:48] *e [21:21:56] https://github.com/wmde/Assert/blob/master/README.md [21:21:59] we should definitely use that lib [21:22:02] says "fork and edit" [21:22:05] do I have any? [21:22:24] I have access apparently [21:22:32] * addshore edits Reedy's right arm [21:28:18] addshore: "The alias group serialization should only contain 1 element" <- wtf?? [21:28:20] are you sure that is correct? [21:29:24] just wtf? [21:29:37] can't we just do that language mapping inside of an AliasGroupListView? [21:29:45] benestar: yes [21:30:02] and let the AliasGroupViewDeserializer only deal with the array inside? [21:30:21] it is currently awkwardly array( 'en' => array( array( 'lang' => 'en', 'value' => 'Foo' ) ) ) etc [21:30:22] $fingerprint->getAliasGroups()->setGroup( [21:30:22] $this->aliasGroupDeserializer->deserialize( [21:30:22] array( $requestedLanguage => $aliasesPerLanguageSerialization ) [21:30:22] ) [21:30:22] ); [21:30:33] * benestar doesn't think that's right [21:30:57] Yeh, this is why I was going to add the AliasGroupList stuff too [21:31:04] kill fingerprint! [21:31:07] you just confused some levels of abstraction there I guess :P [21:31:14] * benestar gives addshore a trout :P [21:31:59] #eats trout for dinner [21:32:10] :D [21:32:27] addshore: so are there some places where you actually get array( 'en' => array( array( 'lang' => 'en', 'value' => 'Foo' ) ) )? [21:32:47] * aude wants somewhat less abstraction in serializers [21:32:53] benestar: I dont follow? [21:33:18] or more deferred serialization [21:33:22] and/or [21:33:24] addshore: I think we should just use an AliasGroupListDeserializer [21:33:27] where as TermList objects dont specifically have language, only the terms do, the aliasgroups do have a language [21:33:32] aude: how do you mean? [21:33:45] addshore: yes, but AliasGroupLists dont [21:33:53] AliasGroups are on the same level as Terms [21:34:01] benestar: gimmie a sec, I'll look at the code im trying to replace again ;P [21:34:02] and AliasGroupLists on the same level as TermLists [21:34:10] should I do it? [21:34:15] just working on it... [21:34:15] benestar: generally that's how we got in trouble with the preformance problems, causing us to superprotect Q183 [21:34:21] performance* [21:34:35] aude: whats the bigest performance hit right now? [21:35:01] addshore: i'm not sure what exactly (we should analyze more) [21:35:10] +1 for that [21:35:13] maybe we should be able to tell ItemDeserializer what exactly to deserialize [21:35:22] we fixed a bunch of misc. stuff back in ~sept/oct [21:35:42] but never really fixed the issue, except got hhvm which bought us more room [21:35:47] or even better, don't deserialize a whole item if only the label in one language is needed [21:35:58] -> use TermLookups instead [21:36:02] * aude not looked at what you are doing with terms + serializers [21:36:13] benestar: true [21:36:15] aude: it's nothing special, just moving some code [21:36:31] so there won't be much change in performance [21:36:45] * aude cautions too many objects [21:37:00] if we are replacing objects, then cool :) [21:37:17] benestar: yeh that should be fine [21:37:20] aude: yes, actually also removing objects ;) [21:37:24] ok :) [21:37:39] because Fingerprint will die and we will have direct interfaces instead [21:37:44] ie. one abstraction less [21:37:54] and we want to start doing this in Serializers this time [21:37:58] aude: your last comment on https://phabricator.wikimedia.org/T102148 says it was deployed to wikidata, does that mean it shouldn't be happening now? [21:38:19] nikki: depends if the caches are up to date [21:39:05] benestar: ill take a look at your PR in the morning :) [21:39:31] earlier I was trying to add "parts" as an english alias to https://www.wikidata.org/wiki/Property:P527 and it said "Property P1012 already has label "以下を含む" associated with language code ja." [21:39:47] addshore: sure, but don't change your PR anymore :P [21:39:52] because now I rely on it [21:40:13] mmwhahahahahaaa [21:40:22] nikki: ignore my comment, I misread the bug message [21:40:42] nikki: it means that now all conflicts are detected correctly [21:40:54] which doesn't mean all conflicts are resolved yet :S [21:41:00] ah [21:41:10] nikki: shouldn't happen [21:41:57] slow hotel internet is slow [21:42:31] nikki: errr, i think the constraint is enforced now [21:42:41] nikki: I've added an underscore to the ja label and now it works [21:42:59] however, I don't think this is the way we should fix constraint violations, just wanted to make the property editable again [21:43:34] thanks [21:43:51] i think for now, the violations need to be fixed per benestar [21:43:54] I successfully added the alias I wanted, so I'm happy at least :P [21:43:56] but also agree, this is not ideal [21:44:10] * aude hopes there are not too many violations [21:44:18] * benestar fears there might be a few [21:44:41] then we need a list of them and fix [21:44:50] * aude doesn't have better idea [21:44:55] aude: create a SPARQL query :D [21:44:57] aude: Did you create a branch? [21:45:00] hoo: no [21:45:07] * aude is on holidays [21:45:13] I went on a rage earlier today and redid parts of my house wiring [21:45:21] I have cat 5 in my room now [21:45:23] https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples#Aliases_of_properties_which_are_used_more_than_once [21:45:24] took me hours [21:45:30] hoo: a cat :) [21:45:43] :D Well, I still lack *that* kind of cat [21:45:47] lol [21:46:05] aude: is the alias uniqueness also deployed already? [21:46:14] benestar: don't think so [21:46:32] because then we will have quite many issues [21:46:42] yeah [21:46:55] 159 to be precisely [21:47:03] would be nice if the changeop or whatever only didn't allow new violations [21:47:11] but not block editing otherwise [21:47:23] like we do for statements, generally [21:47:51] aude: maybe, but I don't think we should put too much effort into that. It's only a temp issue [21:47:58] was about to say that [21:48:16] it's probably easier to make a list and fix them, then spend developer time on this [21:48:36] * benestar checks label conflicst [21:48:47] anyone around? [21:48:55] jdlrobson: yep [21:48:58] my vagrant instance just exploded with Call to undefined method Wikibase\DataModel\Statement\StatementList::getWithPropertyId() and I have no idea why :( [21:49:03] what's up? [21:49:29] jzerebecki: ping [21:49:40] I have a vagrant instance with Wikidata and PageBanner extension installed and I can't get the page banners to work anymore :-/ keen to review some of codezees code [21:49:48] argh https://www.wikidata.org/wiki/Property:P1926 still appears in blazegraph :S [21:50:03] jdlrobson [21:50:15] we had a breaking change renaming getWithPropertyId to getByPropertyId [21:50:29] perhaps PageBAnners needs to adopt that change [21:50:54] benestar: no deprecation notices?! [21:51:00] stupid me insisted on consistent method naming :P [21:51:07] jdlrobson: composer update? [21:51:22] jdlrobson: release notes... but no deprecation as it is a simple rename [21:51:53] benestar: ykes [21:51:55] yikes* [21:51:56] benestar: yup that's the issue [21:52:08] * aude hopes other extensions are not using the old method [21:52:10] you should use wfDeprecate for this sort of thing i just wasted 30 mins :) [21:52:16] the funny thing is, I trapped myself with that in one of my tools :P [21:52:54] jdlrobson: yeah, looking on it now it is a really stupid thing :S [21:53:13] mm still have this error [21:53:18] must be something else doing it too.. [21:53:49] jdlrobson: be happy, there will be some more breaking changes in the DataModel perhaps :P [21:54:07] please do use wfDeprecate in future though [21:54:12] and give time for devs to update [21:54:17] which patch introduced the issue? [21:54:25] jdlrobson: we can't because we don't require mediawiki to be installed [21:54:41] however, we will add @deprecated tags and put it into the release notes [21:55:00] jdlrobson: https://github.com/wmde/WikibaseDataModel/blob/master/RELEASE-NOTES.md [21:55:10] isn't wfDeprecate a composer module now (cc legoktm ) [21:56:18] jdlrobson: doesn't your IDE support @deprecated tags? [21:56:56] benestar: i'm not developing this so i'm not using an IDE for it [21:57:06] i don't use IDE's in general [21:57:43] not sure about the wfDeprecate thing but in general we have to be more careful with announcing breaking changes in future [21:59:07] can I haz generics plox? [21:59:16] generic viagra? [22:07:37] jdlrobson: it's not [22:08:46] benestar: trigger_error('FooBar is deprecated', E_USER_DEPRECATED) [22:10:06] legoktm: thx, though not sure if that is !nyan approved /ping JeroenDeDauw [22:11:18] benestar: if you have $wgDevelopmentWarnings = true, that's what wfDeprecated() does underneath [22:19:52] addshore: will continue fixing your PR tomorrow :) [22:20:10] you did some great stuff and stopped kind of in the middle of everything :P [22:20:33] gn8 [22:31:07] :D [22:48:50] JeroenDeDauw: https://phabricator.wikimedia.org/T86081