[06:23:48] (PS1) Liangent: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 [06:24:48] Lydia_WMDE: how can I request an emergency review & backport? [06:25:01] liangent: hey [06:25:03] wasup? [06:25:18] https://gerrit.wikimedia.org/r/#/c/76060/ [06:25:35] zhwiki is broken :/ [06:25:40] (CR) jenkins-bot: [V: -1] Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [06:25:45] how is it broken? [06:27:11] Lydia_WMDE: all property fetches fail [06:27:12] {{#property [06:27:38] ok [06:27:52] i will push people to take a look asap [06:29:58] (PS2) Liangent: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 [06:31:31] (CR) jenkins-bot: [V: -1] Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [06:34:16] (PS1) Liangent: WIKIBASE MASTER FAILS? [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76062 [06:35:49] (CR) jenkins-bot: [V: -1] WIKIBASE MASTER FAILS? [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76062 (owner: Liangent) [06:36:43] (CR) Liangent: "The jenkins failure is from somewhere else." [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [06:46:13] liangent: Heh, yeah it's been failing for a while now. [07:02:13] (CR) Aude: "normally, a missing message means the message key gets displays. (ick, but does not take the site down)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75997 (owner: Aude) [08:02:40] morning legoktm :> [08:44:51] hey DanielK_WMDE [08:45:37] wikibase currently is failing tests, and here's one way to fix it, but I'd like you to take a look: https://gerrit.wikimedia.org/r/#/c/76022/ [08:59:18] tzafrir: congrats on your change being merged and deployed! [09:11:26] (CR) Daniel Kinzler: [C: 2] Removed failing test for illegal time value [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76022 (owner: Denny Vrandecic) [09:12:13] Denny_WMDE: the test is in the right place where it is, it's not testing logic from another repo. [09:12:48] (Merged) jenkins-bot: Removed failing test for illegal time value [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76022 (owner: Denny Vrandecic) [09:12:58] it tests the constraints for the wikibase time type, which is indeed a wikibase thing. [09:13:18] (PS3) Tobias Gritschacher: Fix: Edit summaries have a double space [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75869 [09:13:22] (PS2) Jeroen De Dauw: Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [09:13:23] (CR) jenkins-bot: [V: -1] Fix: Edit summaries have a double space [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75869 (owner: Tobias Gritschacher) [09:13:24] (PS3) Aude: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [09:13:32] Denny_WMDE: hin hindsight though, i should habe been more defensive, and use try/catch ionstead of just a comment [09:13:35] (CR) jenkins-bot: [V: -1] Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 (owner: Jeroen De Dauw) [09:14:32] DanielK_WMDE: I didn't remove the comment due to the validator remark [09:14:48] does this mean we need to do something about the validator too, or can I remove the test and comment? [09:15:27] (CR) Denny Vrandecic: [C: 2] LanguageFallbackChain: Avoid one more unneeded Language construction [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73413 (owner: Liangent) [09:15:31] (CR) jenkins-bot: [V: -1] LanguageFallbackChain: Avoid one more unneeded Language construction [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73413 (owner: Liangent) [09:16:19] liangent: you there? [09:16:20] (PS14) Addshore: Special page for entities without description [extensions/Wikibase] - https://gerrit.wikimedia.org/r/67634 (owner: Bene) [09:17:56] (PS4) Tobias Gritschacher: Fix: Edit summaries have a double space [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75869 [09:18:44] (PS2) Tobias Gritschacher: WIKIBASE MASTER FAILS? [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76062 (owner: Liangent) [09:19:18] aude: there? [09:21:09] (CR) Tobias Gritschacher: "not anymore" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76062 (owner: Liangent) [09:23:51] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#478 (master - cd77b2a : vrandezo): The build was broken. [09:23:52] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/ce1a5774441a...cd77b2acbe98 [09:23:52] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9508864 [09:25:17] hi pragunbhutani [09:25:56] ah sweet travis … there we have one of these failing tests [09:25:58] let's figure it out [09:26:12] aude: I haven't been able to chat with jon yet so I was wondering if there are other things that I could work on in the meanwhile? [09:26:27] mobile skin/view html? [09:26:36] yes, I need his help with that [09:26:54] so anyone knows why https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/jobs/9508870 fails? [09:26:57] mock up the html (with the entity data hardcoded) [09:26:58] (PS1) Tobias Gritschacher: Add information about summary's length limit to API documentation [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76066 [09:27:06] I think we work on completely opposite time zones [09:27:09] so we figure out how to implement the layout, the css, etc. [09:27:12] pragunbhutani: yeah [09:27:36] hoo: aude DanielK_WMDE JeroenDeDauw Tobi_WMDE addshore ? any idea why https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/jobs/9508870 fails? i think that's the "randomly failing test" i mentioned during daily [09:27:38] Denny_WMDE: talking about fixing failing tests: https://gerrit.wikimedia.org/r/#/c/75852/ [09:27:43] hmm, okay I'll do that :) [09:27:52] (PS2) Tobias Gritschacher: Add information about summary's length limit to API documentation [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76066 [09:28:00] Denny_WMDE: That was the one I tried to hunt down some days ago... no luck [09:28:06] pragunbhutani: now, i'm not great at css and think you do better at this than i would :) [09:28:20] we'll require tests for the ClaimHtmlGenerator as well wouldn't we? [09:28:26] oh I'm comfortable with css :) [09:28:28] i think that is the hardest part [09:28:35] yes, we need tests [09:28:38] Denny_WMDE: that jenkins job is refusing to load for me [09:28:48] okay so are we going to defer that for later? [09:28:57] i made a patch that would allow injecting the template as a parameter [09:29:05] I'm trying to make a mental roadmap of the project [09:29:10] pragunbhutani: sure [09:29:13] ah, the wf-template? [09:29:13] 1) Wikibase\Test\StoreTest::testRebuild with data set #0 (Wikibase\SqlStore) [09:29:13] DBQueryError: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script [09:29:13] Query: INSERT INTO `unittest_wb_items_per_site` (ips_item_id,ips_site_id,ips_site_page) VALUES ('10','enwiki','spam') [09:29:13] Function: Wikibase\SiteLinkTable::saveLinksOfItem [09:29:13] Error: 1062 Duplicate entry 'enwiki-spam' for key 'wb_ips_item_site_page' (localhost) [09:29:21] JeroenDeDauw: ^ [09:29:40] it's important to work on both, but coding the layout is more important for now [09:29:43] aude: okay so we already have the bit that's required for claim html generation [09:29:48] a mobile skin comes next [09:29:50] hoo: yes, i thought so [09:29:54] pragunbhutani: kind of yes [09:29:57] followed by tests for [09:30:05] JeroenDeDauw: is that the on that kept failing in travis the last few days? [09:30:10] ClaimHtmlGenerator/Both [09:30:20] i can see a mobile view then calling getHtmlForClaim or whatever and providing it a template as an argument [09:30:28] the template could be different than the default view [09:30:37] Denny_WMDE: yeah, that is the random one [09:30:49] then mobile skin do $mobileView->render() or something (in the end) [09:31:00] JeroenDeDauw: thanks for confirming [09:31:35] so, can we all try to hunt it down? [09:31:40] Denny_WMDE: Might be because the thing that is supposed to keep labels etc. unique is disabled on MySQL for unit tests... presumably because of http://bugs.mysql.com/bug.php?id=10327 [09:31:45] hoo: can you share your finding so far? [09:32:11] When Jenkins is put in front of Travis, only some commits go through, and an interferrence pattern appears on Travis: https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds [09:32:17] We can thus conclude commits are waves [09:32:27] aude: yeah I'm not entirely sure about how it is that I'll be using the ClaimHtmlGenerator in the mobile part as yet [09:32:43] if we'll make a skin, or a template I'm not sure [09:32:55] that's what I need to ask Jon [09:32:58] pragunbhutani: what do you think? [09:33:05] hoo: hmmm [09:33:33] see, Jon did tell me that there is now a way where you can extend an existing skin to create one of your own [09:33:35] our template system does have some issues [09:33:43] so I think that extending SkinMinerva might be an option [09:33:44] it's super simple, maybe too simple [09:33:52] pragunbhutani: sure [09:34:14] Abraham_WMDE: Denny_WMDE: where is the lydia? [09:34:40] Denny_WMDE: no idea... could it be that travis is using the same mysql instance for running multiple test suits? [09:34:45] pragunbhutani: it would just need to have different layouts, for example depending on content type [09:34:47] that would be a recipe for disaster... [09:34:48] of a page [09:34:51] aude: SkinMobile already renders the entire thing (in that broken fashion) so I don't think I will be working on that [09:34:53] JeroenDeDauw: she works today for TC [09:35:00] pragunbhutani: ok [09:35:06] JeroenDeDauw: do you know ---^^ [09:35:07] aude: did you see the layout that Pau Giner suggested? [09:35:25] DanielK_WMDE: It's not, no [09:35:37] Wait, I'll add that to the rest of the mockups and then share a link [09:35:44] ok [09:35:53] DanielK_WMDE: Please let me know after reviewing the latest changes. I'll clarify this dependency problem with you so that future changes don't get messed up like these have. [09:36:07] I set myself up a similar set about a week ago (for these test failures) and these happen all the time [09:36:25] no matter whether the DB is newly created or has run the suite 5+ times [09:37:02] DanielK_WMDE: Denny_WMDE: TravisCI creates an entire new VM and then freshly sets up MW for each build job [09:39:02] JeroenDeDauw: then i have no clue how wb_ips_item_site_page could get a duplicate [09:39:22] neither do I... [09:39:38] nileshc: i just send you an email with a bunch of get/gerrit hints. [09:39:55] let me know if still have questions. [09:39:55] DanielK_WMDE: Yup, I just saw it. Reading now. [09:39:59] ok [09:40:15] DanielK_WMDE: I even grepped Wikibase for spam and disabled all tests containing the string... no luck still... but some tests in DataModel use the string either (I disabled some of them...) [09:40:28] * aude wonders why php5? [09:40:32] 5.5 [09:40:50] is it consistently php5.5 failing? and not other versions? [09:41:20] https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/jobs/9470476 is php5.4 [09:41:35] DanielK_WMDE: By empty item you mean an item that doesn't exist in the suggester right? This is referred to in the code by Anonymous item...We have the AnonymousEntitySuggesterServlet and the ExistingEntitySuggesterServlet. [09:41:40] yea, that'S odd... the mysql version is the same, right? [09:41:41] aude: My VM has PHP 5.5 [09:42:16] nileshc: i mean an item that has no properties yet (because it was just now created) [09:42:16] DanielK_WMDE: assume so [09:42:38] nileshc: ...so there's nothing to base suggestions on [09:42:42] DanielK_WMDE: Ah. Yes Myrrix handles those cases itself. [09:43:09] aude: http://www.mediawiki.org/wiki/User:Pragunbhutani/GSoC_2013_Implementation_Approaches#UI_Mockup_v3 [09:43:16] pragunbhutani: thanks [09:43:31] nileshc: so much the better :) [09:43:32] aude: sure thing :) [09:43:34] DanielK_WMDE: I think it may give random suggestions...I'll test that out and add/refactor accordingly. [09:44:25] pragunbhutani: i think it's nice though might not have all the editing enabled right away [09:44:32] (unlikely) [09:44:37] I know [09:44:39] aude: no, as far as i understand it is not consistently php 5.5 [09:44:42] sometimes it is [09:44:46] sometimes it is 5.4 [09:44:49] right JeroenDeDauw ? [09:44:49] Denny_WMDE: i see [09:44:53] so we have two alternate UIs for now [09:44:57] one with actions and one without [09:45:02] I think it's nice this way [09:45:18] since we can simply keep adding stuff to the 'with actions' UI as they come along [09:45:18] My VM on which it fails consistently has PHP 5.5.0 and mysql Ver 15.1 Distrib 5.5.31-MariaDB, for Linux (x86_64) using readline 5.1 [09:45:23] Denny_WMDE: ^ [09:45:49] so for you it is always 5.5 hmm… ok… let's see if JeroenDeDauw remembers about travis if this is the case too [09:45:53] pragunbhutani: so when i click on one of the statements, then what does it look like? [09:46:23] and it would have the menu / search box at the top, right? [09:46:28] aude: he didn't say anything about that but the way I envision it, I think it should slide and expand [09:46:46] yes, definitely [09:46:51] aude, hoo: looking at this one, it is 5.3 https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9388528 [09:46:54] same test [09:46:56] this is just the 'content area' if we may call it that [09:47:00] 5.5 passed that run [09:47:00] pragunbhutani: ok [09:47:06] 5.3 did not [09:47:12] weird [09:47:23] interesting [09:47:23] for me that test failed in all cases [09:47:58] for text, it could just expand horizontally [09:48:06] pragunbhutani: so, i think we should include the new mockups in our weekly status update [09:48:13] and for images etc, both horizontally and vertically [09:48:14] and maybe another mail? [09:48:19] aude: i'm fine with merging liangent's variant fix, just gave it a +1. i don't feel confident giving it a +2 without anyone else looking at it though. [09:48:28] DanielK_WMDE: i was looking at it [09:48:34] ok [09:48:42] aude: sure, I'm going to add clarifications to the doubts you had as well [09:48:47] pragunbhutani: ok [09:48:56] hoo: "that" test? failed how? [09:49:28] DanielK_WMDE: Well, it failed because of the database error (unique key) [09:49:32] how do i find this test? [09:49:49] it's one of the storage tests AFAIR [09:49:49] (stupid question, sorry) [09:49:56] (Abandoned) Jeroen De Dauw: WIKIBASE MASTER FAILS? [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76062 (owner: Liangent) [09:50:06] repo/tests/phpunit/includes/store/StoreTest.php:55 [09:50:08] Denny_WMDE: ^ [09:50:24] the constraint thing is happening in different tests [09:50:24] Denny_WMDE: you hit squiggely-o and type "StoreTest" [09:50:33] label and description uniqueness in sqlite [09:50:39] hoo: thanks [09:50:41] that test runs in sqlite only [09:50:45] hoo: Denny_WMDE: the weird thing is, I cannot find where the test data even comes from [09:50:53] enwiki and spam [09:50:55] but not a problem in 5.3 apparently (on jenkins) [09:50:55] Denny_WMDE: it is not just 5.5. Also 5.4 [09:50:56] Tobi_WMDE: Me to... [09:51:07] aude: but the failures are all in mysql as far as i have seen [09:51:12] Denny_WMDE: no [09:51:15] Tobi_WMDE: the api set aliases test uses this combination, but only for labels [09:51:24] there is something in changeHandlerTest but I think we skip this test [09:51:26] JeroenDeDauw: yeah, thanks for confirming. even 5.3 at times [09:51:27] aude: no? [09:51:36] If you want to investigate, take a look at WikibaseDataModel... [09:51:38] aude: no? [09:51:42] Tobi_WMDE: ^ [09:51:47] JeroenDeDauw: is an array of EntityIds sufficent for badges? [09:51:53] we were looking at it last friday [09:51:56] me an hoo [09:52:00] Denny_WMDE: also, sometimes for client tests and sometimes for repo tests [09:52:03] There are some tests still with @group Wikibase and these also use "spam" as test string [09:52:08] Tobi_WMDE, JeroenDeDauw: i fixed several things there, we should no longer skip changehandlertest. if there are still issues, i want to know about them. [09:52:08] the are supposed to be pointing to items now [09:52:10] aude: but on https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9388528 we see it is mysql [09:52:23] one sec... [09:52:31] aude: all failures i have seen were in mysql [09:52:33] Tobi_WMDE: awesome. where do you see that from? [09:52:47] DanielK_WMDE: AFAIR these are running fine on my (travis like) env., so it should be ok to run them on travis as well [09:52:50] https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/jobs/9241404 [09:53:16] i think we removed the automatic loading of tests inr epo [09:53:23] aude: That was an older failure I've already resolved [09:53:25] and that one is not occurring now, right? [09:53:31] hoo: ok, by resetting the entities [09:53:35] aude: I've put that back in place [09:53:35] in some place [09:53:41] hoo: ok [09:53:51] Denny_WMDE: e.g. https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9367374 [09:53:52] I think it needed 4 different fixes until everything passed... [09:53:53] aude: no, it seems to be a different test and error now [09:54:04] ok, though similar [09:54:09] Tobi_WMDE: yaay! [09:54:11] :Ü [09:54:11] aude: 7 days ago. i *think* i fixed that last week. [09:54:12] sounds similar [09:54:21] DanielK_WMDE: ok :) [09:54:37] just sounds like same symptoms [09:54:41] something not resetting [09:54:46] lazowik: I geuss so. I was initally expected this array to contain strings, so this is now endeding up being more complex. No objections though [09:54:54] not cleaning up [09:55:06] DanielK_WMDE: I see that I confused the "empty item" case with something else. Since this is an anonymous item, without *any* data, the recommendation engine won't be able to do anything. So we need to suggest top N most popular properties for that right? [09:55:12] aude: not really... [09:55:21] yeah, so, it all seems to happen randomly, on any php version, on both client and repo, and only in mysql, not in sqlite as far as we can tell [09:55:22] nileshc: yes. [09:55:36] DanielK_WMDE: not convinced [09:55:40] but at least it is always the same failure [09:56:19] Denny_WMDE: should I prevent from duplicate badges? [09:56:27] aude: the thing is that we explicitly check the uniqueness constraint before trying to save. that check passes. then we get a failure on the unique key. that's *very* strange. [09:56:30] lazowik: yes [09:56:35] error on add? [09:56:43] lazowik: no [09:56:45] DanielK_WMDE: ok [09:56:50] just a no-op [09:56:51] maybe tests run parallel [09:56:57] api? [09:56:59] lazowik: just a no-op [09:57:00] and something is interfereing? [09:57:06] aude: that was my suspicion, but jeroen sais no... [09:57:13] lazowik: or rather, be consistent to what the labels do [09:57:14] i don't mean across builds [09:57:23] hm... [09:57:24] lazowik: i mean aliases [09:57:24] ok [09:57:28] but within a single build, maybe somehow it runs parallel processes? [09:57:32] sure :) as always [09:57:37] no idea [09:57:38] lazowik: :) [09:57:46] can anyone reproduce? [09:57:57] aude: Phpunit isn't parallel [09:57:59] I can... [09:58:10] hoo: i know and it shouldn't be [09:58:18] but who knows what travis does [09:58:29] I still suspect the missing uniqueness checks... [09:58:35] google turns up paratest [09:58:37] ok [09:58:46] but i doubt that travis uses that [09:58:47] DanielK_WMDE: It doesn't [09:58:51] gree [09:58:53] agree [09:58:57] just an idea :) [09:59:07] I use Fedora's PHPunit and get the same failure... even all the time [09:59:14] hoo: ok [09:59:25] DanielK_WMDE: Ah. So here are the 3 cases that I need to do: "suggest properties for an empty item", "suggest qualifiers for a given property", "suggest properties to use in source references"...the first 2 need the same top N properties. The last one will be served by the usual property suggester. A special case of the last one where it's a "new" or "empty" source ref, we'll again suggest top N, similar to the "empty item" case. [09:59:31] [tests@localhost ~]$ phpunit --version [09:59:32] PHPUnit 3.7.22 by Sebastian Bergmann. [10:00:32] nileshc: the java based REST service for suggesting a property takes a list of properties as its input, right? [10:00:54] nileshc: and now you added an alternative service that takes an item ID, and automatically figures out the properties that are already there, and uses that? [10:01:20] aude: I'm adding this to the weeky summary [10:01:26] pragunbhutani: great [10:01:27] does this go under discussion or development? [10:01:35] hoo: thats at least something if it's not completely random for you [10:01:38] i'd say discussion [10:01:42] okay [10:01:50] lydia or addshore can move it if they like [10:02:03] indeed :) [10:02:17] DanielK_WMDE: Yes. The latter is exactly similar to the "A bought X so B might also buy X" style recommendation, where the data is already present. [10:02:34] ok, so let's see [10:02:42] this things calls store->rebuild [10:02:44] and that's all [10:02:45] right? [10:03:06] and it does not return from the rebuild, but throwas a DBQueryError [10:03:39] hmmmm [10:03:55] nileshc: but that will onyl work if the data in the suggester is kept up to date in real time. which is pretty much out of the question. i'm writing a longish comment con the change now. [10:05:28] DanielK_WMDE: The data in the suggester *could* be kept up to date in real time if every time someone adds/removes/updates an entity, a function in the suggester API is called. [10:06:15] DanielK_WMDE: I mentioned about this in an email. That'd mean that the suggester won't lag behind for 1.5-2 weeks until the next wiki dump. Thoughts? [10:06:48] nileshc: possible, in theory, but too costly/brittle for now. performing an edit must not rely on external services to return in time. So the update needs to be asynchronous. We'd a) need a mechanism for that and b) have to hope that the asynchronous update would happen fast enough [10:07:07] i frankyl don't see the benefit. we can easily implement this functionality in the API on the php side of things [10:08:02] are failing tests fixed? :D [10:08:06] or not ? :< [10:08:12] DanielK_WMDE: Implement which functionality in the PHP API? (By suggester API I meant the PHP API itself that'll call the web service to add/update the entity) [10:08:24] addshore: the timevalue thing is fixed [10:08:25] addshore: not the randomly failing ones [10:08:30] :/ [10:08:32] addshore: the one on jenkins is [10:08:45] addshore: so jenkins should be happy again. travis isn't, there's still thy mysterious key constraint failure [10:08:46] addshore: jenkins runs sqlite, right? [10:08:53] yes [10:09:03] Denny_WMDE: but i run all my local tests with mysql. never seen this issue# [10:09:07] that's why we probably don't see the random one popping up there [10:09:12] weird [10:09:16] and i'm on php 5.4.9 [10:09:17] (CR) Addshore: [C: -1] "The pages themselves look good but I cant see that you have addressed aude's comments. (see below)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/67634 (owner: Bene) [10:10:00] DanielK_WMDE: BTW, on the Myrrix side every web service is asynchronous. [10:10:00] (CR) Addshore: [C: 2] Normalize item ids before trying to remove doubles [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75533 (owner: Hoo man) [10:10:30] Denny_WMDE: I'm on php 5.4.7 with mysql and I never saw this issue locally [10:10:33] so how does the store get filled before the rebuild test is being called? [10:10:42] :-/ [10:11:07] JeroenDeDauw: aude: did you ever get the errors locally? [10:11:14] Tobi_WMDE: Which test group are you running? [10:11:20] so far it seems only hoo and travis who can get them [10:11:22] (Merged) jenkins-bot: Normalize item ids before trying to remove doubles [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75533 (owner: Hoo man) [10:11:22] nileshc: still, callign out to any external service, and waiting for it to return, should not be done within a web request if it can be avoided. [10:11:25] Denny_WMDE: no [10:11:26] hoo: wikibase [10:11:33] which exact test is it? [10:11:43] DanielK_WMDE: In any case updating/adding something through the web service will be instantaneous (since it's async) and the actual update will be be in miliseconds too. [10:11:48] DanielK_WMDE: Yes, that is true... [10:11:49] nileshc: live updates are nice, and we can add them, but we should not rely on them at the moment. we can implement the required functionality easily on the php side [10:12:14] addshore: Wikibase/Test/StoreTest::rebuldTest [10:12:18] rebuild [10:12:28] addshore: https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/jobs/9508870 [10:12:29] Anyone want to finish the review? :) https://gerrit.wikimedia.org/r/#/c/74127/ [10:12:34] nileshc: http is never async. it'S a synchronous protocol per definition. the response may be pretty quick because the update is just queued and not processed right away, but still: [10:12:38] DanielK_WMDE: "we can implement the required functionality easily on the php side" - live updates to the Myrrix model functionality? in pure PHP? I don't get you... [10:12:54] nileshc: what if the servlet engine is down? you'd be freezing *all* edits witing for a tcp timeout [10:13:21] nileshc: live updates are not required functionality. [10:14:10] DanielK_WMDE: Yes...so shall I keep the existing-item property recommender servlet or remove it for now? [10:14:59] nileshc: remove it. what i mean is: we want to say "suggest properties to add to item q123". the REST service implements "suggest more properties given these properties". So, we implement "suggest properties to add to item q123" by loading the properties already in q123, and then passing that list to the REST service [10:15:29] that way, the myrrix data can be a week old, and it would still work well enough [10:15:37] Denny_WMDE: here [10:17:39] DanielK_WMDE: Oh! I see, that's cool. But this has two problems: (i) the data based on which that Myrrix is recommending is old - so technically it'll give some results, but they may not necessarily be true. (ii) It's a tad bit slower because it'll involve a DB call to fetch the properties (but this might not really count) [10:18:07] DanielK_WMDE: We can also easily have something like an incremental delta file that is added to or subtracted over 24 hours and a cron job is set up to update Myrrix once a day based on that data? [10:18:26] DanielK_WMDE: Just ideas. [10:18:53] liangent: can you put me and a few people as reviewers on the changesets that you want to get reviewed? [10:19:14] liangent: I am a bit confused about the state [10:19:47] Denny_WMDE: what state? [10:21:04] (CR) Addshore: [C: 2] Make ReferencedEntityFinder use Entity::getAllSnaks [extensions/Wikibase] - https://gerrit.wikimedia.org/r/72962 (owner: Daniel Kinzler) [10:21:05] nileshc: good idea, but let's get the baseline working first :) [10:21:47] liangent: i'm looking at the patch you want backported [10:22:01] (also looking at failing random tests, unrelated) [10:22:12] it's true that it's an extra db query. but it's to a database we are already connected to. and we will probably be able to optimize this to not retrieve the entire entity, but just the list of properties. [10:22:26] (Merged) jenkins-bot: Make ReferencedEntityFinder use Entity::getAllSnaks [extensions/Wikibase] - https://gerrit.wikimedia.org/r/72962 (owner: Daniel Kinzler) [10:22:31] actually, we already can, based on the pagelinsk table. though that's a bit hackish. [10:22:47] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#479 (master - e72a331 : jenkins-bot): The build is still failing. [10:22:47] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/cd77b2acbe98...e72a331c4f11 [10:22:47] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9510594 [10:25:19] DanielK_WMDE: Oh, I see...alright. So as of now to get the properties bit "complete", I need to do those 3 things you mentioned in your email, and I need to remove the existing entity suggester. [10:25:54] DanielK_WMDE: About suggesting the top N items from the DB, wouldn't it be better to do it in the PHP API? It's database, soo... [10:26:42] ok, i think i figured it out [10:26:47] with the failing error [10:26:57] i will write this after i come back, need to run to the office [10:27:05] DanielK_WMDE: I will write the simple map-reduce scripts for sorting the properties by their popularity, but about doing the select...order by.. ? [10:27:08] and then fix it for now [10:27:15] yay! [10:27:34] so hoo, aude, DanielK_WMDE, Tobi_WMDE, addshore, JeroenDeDauw - thanks for your help, no need to continue on this for now i guess. [10:27:39] be back in an hour or so [10:27:39] ok! [10:28:08] ok [10:28:14] (CR) Liangent: "Disabled variants should behave as if they don't exist as supported variants, thus not listed in getVariants() and hasVariant(). However (" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [10:28:28] aude: ^ [10:28:33] liangent: ok [10:31:27] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#480 (master - acf3c92 : jenkins-bot): The build was fixed. [10:31:27] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/e72a331c4f11...acf3c929b6a0 [10:31:27] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9510948 [10:32:54] (CR) Addshore: [C: 2] Add information about summary's length limit to API documentation [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76066 (owner: Tobias Gritschacher) [10:34:29] (Merged) jenkins-bot: Add information about summary's length limit to API documentation [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76066 (owner: Tobias Gritschacher) [10:34:34] nileshc: hm... since calculating the top N data sets is simmilar to updating the suggester, it's probably best to keep that in one place. it'S a simple map of key -> order list of value/score pairs. I don't care much where it's stored [10:35:28] nileshc: mediawiki alreads has an (optional) dependency on a fast file based k/v store (let me dig up the name) [10:35:56] DanielK_WMDE: (i) MySQL, (ii) Tomcat in-memory, much like the list of properties that is already stored in a modified Fast HashMap [10:36:11] (PS1) Jeroen De Dauw: Match changes in WikibaseDatabase component [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76071 [10:36:22] ok..I'll be back in a few..too hungry. :P [10:36:22] (CR) jenkins-bot: [V: -1] Match changes in WikibaseDatabase component [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76071 (owner: Jeroen De Dauw) [10:37:59] (CR) Addshore: [C: 2] Fix: Edit summaries have a double space [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75869 (owner: Tobias Gritschacher) [10:38:24] (PS3) Jeroen De Dauw: Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [10:38:57] (PS4) Jeroen De Dauw: Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [10:39:14] FUCK! [10:39:15] (PS2) Jeroen De Dauw: Match changes in WikibaseDatabase component [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76071 [10:39:21] it'S too damn HOT to think! [10:39:26] (Merged) jenkins-bot: Fix: Edit summaries have a double space [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75869 (owner: Tobias Gritschacher) [10:39:29] ? [10:39:32] (CR) jenkins-bot: [V: -1] Match changes in WikibaseDatabase component [0] [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76071 (owner: Jeroen De Dauw) [10:39:33] grmbl [10:39:35] sorry [10:40:29] what, www.google.com/search?q=weather+berlin [10:40:35] is it really going to be 39 on sunday! [10:40:54] * aude melts [10:40:59] 39!! i got told 36! [10:41:05] hah [10:41:06] Tobi_WMDE: lies! [10:41:20] * aude is moving apartments this weekend! fun! [10:41:38] john is moving to Norway, he is the real winner [10:41:42] :) [10:41:58] aude: addshore: Google lies! http://www.rbb-online.de/rbb/rbb/wetter/orte/orte/18228265.html [10:42:13] :) [10:42:17] gah, can't find it. [10:42:22] 37 is still quite hot ;p [10:42:32] aude: that's the k/v store that core uses for caching some stuff on disk? i think the l10n cache uses it [10:42:37] * aude eats all the chocolate before it melts [10:43:16] DanielK_WMDE: huh? [10:43:21] what k/v store? [10:43:23] which one? [10:44:27] the one everyone is whining we should be using. three letter acronym, and it has just melted out of my brain [10:44:32] and i can't find any hints anywhere [10:44:42] * DanielK_WMDE is getting frustrated [10:44:59] cdb [10:45:12] thank you! [10:45:26] what's teh problem? [10:45:31] the [10:45:33] * hoo kills EditPage ... DIE HARD! [10:45:52] it does not dynamically get created [10:46:03] when there's a new branch, there is no localisation cache [10:46:12] that's what localisation script does [10:46:13] aude: unrelated. [10:46:17] ok [10:46:50] that's why, for example, if new wikibase or whatever extension or core gets enabled (with new magic word) before localisation is finished, then *bad* [10:46:59] or if localisation is incomplete / corrupt [10:47:01] nileshc: for the top-n-for-x stuff, one option would be https://en.wikipedia.org/wiki/Cdb_%28software%29 [10:47:10] that's happened too many times [10:47:11] nileshc: we'd just rebuild it from scratch every so often. [10:47:40] DanielK_WMDE: nileshc sure that could work [10:48:01] it just needs to be robust if any information is missing [10:48:14] of course [10:48:14] e.g. not explode the entire site :) [10:48:25] (CR) Addshore: [C: 2] (bug 46352) Implement EntityHandler::getUndoContent [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73942 (owner: Daniel Kinzler) [10:48:38] (PS5) Liangent: LanguageFallbackChain: Avoid one more unneeded Language construction [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73413 [10:48:38] nileshc: we can also dump that into mysql blobs, or use redis, or memcached [10:49:00] DanielK_WMDE: Do you know which function in EditPage or wherever in core expands text from a section to the whole page? (Like I only edit a section and it has to create the whole new revision text from that) [10:49:05] mysql is probably the most annoying option [10:49:21] nileshc: oh, and since we are already relying on hadoop - can't to just go in there? [10:49:51] (Merged) jenkins-bot: (bug 46352) Implement EntityHandler::getUndoContent [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73942 (owner: Daniel Kinzler) [10:49:58] hoo: Content::replaceSection [10:50:08] \o/ thanks :) [10:50:25] hoo: resp WikitextContent::replaceSection, which uses Parser::replaceSection [10:51:59] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#482 (master - e42e330 : jenkins-bot): The build was broken. [10:51:59] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/66ee58ccf5d2...e42e330f0b94 [10:51:59] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9511508 [10:52:14] silly build! [10:52:51] (CR) Addshore: [C: 2] Some refactoring in ExtendedMySQLAbstraction [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75852 (owner: Jeroen De Dauw) [10:52:56] (Merged) jenkins-bot: Some refactoring in ExtendedMySQLAbstraction [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75852 (owner: Jeroen De Dauw) [10:54:11] nileshc: to dis-entangle your changes (especially now that i gave a cr-2 to the first one), use this: [10:54:25] Tobi_WMDE: reviewwwww https://gerrit.wikimedia.org/r/75852 [10:54:36] nileshc: for each, make a fresh branch based on master. then cherry-pick the change into that branch. then poush using git review. [10:54:46] nileshc: that should get rid of any unwanted dependencies [10:54:57] just make sure you base each of the feature/topic branches on master [10:55:06] addshore: https://gerrit.wikimedia.org/r/#/c/75873/ [10:56:07] Denny_WMDE: i intend to spend a few hours on the init order thing after i'm through with reviewing. [10:56:24] DanielK_WMDE: ok (no denny right now) [10:56:35] Denny_WMDE: i an also help with investigating the mystery mysql bug, but would need some hints as to where to start,m sicne i can't preproduce [10:56:36] (PS1) Tobias Gritschacher: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 [10:56:45] aude: ok :) [10:56:57] * addshore is having a reviewing day [10:58:06] (PS5) Jeroen De Dauw: Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [10:58:15] (CR) jenkins-bot: [V: -1] Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 (owner: Jeroen De Dauw) [10:58:21] :O [10:58:25] addshore: so review my stuff :) half of it should be small and self-contained [10:58:42] I will :) i reviewed one from 2 and a half weeks ago already ;p [10:58:51] \o/ [11:00:10] DanielK_WMDE: this is the fix for the "sitelinks/urls" in wbgetentities, I guess this is important.. https://gerrit.wikimedia.org/r/#/c/76073/ [11:00:20] (PS12) Addshore: (bug 49264) Handle UnDeserializableValue gracefully. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/68002 (owner: Daniel Kinzler) [11:00:50] could be backported... [11:01:42] DanielK_WMDE: insiders takes the parser function and add the userse to the "docents" section in the sidebar [11:01:45] https://en.wikivoyage.org/wiki/Washington_DC [11:01:52] (CR) jenkins-bot: [V: -1] (bug 49264) Handle UnDeserializableValue gracefully. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/68002 (owner: Daniel Kinzler) [11:01:57] (PS2) Tobias Gritschacher: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 [11:02:32] related sites puts "kleine diner tour" in the side bar https://de.wikivoyage.org/wiki/Berlin [11:02:44] er, related articles [11:03:05] and with p-lang class, the uls cog wheel gets put there instead of language section [11:03:21] and the h5 heading is wrong (already fixed by someone else) [11:03:54] (CR) Daniel Kinzler: [C: -1] "please add a test so this doesn't happen again." [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 (owner: Tobias Gritschacher) [11:04:05] DanielK_WMDE: the one above needs some help passing jenkins :( [11:04:07] (PS6) Jeroen De Dauw: Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [11:04:26] (PS7) Jeroen De Dauw: Fix multiple design issues in this component [DNM] [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [11:04:33] addshore: read the commit message [11:04:36] https://gerrit.wikimedia.org/r/#/c/74396/ looks not deployed yet [11:04:54] addshore: it has a dependency in a nother repo. that needs to be merged first. jenkins is right to reject it for now. [11:05:15] urgh, i wish gerrit did cross repo dependancy in a better way... [11:05:30] yay for corss-repo dependencies! make more repos! [11:05:41] (CR) jenkins-bot: [V: -1] Fix multiple design issues in this component [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 (owner: Jeroen De Dauw) [11:05:53] DanielK_WMDE: yep https://gerrit.wikimedia.org/r/#/c/74396/ not deployed so the sidebar looks funky on de wikivoyage [11:06:04] * aude assumes enwikivoyage has a local css hack to "fix" it [11:09:49] (PS1) Daniel Werner: Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 [11:10:00] (CR) jenkins-bot: [V: -1] Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 (owner: Daniel Werner) [11:10:25] (PS1) Daniel Werner: Use GenericSet of Type wb.Site wherever we have lists of Site now. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76080 [11:11:13] apparently cross repo dependancy sort of works in gerrit if you setup submodules in a certain way? :O if that is true, why dont we do it? xd [11:12:00] (CR) jenkins-bot: [V: -1] Use GenericSet of Type wb.Site wherever we have lists of Site now. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76080 (owner: Daniel Werner) [11:12:54] addshore: because then if two extensions dependen on the smae thing, you'd get a horrible mess in deployment [11:13:02] both would pull in their dependencies as submodules... ick [11:13:10] ahh [11:13:38] heh, juststarted folloowing the bug tracking cross repo dependancy for gerrit :> [11:18:20] (PS3) Tobias Gritschacher: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 [11:19:13] (CR) Tobias Gritschacher: "testcase added" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 (owner: Tobias Gritschacher) [11:19:32] DanielK_WMDE: https://gerrit.wikimedia.org/r/#/c/76073/ again please? :-P [11:19:33] (CR) Daniel Kinzler: [C: -1] "(2 comments)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75997 (owner: Aude) [11:20:45] (PS8) Jeroen De Dauw: Fix multiple design issues in this component [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 [11:21:06] DanielK_WMDE: I guess this replaceSectionContent thingy only applies to text content formats, right? [11:21:45] addshore: https://gerrit.wikimedia.org/r/#/c/75873/ [11:21:47] (CR) Daniel Kinzler: [C: 2] "thanks!" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 (owner: Tobias Gritschacher) [11:22:14] will look in a moment :) *a few moments* [11:22:28] hoo: it applies to all formats that return true from ContentHandler::supportsSections. [11:22:43] hoo: sectiosn could make perfect sense for something based on a JSON structure, etc [11:22:56] mh [11:23:05] I'll add you to the API patch I guess :P [11:23:08] DanielK_WMDE: will removing jenkins and re adding it make it recheck the change? [11:23:31] (Merged) jenkins-bot: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76073 (owner: Tobias Gritschacher) [11:25:28] anyone? :P [11:30:32] (CR) Addshore: [C: 2] (bug 49264) Handle UnDeserializableValue gracefully. [extensions/WikibaseDataModel] - https://gerrit.wikimedia.org/r/70443 (owner: Daniel Kinzler) [11:30:42] (Merged) jenkins-bot: (bug 49264) Handle UnDeserializableValue gracefully. [extensions/WikibaseDataModel] - https://gerrit.wikimedia.org/r/70443 (owner: Daniel Kinzler) [11:30:59] (PS13) Addshore: (bug 49264) Handle UnDeserializableValue gracefully. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/68002 (owner: Daniel Kinzler) [11:31:56] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#484 (master - 9a742db : jenkins-bot): The build has errored. [11:31:56] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/008ebcbb7e9f...9a742db3ccb3 [11:31:56] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9512726 [11:32:55] (CR) Addshore: [C: 2] (bug 49264) Handle UnDeserializableValue gracefully. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/68002 (owner: Daniel Kinzler) [11:33:54] [travis-ci] wikimedia/mediawiki-extensions-WikibaseDataModel#47 (master - 59db376 : daniel): The build has errored. [11:33:55] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-WikibaseDataModel/compare/f83c074adfa9...59db3764309a [11:33:55] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseDataModel/builds/9512896 [11:34:20] (Merged) jenkins-bot: (bug 49264) Handle UnDeserializableValue gracefully. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/68002 (owner: Daniel Kinzler) [11:34:55] [Composer\Downloader\TransportException] [11:34:55] The "https://api.github.com/repos/symfony/Stopwatch/zipball/v2.3.2" file co [11:34:55] uld not be downloaded (HTTP/1.1 500 Internal Server Error) [11:34:57] woo! [11:36:59] (PS2) Daniel Werner: Use GenericSet of Type wb.Site wherever we have lists of Site now. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76080 [11:37:16] (PS2) Daniel Werner: Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 [11:37:31] (CR) jenkins-bot: [V: -1] Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 (owner: Daniel Werner) [11:38:30] (CR) jenkins-bot: [V: -1] Use GenericSet of Type wb.Site wherever we have lists of Site now. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76080 (owner: Daniel Werner) [11:42:15] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#485 (master - 1aad39e : jenkins-bot): The build has errored. [11:42:15] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/9a742db3ccb3...1aad39e56de8 [11:42:15] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9513000 [11:43:55] (PS3) Daniel Werner: Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 [11:43:57] (CR) jenkins-bot: [V: -1] Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 (owner: Daniel Werner) [11:44:10] (PS3) Daniel Werner: Use GenericSet of Type wb.Site wherever we have lists of Site now. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76080 [11:49:46] (PS4) Daniel Werner: Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 [11:49:57] (CR) jenkins-bot: [V: -1] Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 (owner: Daniel Werner) [11:49:58] addshore: the easiest way to make jenkins re-check is to hit the rebase button [11:50:20] there wasn't one as I had just rebased :/ [11:50:38] i guess editing the commit message would also work, since it creates a new PS [11:50:46] but removing and re-adding should also work [11:50:54] :> [11:52:18] hoo: i have just added you as a reviewer to a few core patches, and to the SpamBlacklist patch [11:52:29] would be great if you could give some feedback [11:52:50] I guess I can do that :) Did the same with an API patch to you :P [11:53:52] (PS5) Daniel Werner: Introduces GenericSet.js [extensions/DataValues] - https://gerrit.wikimedia.org/r/76079 [11:56:11] hoo: oh - my patch to SpamBlacklist is actually closely related to what you did there [11:57:12] hoo: i ended up removing the handler for APIEditBeforeSave alltogether - I don't see what it does what can't be done more reliably with EditFilterMergedContent or EditFilter. [11:57:20] they also get called for API edits [11:57:31] EditFilterMergedContent even gets called for wikibase edits [11:57:41] DanielK_WMDE: The VE team will slice you into small pieces :P [11:57:51] They need the API hook cause it gives more usable errors [11:57:56] which then can be shown to users [11:58:12] We only started supporting that hook in AbuseFilter by there request a few weeks back [11:58:31] how about improving the error handling in EditPage? [11:58:43] it has a //TODO for exactly that, for this exact reason :) [11:59:01] but anyway. [11:59:19] hoo: perhaps comment to that effect on the SpamBlacklist change [11:59:59] (if we support both hooks, i wonder how we can avoid filtering twice. the old code checked for $wgTitle == null... which is never the case) [12:00:38] DanielK_WMDE: In AbuseFilter we just set a member of the title object in all hooks and check for that [12:02:10] at the hackathon we (admin tools team + me) had the idea to abstract away all the action hooks into a changeobserver object... [12:02:24] then we could hang all the various filtering extensions into that [12:02:35] (CR) Addshore: [C: 2] Fix multiple design issues in this component [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 (owner: Jeroen De Dauw) [12:02:40] (Merged) jenkins-bot: Fix multiple design issues in this component [extensions/WikibaseDatabase] - https://gerrit.wikimedia.org/r/75873 (owner: Jeroen De Dauw) [12:04:51] hoo: sounds like a good idea! [12:08:28] wfLogWarning [12:08:53] per his comment in https://gerrit.wikimedia.org/r/#/c/75997/ [12:09:13] and then no more random build fails! [12:12:45] (PS1) Denny Vrandecic: Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 [12:12:47] [travis-ci] wikimedia/mediawiki-extensions-WikibaseDatabase#30 (master - 213e62e : jenkins-bot): The build has errored. [12:12:47] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-WikibaseDatabase/compare/72be86c54e0d...213e62e8738e [12:12:47] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseDatabase/builds/9513776 [12:13:45] (CR) Addshore: [C: -1] "(1 comment)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 (owner: Denny Vrandecic) [12:13:58] ok i think the random but should be killed with that patchset [12:14:02] fingers crossed [12:14:19] (CR) Aude: "(2 comments)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 (owner: Denny Vrandecic) [12:14:22] Denny_WMDE: reviewed [12:15:04] (PS2) Denny Vrandecic: Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 [12:15:06] (PS3) Jeroen De Dauw: Match changes in WikibaseDatabase component [0] [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76071 [12:15:29] (CR) Addshore: [C: -1] Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 (owner: Denny Vrandecic) [12:16:25] (PS3) Denny Vrandecic: Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 [12:17:42] (CR) Addshore: [C: -1] "(1 comment)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 (owner: Denny Vrandecic) [12:19:40] (CR) Denny Vrandecic: [C: 2] LanguageFallbackChain: Avoid one more unneeded Language construction [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73413 (owner: Liangent) [12:20:03] is this something that needs fixing or is github just failing? https://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseDatabase/jobs/9513780 [12:20:15] Lydia_WMDE: go go go? My brain is not going to boot today, so this is a good time to do this ;p [12:20:22] (PS4) Denny Vrandecic: Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 [12:21:05] (Merged) jenkins-bot: LanguageFallbackChain: Avoid one more unneeded Language construction [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73413 (owner: Liangent) [12:21:18] (CR) Addshore: [C: 2] Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 (owner: Denny Vrandecic) [12:23:16] addshore: that is not our fault ; if it persists I'll digg into it [12:23:16] DanielK_WMDE: https://gerrit.wikimedia.org/r/#/c/69659/ needs a pretty rebase ;p [12:23:27] JeroenDeDauw: okay :) [12:23:42] (Merged) jenkins-bot: Catching errors on rebuilding [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76085 (owner: Denny Vrandecic) [12:28:01] (CR) Jeroen De Dauw: [C: 2] "CR'd by addshore" [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76071 (owner: Jeroen De Dauw) [12:29:15] (PS1) Jeroen De Dauw: Add missing text [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76086 [12:30:29] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#486 (master - 0dbefb4 : jenkins-bot): The build has errored. [12:30:29] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/1aad39e56de8...0dbefb40a999 [12:30:29] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9514250 [12:31:59] looks like travis is happy (aside from what looks like github download error) [12:32:09] aude, Tobi_WMDE hoo, JeroenDeDauw, addshore, DanielK_WMDE : the random bug that we had should now be gone. if it appears again, let me know [12:32:15] \o/ [12:32:29] Denny_WMDE: ok [12:32:30] thx [12:32:55] \o/ [12:33:02] Denny_WMDE: What did you do :) [12:33:22] (PS1) Jeroen De Dauw: Make use of MWQueryInterfaceBuilder [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76088 [12:33:27] hoo: https://gerrit.wikimedia.org/r/#/c/76085/ [12:33:37] catch the exception and print a warning instead [12:33:40] (CR) Jeroen De Dauw: [C: 2] "CR'd by addshore" [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76088 (owner: Jeroen De Dauw) [12:33:50] rebuild should work even if the primary data is inconsistent [12:33:52] (CR) Aude: [C: 2] Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [12:34:09] (CR) jenkins-bot: [V: -1] Make use of MWQueryInterfaceBuilder [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76088 (owner: Jeroen De Dauw) [12:34:26] liangent: how critical and widespread is the disabled variants issue? [12:35:00] (PS1) Daniel Werner: (bug 51878) only register ValueView experts for values of data type if data type available [extensions/DataValues] - https://gerrit.wikimedia.org/r/76089 [12:35:09] aude: only zhwiki, but I see a bunch of (duplicated) reports in village pump and my IM dialogs [12:35:14] we prefer not deploying stuff on fridays, but if critical enough we can make exceptions [12:35:19] ok [12:35:31] if critical we can do today or otherwise on monday [12:35:41] (Merged) jenkins-bot: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76060 (owner: Liangent) [12:35:56] aude: it appears on every zhwiki article using a wikibase property call [12:36:01] ok, bad! [12:36:08] i'll see if Reedy is around [12:36:22] thanks for fixing this [12:37:00] aude: anyway it's me who created this bug.. [12:37:02] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#487 (master - 4dcdc8f : jenkins-bot): The build has errored. [12:37:02] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/0dbefb40a999...4dcdc8f37e3b [12:37:02] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9514402 [12:37:06] liangent: it happens [12:40:51] Tobi_WMDE: i'm also backporting the sitelinks/urls patch [12:41:00] so people don't have to wait a month for that to get fixed [12:41:09] fix looks simple enough :) [12:41:17] aude: yes, please [12:41:22] thx [12:41:52] (PS1) Jeroen De Dauw: Implement getEntityType in QueryHandler [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76091 [12:43:09] (CR) jenkins-bot: [V: -1] Implement getEntityType in QueryHandler [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76091 (owner: Jeroen De Dauw) [12:43:43] (PS2) Jeroen De Dauw: Implement getEntityType in QueryHandler [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76091 [12:44:01] (PS1) Aude: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 [12:44:02] (PS1) Aude: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 [12:44:15] the bot is faster than git review :) [12:45:12] (CR) jenkins-bot: [V: -1] Implement getEntityType in QueryHandler. [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76091 (owner: Jeroen De Dauw) [12:45:13] (CR) jenkins-bot: [V: -1] Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 (owner: Aude) [12:46:03] (CR) jenkins-bot: [V: -1] Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 (owner: Aude) [12:46:32] (CR) Aude: "i don't know about the failures but think that a little bit more work is needed, at least to configure beta wikidata to have all the prope" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/62598 (owner: Tobias Gritschacher) [12:47:25] aude: do you want to backport the patch fixing that problem in the test suite to make jenkins happy [12:47:51] liangent: i'm looking into what jenkins is complaining about [12:48:03] sometimes it's incompatibility with data values, for example [12:48:45] ok, it's the time validation thing [12:49:12] aude: https://gerrit.wikimedia.org/r/76022 [12:49:30] backport this too if you want [12:49:30] i'll do that [12:49:49] just so we don't alert kri-nkle when it's not necessary :) [12:50:01] "but if critical enough we can make exceptions" [12:50:05] exceptions are bad enough ;) [12:50:10] yeah! [12:51:11] I've gotta go out, should be back in an hour/hour and a half or so [12:51:39] ok [12:51:51] (PS2) Aude: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 [12:51:52] (PS2) Aude: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 [12:51:53] (PS1) Aude: Removed failing test for illegal time value [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76094 [12:53:01] (CR) jenkins-bot: [V: -1] Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 (owner: Aude) [12:53:19] if the 3rd one passes, then i'll approve all [12:53:54] (CR) jenkins-bot: [V: -1] Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 (owner: Aude) [12:54:43] (CR) jenkins-bot: [V: -1] Removed failing test for illegal time value [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76094 (owner: Aude) [12:54:47] grrrr [12:56:35] * aude running tests [13:00:47] (PS2) Aude: Removed failing test for illegal time value [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76094 [13:01:54] (CR) jenkins-bot: [V: -1] Removed failing test for illegal time value [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76094 (owner: Aude) [13:08:45] hoo: can you have a look at http://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Wikidata_is_here.21 please? (last part) [13:09:13] * hoo clicks [13:18:15] DanielK_WMDE: Okay, I'll do the cherry picking like you said. Gerrit is actually slowing me down like nothing else. A code tracker is supposed to make our lives easier. :( [13:18:22] (CR) Addshore: [C: 2] Add missing text [extensions/WikibaseQueryEngine] - https://gerrit.wikimedia.org/r/76086 (owner: Jeroen De Dauw) [13:18:44] Lydia_WMDE: I already saw a lot of edits working, so this can't be generally broken... but I don't know why it didn't work in that case either [13:19:06] hoo: ok - care to asnwer there or should I? [13:19:20] https://www.wikidata.org/w/api.php?action=query&meta=siteinfo&siprop=statistics [13:19:25] job queue is down to 0 [13:19:27] I will [13:19:33] thx! [13:19:54] hoo: i think the job count statistics don't work with redis [13:20:05] oh :/ [13:20:11] http://demos.filbertkm.com/wikistats/index.php :) [13:20:12] But still, that's ages ago [13:20:17] yeah [13:21:09] * aude needs to move my tool to labs and work on it [13:21:14] nileshc: gerrit isn't perfect, but usable after a while. yes, it slows you down in the beginning [13:21:32] nileshc: actually, a code review system will always slow you down compared to usring a repo with direct push [13:21:48] nileshc: but it allows the developm,ent process to scale for large groups of developers [13:21:57] scalability != performance :) [13:22:26] DanielK_WMDE: Hmm. True, very true. [13:22:37] aude: what *was* the random bug?... [13:22:47] DanielK_WMDE: huh? [13:22:59] the failing random test? [13:23:13] yes - what's the ifx? [13:23:17] *fix [13:23:22] Denny_WMDE fixed it [13:23:40] https://gerrit.wikimedia.org/r/#/c/76085/ [13:23:47] DanielK_WMDE: I see there are github mirrors for these extensions. eg. https://github.com/wikimedia/mediawiki-extensions-WikidataEntitySuggester/ [13:23:54] DanielK_WMDE: Who maintains these? [13:24:28] DanielK_WMDE: the store rebuild didn't handle any possible errors [13:24:30] nileshc: there'S an automatic sync script somewhere. ask jeroen, he knows about this stuff [13:24:45] ^demon (chad) maintains it or set it up [13:24:50] DanielK_WMDE: mereley caught htem and turned them into reports instead of letting the exception bubble out [13:24:53] https everywhere is still broken for wikivoyage [13:24:53] DanielK_WMDE: Oh, ok.. [13:24:55] * hoo rages [13:25:04] he's one of the java / search folks (gerrit is written in java) [13:25:33] Denny_WMDE: generally, it'S bad to "handle" errors locally by logging and ignoring them. if part of an operation fails, it's good to abort the entire operation - that is, let the exception bubble up the stack up to a point that we *know* we can safely continue# [13:25:48] otherwise, the assumption "if doX returns, it did X" is broken [13:26:15] Denny_WMDE: with your patch, database errors get silently ignored during rebuild. [13:26:35] you won't notice that anything went wrong unless you look at the log [13:26:44] also, the actual *cause* of the error is still there, right? [13:26:49] #we just choose to ignore it? [13:26:55] DanielK_WMDE: a rebuild should happen only through a script [13:27:06] also what shall you do if your primary data is inconsistent? [13:27:16] abort with an error. [13:27:22] that's the point [13:27:37] if we can't rebuild because the db errors out, we should die kicking and screaming [13:27:55] not pretend nothing happened [13:28:18] we do write errors [13:28:35] we hide them in a log and continue as if nothing had happened [13:28:41] Denny_WMDE: see, we *do* have a bug that causes a database inconsistency "sometimes". we need to find and fix it. [13:28:45] we are no ignoring it [13:28:57] actually... [13:29:09] Denny_WMDE: wgLogWarning will cause test cases to fail when triggered [13:29:21] *wfLogWarning [13:29:32] huh, why? [13:29:39] so, this doesn't help with tests, but hides errors in production [13:29:50] we will never run rebuild in production [13:29:56] the function is broken anyway [13:30:00] and won't actually rebuild [13:30:03] filed a bug for that [13:30:10] Denny_WMDE: per design! if a test triggers an unexpected warning, that *should* cause the test to fail, since it indicates a problem! [13:30:43] i don't understand. we know that we have some inconsistencies in the db [13:30:46] we cannot avoid them [13:30:49] hey [13:31:05] can i somehow extract data from wikidata in jsom format? [13:31:07] or xml? [13:31:16] Schisma: yes, either [13:31:22] how? [13:31:28] Denny_WMDE: then we have to be check and report for these specific inconsistencies on import [13:31:33] not ignore all database errors [13:31:34] Schisma: https://www.wikidata.org/wiki/Wikidata:Data_access [13:31:50] Schisma: best to take the API, there's a link to it [13:31:55] and use wbgetentities [13:32:06] not import [13:32:08] rebuild [13:32:17] Denny_WMDE: awesome! [13:32:18] thanks [13:32:35] Schisma: yw [13:32:43] the problem is not import [13:32:53] Denny_WMDE: we could make the index updaters themselve lenient, so they wold ignore/log any key errors. [13:32:59] that would be selective enough to be ok [13:33:07] but ignoring *all* errors is a bit much... [13:33:24] Denny_WMDE: ah no [13:33:31] Denny_WMDE: even the example doesn't work [13:33:45] http://www.wikidata.org/wiki/Entity/Q42.json [13:34:06] got disconnected [13:34:14] the rebuild script is not working anyway, as said [13:34:14] [15:32] Denny_WMDE: we could make the index updaters themselve lenient, so they wold ignore/log any key errors. [13:34:16] [15:32] that would be selective enough to be ok [13:34:17] [15:33] but ignoring *all* errors is a bit much... [13:34:31] there's a bug for it [13:34:38] Denny_WMDE1: so let's just kill the function completely [13:34:47] anyway. since we don't use this much, is not such a big deal. [13:34:57] my point is: this kind of thing is a *very* bad idea in general [13:35:11] and since wfLogWarnign will cause tests to fail, it will not solve the current problem. [13:35:20] i know - but in this case it is about a non-used rebuild functionality [13:35:26] it will never be called in production for us [13:35:29] so just kill it! [13:35:44] we already have the whole infrastructure around it [13:35:55] it is just this function that needs to be actually implemented [13:36:25] whatever [13:36:50] i will remove the body of the function, but a # needs implementation into it [13:36:55] (PS2) Aude: Adding easyrdf to .gitignore to prevent noise from checkout [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76015 (owner: Reedy) [13:39:12] Denny_WMDE: the regular mediawiki api doesn't help either: http://www.wikidata.org/w/api.php?action=query&titles=Q42&format=json [13:39:43] Schisma: http://www.wikidata.org/wiki/Entity/Q42.json is wrong .... where did you see that? [13:39:47] Schisma: i told you to use wbgetentities [13:39:50] it's http://www.wikidata.org/entity/Q42.json [13:40:05] Entity/Q42.json [13:40:05] This data set does not exist. You can search the related logs to find out where it went. You can also create a new one. [13:40:21] ah [13:40:22] Schisma: as aude says [13:40:28] thank you [13:40:32] also, don't use action query, but wbgetentities [13:40:41] per denny [13:41:01] action=query does not know about wikibase [13:41:18] but i see there was an error on the page i pointed you to [13:41:21] correcting [13:42:11] thanks Schisma [13:42:13] corrected [13:44:56] (CR) Aude: [C: 2] Adding easyrdf to .gitignore to prevent noise from checkout [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76015 (owner: Reedy) [13:46:25] (Merged) jenkins-bot: Adding easyrdf to .gitignore to prevent noise from checkout [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76015 (owner: Reedy) [13:47:14] (CR) Addshore: [C: 2] "yay!" [extensions/DataValues] - https://gerrit.wikimedia.org/r/76089 (owner: Daniel Werner) [13:47:22] (Merged) jenkins-bot: (bug 51878) only register ValueView experts for values of data type if data type available [extensions/DataValues] - https://gerrit.wikimedia.org/r/76089 (owner: Daniel Werner) [13:51:48] (PS1) Jeroen De Dauw: Implementation work on QueryEntityDeserializer [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76096 [13:52:21] (CR) jenkins-bot: [V: -1] Implementation work on QueryEntityDeserializer [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76096 (owner: Jeroen De Dauw) [13:52:53] (PS3) Jeroen De Dauw: Implement getEntityType in QueryHandler. [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76091 [13:53:30] (CR) Addshore: [C: 2] Introducing EntityTitleLookup [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75885 (owner: Daniel Kinzler) [13:54:11] (CR) jenkins-bot: [V: -1] Implement getEntityType in QueryHandler [extensions/WikibaseQuery] - https://gerrit.wikimedia.org/r/76091 (owner: Jeroen De Dauw) [13:54:19] JeroenDeDauw: make it pass? :O https://gerrit.wikimedia.org/r/#/c/76088/1 [13:54:21] :> [13:54:54] (Merged) jenkins-bot: Introducing EntityTitleLookup [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75885 (owner: Daniel Kinzler) [13:57:17] addshore: will do the rebase in an hour or so, when i finished the patch for the init order problem [13:57:58] okay :) [14:07:13] all the bugss! https://bugzilla.wikimedia.org/show_bug.cgi?id=52095 [14:07:43] Danwe: ? ^^ [14:07:58] EntityView... [14:08:33] addshore: thanks for all the merging, btw :) [14:08:55] addshore: ? [14:09:05] thanks [14:09:13] heh, i felt i should put some effort in, especially as one had indeed been there for 2 and a half weeks :> [14:11:56] aude: Back now [14:12:59] "XMLHttpRequest cannot load https://www.wikidata.org/wiki/Special:EntityData/." [14:13:13] it seems wikidata does not allow cross domain scripting [14:14:13] Schisma ? [14:14:28] addshore: yes? [14:14:51] what are you trying to load?? [14:15:36] Schisma: if you are just retreiving data, then jsonp ? [14:15:44] which can work with the api / wbgetentities [14:16:11] i'm not sure whether Special:EntityData supports jsonp... [14:16:23] i guess it should :) [14:16:24] DanielK_WMDE: that's why i recommend the api [14:16:27] if it doesn't, file a bug [14:16:54] aude: for data retrieval, i would not recommend the api. if there are reasons not to use the linked data interface, we should fix them [14:17:38] fixing is nice, but if Schisma needs something now, then jsonp / api would work [14:19:52] (CR) Addshore: [C: 2] Improve tests for EntityView. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75103 (owner: Daniel Kinzler) [14:20:20] aude: awesome [14:20:23] it works [14:20:45] Schisma: great [14:21:17] (Merged) jenkins-bot: Improve tests for EntityView. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75103 (owner: Daniel Kinzler) [14:21:51] aude: but the exported json seems not very well formed [14:21:53] Uncaught SyntaxError: Unexpected token : Q42.json:1 [14:22:28] hmmmm [14:22:44] http://www.wikidata.org/w/api.php?action=wbgetentities&ids=q122&format=jsonfm [14:23:09] looks good to me. maybe check out how magnus is loading the data [14:23:44] Schisma: take a peek at the code of this one [14:23:45] http://toolserver.org/~magnus/ts2/geneawiki/ [14:24:40] something tells me that's he's working with a dump / specialised database [14:24:44] i.e. here http://toolserver.org/~magnus/ts2/geneawiki/main.js [14:24:46] for magnus tools [14:24:50] no, magnus is not [14:24:52] not in this case [14:24:53] oh, ok [14:24:55] just plain js [14:25:07] (CR) Addshore: [C: 2] Add getDataValueFactory to top level factory [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75851 (owner: Jeroen De Dauw) [14:25:36] Schisma: reading it? [14:26:23] (PS1) Daniel Kinzler: (bug 52039) Use closures for dynamic defaults. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/76099 [14:26:38] (Merged) jenkins-bot: Add getDataValueFactory to top level factory [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75851 (owner: Jeroen De Dauw) [14:26:50] Denny_WMDE1: reading... [14:33:53] liangent: i have a question about https://gerrit.wikimedia.org/r/#/c/74954/8/repo/includes/api/GetEntities.php ? [14:39:27] DanielK_WMDE: could you explain the note Jeroen has commented on @ https://gerrit.wikimedia.org/r/#/c/73772/3..11/lib/tests/phpunit/changes/ItemChangeTest.php ? [15:00:57] aude: What wants deploying then? [15:01:18] i have completed runnign the tests [15:01:42] it's the store rebuild thing that appears to have caused jenkins to fail [15:01:45] * aude reproduced it [15:01:57] so i think the backports are okay [15:01:58] (CR) Daniel Kinzler: "(1 comment)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73772 (owner: Daniel Kinzler) [15:02:01] addshore: --^ [15:02:12] https://integration.wikimedia.org/ci/job/mwext-Wikibase-repo-tests/2467/console [15:02:29] Denny_WMDE1: it doesn't explicitly say but that's my best guess [15:03:25] ahh DanielK_WMDE makes sense now :) [15:03:54] (CR) Aude: [C: 2 V: 2] "tests ran fine locally with all the right versions" [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76094 (owner: Aude) [15:04:19] (PS12) Daniel Kinzler: (bug 49264) Make SnakValidator fail on bad values. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/69659 [15:04:23] (CR) Addshore: [C: 2] (bug 51363) Add more tests to for bad diffs. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73772 (owner: Daniel Kinzler) [15:04:56] addshore: rebased --^^ [15:05:07] (CR) Daniel Kinzler: "PS 12 is a rebase" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/69659 (owner: Daniel Kinzler) [15:07:12] (PS3) Aude: Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 [15:08:33] (Merged) jenkins-bot: (bug 51363) Add more tests to for bad diffs. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/73772 (owner: Daniel Kinzler) [15:09:24] (CR) jenkins-bot: [V: -1] Fix: "sitelinks/urls" property in wbgetentities [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 (owner: Aude) [15:09:55] (PS3) Aude: Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 [15:10:51] (CR) Aude: [C: 2 V: 2] "tests ran okay for me with the *right* versions of all the dependency extensions" [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76092 (owner: Aude) [15:11:01] (CR) jenkins-bot: [V: -1] Make LanguageFallbackChainFactory work with $wgDisabledVariants [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 (owner: Aude) [15:11:19] (CR) Aude: [C: 2 V: 2] "tests ran fine for me" [extensions/Wikibase] (mw1.22-wmf11) - https://gerrit.wikimedia.org/r/76093 (owner: Aude) [15:26:20] (CR) Addshore: [C: 2] (bug 49264) Make SnakValidator fail on bad values. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/69659 (owner: Daniel Kinzler) [15:27:03] Reedy: https://gerrit.wikimedia.org/r/#/c/76107/ and [15:27:14] https://gerrit.wikimedia.org/r/#/c/76108/ [15:27:22] no snacks for addshore [15:27:28] :D [15:27:56] (Merged) jenkins-bot: (bug 49264) Make SnakValidator fail on bad values. [extensions/Wikibase] - https://gerrit.wikimedia.org/r/69659 (owner: Daniel Kinzler) [15:28:24] no snaks for Reedy :> [15:28:37] hehe *greedy ;p [15:29:12] reedy@tin:/a/common/php-1.22wmf11$ git fetch -all [15:29:13] error: did you mean `--all` (with two dashes ?) [15:29:18] Why does git have to be so stupid? [15:29:40] it'S actually pretty smart :) [15:29:40] Not like it's ambiguous [15:30:01] :) [15:30:02] if you allow it, you gotta support it [15:30:44] lies, the weekend doesn't start for another 6 hours [15:30:49] not that I'm counting down or anything... [15:31:01] (definitely not on irc at work either ;D) [15:31:15] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#495 (mw1.22-wmf11 - e91cc44 : Tobias Gritschacher): The build was broken. [15:31:15] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/afa132c363ac...e91cc44c71ea [15:31:15] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9521308 [15:31:27] Ajraddatz: it starts not :> [15:31:28] *now [15:31:50] lucky :( [15:32:09] silly addweekend [15:32:12] heh, well, not quite :> [15:32:51] Don't you know how they get German efficiency to work? [15:33:08] enlighten me :> [15:37:39] w00t https://www.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=Q1&props=sitelinks%2Furls works :) [15:37:44] thanks reedy [15:37:54] and tobi and liangent for the bug fixes [15:38:07] https://www.wikidata.org/w/api.php?action=wbgetentities&format=xml&ids=Q1&props=sitelinks%2Furls [15:38:09] much betterer [15:38:21] yeah [15:38:49] Denny_WMDE1: ? [15:38:51] aude: [15:38:58] liangent: bug fix is deployed [15:38:59] https://www.wikidata.org/w/api.php?action=wbgetentities&format=xml&ids=Q1|q1 but that still throws up :P [15:39:11] please verify that things worok [15:39:13] work [15:39:20] aude: thanks let me check [15:39:23] ok [15:43:06] DanielK_WMDE: How do you even invoke the code in MediaWikiPHPUnitCommand just phpunit.php seems to not do that [15:43:59] hoo: yes it does. [15:44:24] hoo: in the last line. [15:45:16] I know, but it doesn't work for me... neither do the options it adds to help appear if I use --help nor does the loggin itself work [15:46:59] hoo: works fine for me, i use it all the time... did you set up the log channel? [15:47:25] I've set $wgDebugLogFile = __DIR__ . '/log.txt'; [15:48:06] hoo: no, that does not work [15:48:14] that's only for the old, channel-less debugging. [15:48:18] ls [15:48:22] gah [15:48:33] oh... do I need wgDebugLogGroups? [15:48:42] but then still the --help does not show up [15:48:53] hoo: $wgDebugLogGroups['PHPUnitCommand'] = "/tmp/tests.log"; [15:48:57] hoo: that's what i do [15:48:59] hoo: you are right about --help [15:49:10] make that a -1 [15:49:40] actually, i don't see how and where stuff is added for --help [15:50:10] showHelp doesn't seem to be used at all [15:51:03] i suppose Maintenance intercepts that [15:51:20] it works in strange ways DanielK_WMDE [15:51:44] at least, i've not made phpunit work with my wikifarm :/ [15:52:03] something about it works differently than maintenance [15:52:06] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#497 (master - fadbb51 : jenkins-bot): The build has errored. [15:52:06] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/d7fa37112406...fadbb515da0e [15:52:06] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9522071 [15:52:06] yes - it's a maintenance script that is implemented to modify $_SERVER['argv']; after the script proper has terminated, a subclass of the phpunit entry point is called [15:52:46] since --help is already handled by the Maintenance class, it probably just terminates [15:53:28] Maintenance::maybeHelp has die( 1 ); [15:53:30] yay. [15:53:31] not. [15:53:42] maybeHelp? really? [15:53:48] hoo: don't make that a -1 for my patch then, it's a pre-existing problem [15:53:54] mh [15:54:03] <^demon> aude: Hey, I liked the name maybeHelp() :) [15:54:06] <^demon> I wrote that ;-) [15:54:08] hah [15:54:11] file a bug if you like: phpunit.php --help shows generic maintenance options but no help for the phpunit options. [15:57:37] aude: what's the magic parameter for jsonp in the api? [15:58:02] Filed a bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=52099 [15:58:47] callback= [15:58:51] I'm using "php phpunit.php includes/UserTest.php --debug-tests" now... but still it's not logging :/ [15:58:53] aude: thanks! [15:59:10] that's a general thing and assume mediawiki uses that [15:59:30] yep [15:59:45] DanielK_WMDE: ^ any idea why? [16:00:10] $wgDebugLogGroups['PHPUnitCommand'] is set now... [16:00:21] hoo: to a writable patch? [16:00:28] err, path? [16:00:47] Yes... I just touched the file with my working user without any troubles [16:00:48] hoo: also, generally options come before positional arguments [16:00:55] don't kjnow how picky phpunit is about that [16:01:28] that was the issue :) [16:02:02] I ususally user --group to run tests :P [16:02:33] hoo: \o/ [16:03:07] +2ed now [16:03:12] cool! [16:03:21] the output is fine and this shouldn't cause any troubles :) [16:07:07] 9 of my changes got merged today! yay! [16:07:13] :D [16:07:26] there's still a handful important ones pending, but i think we can get that done on monday. [16:07:32] at least i hope so :) [16:07:36] * aude is melting  [16:07:58] * DanielK_WMDE is a puddle. a sticky puddle. [16:08:03] :) [16:08:35] (CR) Parent5446: [C: -1] "(1 comment)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75997 (owner: Aude) [16:21:21] (CR) Hoo man: "(2 comments)" [extensions/Wikibase] - https://gerrit.wikimedia.org/r/74636 (owner: Umherirrender) [16:32:48] (Abandoned) Aude: (bug 52038) catch exception when magic word not found and warn [extensions/Wikibase] - https://gerrit.wikimedia.org/r/75997 (owner: Aude) [16:34:31] Denny_WMDE1: http://www.wikidata.org/w/index.php?title=Q14208163&diff=prev&oldid=61700529 http://www.wikidata.org/w/index.php?title=Q55669&diff=prev&oldid=61700535 [16:35:27] the mergerbot! [17:48:03] legoktm: your bot didn't run yet it seems for the new properties in the weekly summary? [17:48:27] Hallo. Is there an easy way these days to find which Wikipedia article has the largest number of interlanguage links? [18:01:05] aharoni: there is probably a db report for that - let me see [18:01:24] liangent: can you please have a look at http://www.wikidata.org/wiki/Wikidata:Project_chat#Fallback_languages ? thanks! [18:03:26] aharoni: doesn't seem to exist yet - maybe ask for it on https://www.wikidata.org/wiki/Wikidata:Database_reports ? [18:05:12] thanks Lydia_WMDE [19:08:43] hi [19:46:37] hello...some bugs over here [19:46:44] http://www.wikidata.org/wiki/Q580018#sitelinks-wikipedia [19:47:03] The site id "en/dewiki" is unknown. Please use an existing site id, such as "enwiki" [19:48:09] that is the line [19:48:23] from here [19:48:25] http://www.wikidata.org/wiki/Special:SetSiteLink/q580018/en/dewiki [19:49:21] ah, never mind...need to activate js [19:50:21] DonkeyKong: that link is still bad, please file a bug report [19:57:42] aharoni: now running: select ips_item_id, count(*) as n from wb_items_per_site group by ips_item_id order by n desc limit 20; [19:58:26] aharoni: from my experience a few years back, things like Sun, Water, and the month names have the most interlanguage links [19:58:27] gràcies [19:58:52] ah, seems like i have included wikivoyage in the count. is thjat an issue? [19:59:01] probably not [19:59:18] select * from wb_entity_per_page where epp_entityType = 'item' and epp_entity_id = 5296; [19:59:26] oops ;) [20:00:55] aharoni: ok, the winner with 300 links iiiisssss: Main Page. [20:01:08] 300! [20:01:18] Well, Main Page makes sense - you need a Main Page. [20:01:24] What's the second one? [20:01:57] 299 for "Special:Recentchanges" :/ [20:02:07] well, top 20 won't hurt [20:02:25] yea... my query just gives me ids, not titles, have top dig them up by hand [20:02:43] i see 159 links for "Russia", probably due to the fact that we pointedf to that as an example for quitre a while [20:02:49] let me make a smarter query [20:03:08] Wait, 300 for Main Page yet 299 for Special:RecentChanges? [20:03:17] Shouldn't there be 300 for that? :P [20:04:17] One Wikipedia is missing.. [20:04:46] Russia, the Motherland of elephants. [20:05:15] Found the missing Wikipedia :D [20:06:10] aharoni: http://p.defau.lt/?N1DLcb8U0Uejv92__T0R_Q [20:06:26] DanielK_WMDE_: Can I has cookie for completing the Special:RecentChanges items? :) [20:06:51] aharoni: sorry, russia has 280 links, 159 is the item id :) [20:07:00] huh [20:07:03] Yes! \o/ [[True Jesus Church]] is still in the list. [20:07:05] [5] 04https://www.wikidata.org/wiki/True_Jesus_Church [20:07:06] 258 links for User:Emijrp/List of Wikipedians by number of edits (bots included) [20:07:21] aharoni: what's that? [20:07:46] It's the True Jesus Church, of course. That thing in Rome is the Fake Jesus Church. [20:08:05] Some small evangelical church from China. [20:08:28] There's somebody who convinces people who speak every possible tiny language to write an article about it. [20:08:51] 258 links on an item failing notability? [20:09:06] No comment :) [20:09:56] aharoni: the results seems to be skewed in favor of geographic entities, probably due to the inclusion of wikivoyage [20:10:28] mmmm... does Wikivoyage add something to the Wikipedia number? [20:10:44] there's wikivoyage in very few languages. [20:10:47] no, i just conted sitelinks [20:11:32] aharoni: let me filter that [20:11:41] so the number in the table is ( links_to_wikipedia + links_to_wikivoyage ) ? [20:12:09] yes [20:12:18] the table has one entry per target wiki [20:13:29] aharoni: running a wikipedia-only query now, but it's a lot slower, since tha table doesn't make it easy to filter [20:17:10] thanks [20:25:09] aharoni: http://p.defau.lt/?LMb9d2EYyf7rMsTDetDqeQ [20:25:25] still very heavy on geographic entities. i didn't quite expect that [20:25:47] 259 | True Jesus Church [20:26:04] 251 | Wikipedia [20:26:16] 242 | English language [20:26:20] vs [20:26:27] 266 | Russia [20:26:35] 256 | United States [20:26:43] 256 | United States [20:26:50] 252 | Germany [20:26:58] 248 | Europe [20:50:16] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#498 (master - 5999771 : Translation updater bot): The build passed. [20:50:16] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/fadbb515da0e...5999771b2d70 [20:50:16] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/9532293 [20:53:16] thanks DanielK_WMDE_ [22:08:15] Is there any property for area of places? [22:09:40] What exactly do you mean? [22:14:37] the area of a settlement [22:15:14] (or a country) [22:22:19] There's P131 - is in the administrative unit. [22:22:23] Wait. [22:22:33] Nevermind, I just understood your question. [22:22:37] * TCN7JM bonks himself on the head. [22:24:47] It doesn't really look like there is. [22:24:49] Paintman: ^ [22:28:19] Thanks TCN7JM :) [22:28:25] No problem. [22:40:28] (03PS2) 10Umherirrender: Add flag 'D' for wikidata edits on old watchlist/recentchanges [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/74636 [22:41:40] (03CR) 10Umherirrender: "Patch Set 2: fixed style issue" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/74636 (owner: 07Umherirrender)