[05:16:46] (03CR) 10Legoktm: "(2 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81671 (owner: 10Addshore) [08:49:08] (03PS7) 10Michał Łazowik: (bug 40810) Add badges support to Item [DO NOT MERGE] [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 [08:49:16] Tobi_WMDE: http://www.scivee.tv/node/55318 [08:49:27] der player ist aber mist, man kann nicht springen [08:49:47] (03CR) 10jenkins-bot: [V: 04-1] (bug 40810) Add badges support to Item [DO NOT MERGE] [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 (owner: 10Michał Łazowik) [08:50:30] Tobi_WMDE: dafür haben sie ein vernünftiges url-schema: die flv-datei gibt's unter http://www.scivee.tv/assets/video/55318 [08:53:04] Tobi_WMDE: slides brightbyte.de/repos/papers/2012/Wikidata-SWIB-2012.pdf [08:54:15] DanielK_WMDE: so, the diff viewing is not broken, but the header is "linki / eowiki / name" instead "linki / eowiki" [08:54:21] with name not localized [08:54:57] I think I'll have to do something similar to claims (in Wikibase lib/repo) [08:55:05] lazowik: yea, these headers are not localized at all. [08:55:09] i think this is fine for now [08:57:01] DanielK_WMDE: I'll add one test and you can recheck [09:00:31] lazowik: ok [09:00:36] lazowik: i am cleaning up some code for diff viewing [09:00:40] Tobi_WMDE: what's your take on https://bugzilla.wikimedia.org/show_bug.cgi?id=53554 ? [09:00:46] i can take a look at how to accommodate the badges there [09:00:50] i think this is either very simple to fix, or very hard... which one is it? [09:01:15] oh that bug :) [09:01:27] aude: I only need to replace the third step on path (name/badges) to localized text [09:02:58] links / enwiki / name [09:03:08] or links / enwiki /badges [09:03:18] and name/badges need to be localized [09:03:46] now it's a recursive function going down to atomic diff while creating path that is viewed in header [09:04:15] and claims use own, quite complicated formatting [09:04:19] aude: ^ [09:08:05] lazowik: nothing in that path is currently loclaized [09:08:13] I know [09:08:24] i wouldn't try to add that now [09:08:30] it's a separate issue [09:08:53] but I don't know whether this should be changed, or another formatter added [09:08:58] like claims have [09:09:30] lazowik: don't worry about it yet [09:09:35] ok [09:09:38] shoudl be done in a separate patch [09:10:27] (03PS8) 10Michał Łazowik: (bug 40810) Add badges support to Item [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 [09:10:35] DanielK_WMDE: ^ should be ok now [09:10:43] hope so :) [09:11:50] wait [09:11:57] something strange I notice [09:13:15] DanielK_WMDE: that's mostly because we prevent default behaviour, I'm not exactly sure why. I guess for input fields like label and descriptions it should not be too hard to enable it again, whereas it would not make a lot of sense for where the entity selector is used [09:13:21] (03PS9) 10Michał Łazowik: (bug 40810) Add badges support to Item [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 [09:17:33] (03PS10) 10Michał Łazowik: (bug 40810) Add badges support to Item [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 [09:18:10] DanielK_WMDE: ^ now, there was a totally unrelated variable added... no idea how it ended up there [09:18:20] and a missing asterisk in comment... [09:19:30] Tobi_WMDE: yes, i agree. could you puit a short note on bugzilla, please? [09:22:08] DanielK_WMDE: done [09:22:21] lazowik: for patch set 7, did you rebase *and* make changes? [09:22:25] that makes review a pain... [09:22:29] Tobi_WMDE: thanks [09:22:58] uh, I'm not sure [09:23:07] I didn't know that... [09:23:36] the problem is that i can't see a clean diff showing what you changed [09:23:42] i have to review everything again [09:23:54] sorry :( [09:23:55] or go through all the changes caused by the rebase, too [09:24:14] lazowik: not a big deal for a smallish thing like this, but please consider it in the future [09:24:20] sure! [09:24:43] * aude sure i made that "mistake" before [09:26:47] yea, me too. it happens. [09:26:54] but it's good to try and keep in mind [09:28:14] DanielK_WMDE: hmm, I can't see any changes that are not mine (from 6 to 10) [09:30:05] lazowik: select 6 as the "reference version", than look at PS 7. that should give you the diff between 6 and 7. but it includes stuff from the EntityId refactoring [09:30:53] lazowik: if you doin't select a reference version, the diff is always against that commit's parent, which is alsways "clean", but doesn't let me see what you changed between one PS and the next. [09:31:37] I had 6 as reference comparing with 10, now 6 with 7 an nothing... [09:31:45] leave it [09:32:08] if you mean q => Q it's mine [09:32:11] lazowik: hm? it's fine, i sorted it out by now [09:32:27] ok [09:33:17] lazowik: PS 7 against base has no change to the release notes. PS 7 against PS 6 does: https://gerrit.wikimedia.org/r/#/c/74676/6..7/RELEASE-NOTES.md [09:33:44] lazowik: anyway, the code looks good. i'll do some testing now, and merge if all goes well. [09:33:52] ok [09:34:13] DanielK_WMDE: might want to do that on different db [09:35:15] bah :) [09:35:28] if it breaks the page, i'll delete the page [09:35:30] (03PS7) 10Addshore: Add editentity claims support [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81671 [09:35:58] hehe [09:47:56] lazowik: this patch is not intended to cover serialization in the external form (used by the API), right? [09:48:04] at least, it doesn't :) [09:48:08] nope [09:48:12] ok [09:48:38] it isn't in datamodel, right? [09:48:55] I'll do the api next [09:50:54] getting & editing at once [09:52:55] lazowik: cool. please coordinate with addshore, he has been doing a ton of refactoring in the api code lately. [09:53:03] ok [09:53:05] *waves* [09:53:40] :D [09:53:44] <: [09:53:54] addshore: I think I'll just copy aliases [09:53:59] it's quite similar [09:54:21] (if aliases are a good code...) [09:54:31] as int he api modules for aliases? :> [09:55:10] indeed looks good :) [09:55:30] not entirely sure what your planning! but ping me if you need me :) [09:55:39] sure [09:56:49] lazowik: best start with SiteLinkSerializer. It's in Wikibase/lib [09:57:01] ok [09:57:41] (03CR) 10Daniel Kinzler: [C: 032 V: 031] (bug 40810) Add badges support to Item [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 (owner: 10Michał Łazowik) [09:57:49] \o/ [09:57:50] (03Merged) 10jenkins-bot: (bug 40810) Add badges support to Item [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/74676 (owner: 10Michał Łazowik) [09:57:54] yay! [09:57:56] \o\ [09:57:58] yay :D [09:58:02] /o/ [09:58:07] \o\ |o| /o/ [09:58:18] ~o~ [09:58:24] :D [10:00:06] DanielK_WMDE: http://www.youtube.com/watch?v=ITWnyJoX0c0&t=0m13s [10:00:12] and I know this guy... [10:02:13] addshore: https://www.wikidata.org/w/index.php?diff=67028525 :< [10:02:35] >.< [10:02:48] legoktm: its not running at the moment, I think I have already been linked to that one [10:02:52] ok [10:02:53] https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot/SamoaBot_37 [10:02:54] fyi [10:02:55] it should never ever ever do that :P [10:03:12] it shouldnt be possible for it to overwrite a link >.< [10:07:20] (03PS8) 10Addshore: Add editentity claims support [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81671 [10:07:29] legoktm: fyi ^^ ;p (fixed your comments) [10:07:55] ty :D [10:07:58] i was wondering [10:08:06] if i try to add 6 claims [10:08:09] the first 5 are fine [10:08:15] then the 6th one is malformed or something [10:08:37] i'm just going to get a standard error which doesn't tell me the first 5 went through right? [10:08:55] (03CR) 10jenkins-bot: [V: 04-1] Add editentity claims support [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81671 (owner: 10Addshore) [10:09:04] :< [10:09:29] hmm, in that case it depends whats wrong with the 6th claim? [10:09:45] but yes, it would fail :P [10:09:52] idk, something terrible :P [10:09:58] xD [10:11:16] (03CR) 10Daniel Werner: [C: 032] Re-evaluated listview and snaklistview module dependencies [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80347 (owner: 10Henning Snater) [10:11:48] addshore: legoktm it should fail the entire edit [10:11:54] aude: yus [10:12:18] https://integration.wikimedia.org/ci/job/mwext-Wikibase-testextensions-master/4057/console O_po [10:12:37] (03PS4) 10Tobias Gritschacher: toolbarcontroller: Detach event handlers before re-attaching. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/79776 (owner: 10Henning Snater) [10:13:26] aude: ok, sounds good :D [10:14:02] aude, any idea whats up with those errors? O_O they are in client... nothing to do with anything I have touched as far as I can tell [10:14:17] (03CR) 10jenkins-bot: [V: 04-1] toolbarcontroller: Detach event handlers before re-attaching. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/79776 (owner: 10Henning Snater) [10:16:07] looking [10:16:29] ok, investigating [10:16:34] :< [10:17:15] (03CR) 10Tobias Gritschacher: [C: 04-1] "1. the move functionality should be made experimental before merging it. we want to be able to enable it on a later point. that could be m" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80543 (owner: 10Henning Snater) [10:20:25] addshore: for starters: should I write a separate module? [10:20:43] or include that in wbsetsitelink ? [10:22:15] lazowik: i may have to revert the badge change - it broke some tests for the client extension. [10:22:23] :( [10:22:27] the change propagation code is making assumptions about what a diff for site links looks like [10:22:29] let's see how quickly it can be fixed [10:22:38] or we can exclude change handler test [10:22:43] until it's fixed [10:22:59] lazowik: katie is owrking on it, but at the moment, it keeps jenkins from approving any changes [10:23:06] ok [10:23:54] if it doesn't look like i can fix before lunch, then we either revert or have the test skipped [10:23:56] (03CR) 10Daniel Kinzler: [C: 032] Improvements to ByPropertyListUnserializerTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81554 (owner: 10Jeroen De Dauw) [10:24:24] aude: ok [10:25:22] (03Merged) 10jenkins-bot: Improvements to ByPropertyListUnserializerTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81554 (owner: 10Jeroen De Dauw) [10:37:01] (03PS1) 10Aude: skip change handler test, until it is fixed [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81904 [10:38:37] (03CR) 10jenkins-bot: [V: 04-1] skip change handler test, until it is fixed [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81904 (owner: 10Aude) [10:40:06] (03PS2) 10Aude: skip change handler test, until it is fixed [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81904 [10:44:14] i can't edit on master [10:44:16] Exception Caught: $data needs to have a "badges" key [10:44:43] lazowik: ^ [10:44:57] DanielK_WMDE: ^ [10:45:02] mhm [10:45:20] we might need api support [10:45:21] now It's better to revert [10:45:28] together with the data model change [10:46:08] aude: you can't edit site links? but i tried that... [10:46:08] aude: not related [10:46:24] DanielK_WMDE: no i can't [10:46:31] hm :/ [10:46:53] that's odd. can you do the revert and supply lazowik with a stack trace? [10:46:58] i can join the bug hunt, if you like [10:46:58] I'd go with revert, too much fuzz [10:47:53] investigating [10:48:13] I think that it shouldn't be treated as exception [10:48:28] lazowik: what shouldn't? [10:48:38] requiring badges key [10:48:45] Tobi_WMDE: which api module does the ui use for site links? [10:48:56] we could just pretend it was an empoty list of badges. [10:49:01] but why and how does it happen at all? [10:49:08] I don't remember [10:49:09] i9 was able to edit without a hitch [10:49:13] exactly [10:49:17] * aude needs to know which module to look at [10:49:27] but I think this was related to patching [10:50:10] hm.... [10:50:23] i didn't try to generate an edit conflict to try patching... [10:50:36] it somehow deleted the key during patchin [10:50:46] but I'm not sure if it's that [10:51:17] DanielK_WMDE: I think it's easier to just see print_r of patching effect in tests [10:52:29] hmm, the badges stay there even if they're empty [10:52:34] lazowik: but you have to trigger the patching somehow [10:52:43] from tests :) [10:52:50] our unit tests actually should do that... i wonder why they don't [10:52:58] patching is there [10:53:00] i didn't see any errors [10:54:54] ok, it uses set site link api module [10:55:48] aude: you can't edit _any_ sitelinks? [10:56:12] only tried one item [10:56:43] can you get current serialization of it? [10:58:19] aude: setSiteLink [10:58:30] Tobi_WMDE: thanks [10:59:29] lazowik: http://pastie.org/8283064 [10:59:38] when i do $entity->serialize() [11:00:04] still debugging [11:01:23] DanielK_WMDE: what should the unit tests do that they dont? :P [11:01:52] it looks like the change op propertly adds "frwiki":{"name":"Canada","badges":[]} to the entity [11:02:20] addshore: apparently, test patching of sitelinks [11:02:34] (as used when resolving edit conflicts) [11:04:55] DanielK_WMDE: patching is tested in ItemTest [11:05:44] ...and that passes... [11:06:26] it just doesn't make sense [11:08:30] but if aude can't edit it's not related to patching [11:08:47] making progress [11:09:16] when i dump the data in SimpleSiteLink::newFromArray, then the new site link is missing badges param [11:09:21] per the exception caught [11:09:26] mhm [11:09:38] so data['links'] is broken [11:10:10] just trying to figure out where this is called [11:10:49] SimpleSiteLink::newFromArray? [11:10:58] it's added by my patch [11:11:05] and called only in two places in Item.php [11:11:15] ok [11:11:25] I'd search where Item is created with data provided [11:11:56] k [11:13:18] huh, my bad... [11:13:24] i reloaded my page and it works now [11:13:26] :D [11:13:51] looks much better [11:14:17] no way :D [11:14:30] ok, then to figure out what's wrong with change handler [11:14:48] I knew this didn't make sense :) [11:14:48] if we want to skip the test then someone can approve https://gerrit.wikimedia.org/r/#/c/81904/ as a temporary measure [11:14:51] DanielK_WMDE: ^ [11:14:52] yeah [11:15:19] ause: WikibaseLib still uses deprecated SiteLink [11:15:23] that's in WikibaseLib [11:15:25] ok [11:16:38] (03CR) 10Daniel Kinzler: [C: 032] "as a temporary fix, ok. This should *not* stay in long." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81904 (owner: 10Aude) [11:16:44] agree [11:16:58] please make sure this doesn't stay in. i'd rather revert than skipping tests for days. [11:16:59] if i can fix by time i go home or by monday [11:17:02] yes [11:17:14] only to not block other people [11:17:31] so, the editing issue was spurious, and we only have the problem with the diff handling in the change handler? [11:17:36] yep [11:17:46] hm, i guess i should have had a look at the old SiteLink, and how that deals with the new situation... [11:18:04] (03Merged) 10jenkins-bot: skip change handler test, until it is fixed [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81904 (owner: 10Aude) [11:18:22] i'll need to make sure the old branch and master can also work together with dispatching [11:18:46] or ensure dispatching won't break [11:20:00] Hi! is it possible to execute Module:Taxobox on wikidata from javascript? I would like to have a gadget which shows the current state of a taxon item (a item which has P225). [11:22:24] reimann: i haven't looked into Module:Taxobox, but Wikidata is not a client itself, which means it has no access to the data [11:22:29] Ironic, huh? :) [11:23:07] I know. This is solved with WbHacks triggering the json api... [11:23:49] not nice but working [11:25:37] The problem is that Wikidata community must show the strength of modelling things in Wikidata to convince Wikipedia chapters to use and help extending the data [11:26:16] aude: ChangeHandler in lib, lines around 570 [11:26:41] reimann: so what is the question at hand? [11:26:45] lazowik: yes [11:27:02] the code has numerous issues there [11:27:06] unrelated also [11:28:08] I think that the $siteLinkDiff[ $siteGlobalId ] : null; should be now $siteLinkDiff[ $siteGlobalId ]['name'] : null; [11:28:17] hmmm [11:29:03] lines 572 & 3 [11:29:09] Module:Taxobox is LUA. It works like a template e.g. on talk pages. But I would like to call it also from a Javascript gadget to show it directly on e.g. https://www.wikidata.org/wiki/Q36146 [11:29:17] lazowik: ok [11:29:29] that's for checking which sites are to be updated [11:30:16] is this possible or do i need to reimplement everything in javascript? [11:31:15] aude: also 826 [11:31:22] $diffOp = $siteLinkDiff[$siteGlobalId]; [11:31:53] and from 868 [11:32:57] but, is it possible for old format to get in there? [11:33:19] Denny_WMDE: or shorter: Is it possible to execute a LUA module from Javascript? [11:34:30] reimann: interesting question [11:34:42] reimann: it should be possible to use the parse api module to do that [11:35:05] reimann: and get the HTML back. I have not tried that though, just gut feeling [11:35:14] lazowik: now have just one test failure [11:35:46] aude: have you changed all the 'page' => $diffOp->getNewValue() ? [11:35:53] looking [11:36:06] either add $diffOp = $diffOp['name'] [11:36:19] or 'page' => $diffOp['name']->getNewValue() [11:36:39] and if there can changes in queue with legacy format [11:36:46] reimann: checking the api doc, but it seems that action=parse should be very helpful [11:37:02] you need to make all these changes only when $diffOp is an instatnce of Diff [11:37:07] and figs are my favorite fruits [11:37:07] ok [11:37:38] (03CR) 10Addshore: [C: 04-1] "A marker, see some more work on claim guids" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81671 (owner: 10Addshore) [11:38:18] DanielK_WMDE: aude have you added things to the weekly summary doc? :) [11:40:10] aude: I'll need to go in 5 mins for an hour max [11:40:47] addshore: do you have the link? [11:40:56] aude: the basic rule is that whenever there is $diffOp = $siteLinkDiff[$siteGlobalId]; it needs to be $diffOp = $siteLinkDiff[$siteGlobalId]['name']; [11:41:04] ok [11:41:09] * aude probably getting lunch [11:41:14] and all variants with foreach and so one [11:41:29] sorry for adding work for you [11:41:33] lazowik: that fixed most of the tests [11:41:50] I'm not still sure where the actual change takes place [11:41:51] it could be a different issue for the one test [11:42:00] that might be the remaining ones [11:43:06] aude: 357 [11:43:08] the isset [11:43:22] all issets also need to check for change in 'name' [11:43:46] otherwise it will think that page was changed when badges were changes actually [11:44:54] aude also isset( $siteLinkDiff[ $siteGlobalId ] ) to isset( $siteLinkDiff[ $siteGlobalId ]['name'] ) | line 572 [11:46:37] aude: RefreshLinksJob [11:47:43] ok :) [11:47:57] but that's in core? [11:47:59] or what [11:48:03] I can't find it [11:48:15] and have to go, will check in in about an hour [11:48:17] * aude needs to look through the entire class [11:48:27] not everything might be covered adequately with tests [11:49:46] yup, core [11:50:35] ./extensions/Wikibase/client/includes/WikiPageUpdater.php: //XXX: use \RefreshLinksJob2 ?! [11:50:35] ./extensions/Wikibase/client/includes/WikiPageUpdater.php: $job = new \RefreshLinksJob( [11:50:35] ./includes/AutoLoader.php: 'RefreshLinksJob' => 'includes/job/jobs/RefreshLinksJob.php', [11:50:37] ./includes/AutoLoader.php: 'RefreshLinksJob2' => 'includes/job/jobs/RefreshLinksJob.php', [11:50:39] ./includes/DefaultSettings.php: 'refreshLinks' => 'RefreshLinksJob', [11:50:41] ./includes/DefaultSettings.php: 'refreshLinks2' => 'RefreshLinksJob2', [11:50:43] ./includes/job/jobs/RefreshLinksJob.php:class RefreshLinksJob extends Job { [11:50:45] ./includes/job/jobs/RefreshLinksJob.php:class RefreshLinksJob2 extends Job { [11:50:47] ./includes/job/jobs/RefreshLinksJob.php: $jobs[] = new RefreshLinksJob2( $this->title, [11:50:49] ./includes/job/jobs/RefreshLinksJob.php: # Roughly speaking, for each page, one of the "RefreshLinksJob" jobs will [11:50:51] ./includes/job/jobs/RefreshLinksJob.php: $jobs[] = new RefreshLinksJob( $title, [11:50:53] ./includes/LinksUpdate.php: $job = new RefreshLinksJob2( [11:50:55] all appearances [11:50:56] pastebin [11:50:57] ! [11:58:28] Is there a preferred way of doing instance-of (is-a) checks in PHP? [11:58:48] (Concerning items being instances of other items) [11:59:58] I used an “is-a” property in my code so far, but since this stopped working after pulling master from Wikibase today, why not do it better if possible [12:04:45] Granjow: the wikibase code should have no influence on that whatsoever. How did it "stop working"? [12:04:56] and how exactly did you use the "is-a" property? [12:07:01] DanielK_WMDE: My extension extends wikibase and relies on its code ;) I don't get any results back anymore (still investigating why and where). No error messages though. [12:08:24] I created a property that is called “instance of“. In order to use it, I atm search for this property by name and then use its PID. [12:11:00] Code is here: https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FLifeWeb/4245d43bfc853925af8c74770d61adebfef29de1/lib%2FLWItem.php [12:11:01] Line 148 [12:26:35] Ah, I guess it changed from EntityId to EntityIdValue? [12:26:50] It is sometimes a bit difficult to follow since changes are not really posted anywhere [12:35:33] DanielK_WMDE: ping? [12:39:06] lazowik: think i have the change handler fixed [12:39:49] i may go ahead and clean up some of this code while i'm working on it [12:39:53] and add more tests [12:40:22] aude: yay :) [12:40:37] what was the rest? [12:40:50] the getSiteLinkDiff() method now returns a $key => Diff [12:41:05] so then i need to access the operations in the diff [12:41:32] change handler is doing some evil stuff [12:41:44] that's what I meant all the time :) [12:41:50] yeah [12:41:51] (not that it's doing evil :D) [12:41:59] your code is not evil [12:42:03] change handler is evil [12:42:20] Denny_WMDE: thank you! this works (putting the module call in a template seems to be required): https://www.wikidata.org/w/api.php?action=parse&text={{Taxobox|qid=Q36146}}&prop=text&contentmodel=wikitext&format=jsonfm [12:42:21] 10[1] 10https://www.wikidata.org/wiki/Template:Taxobox [12:42:33] that code was created at the very beginning of wikidata project [12:42:59] I meant that I meant all the tim (wut?) that getSiteLinkDiff() returns Diff [12:43:05] right [12:43:24] not that I meant that I meant all the time that the change handler is evil :) [12:43:28] i might need to add some evil hacks into the deployment branch so that nothing breaks [12:43:32] heh [12:43:35] Granjow: sorry, back now [12:43:39] yep, totally clear :D [12:43:59] branches always get the minimal changes required to make it compatible [12:44:02] no refactorigns [12:44:13] mhm [12:44:14] think it won't be difficult [12:45:00] but I can't imagaine adding badges changes dispatching without refactorinh [12:45:01] *g [12:45:15] Granjow: yes, line 169 needs to check for EntityIdValue. [12:45:17] ok, off to eat [12:45:20] lazowik: ok [12:45:42] Granjow: though it would probably be better to check the property's type ID [12:46:21] DanielK_WMDE: What's that? [12:46:32] Granjow: also, contruction of EntityId objects has been simplified. Instead of newFromPrefixedId, you can just use the constructor. But you should use ItemId resp. PropertyId, if you know the type. [12:46:56] reimann: glad it worked out [12:47:08] Granjow: every property has a type associated with it. You get it from a PropertyDataTypeLookup. [12:50:51] (03CR) 10Tobias Gritschacher: [C: 032] "+1 already by Zfilipin. This wont harm anything.." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80063 (owner: 10Tobias Gritschacher) [12:51:24] DanielK_WMDE: Type meaning the data type it refers to? [12:52:17] (03Merged) 10jenkins-bot: Added cucumber tests for entity descriptions [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80063 (owner: 10Tobias Gritschacher) [12:52:35] DanielK_WMDE: And what is the reason that Entities have had getPrefixedId() changed to getId() but Items did not? [12:53:18] * EntityIds did not, not Items [12:54:05] or ItemIds ... argh. [12:54:34] Granjow: Entities hav had getId() for a long time (it returns an object). [12:54:51] Entity::getPrefixedId was a legacy method. I guess it got phased out during the EntityId refactoring [12:55:18] Granjow: ItemId and PropertyId are now concrete subclasses of EntityId (which will become abstract soon) [12:57:26] DanielK_WMDE: Is there anywhere some kind of data model for the code? It is currently a bit hard for me to always parse all code via /dev/brain and build a model there [12:57:27] I see how the EntityId vs. EntityIdValue thing is confusing. BUt introducing special ID classes for different types of entities shzould not cuase problems, as far as I can see. [12:57:55] Granjow: well, the code is the model :) for the data model component, it would be nice to have a pretty diagram [12:58:12] maybe somebody has time to make one :) [12:58:25] or is there a good tool for making uml diagrams from php code? [13:00:12] http://stackoverflow.com/questions/393603/php-uml-generator [13:02:59] Granjow: the best place would probably be http://wikidata-docs.wikimedia.de/ [13:03:12] but currently, this isn't updated very often, and does not include diagrams [13:03:18] but it seems like it could... [13:03:28] Granjow: feel free to push for that on the mainling list and/or bugzilla :) [13:03:29] needs updating [13:07:22] aude: I'm back, what's the status? [13:07:53] lazowik: cleaning up the code [13:08:09] aude: ok, can I help? [13:08:22] you can help code review [13:08:28] or just proceed with trying to understand the inner workings of api? [13:08:33] ok [13:08:39] work on the api would be good [13:08:43] * aude not touching that [13:09:06] change handler is a mess we created, especially the comment part and is due for cleanup [13:09:30] when do you expect to finish? [13:09:39] this afternoon [13:09:45] great :) [13:09:48] i'll do only so much [13:09:57] only so much in one patch [13:10:13] comment handling is going in it's own class [13:10:29] since change handler does a bazillion things and should only have one responsibility :) [13:10:35] mhm [13:10:49] can be deducted solely from it's length :) [13:10:56] it's easier to understand what's going on when comments are handled in one place [13:11:01] yep [13:11:57] heh, this badges thing is digging up through the bad parts of the code :) [13:12:00] first EntityId [13:12:03] now Changes [13:12:07] that's a good thing [13:12:22] sure [13:12:34] DanielK_WMDE: tbh, I always draw UML diagrams for my own code by hand. How can you understand the code model AND work together without one? :D [13:12:46] lazowik: site links is one of the oldest parts of the code, yea... lots of cruft there [13:13:10] Granjow: that's what I'm actually doing now :) [13:13:23] yay, my host finnaly fixed ipv6 routing. back on irc to troll people now :) [13:13:36] Granjow: i find the quite useless, since they don't convey the things that are important to me: how things get constructed and injected, what is initialized when and how, etc. [13:13:43] JeroenDeDauw: hi :) [13:13:55] Granjow: also, the tend to be outdated so fast. [13:14:18] * aude regenerating doxygen [13:14:28] and can put it on a cronjob [13:14:35] aude: yea, daily would be nice [13:14:44] sure [13:15:02] JeroenDeDauw: http://4.bp.blogspot.com/-k-yZxeJh518/UKu1YZGaGUI/AAAAAAAAAfM/OkeBDsfD9zA/s320/algoreinternet.jpg [13:15:24] aude: thank you! [13:15:39] lazowik: cool! :) [13:16:18] Granjow: (not UMLs, the second part) [13:16:48] DanielK_WMDE: For you perhaps. For me, trying to understand Wikibase and its relationships (every month anew) is, in a nutshell: aaaarrrrrrrrrrrghhhhh! [13:16:58] lazowik: Ah, then good luck :) [13:17:18] Granjow: complain to JeroenDeDauw, he loves refactoring :) [13:17:39] Granjow: i agree that especially for WikibaseDataModel, it would be nice to have a class diagram [13:17:47] maybe doxygen can make it for us [13:17:52] that would be nice [13:20:35] DanielK_WMDE: Absolutely. It would make getting into Wikibase tremendeously easier. And although manual ones are quickly outdated, I prefer them since you can leave away unimportant things and highlight functions that are often used. But generated is still better than none. [13:22:01] Refactoring would not matter so much if it were documented better; neither git commit messages nor code comments give any help (only occasionally). For example, \Wikibase\EntityContentFactory::singleton() is marked as deprecated, but no hint is given what should be used instead. [13:22:30] addweekend: around? [13:22:40] or Denny_WMDE? [13:23:06] Yup :-) [13:23:20] ok, viewing of badges? [13:23:27] s/?// [13:23:43] should I add props like sitelinks/badges [13:23:50] or return them always? [13:24:14] Hmm *checks what's currently done* [13:24:34] there's sitelinks props for wbgetentities [13:24:48] and sitelinks/urls which also returns urls to articles [13:25:09] Site links/badges sounds sensible then :) [13:26:20] (03PS1) 10Tobias Gritschacher: Add additional css classes to toolbarbuttons [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81923 [13:26:34] addweekend: and how to return them exactly? [13:26:48] I mean formatting? [13:26:59] Give me 2 ticks, my laptop is just booting up ;p [13:28:40] json is simple, just an array [13:28:46] but xml? [13:28:47] doxygen updated: http://wikidata-docs.wikimedia.de/ [13:29:03] * aude needs a logo and more stuff here :) [13:29:08] Lazowik, you don't need to worry about that, the api deals with the formatting :) [13:29:16] ah [13:29:29] * lazowik admits he haven't dig the code yet [13:29:46] :-) [13:30:29] i would point you at stuff but my laptop is still loading... [13:30:45] * lazowik waits [13:31:49] so currently sitelinks in the grand scheme of things are returned as "sitelinks": {"enwiki": { "site": "enwiki","title": "Berlin}} [13:32:20] yep [13:32:21] I imagine youll be returning them as "sitelinks": {"enwiki": { "site": "enwiki","title": "Berlin","Badge":<>}} [13:32:47] actually "Badges": [ "itemId", "itemId" ] [13:33:12] hmm [13:33:14] so "sitelinks": {"enwiki": { "site": "enwiki","title": "Berlin","badges": [ "itemId", "itemId" ]}} ? [13:33:18] yep [13:33:26] but here's a good question [13:34:04] itemId or title of the article of the item in the language of the sitelink? [13:34:14] nooo, itemid [13:34:34] that applies to dispatching, not api [13:34:39] :P [13:35:34] nearly loaded >.< [13:36:18] DanielK_WMDE: So I can create an ItemId with its constructor. But how can I get its corresponding Item and ItemContent? [13:36:32] (03PS1) 10Aude: Split code for handling site link comments in client (DRAFT) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81924 [13:37:36] (03PS2) 10Aude: Split code for handling site link comments in client (DRAFT) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81924 [13:37:41] it'd be probably slow if client had to call the repo for badge title [13:37:53] (03CR) 10Aude: [C: 04-2] "not ready to submit" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81924 (owner: 10Aude) [13:38:28] lazowik: updated what i've done so far, although it's far from done [13:38:38] errr. uploaded my patch [13:38:39] ok [13:39:14] finally loaded, lazowik everything you need in getentities should be the handleEntity method [13:39:30] this accepts the id of the entity and the params and props passed to the api module [13:39:43] mhm [13:39:43] basically moved some code and ensure it works with badges [13:40:18] DanielK_WMDE: I can create an ItemContent object from an Item object, which is exactly the other way round it worked with EntityContent which has getEntity(). [13:40:28] But how can I get an Item? [13:43:21] Denny_WMDE: I'm going to bump DataModel to 0.6 now just to keep it a step ahead ;p [13:43:39] so then lazowik around line 211 in getentities there is $entitySerialization = $entitySerializer->getSerialized( $entity ); which is then added to the result [13:44:07] addweekend: sorry for a moment, looking at aude's code [13:44:18] so as long as the SiteLinkSerializer has the badges they will be added to the result in getentities :) [13:44:27] np :P [13:44:32] (03PS1) 10Jeroen De Dauw: Bump versions of lib, client and repo to 0.5 alpha [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81925 [13:45:26] ItemContent has getItem and getEntity, which both return the same thing. [13:46:03] Granjow: reducing the use of ItemContent is another major refactoring that I'm planning... [13:46:09] will not happen soon, though [13:47:06] lazowik: hi [13:47:16] hey hey [13:47:21] DanielK_WMDE: Granjow: what should I refactor? ;p [13:47:33] Denny_WMDE: hehe :D [13:47:52] Denny_WMDE: https://gerrit.wikimedia.org/r/#/c/81925/ [13:48:16] (03PS4) 10Jeroen De Dauw: Improvements to EntityPerPageBuilderTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81557 [13:49:45] (03PS1) 10Tobias Gritschacher: Cucumber: simplify css selectors for labels and descriptions [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81926 [13:49:56] (03CR) 10jenkins-bot: [V: 04-1] Improvements to EntityPerPageBuilderTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81557 (owner: 10Jeroen De Dauw) [13:50:00] (03CR) 10Denny Vrandecic: [C: 032] Bump versions of lib, client and repo to 0.5 alpha [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81925 (owner: 10Jeroen De Dauw) [13:50:02] (03CR) 10Michał Łazowik: "(3 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81924 (owner: 10Aude) [13:50:08] aude: ^ [13:51:01] Denny_WMDE: Ok, and how would I get an ItemContent? [13:52:40] (03Merged) 10jenkins-bot: Bump versions of lib, client and repo to 0.5 alpha [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81925 (owner: 10Jeroen De Dauw) [13:55:28] 303 -> DanielK_WMDE: I think Granjow meant you [13:57:03] Granjow: from the EntityContentFactory. But better, if you really just want an item and don't care about the ItemContent, use the EntityLookupService. That's much nicer and cleaner [13:57:20] err, EntityLookup service. [14:01:40] (03PS2) 10Tobias Gritschacher: Cucumber: simplify css selectors for labels and descriptions [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81926 [14:05:52] lazowik: thanks for the comments [14:06:00] np [14:06:16] i'll make sure to have tests for both formats [14:08:57] great [14:22:32] hi [14:22:39] is it possible to merge two itemsß [14:22:40] ? [14:27:26] Schisma__: as far as I know only manually or using some helper tools [14:27:31] not "natively" [14:27:47] do you want to merge items? there a bug for that! [14:28:13] two items are exacly the same thing [14:28:30] now i moved all the claims and labels to one of them [14:28:32] lazowik: look at it less technical :P [14:28:35] then just request one to be deleted [14:28:50] the one from which you moved [14:28:52] but there might me links pointing to the yet empty item [14:29:00] then change the links, too [14:29:11] ah [14:29:12] ic [14:29:22] Special:WhatLinksHere/ gives you a list [14:29:41] No pages link to 洛克人X [14:29:47] awesome [14:30:11] how can i request deletion? [14:30:28] just give me the name of the item [14:30:33] I can delete it then [14:30:37] Q856890 [14:30:57] Schisma__: http://www.youtube.com/watch?v=nx55M23bMbo&t=5m20s [14:30:57] thank you [14:31:28] you're welcome :) [14:31:53] lazowik: ? [14:31:59] cool :) [14:32:38] I wanted to say cool in cool way [14:32:50] but apparently I didn't [14:35:23] cool [14:35:36] :D [14:36:39] cant we re-use the now unused item id? [14:36:42] such as Q6 [14:36:54] Q6 cannot even be created [14:37:28] but it once existed? [14:37:34] no, never [14:37:38] why not? [14:38:06] if you go to Special:NewItem that alone already blocks one item ID [14:38:33] so if you visit that page but do not create a new item then, just an ID gets blocked [14:41:41] addweekend: viewing badges works \o/ [14:41:48] :D [14:42:11] three lines changed, five added [14:42:54] but i don't understand why [14:43:57] ask addweekend [14:44:05] he is responsible for *everything*! [14:44:07] ?? where? [14:44:20] addweekend: on Wikidata :P [14:44:38] addweekend: do you know what addSiteLinksToResult does? [14:44:42] in WikidataApi [14:44:56] adds sitelinks to result when change happens? [14:44:58] lazowik: it is used in editentity I think [14:45:01] yus [14:45:16] so setsitlink will probably use addSiteLinksToResult to add only the sitelinks to the result! :) [14:45:21] (not got the code open right no) [14:45:30] I also think so [14:45:38] addweekend: Schisma__ wonders why the visit of Special:NewItem blocks an item ID (like e. g. for Q6) [14:46:06] Vogone: never looked at the code, so I dont know :P [14:46:43] addweekend: but you can ask your colleagues [14:46:55] as you spend your whole time with them [14:46:59] why dont you ask them :P they are in here ;p [14:47:02] im about to leave :> [14:47:08] :( [14:47:09] infact I was about to leave 2 hours ago ;p [14:47:27] addweekend: then postpone it for 1 more hour and anser the question :P [14:47:31] *answer [14:48:03] (03PS1) 10Michał Łazowik: Extend api to get badges [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81934 [14:48:08] addweekend: ^ [14:48:21] Vogone: that will keep him from going away :) [14:48:47] yes, hopefully :) [14:48:50] hmm, just realized I haven't even run tests [14:49:00] let alone adding them... [14:49:33] (03CR) 10jenkins-bot: [V: 04-1] Extend api to get badges [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81934 (owner: 10Michał Łazowik) [14:50:27] err [14:50:28] ERROR: Error cloning remote repo 'origin' : Could not clone /srv/ssd/zuul/git/mediawiki/extensions/Wikibase [14:50:44] lazowik: just push it again ;p [14:50:49] change the commit messgae or something [14:51:00] I have already taken a look and the code looks fine :0 [14:51:06] yay [14:51:08] but tests [14:51:16] (I mean not the failing ones) [14:51:22] I mean writing tests for that [14:51:28] indeed :) [14:51:45] hmm, [14:51:54] lazowik: i am going home soon, and then back online from home [14:51:55] see this https://gerrit.wikimedia.org/r/#/c/81003/ [14:51:58] * aude hungry :) [14:52:20] I have totally refactored the getentities tests, its just waiting to be review again! [14:53:20] lazowik: I also must go now :) I should be sort of contactable on irc all weekend :) it might take a while for it to get pushed to my phone though :) [14:53:21] aude: http://www.youtube.com/watch?v=Cey35bBWXls [14:53:34] addweekend: ok [14:53:40] :) [14:54:44] hah, ... "is france a country" [14:54:44] addweekend: ! [14:54:46] PB [14:55:04] Vogone: it is done... [14:55:09] oh? [14:55:35] Derhexer helped me out last night ;p [14:56:02] you are fast :D [14:56:07] * Vogone hugs addweekend :DD [14:56:08] I meant mostly from 2:18 [14:58:24] addweekend: oh, so I should wait for that to be merged? [14:58:30] lazowik: anything I can review now related to the sitelink stuff? [14:58:46] JeroenDeDauw: not really [14:58:53] or [14:58:54] wait [14:59:12] lazowik: mhhm, not sure how long it will take so you might as well just copy the test method that checks the sitelinks/urls prop for now :) [14:59:12] there's https://gerrit.wikimedia.org/r/#/c/81924/ [14:59:23] addweekend: ok [14:59:37] JeroenDeDauw: ^ that's a fix for dispatching [14:59:45] (draft) [14:59:58] 'cause item is merged [15:00:26] JeroenDeDauw: and now I'm working on api [15:01:21] (03CR) 10Jeroen De Dauw: [C: 032] "CR'd by DanielK" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81552 (owner: 10Jeroen De Dauw) [15:01:53] (03CR) 10Jeroen De Dauw: [C: 032] "CR'd by DanielK" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81553 (owner: 10Jeroen De Dauw) [15:02:00] (03PS5) 10Jeroen De Dauw: Improvements to EntityPerPageBuilderTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81557 [15:02:12] (03CR) 10Jeroen De Dauw: [C: 032] "CR'd by DanielK" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81559 (owner: 10Jeroen De Dauw) [15:02:22] (03PS6) 10Jeroen De Dauw: Improvements to EntityPerPageBuilderTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81557 [15:03:19] JeroenDeDauw: you could review https://gerrit.wikimedia.org/r/#/c/81003/ [15:03:31] because I have to write test for getting badges now [15:04:13] addweekend: review!! https://gerrit.wikimedia.org/r/#/c/81549/ ;p [15:04:19] (03CR) 10jenkins-bot: [V: 04-1] Improvements to EntityPerPageBuilderTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81557 (owner: 10Jeroen De Dauw) [15:04:48] addweekend: trade for https://gerrit.wikimedia.org/r/#/c/81003/ ! [15:05:17] JeroenDeDauw: if you tell me newFromNumber accepts strings Ill +2 now but not got any code open ;p [15:07:01] haha lazowik , hoo wans to review that one ;p [15:07:24] ah, ok [15:07:35] ok, I need to limit use of 'ok' [15:07:36] ok [15:07:43] :> [15:08:01] some more commens on my property propsals? -> https://www.wikidata.org/wiki/Wikidata:Property_proposal/Creative_work#story_set_in_time_.2F_Handlung_spielt_zur_Zeit_.2F_.D0.98.D1.81.D1.82.D0.BE.D1.80.D0.B8.D1.8F_.D0.BF.D1.80.D0.BE.D0.B8.D1.81.D1.85.D0.BE.D0.B4.D0.B8.D1.82_.D0.B2.D0.BE_.D0.B2.D1.80.D0.B5.D0.BC.D1.8F_.2F_.3F_.2F_.3F [15:08:15] tata for now [15:08:58] (03CR) 10Jeroen De Dauw: [C: 04-1] "(4 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81003 (owner: 10Addshore) [15:09:14] JeroenDeDauw: I'll ask you since Daniel left. How am I supposed to use EntityLookup, i.e. how do I create a new object to use hasEntity? [15:14:33] addweekend: in your's patch I don't see sitelinks/urls at all.. [15:17:06] (03CR) 10Michał Łazowik: "(1 comment)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81003 (owner: 10Addshore) [15:24:24] Heh, if not that's another one I've missed... [15:25:10] addweekend: "tata for now" [15:26:15] addweekend: it's not even in "yours" allowed props [15:26:47] Hmm, it should be ;p will fix it on Monday :) [15:26:57] addweekend: can you ping me when you're ready for more rather theretical talk? [15:26:59] Or maybe sometime this weekend :) [15:27:15] about setting badges [15:57:02] addweekend: if I have to wait for tests maybe I'll do also editing through api in the same patch [15:58:03] but I don't know whether to add another module or do some magic in wbsetsitelink [16:00:53] but I think something like wbsetbadges done similarly to wbsetaliases is a cleaner option [16:13:42] Hmmm * tried to remember how set site links works... [16:17:44] Would be nice to have it in the same module :/ [16:19:20] But yes, I wouldn't worry too much about get entities now , concentrate on being able to add badges through the api :) [16:20:34] (03PS5) 10Burthsceh: Add option to disable updating Repo on moving page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80778 [16:20:40] Night. [16:23:02] addweekend: newFromNumber accepts numbers ;p [16:23:19] addweekend: in fact only ints [16:26:08] (03PS7) 10Jeroen De Dauw: Improvements to EntityPerPageBuilderTest [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81557 [16:26:46] (03PS3) 10Jeroen De Dauw: Update PropertyValueSnak to use PropertyId [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81549 [16:28:21] g [16:29:56] addweekend: then (for wbsetsitelink) I'd need params: badges (replace), badgesadd (add), badgesremove (remove) [16:33:32] (03PS1) 10Jeroen De Dauw: Improvements to StatementTest [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81948 [16:34:58] JeroenDeDauw: ur any authority on api [16:34:59] ? [16:36:21] (03PS1) 10Jeroen De Dauw: Move b/c code for ReferenceObject to a better location [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81949 [16:39:01] (03PS1) 10Jeroen De Dauw: Move b/c code for ClaimObject and StatementObject to a better location [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81951 [16:40:04] (03PS1) 10Jeroen De Dauw: Remove unused imports [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81952 [17:10:06] Lydia_WMDE: around? [17:15:31] (03PS1) 10Jeroen De Dauw: Up rel notes [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81957 [17:15:40] (03CR) 10Jeroen De Dauw: [C: 032 V: 032] Up rel notes [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/81957 (owner: 10Jeroen De Dauw) [17:16:15] lazowik: what is your question? [17:16:31] on api or to Lydia? [17:17:21] on api that's the last message to addweekend [17:17:31] and to Lydia who can I bother about design [17:17:38] (03Abandoned) 10Jeroen De Dauw: Revert "Revert "Move out DataTypes to its own repo"" [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/74288 (owner: 10Jeroen De Dauw) [17:18:03] JeroenDeDauw: ^ [17:19:01] (03PS1) 10Jeroen De Dauw: Remove DataTypes as its now in its own git repo [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81958 [17:19:42] (03PS2) 10Michał Łazowik: Extend api to support badges [DO NOT MERGE, DRAFT] [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/81934 [17:20:04] JeroenDeDauw: is the extension setup doc updated on mw wiki? [17:20:14] after moving DataTypes? [17:22:14] lazowik: you need DataTypes.git now, no other changes required [17:22:32] JeroenDeDauw: as a separate extension? [17:23:08] it'd be nice to have at least one place with basic setup explained and updated [17:23:22] lazowik: clone the repo in your extensions directory [17:23:25] mhm [17:24:00] lazowik: re API: sounds good. Though better ask addshore about it as well [17:24:10] I'm not upt o speed with our current naming format [17:24:37] lazowik: yes, would be nice to have this explained somewhere [17:24:38] JeroenDeDauw: what concerns me is that no other api module uses "prefixed" names [17:24:46] Without all the confusing crap you find everywhere now [17:25:30] up until now extension pages were quite goods [17:25:31] aude: meeeeeeeeeeergeeeeeeeeeeee https://gerrit.wikimedia.org/r/#/c/81958/ ;p [17:26:40] JeroenDeDauw: http://www.mediawiki.org/wiki/Extension:DataTypes [17:26:51] that's probably a good place [17:27:46] but probably http://www.mediawiki.org/wiki/Extension:Wikibase also needs updating [17:38:43] lazowik: indeed, that page was out of date [17:39:12] lazowik: I actually rather have regular users not have to care about these components at all [17:39:42] what do you mean by regular users? [17:47:52] (03Abandoned) 10Jeroen De Dauw: Handle null as value for precision [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81215 (owner: 10Jeroen De Dauw) [17:54:46] lazowik: people installing Wikibase that are not devs [17:54:56] And even a lot of devs should not have to care [17:55:09] so how do you want to achieve that? [17:55:29] lazowik: it is already achieved. Just clone Wikibase, and run composer install [17:55:36] ah, composer [17:55:37] ok [17:56:59] JeroenDeDauw: so can you at least tell me whether to do separate module for badges or go with prefixed parameters in wbsetsitelink ? [17:57:06] or I have to wait for addweekend [17:57:24] and who is to be asked about UI? [18:02:53] (03PS1) 10Jeroen De Dauw: Remove obsolete and unhelpfull boilerplate docs [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81965 [18:03:28] eh, I'll wait [18:14:29] hi, what happened with the Wikidata map? It stopped working (for me at least) [18:21:18] Does it load to anyone? >> https://dl.dropboxusercontent.com/u/172199972/map/map.html [18:21:41] Micru: for me not [18:22:02] lazonwik, thanks for double-checking [18:22:20] Micru: but looks like only data is missing [18:22:38] when I double-click "zoom out" becomes active [18:22:41] oh, that is weird [18:22:51] I'll try again [18:23:10] and Denny is not here :( [18:23:50] I think that some changes might have broken it [18:23:57] for example mine :) [18:25:28] he, he, I have left a note on the "contact the developers" page [18:27:24] lazowik: I'd be inclined to put it in the same module [18:27:40] lazowik: for UI you want to ask Henning, Tobi and Danwe [18:27:53] thanks [18:27:58] lazowik: you can always mail wikidata-tech [18:28:10] off to learn a new word: "incline" [18:28:30] ok, my intuition was right [18:28:56] JeroenDeDauw: hmm, I think I'll do that [18:40:53] (03PS1) 10Jeroen De Dauw: Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 [18:41:05] (03CR) 10jenkins-bot: [V: 04-1] Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 (owner: 10Jeroen De Dauw) [18:46:04] lazowik: whats your native language? [18:46:13] pl [18:46:44] why? [18:47:06] (that's polish) [18:47:09] JeroenDeDauw: ^ [19:08:38] (03PS2) 10Jeroen De Dauw: Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 [19:09:35] (03CR) 10jenkins-bot: [V: 04-1] Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 (owner: 10Jeroen De Dauw) [19:27:04] (03PS3) 10Jeroen De Dauw: Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 [19:29:52] (03CR) 10jenkins-bot: [V: 04-1] Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 (owner: 10Jeroen De Dauw) [19:37:56] (03PS4) 10Jeroen De Dauw: Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 [19:39:21] (03CR) 10jenkins-bot: [V: 04-1] Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 (owner: 10Jeroen De Dauw) [20:04:54] (03PS5) 10Jeroen De Dauw: Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 [20:08:35] (03PS1) 10Jeroen De Dauw: Fix casing in test registration [extensions/DataTypes] - 10https://gerrit.wikimedia.org/r/82031 [20:08:47] (03CR) 10Jeroen De Dauw: [C: 032 V: 032] Fix casing in test registration [extensions/DataTypes] - 10https://gerrit.wikimedia.org/r/82031 (owner: 10Jeroen De Dauw) [20:10:34] lazowik: so I know how to properly be racist to you ofc [20:10:44] :D [20:15:23] (03PS6) 10Jeroen De Dauw: Reorganize to new component structure [DRAFT, DNM] [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/81966 [20:47:05] lazowik: sorry - currently traveling for a conference [20:47:13] np [20:47:14] lazowik: code design or UI design? [20:47:18] UI [20:47:27] but Jeroen answerd me already [20:47:31] ok cool [20:47:40] and also suggested to write to wikidata-tech [20:47:44] so I did [20:48:21] great [20:52:10] and you shouldn't be checking irc at this time ;p [20:56:59] (03PS1) 10Zfilipin: Updated test configuration to the latest version [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82039 [21:10:48] lazowik: lol i should indeed not but... [21:10:51] you know how it is ;-) [21:11:06] yeah, I know _exaclty_ [21:14:29] legoktm: I need help setting up an abuse filter. [21:14:34] Please PM me [22:27:46] Lydia_WMDE: the summary email hour is 00:00 :D [22:27:58] :P [22:29:12] Lydia_WMDE: to late! [22:29:51] lazowik: she tends to be a bit slow [22:30:06] * JeroenDeDauw hides [22:30:19] * lazowik didn't hear anything [22:31:46] * Lydia_WMDE pokes JeroenDeDauw really hard [22:31:58] JeroenDeDauw: i might be far away in paris but.... ;-) [22:32:09] i will be back on tuesday [22:32:28] * JeroenDeDauw plans to go on holidat Wednesday evening [22:34:48] (03PS1) 10Jeroen De Dauw: Fix coverage tags for Entity [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/82058 [22:34:55] that leaves me tuesday and wednesday ;-=) [22:36:18] * lazowik is here just by chance! [22:36:48] Lydia_WMDE: oh noez. Why are those two days so confusing? [22:37:19] JeroenDeDauw: to teach you not to mess with me clearly :P [22:38:01] https://www.youtube.com/watch?v=IYnsfV5N2n8&t=0m20s [22:39:19] (03PS2) 10Jeroen De Dauw: Fix coverage tags for Entity [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/82058 [23:03:14] (03PS1) 10Jeroen De Dauw: Added extra tests for EntityIdValue [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/82061 [23:10:41] (03PS1) 10Jeroen De Dauw: Add extra tests for EntityId [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/82062 [23:32:43] JeroenDeDauw: re your wikidata-tech email, what does "high risk" mean and how do you determine that?