[05:15:35] anyone around who speaks Russian? [05:18:03] putnik does but is idle [06:20:41] PinkAmpersand, Why Russian? your Wikidata dumped both Billie Lee Turners to [[Q4468157]]. [06:20:42] 10[1] 10https://www.wikidata.org/wiki/Q4468157 [06:21:00] why not to fix a crap at your site first? [06:21:29] qq[IrcCity]: i can fix that right now if you'd like [06:21:32] will take about 15 seconds [06:21:45] splitting an actual encyclopedia article, on the other hand, takes some work [06:22:19] only reason I haven't split it yet is because i thought it was better to wait for the ru.wp articles to get sorted out first [06:22:48] I may not be able to keep my promise if it's too late [06:22:52] in night [06:23:06] Jasper_Deng: ça va [06:24:15] qq[IrcCity]: oh, thanks so much. i'm splitting it now [06:35:33] Jasper_Deng: for Russian labels, do we keep the inverse-order thing they do for biographies? [06:36:24] idk [06:36:29] they do an inverse-order thing? [06:37:22] Deng, Jasper [06:37:28] (except in Russian) [06:38:17] I'd think so [06:38:21] China does this too [06:38:35] well, I don't think they do it in conversation [06:38:46] ru.wp does it for its titles, as a formality [06:38:52] PinkAmpersand, we use direct orders for labels. [06:38:56] Hi all =) [06:39:01] *order [06:39:04] putnik: ah. thanks :) [06:39:32] thanks putnik [06:39:39] a huge number of them must be wrong, though, I'd imagine? since so often we just copy the article title [06:39:54] PinkAmpersand, but by default label equals to article name, which use inverse order. [06:40:14] yeah, exactly. huh. add another backlog to the tally ;) [06:41:10] PinkAmpersand, I think we can fix this by bot (at least for people). [06:41:24] qq[IrcCity]: now split into three items: https://www.wikidata.org/wiki/Q4468157 for Sr., https://www.wikidata.org/wiki/Q15088300 for Jr., https://www.wikidata.org/wiki/Q15088304 for the dab page [06:42:15] putnik: problem is, things we *can* fix by bot is a much larger category than things we *do* fix by bot [06:42:27] for instance, every "List of" should have the "l" lowercased [06:42:51] but only like 5-10% (non-scientific estimate) do [06:44:26] PinkAmpersand, I'll try to fix Russian labels on next week. My bot can't work with labels for now =( [06:44:44] aww :( but cool thanks! [06:45:29] anyways, after about a 90-minute diversion, I can go back to adding {{ill}}s to the List of botanists by author abbreviations [06:45:30] 10[2] 04https://www.wikidata.org/wiki/Template:ill [06:45:37] fuck you AsimovBot [06:45:56] seriously, can we please get rid of that bot? [06:46:01] if i want a link, I can say !link [06:47:33] rschen7754^ [06:47:44] although we really should contact its operator instead [06:48:15] Jasper_Deng: Asimov died in the '90s ;) [06:48:25] operator is jem- [06:48:30] just poked him in #wikimedia-admin [06:49:56] nooo [06:50:02] AsimovBot is useful! [06:50:06] {{done}}! [06:50:06] How efficient, lazyktm! [06:56:15] lazyktm: useful? i bet it doesn't even follow the three laws of robotics ;) [07:58:59] Hey guys. It looks like two extensions are using the same message key at the moment: datatypes-type-quantity already belongs to ext-datatypes, conflict with ext-wikibase-lib [07:59:03] Could you please look into this? [07:59:42] I am going to upgrade Jenkins / restart it for a scheduled maintenance. Expected downtime: 1 hour starting now. [08:06:27] (03PS1) 10Raimond Spekking: Consistency tweak: article -> page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90870 [08:12:37] gdluck hashar ;p [08:12:52] it is booting up :/ [08:12:55] takes a while [08:19:43] hi aude [08:19:44] got a minute? [08:20:52] there's a message that I suspect is "lego" - concatenating things instead of using message functions properly. [08:24:29] aude / Lydia_WMDE : It looks like two extensions are using the same message key at the moment: datatypes-type-quantity already belongs to ext-datatypes, conflict with ext-wikibase-lib. Could you please look into this? [08:34:48] Lydia_WMDE: who can help me investigate a potential problem with a message? ^ [08:35:08] (siebrand needs assistance with another message, too) [08:37:32] solution: get rid of all the messages ;) [08:43:28] siebrand: I have filed a bug already [08:43:43] siebrand: and added a comment in the patch set [08:43:57] Raymond_: Okay. I thought that maybe disabling ext-wikibase-lib might work, too? [08:44:39] siebrand: might work but I hope the bug will be fixed very soon :) [08:46:25] and I filed, too - https://bugzilla.wikimedia.org/show_bug.cgi?id=55961 [08:46:39] didn't go to deep into debugging - the messages there are used in bit weird way [08:53:34] (03PS1) 10Addshore: Adding and removing claims now shows a full diff [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90876 [08:53:55] (03PS1) 10Addshore: Cleanup lib/util file headers [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90877 [08:54:14] (03PS1) 10Addshore: Refactor lib/SiteMatrixParser.php [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90878 [08:54:35] (03PS1) 10Addshore: Cleanup lib/Validators [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90879 [08:56:31] (03Abandoned) 10Addshore: Build for mw1.22-wmf11 13:40 11.10.12 >>> DNM! <<< [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/89191 (owner: 10Addshore) [08:56:35] (03Abandoned) 10Addshore: Build for mw1.22-wmf14 13:40 11.10.12 >>> DNM! <<< [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/89190 (owner: 10Addshore) [08:56:37] (03Abandoned) 10Addshore: Build for mw1.22-wmf16 13:40 11.10.12 >>> DNM! <<< [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/89189 (owner: 10Addshore) [08:56:40] (03Abandoned) 10Addshore: Build for mw1.22-wmf18 13:40 11.10.12 >>> DNM! <<< [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/89188 (owner: 10Addshore) [08:56:46] (03Abandoned) 10Addshore: Build for mw1.22-wmf21 14:14 15.10.12 >>> DNM! <<< [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/88991 (owner: 10Addshore) [08:57:32] aude: ping [08:58:35] DanielK_WMDE_: are you planning to join the daily? [08:58:41] remotely? [09:02:47] (03CR) 10Addshore: "It seems I tackled this at roughly the same time as you!" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90761 (owner: 10Umherirrender) [09:04:11] Jenkins should be back up now :-] [09:08:28] hashar: indeed it is :) [09:09:05] (03PS8) 10Addshore: Update gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [09:09:06] (03PS11) 10Addshore: Install and update the store when needed [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88753 (owner: 10Jeroen De Dauw) [09:09:20] (03PS4) 10Addshore: (bug 55593) use jQuery.wikibase.snakview on Special:SimpleQuery [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/89117 (owner: 10Daniel Werner) [09:09:52] (03PS2) 10Addshore: Adding and removing claims now shows a full diff [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90876 [09:09:56] (03PS2) 10Addshore: Cleanup lib/util file headers [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90877 [09:10:01] (03PS2) 10Addshore: Refactor lib/SiteMatrixParser.php [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90878 [09:10:06] (03PS2) 10Addshore: Cleanup lib/Validators [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90879 [09:11:12] (03CR) 10Addshore: [C: 032] Optimized imports [extensions/WikibaseQueryEngine] - 10https://gerrit.wikimedia.org/r/90581 (owner: 10Jeroen De Dauw) [09:11:53] heh, hashar, the jenkins upgrade seems to have fixed one of our random failures that we couldnt figure out :P [09:12:04] oh really [09:12:14] Jeroen mailed me on friday about some change failing [09:12:26] yup, that appears to have now fixed itself.. [09:12:39] might have been an incompatibility with some extension dependencey [09:13:21] (03CR) 10jenkins-bot: [V: 04-1] Update gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [09:13:28] oh... [09:14:45] well, it is breaking in a different way now ;p [09:15:08] (03CR) 10jenkins-bot: [V: 04-1] Adding and removing claims now shows a full diff [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90876 (owner: 10Addshore) [09:17:16] (03CR) 10jenkins-bot: [V: 04-1] Install and update the store when needed [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88753 (owner: 10Jeroen De Dauw) [09:19:11] (03PS3) 10Addshore: Adding and removing claims now shows a full diff [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90876 [09:20:16] (03CR) 10jenkins-bot: [V: 04-1] Refactor lib/SiteMatrixParser.php [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90878 (owner: 10Addshore) [09:20:33] (03CR) 10jenkins-bot: [V: 04-1] (bug 55593) use jQuery.wikibase.snakview on Special:SimpleQuery [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/89117 (owner: 10Daniel Werner) [09:53:03] (03PS2) 10Addshore: Added some comments and todos. [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90106 (owner: 10Daniel Kinzler) [09:53:22] (03CR) 10Addshore: [C: 032] Added some comments and todos. [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90106 (owner: 10Daniel Kinzler) [09:55:46] (03CR) 10Siebrand: [C: 032] Consistency tweak: article -> page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90870 (owner: 10Raimond Spekking) [09:59:21] (03Merged) 10jenkins-bot: Consistency tweak: article -> page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90870 (owner: 10Raimond Spekking) [10:00:49] http://tools.wmflabs.org/wikidata-todo/stats.php at the bottom a new statistic is being generated :) [10:04:07] (03Draft1) 10Addshore: Add some wfDebugLog() calls for debugging [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90882 [10:04:09] (03Merged) 10jenkins-bot: Add some wfDebugLog() calls for debugging [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90882 (owner: 10Addshore) [10:06:37] (03PS1) 10Aude: (bug 55937) remove duplicate datatypes-type-quantity message in Wikibase Lib [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90883 [10:06:51] * aude should not be awake :) [10:06:58] HAH! [10:07:04] isnt it 3am? [10:07:08] yeah [10:07:12] maybe some jetlag still [10:07:18] although this is normal [10:07:19] Where in the world is aude? [10:07:35] SF :) [10:07:37] * aude is invading the foundation [10:07:43] I was looking at the time [10:07:49] It didn't seem like you were back in the DC area [10:07:53] nope [10:08:14] anyway, the message key is not needed in wikibase [10:10:01] (03CR) 10Raimond Spekking: [C: 032] (bug 55937) remove duplicate datatypes-type-quantity message in Wikibase Lib [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90883 (owner: 10Aude) [10:14:03] (03Merged) 10jenkins-bot: (bug 55937) remove duplicate datatypes-type-quantity message in Wikibase Lib [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90883 (owner: 10Aude) [10:17:31] hashar: ! [10:17:48] I may have found my problem! [10:18:49] This failing test > https://integration.wikimedia.org/ci/job/mwext-WikibaseQuery-testextensions-master/212/ made me do https://gerrit.wikimedia.org/r/#/c/90882/ but the jenkins workspace doesnt seem to be updated [10:18:49] https://integration.wikimedia.org/ci/job/mwext-WikibaseQuery-testextensions-master/ws/extensions/WikibaseDatabase/src/SQLite/SQLiteTableDefinitionReader.php/*view*/ [10:19:17] could you poke it? :) [10:26:39] * addshore pokes hashar ^^ to make sure he spotted ;p [10:28:03] bahh [10:28:51] 10:12:11 Fetching WikibaseDatabase [10:28:52] 10:12:11 Deleting and recreating '/srv/ssd/jenkins-slave/workspace/mwext-WikibaseQuery-testextensions-master/extensions/WikibaseDatabase'... [10:28:53] 10:12:11 Copying 'WikibaseDatabase' in '/srv/ssd/jenkins-slave/workspace/mwext-WikibaseQuery-testextensions-master/extensions/WikibaseDatabase' [10:28:54] 10:12:12 Copy complete. [10:29:00] it should be updating WikibaseDatabase [10:29:15] hmmm [10:29:27] maybe I should make the extension fetcher to dump the sha1 / author / rev [10:29:29] could you re run it ? [10:29:38] hashar: that would be awesome :P [10:29:43] sha1 of the commit :> [10:31:23] hmm [10:31:29] all files from Oct 17th [10:31:41] heh :P [10:34:56] addshore: has WikibaseDatabase been updated since Oct 17th? [10:35:11] I have merged 2 things today at least :) [10:35:35] the last I got in my Gerrit local repo is * 05717b4 - (HEAD, master, refs/changes/46/90346/1) Only install using prefix on mysql.. (4 days ago) [10:35:36] so [10:35:43] gerrit replication is broken [10:35:54] hmmm O_o http://git.wikimedia.org/summary/mediawiki%2Fextensions%2FWikibaseDatabase is behind.. [10:37:37] the other replication has the same issue: * 05717b4 - (HEAD, master, refs/changes/46/90346/1) Only install using prefix on mysql.. (4 days ago) [10:38:05] ah no [10:38:19] hashar: 00:38 < ^d> !log bringing gerrit down to troubleshoot replication [10:38:23] from operations [10:38:30] i don't know that i saw it was resolved [10:38:39] so yeah [10:38:45] git.wm.o is showing a replica as well [10:38:56] so it is broken right now :( [10:39:15] :( [10:39:15] =[ [10:40:21] de515f00 10:40:18.616 push gerritslave@gallium.wikimedia.org:/var/lib/git/mediawiki/extensions/WikibaseDatabase.git [10:40:22] be4eeb5b 10:40:18.911 push gerritslave@antimony.wikimedia.org:/var/lib/git/mediawiki/extensions/WikibaseDatabase.git [10:40:23] 1e3b77ce 10:40:18.931 push gerritslave@gallium.wikimedia.org:/srv/ssd/gerrit/mediawiki/extensions/WikibaseDatabase.git [10:40:24] fe3f83b7 10:40:18.957 push gerritslave@lanthanum.eqiad.wmnet:/srv/ssd/gerrit/mediawiki/extensions/WikibaseDatabase.git [10:40:28] that is Gerrit attempting to replicate the repo [10:40:33] apparently does not work that well :D [10:42:26] :/ [10:42:41] maybe the #wikimedia-operations log has some details [10:42:45] if chad mentioned them there [10:43:37] no details [10:44:21] [01:21:40] <^d> *sigh* This is not how I planned to spend my sunday evening. [10:44:25] he probably rage quit :-D [10:44:26] not good if he couldn't fix it in ~5 min [10:44:33] more complicated [10:44:39] I guess so [10:44:56] ;_; [11:01:35] hashar: any idea if there is a bug open for the git replication? [11:06:13] no clue [11:06:22] look at Wikimedia > git/gerrit in bugzilla [11:06:27] if there is none, feel fee to fill one [11:12:03] https://bugzilla.wikimedia.org/show_bug.cgi?id=55948 :) [11:12:05] found one [11:12:43] hehe lazyktm filed it earlier today :) [11:18:11] nce [11:18:38] this channel is a little scary sometimes, seems you use all your time solving pure technical problems and not to develop :) [11:19:38] (03Abandoned) 10Addshore: Refactor lib/SiteMatrixParser.php [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90878 (owner: 10Addshore) [11:21:01] Hi! Can someone help with adding inter-wiki link? I get error "Site link Деградация is already used by item Q1046283" but can not find the problem [11:25:23] addshore: I might have found the issue [11:25:30] :D [11:26:53] friday deploy :( [11:30:12] hehe TomT0m, it may appear like that at times :P Its probably mainly me poking hashar :D (I am doing other things at the same time) ;p [11:30:48] follow up in #wikimedia-operations [11:36:22] addshore: well, this is one example why i don't like our deployment process to depend on getting stuff anywhere but from gerrit directly [11:36:40] * aude also notes that github was down over the weekend for a period of time [11:37:02] though we need replication for travis, etc [11:37:30] aude: I can pull from gerrit fine :P [11:37:34] yes [11:37:45] it is just not replicating to github mirror [11:37:50] and apparently we can make composer pull from gerrit meaning travis wouldnt be affected [11:37:51] * aude thinks [11:38:00] yes we can do that and we should [11:38:23] less possible points of breakage is good [11:38:31] but its not even getting as far as git.wikimedia.org :P [11:38:34] points of failure [11:38:38] yeah [11:38:53] idealy jenkins would grab stuff straight from gerrit? :> [11:57:51] (03CR) 10Siebrand: "(2 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 (owner: 10Bene) [11:58:00] (03CR) 10Siebrand: [C: 04-1] Add an option in the user preferences to choose additional languages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 (owner: 10Bene) [12:03:01] (03CR) 10Siebrand: "Thanks for looking that up, Bene. Especially core is not without issues. I've submitted Change-Id: If914e26f2af23f04c46f011ad8a276a9d31905" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89698 (owner: 10Bene) [12:04:09] (03CR) 10Siebrand: [C: 04-1] "i18n issue in RepoItemLinkGenerator.php. Pointed out in PS1." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89698 (owner: 10Bene) [12:09:55] Hello everybody :) [12:10:02] !admin please :) [12:13:01] Lydia_WMDE: are you here ? [12:13:10] hsarrazin: hey [12:13:11] yes [12:13:18] hello Lydia :) [12:13:25] * Lydia_WMDE waves [12:14:08] hsarrazin: wasup? [12:14:20] while trying to complete a series of homonyms, I found (at least) 3 items that were created from a single wp (mg). and the page has been suppressed on that wp. [12:14:46] what do we do in these cases ? https://www.wikidata.org/wiki/Q13106012 [12:14:51] * Lydia_WMDE looks [12:15:09] also Q13106508 and Q13108511 [12:15:37] hsarrazin: it seems nothing is using that item and it is empty so i'd put it up for deletion [12:15:48] ok... [12:16:14] Lydia_WMDE: how can I know if something is using a specific item ? [12:16:32] check the "what links here" link in the sidenbar [12:16:46] oh, yes, stupid of me :) [12:16:53] np ;-) [12:16:56] thanx :) [12:27:26] addshore: reeeevieeeew :p [12:31:08] addshore: https://gerrit.wikimedia.org/r/#/c/82637/ [13:04:12] hey wikidata people, https://www.wikidata.org/wiki/Wikidata:Property_proposal/Place#MusicBrainz_area_ID has been sitting there, waiting, for over a month now. is anything missing in the proposal or is something else wrong with it?:) [13:06:14] (03PS3) 10Addshore: Diff sitelinks now link to the relevant page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90896 [13:13:53] (03PS4) 10Addshore: Diff sitelinks now link to the relevant page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90896 [13:32:40] aude: addshore: does one of you know where the apache rewrite rules for wikidata are in git? see latest email to wikidata-l by kingsley [13:41:08] (03PS5) 10Addshore: Diff sitelinks now link to the relevant page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90896 [13:41:19] Lydia_WMDE: ill have a look, should be able to find them [13:41:28] addshore: thanks! [13:41:59] aude is or should be asleep :P [13:45:59] we're on the same side of the earth! I'm awake ;-) [13:46:13] it's nearly 12 here [13:51:39] Lydia_WMDE: hey, poked Henning_WMDE ? [13:51:59] lazowik: ah no - not yet [13:52:23] Henning_WMDE: lazowik wanted to see the mockup for the badges UI - would be cool if you could take a picture and put it online somewhere [13:52:37] lazowik: done :P [13:52:44] :D [13:55:14] http://tools.wmflab s.org/wikidata-todo/stats.php?reverse [13:55:30] http://tools.wmflabs.org/wikidata-todo/stats.php?reverse [13:55:58] This makes the community effort more visible :) [13:56:39] Lydia_WMDE: https://github.com/wikimedia/operations-apache-config/search?q=wikidata&ref=cmdform [13:57:15] Lydia_WMDE: I cant find them :P [13:57:18] lazowik: oh great - do you also have the official wikimedia repo that is mirrored from? [13:57:28] ahh xD [13:57:30] operations/apache-config [13:57:31] lol [13:57:43] https://gerrit.wikimedia.org/r/#/admin/projects/operations/apache-config [13:57:46] \o/ [13:57:48] thanks guys [13:57:55] i will email kingsley [13:58:06] I was looking in the wrong repo :P [13:58:13] actually I wanted to change something in there for wd [13:58:21] (language code subdomains) [13:58:37] lazowik: what exactly? [13:59:21] Lydia_WMDE: like pl.wikidata.org/wiki/Berlin -> http://www.wikidata.org/wiki/Special:ItemByTitle/plwiki/Berlin [13:59:43] https://gerrit.wikimedia.org/r/#/c/47088 abandoned per Tim Starling [14:00:06] lazowik: ah yeah.... this is a complete mess atm tbh [14:00:09] and current attempt by Dzahn https://gerrit.wikimedia.org/r/#/c/65443/ [14:00:37] well, "current" [14:01:12] lazowik: i am also not convinced this is a good idea tbh [14:01:29] pl.wikidata.org should give you wikidata in polish [14:01:44] not link you to the item with some polish name [14:01:51] also why do this based on wikipedia [14:01:57] what about wikivoyage and all the others? [14:02:16] Lydia_WMDE: heh, now it makes no sense [14:02:27] but then other links were not even on the horizon :p [14:03:09] http://www.youtube.com/watch?v=m4OFBR7Ge5k [14:03:10] hehe [14:08:54] PS THe "official" WMF statistics are now available for September .. [14:18:19] Hey, is there any api module for [[Special:ItemsWithoutSitelinks]]? [14:18:21] 10[3] 04https://www.wikidata.org/wiki/Special:ItemsWithoutSitelinks [14:18:28] nope :/ [14:18:40] addshore: is there a bug for it? [14:18:47] i believe so [14:19:39] addshore: do you know the id? [14:20:09] ill have a quick look :) [14:20:35] thx [14:21:41] benestar: I dont think there is actually, I believe I was thinking of https://bugzilla.wikimedia.org/show_bug.cgi?id=49137 [14:22:00] hmm [14:22:22] So there is a class called WikibaseApi in the repo [14:22:35] yup [14:22:42] However it says it is only for editing so I believe we should call it EditWikibaseApi [14:22:44] right? [14:22:58] hmm *looks* [14:23:22] so we could create another class called QueryWikibaseApi (like SpecialWikibaseQueryPage in lib) [14:24:02] (03PS6) 10Addshore: Diff sitelinks now link to the relevant page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90896 [14:24:06] and this class could be inherited by something like ItemsWithoutSitelinks [14:24:19] addshore: ??? [14:24:34] so, we have ApiWikibase [14:24:44] * benestar nods [14:24:52] which indeed says Base class for API modules modifying a single item identified based on id xor a combination of site and page title. [14:24:59] although it is currently used for more than just that! [14:25:21] right [14:25:48] so I think we should rename this class to WikibaseEditApi or sth like that [14:26:02] if you agree I will create a patchset [14:26:46] you could indeed do that [14:26:47] oh noez! [14:26:51] more rebases?! [14:26:58] hehe :P [14:27:06] and then make a higher class called WikibaseApi [14:27:10] yes [14:27:15] which contains methods like addSiteLinksToResult etc [14:27:19] addshore: qick, merge my patch! [14:27:24] which are used for both getting and editing [14:27:25] addshore: I disagree [14:27:39] addSitelinksToResult etc isn't needed for queries [14:27:54] because they return more than one item [14:27:55] but GetEntities and GetClaims currently extends ApiWikibase [14:28:08] which means your naming of WikibaseEditApi would be wrong if they were left there [14:28:12] ugh [14:28:12] * aude thinks we should get away from inheritance here [14:28:21] * benestar agrees [14:28:22] aude: its rather impossible in the api ;p [14:28:38] maybe not editapi but something like singleitemapi [14:28:44] but we are making it worse :P [14:28:45] we could have lots of code duplicate but that doesnt really help us either [14:29:01] benestar: but itdoes more than just single items ;p [14:29:11] addshore: hmm? [14:29:23] I mean it just works on single items [14:29:28] aude: I want to factor the building of api results out of the base class ()i have a draft i am working on for that) [14:29:44] benestar: getentities works on many items ;p [14:29:59] ok, so this would be a candidate for the second api baseclass [14:30:05] called queryitemsapi [14:30:11] or sth like that ;) [14:30:21] this sounds kinda logic [14:30:27] it might even be worth trying to ApiQueryBase in core [14:30:37] using actio=query [14:30:42] oh dear I can not type! [14:31:02] addshore: well, this sounds good [14:31:04] hooking into action=query would be good [14:31:09] aude: indeed [14:31:23] so action=query&list=wbgetentities ? [14:31:31] looks good to me :) [14:31:35] or list=itemswithoutsitelink ? [14:31:44] I would keep the wb prefix [14:31:46] ok, if you agree I will try this :) [14:31:50] k [14:32:11] addshore: should I create a bug for this anyhow? [14:32:16] (03PS9) 10Addshore: Update gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [14:32:21] switching wbgetentities to that might be complicated [14:32:22] benestar: yup :) [14:32:32] and for all of the other special pages ;p [14:32:33] aude: why do you think so? [14:32:33] but to use that approach for items without sitelink would be ok [14:32:56] ok, so I will keep the wbgetentities as it is for now [14:33:01] benestar: well, bots rely on the current way wbgetentities provides results [14:33:09] right [14:33:16] i can't imagine how we can keep it compatible [14:33:35] so it would break bots, which is something we shouldn't do very often and not without good reason and care [14:33:35] don't know, so just keep wbgetentities as it is for now [14:33:40] k [14:34:26] really we should potentially have something like action=wbedit&what=entity&data={} etc. :P but that would break a lot of things for a lot of people ;p (unless we kept them both running side by side and deprecated one ;p) [14:34:50] yeah, that would need to be the approach i think [14:34:56] aude, go to sleep ;p [14:35:02] (03PS1) 10Henning Snater: Using property id serialization in ByPropertyIdArray [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/90908 [14:35:06] * aude is awake now [14:35:11] it's morning! :) [14:35:14] (03PS1) 10Addshore: Fix comment in ApiWikibase that is not correct [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90909 [14:35:18] fine then, aude ^^ ;p [14:35:28] (03CR) 10jenkins-bot: [V: 04-1] Update .gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [14:35:38] a few timezones off from lydia though [14:36:51] hmm hashar wikibasedatabase still didnt seem to get updated on jenkins for https://integration.wikimedia.org/ci/job/mwext-WikibaseQuery-testextensions-master/ws/extensions/WikibaseDatabase/src/SQLite/SQLiteTableDefinitionReader.php/*view*/ [14:37:00] might I need to merge something into the repo to kickstart things? [14:37:59] let me check [14:38:11] (03CR) 10Aude: [C: 032] Fix comment in ApiWikibase that is not correct [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90909 (owner: 10Addshore) [14:38:20] cheers aude :) [14:38:29] :) [14:38:31] i'll eat the choclate for you ;p [14:38:37] ok [14:38:55] * aude has chocolate for the office here [14:39:40] go and have one then :D [14:40:21] WikibaseDatabase has * 05717b4 - (HEAD, master, refs/changes/46/90346/1) Only install using prefix on mysql.. (4 days ago) [14:40:34] there should be 2 after than :< [14:40:42] :> [14:40:47] so the replication did not magically catch up :] [14:40:53] not sure how to resync the repos [14:41:08] Shall I go and poke everything with some pointless cleanup? [14:41:23] potentially [14:41:36] or attempt send a patchset on WikibaseDatabase [14:41:41] that might kick of the replication process [14:41:46] since there is a new ref [14:41:47] (03Merged) 10jenkins-bot: Fix comment in ApiWikibase that is not correct [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90909 (owner: 10Addshore) [14:41:47] OR [14:41:52] OR! [14:41:58] maybe Chad has to manually resync them :/ [14:42:11] addshore: it is quite heavy to extend query [14:42:25] have to use hooks as I understood it [14:42:37] :/ [14:42:52] (03CR) 10Tobias Gritschacher: "(2 comments)" [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/90318 (owner: 10Henning Snater) [14:43:03] Henning_WMDE: 2 comments: https://gerrit.wikimedia.org/r/#/c/90318/ [14:43:06] benestar: no you don't [14:43:22] aude: so how can I do it? [14:43:28] it's a tiny module but take a look at the api module in wikibase client [14:44:20] provides url and path information for the associated Wikibase repo [14:44:28] let me see [14:44:30] * benestar looks [14:44:52] there might be more involved for what you do [14:44:55] * aude doesn't know [14:45:47] http://ultimategerardm.blogspot.nl/2013/10/wikidata-statistics-presenting-labels.html [14:46:30] aude: is it wgAPIMetaModules ? [14:47:05] yes [14:47:14] it could be specific for what this module does [14:47:37] so maybe don't exactly copy it [14:47:43] aude: look here: https://www.mediawiki.org/wiki/API:Extensions [14:47:55] "Since MediaWiki 1.14, it's possible to extend core modules' functionality using the following hooks:" [14:48:49] (03PS1) 10Addshore: Cleanup of all files in the component [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90911 [14:49:09] aude: better to use $wgAPIListModules ;) [14:49:10] i don't think hooks is what we need [14:49:18] lets see if that pushes the git replication through [14:49:28] only it you want to change descriptions or something [14:49:47] benestar: it might be worth looking at one of the classes that extends the query base class [14:50:02] hashar: its updated :) http://git.wikimedia.org/summary/mediawiki%2Fextensions%2FWikibaseDatabase [14:50:15] aude: feel free to have more choclate with >> https://gerrit.wikimedia.org/r/90911 [14:50:28] (03CR) 10Aude: [C: 032] Cleanup of all files in the component [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90911 (owner: 10Addshore) [14:50:36] (03Merged) 10jenkins-bot: Cleanup of all files in the component [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90911 (owner: 10Addshore) [14:50:59] (03PS10) 10Addshore: Update .gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [14:54:06] (03PS7) 10Tobias Gritschacher: Diff sitelinks now link to the relevant page [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90896 (owner: 10Addshore) [14:55:19] (03CR) 10jenkins-bot: [V: 04-1] Update gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [14:56:58] hmm hashar although git seems to be updating jenkins still doesnt seem to have current master :/ [14:57:03] even after a merge on the repo [15:04:30] addshore: you were asking for clover reports ? [15:04:36] yus :D [15:04:40] wrote some python today to let us deploy them : https://review.openstack.org/52940 [15:04:43] pending upstream review [15:04:51] (03PS2) 10Henning Snater: Using property id serialization in ByPropertyIdArray [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/90908 [15:05:06] that should let us integrate Clover PHP plugin in our mediawiki-core-code-coverage job :-] [15:05:33] :) [15:05:39] awesome ! :d [15:05:41] :D [15:06:40] (03PS3) 10Henning Snater: Using property id serialization in ByPropertyIdArray [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/90908 [15:07:17] woo, and jenkins workspace appears to have just updated :D [15:15:47] (03PS4) 10Bene: (bug 46538) keyboard shortcut to get to Wikidata item [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89698 [15:19:30] (03PS4) 10Bene: (bug 47496) Use (hidden) preference for copyright acknowledgment [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89607 [15:20:43] Henning_WMDE: hey, I heard you have some UI mockups [15:22:42] lazowik: I have some hand-drawn mock-ups. Would need to digitalize. Nothing spectacular. The principle would be the same as for the snak type selector. [15:23:01] (03CR) 10Siebrand: [C: 031] "i18n/L10n reviewed." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89698 (owner: 10Bene) [15:23:35] (03PS3) 10Bene: Add an option in the user preferences to choose additional languages [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 [15:24:08] Henning_WMDE: you can always take a picture ;) [15:24:27] lazowik: what do you need them for? [15:24:40] are you planning to work on implementing the ui? [15:25:00] Lydia said that you'd take over [15:25:09] but not now yet [15:25:18] who knows, maybe I'll be first [15:25:58] (or if me writing that is more trouble, then no ofc.) [15:26:25] hey addshore [15:26:32] (03CR) 10Siebrand: "@Bene: It looks like you're rebasing and making code changes in the same patch set. That makes it hard to compare the state the of the pat" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 (owner: 10Bene) [15:26:43] how should the old WikibaseApi be called now [15:26:45] ? [15:26:50] lazowik: I'm just asking to figure out how important it is to make the mockups available now [15:27:05] it requires some work to make them readable and digital [15:27:23] I could just stay as wikibaseApi [15:27:26] em, then don't bother [15:27:35] I guess they would not be very understandable to just take a photograph [15:27:40] welll, it depends what your plans are now (I have got all lost in everything thats going on) [15:27:47] Tobi_WMDE: I'm still waiting for the api to go in [15:28:01] and don't have that much time [15:28:05] so just leave it [15:28:13] Will upload the mock-up as soon as I have time (currently working on something). Might upload tomorrow then. Should not take too much time to digitalize them. [15:28:30] (03CR) 10Siebrand: [C: 031] "i18n/L10n reviewed." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 (owner: 10Bene) [15:28:44] (03CR) 10Bene: "@Siebrand: I am sorry, I just did rebase and did not remember first to push my changes. I am still new to git so I hope you will forgive m" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 (owner: 10Bene) [15:28:54] Henning_WMDE: thanks, I don't think I'll need them *that* fast [15:29:04] and I don't even know what should come after api [15:29:17] client & propagation or repo ui [15:29:19] alright :) [15:29:31] * lazowik off for a while [15:29:39] addshore: well, I wanted to create a WikibaseQueryApi class [15:30:01] and then make WikbiaseApi the base class for both modules [15:30:14] if you understand what I mean... :/ [15:30:25] i'm the base :P [15:30:38] :P [15:30:43] base you must enjoy getting pinged ;p [15:30:50] xD [15:30:51] :) [15:31:02] benestar: make a patchset ;p if there is any shuffling around it would only be minor anyway :) [15:31:08] ok ;) [15:31:54] [travis-ci] wikimedia/mediawiki-extensions-WikibaseQuery#67 (master - 8756aea : Translation updater bot): The build is still failing. [15:31:54] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-WikibaseQuery/compare/8f0af16cbe92...8756aea51d52 [15:31:54] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseQuery/builds/12830497 [15:33:14] whahaaa [15:37:35] lazowik: im reviewing it now btw [15:38:29] addshore: but before I am editing all the Api classes I want to make sure that the new name is good [15:38:38] (03CR) 10Siebrand: "If I wasn't trying to help you, I wouldn't have made the effort to write it down." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89859 (owner: 10Bene) [15:40:49] addshore: does ApiWikibaseSingle fit? [15:41:05] not really :/ [15:41:20] this might be important enough to send a mail to wikidata-tech [15:41:23] in my opinion [15:41:31] just so it's not "undiscussed" changes [15:41:40] hmm, ok [15:41:47] * aude is terrible at names [15:41:55] aude: silly question [15:41:59] yeah [15:42:01] how do I write a mail to there? [15:42:09] are you subscribed? [15:42:23] I think no [15:42:26] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech [15:42:29] sign up [15:42:44] and then you can mail, per the instructions in the link [15:43:29] aude: what does that mean? "Would you like to receive list mail batched in a daily digest? " [15:43:39] (03CR) 10Addshore: [C: 04-1] "(11 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 (owner: 10Michał Łazowik) [15:43:43] lazowik: ^^ [15:44:06] that means you get mail once a day (if there was a message on the list) with all messages combined [15:44:12] * aude never chooses batched [15:45:47] k [15:51:08] aude: did you get it? [15:51:31] gah :( [16:00:18] benestar: i got an email :) [16:01:25] addshore: yes, it first didn't work as I entered googlemail instead of gmail [16:02:01] :> [16:12:23] (03PS1) 10Addshore: Fix all tests that are currently broken [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/90918 [16:13:15] * addshore corsses his fingers [16:15:18] (03CR) 10jenkins-bot: [V: 04-1] Fix all tests that are currently broken [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/90918 (owner: 10Addshore) [16:15:24] hmph [16:15:54] aude: around? :d [16:18:01] addshore: are you sure there anybody will answer on wikidata-tech? :P [16:19:01] we will see ;p [16:19:44] field at the bottom is for commons' cats or for galleries? [16:44:50] (03PS2) 10Addshore: Add more exceptions and checks to SQLite reader [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90922 [16:44:51] aude: ? :> [16:46:46] (03PS3) 10Addshore: Add more exceptions and checks to SQLite reader [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90922 [16:51:42] addshore: thanks :) looking [16:52:38] gragh I need someone to merge my change! but noone is here [16:53:08] lazowik: care to go and review it? ;p [16:53:25] heh, if you care for +1 [16:53:29] which one? [16:53:44] https://gerrit.wikimedia.org/r/90922 ;p (can you not +2? ;p) [16:53:57] nope [16:54:03] +1 sill do ;p [16:54:11] * aude is not around for a few hours [16:54:12] *will [16:54:20] aude: its 8 lines ;p [16:54:32] once i am at the office... [16:54:43] * aude has horrendous commute to the office ahead of me [16:54:45] ahhh :D what time is it now? :P [16:54:53] the subway is on strike [16:55:00] :/ [16:55:22] well im gonna try and get this whole database and query thing resolved tonight so your timezone might actually help me out :D [16:57:11] addshore: ok [16:59:01] lazowik: any glaring errors? :P [17:01:51] (03CR) 10Addshore: "Unfortunately these is noone around to merge this currently." [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90922 (owner: 10Addshore) [17:02:22] (03CR) 10Umherirrender: "Yeah, let the Reviewer(s) choose the best one. I have no problem, when the other patch get merged. I only hope, the underlying problem is " [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90761 (owner: 10Umherirrender) [17:03:29] addshore: a sec [17:04:27] wel,l im gonna head home and hope I have internet :P [17:04:29] tata for now [17:04:36] addshore: not a master at regexes :( [17:04:43] (me, not you :p) [17:10:43] and not a master in sql [17:11:00] SELECT * FROM foo; [17:11:02] .*? [17:11:02] done [17:11:06] addshore: sorry, I'm not competent [17:11:11] Reedy: :D [17:23:23] (03CR) 10Michał Łazowik: "(6 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 (owner: 10Michał Łazowik) [17:36:03] wow internet works first time at home! woo! [17:36:14] yay :D [17:39:23] (03CR) 10Addshore: "(1 comment)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 (owner: 10Michał Łazowik) [17:41:04] JeroenDeDauw: around? [18:38:45] JeroenDeDauw: I've answered on the mailing list [18:38:59] addshore: will adding sitelink with badges and changing badges of an existing without providing link title be enough for examples? [18:39:15] changing both title and badges is the same as adding [18:40:06] yep sounds fine [18:42:02] Good evening [18:44:51] hello [18:47:59] addshore: eh, I think I also need to add ones with removing all badges and not touching them [19:02:11] (03PS26) 10Michał Łazowik: Extend API to support editing badges [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 [19:02:12] addshore: ^ [19:02:28] would be nice if DanielK could take a look [19:04:23] not sure when he gets back :/ [19:04:35] from where :O [19:06:07] addshore: is there anyone else who knows api well? [19:09:36] (03PS1) 10Amire80: RTL tweaks for label title [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90944 [19:31:29] lazowik: tobi would be your next port of call ;p [19:33:31] aude: made it to the office? :P [19:44:42] oh dear [19:44:49] this really takes too long --> https://www.wikidata.org/w/index.php?title=Special:ItemsWithoutSitelinks&limit=10000&offset=0 [19:53:54] benestar: 10,000.. ouch :P [19:54:02] that probably shouldnt be possible :P [19:54:39] :P [19:54:57] * addshore pokes aude again :P [19:55:37] benestar: I can probably throw together a list of all Items without sitelinks if you want, I imagine I should be able to do a db query for that.. [19:56:25] addshore: ok, added him as reviewer [19:57:04] * JohnLewis pokes addshore in the eye >:D [19:57:15] addshore: are you two "enough" (sorry :p) to +2 it? [19:57:45] heh, lazowik I can +2 it :P But I am on holiday for a week from tommorow :) [19:57:52] pff [19:58:12] you all are just getting holidays all the time :p [19:58:29] what is the magnitude of Daniel's getting back? [19:58:37] days, weeks, months, years? [19:58:43] light years? [19:58:51] the last one ;p [19:58:59] :( [19:59:10] lazowik: Why are we measuring holiday time in distance? [19:59:24] JohnLewis: quiet! [19:59:26] true! [19:59:51] :p [19:59:59] * lazowik feels sooooo stupid now [20:00:58] lazowik: Remember; Light years is the distance light travels in a vacuum within one year :p [20:01:06] I know... [20:01:18] lazowik: Do you know the distance? :p [20:01:35] em, around 10^12? [20:01:41] (meters) [20:01:45] don't remember [20:01:59] didn't have to at any point in my life :) [20:02:29] 9,4607·1015 [20:02:40] * 9,4607 x 10^15 [20:03:22] JohnLewis: do you? [20:03:24] don't look up! [20:03:39] lazowik: I think it is 1x10^13 kilometers. [20:03:42] look up := don't read up [20:03:54] JohnLewis: eh, you were closer [20:04:20] You were right, just kilometers instead of meters and put it into standard form :p [20:04:32] :D [20:05:26] Since you learned something, Would you please rate the JohnLewis Education system today out of 10 lazowik? [20:05:37] hmm [20:05:40] hmm [20:05:42] hmm [20:05:50] (03CR) 10Addshore: [C: 04-1] "(2 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 (owner: 10Michał Łazowik) [20:05:58] 10 [20:06:04] :D [20:06:06] JohnLewis: ^ [20:06:12] JohnLewis: in binary! [20:06:18] gotcha! [20:06:41] :p [20:07:42] (03CR) 10Michał Łazowik: "(1 comment)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 (owner: 10Michał Łazowik) [20:12:54] * lazowik codes small fixes on a full hd tv [20:12:55] * addshore pokes aude again ;p [20:13:30] having terminal emulator on the full screen of that feels quite epic :O [20:13:33] addshore: ^ [20:14:26] nikki: Here? [20:14:39] ish, yes [20:15:37] nikki: The person operating the banners that you spoke about last night said they'll consider the change when they switch them back on. [20:16:14] (03PS27) 10Michał Łazowik: Extend API to support editing badges [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 [20:16:25] ok, thanks :) [20:17:02] I should pack... [20:18:04] addshore: Wait, where are you going on holiday? :p [20:18:12] benestar: Oi! Why did you delete https://www.wikidata.org/w/index.php?title=Q15079873&action=edit&redlink=1 ? It's in use!!! [20:18:40] JohnLewis: back to the land from whence i came [20:18:49] ugh [20:18:53] that's impossible [20:19:06] haha [20:19:37] benestar: https://www.wikidata.org/w/index.php?title=Q15057126&action=edit&redlink=1 another one! [20:19:50] https://www.wikidata.org/w/index.php?title=Q15057075&action=edit&redlink=1 too [20:19:56] mmhh benestar another https://www.wikidata.org/wiki/Special:WhatLinksHere/Q15079592 [20:20:09] https://www.wikidata.org/wiki/Special:WhatLinksHere/Q15057020 [20:20:23] https://www.wikidata.org/wiki/Special:WhatLinksHere/Q15057021 [20:20:54] benestar: I suggest you go over your recent deletions and undelete everything that is in use [20:21:02] yes, I will to it [20:21:04] *do [20:21:04] indeed :P [20:21:41] addshore: Which is? :p [20:21:54] JohnLewis: you know that ;p [20:22:23] addshore: I am giving to chance to reconsider. The past three weeks have had about 12 thunderstorms. I wouldn't call this a holiday place :p [20:23:04] I will bring only glorius sunshine with me ;p [20:26:33] hehe [20:27:02] addshore: To the south probably :p [20:27:11] so, addshore, have a good rest! [20:27:30] and I don't want to see you on the irc! [20:28:37] I am always on irc ;p [20:29:46] lazowik: He is always on IRC. Yet I still have to wait three weeks for a response even to a 'Hi' :p [20:29:56] (03PS28) 10Michał Łazowik: Extend API to support editing badges [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/82637 [20:30:00] :) [20:30:37] * lazowik just pushed another patch set with sizeof(delta) == 1 char [20:30:51] benestar: Some of the tools are giving inconsistent results. Maybe you're looking at a outdated or corrupt database copy? [20:30:52] poor jenkins :p [20:31:32] benestar: what was your patch sets record? [20:32:16] one left! [21:05:54] 'night [22:05:08] * aude pokes addshore  [22:09:37] (03CR) 10Aude: [C: 032] Cleanup lib/util file headers. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90877 (owner: 10Addshore) [22:10:35] (03CR) 10Aude: [C: 032] Cleanup lib/Validators. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90879 (owner: 10Addshore) [22:13:21] (03CR) 10Aude: [C: 032] Remove one hard-coded constant [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90643 (owner: 10Liangent) [22:20:27] (03Merged) 10jenkins-bot: Cleanup lib/util file headers. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90877 (owner: 10Addshore) [22:23:56] (03Merged) 10jenkins-bot: Cleanup lib/Validators. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90879 (owner: 10Addshore) [22:27:56] (03Merged) 10jenkins-bot: Remove one hard-coded constant [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/90643 (owner: 10Liangent) [22:40:15] hey aude :> [22:40:23] still around? [22:41:28] yeah [22:41:46] probably JeroenDeDauw is better for reviewing the database and query component [22:43:03] indeed, (not sure he is here)) [22:43:15] (03CR) 10Aude: "if this "matches changes in the Datamodel", which changes are those? change id or link?" [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/90918 (owner: 10Addshore) [22:43:34] hmm aude, no idea what change :P but its the one that requires claim guids :P [22:43:41] which happened a week ago now? :D [22:43:53] oh, ok [22:44:06] well, probably not a priority for me this week [22:44:15] but if you are stuck, then maybe i can look [22:44:30] will see tomorow morning, I imagine tobi will merge it :0 [22:44:42] ok [22:44:49] you at the office tomorrow? [22:45:13] * aude suppose it already is tomorrow there :) [22:45:21] 0:44 [22:45:25] oh [22:45:45] I should probably hit the hay soon, Ill be in the office till around lunch and then I need to go and catch a plane :) [22:45:47] ok [22:46:38] (03CR) 10Addshore: "Matches https://gerrit.wikimedia.org/r/#/c/89015/" [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/90918 (owner: 10Addshore) [22:48:18] red alert, shit hit fan on production! [22:48:28] ??? O_o [22:48:31] 215 Exception from line 77 of /usr/local/apache/common-local/php-1.22wmf22/extensions/Wikibase/lib/includes/serializers/ByPropertyListUnserializer.php: Element with id 'P143' found in list with id 'p143' [22:49:33] How often is this happening? :P [22:49:35] currently flooding the logs ^^^ [22:49:41] addshore, often [22:49:45] :< [22:49:59] why has this happened just before I was going to bed? :D [22:50:35] wow, you ever sleep? [22:50:58] I try :) [22:51:41] ehm, appears to be a bot hitting the API once per minute [22:51:56] mhhm aude ready to backport something? :D [22:53:01] MaxSem: i can take a look [22:53:32] ...so if it's hurting only one user, probably not a full emergency [22:53:40] we can just ban the bot:P [22:53:47] mhhm its just the whole upper and lowercase thing again [22:54:03] it should be fixed [22:54:16] mhhm the serialization can have a lowercase id [22:54:29] and the serialized id from the key is never parsed into an ID object [22:54:45] $elementPropertyId = $element->getPropertyId()->getPrefixedId(); (which is upper case) [22:54:49] if ( $elementPropertyId !== $propertyId ) { (which can be upper or lower) [22:55:08] we could just wrap $propertyId in a strtoupper ;p [22:55:19] or stick an Id Parser in there :) [22:55:20] :) [22:56:56] I wonder whats hitting it though, any more details MaxSem ? :P [22:58:58] addshore, https://gist.github.com/MaxSem/6f6489f5c57b03175d58 [23:00:36] ah, set reference [23:00:40] hmm, [23:00:47] so thats a user passing in lowercase ids :P [23:01:18] which should be handled [23:01:52] mhhm, but the serialization is passed in [23:02:10] rather than an ID, so the id is never checked until the deserializer. [23:03:38] {"p143": [{"datavalue": {"type": "wikibase-entityid", "value": {"entity-type": "item", "numeric-id": 328}}, "property": "p143", "snaktype": "value"}]} [23:03:40] yup [23:03:58] I imagine the lowercase property id in the claim is handeled but not in the byproperty list ;p [23:05:06] (03PS1) 10Addshore: Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] (mw1.22-wmf21) - 10https://gerrit.wikimedia.org/r/91088 [23:05:48] eww some nasty use stuff appeared in that ... [23:07:48] (03PS2) 10Addshore: Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 [23:08:35] (03PS2) 10Addshore: Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] (mw1.22-wmf21) - 10https://gerrit.wikimedia.org/r/91088 [23:09:06] aude: MaxSem have fun ^^ [23:09:43] (03CR) 10Addshore: [C: 04-1] "This fix is fine for the branch but I will tidy this up before it is merged into master for the next branch.." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:11:14] thanks addshore [23:11:25] np :> [23:11:30] * aude verifying it [23:11:34] (03CR) 10jenkins-bot: [V: 04-1] Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:11:34] althought it is simple [23:12:04] mhhhm shall I fix the one of master to ensure everything passes? ;p [23:13:50] addshore: i you like [23:13:51] if [23:14:57] (03PS3) 10Addshore: Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 [23:14:59] bing [23:15:34] (03CR) 10Addshore: [C: 04-1] "again, fine for the branch but this could be tidied up a bit more for master before our next branch.." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:19:21] heh, jenkins is rather backlogged currently ;p [23:20:19] (03CR) 10jenkins-bot: [V: 04-1] Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:21:25] (03PS4) 10Addshore: Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 [23:21:34] fail jenkins path resolution [23:23:02] (03CR) 10Aude: [C: 04-1] "we should have additional test cases for this. (other tidy is welcome also)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:24:21] (03CR) 10Aude: [V: 031] "otherwise, this makes api requests with lowercase property id work." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:24:33] you get +1 and -1 from me :) [23:24:43] hehe :P [23:24:53] just make sure we add this onto the list of things to make sure we dont branch without ;p [23:24:57] * aude waits for jenkins to run the tests [23:25:00] (03CR) 10jenkins-bot: [V: 04-1] Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] (mw1.22-wmf21) - 10https://gerrit.wikimedia.org/r/91088 (owner: 10Addshore) [23:25:11] :P [23:25:14] when do you plan to follow up on your patch? [23:25:18] in the morning? [23:25:24] yup [23:25:29] test cases look straightforward to add [23:25:32] k [23:25:47] yup, copy and paste one and add a big P ;p [23:26:14] might be worth filing a bug for this ;p [23:26:22] so I can point a comment at it [23:27:21] hmmm ClaimsSerializerTest::testGetSerializedValid.testGetSerializedValid with data set #0 [23:27:24] failing [23:27:32] hmm [23:27:45] what happens if you run them with datamodel etc on the wmf21 branch? [23:27:59] it could be the whole claims change to use guid instead of hash again [23:28:13] that is on master [23:28:24] https://integration.wikimedia.org/ci/job/mwext-Wikibase-repo-tests/4896/ [23:29:02] hmm? [23:29:15] (03CR) 10jenkins-bot: [V: 04-1] Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:29:29] they also fail on the branch (with branches pulled of data model etc) [23:29:34] * aude investigates [23:29:43] I cant even find a ClaimSerializerTest::testGetSerializedValid :P [23:30:33] it is convoluted [23:30:41] ahh [23:30:45] inheritance hell [23:31:14] you mean inheritance fun :D [23:31:21] oh, obvious [23:31:27] i see the issue [23:31:36] one sec [23:31:51] what is it? :D [23:32:50] maybe not obvious [23:33:03] somehow it is trying to parse a property id object [23:33:15] HAHA! [23:33:30] wait a second :P *checks something* [23:34:35] hmmmh, no idea (nothing obvious) [23:34:56] trying to see where it comes from [23:37:29] (03CR) 10jenkins-bot: [V: 04-1] Parse lowercase ids in ByPropertyListUnserializer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/91086 (owner: 10Addshore) [23:38:49] (03PS12) 10Addshore: Install and update the store when needed [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88753 (owner: 10Jeroen De Dauw) [23:39:22] (03CR) 10Jeroen De Dauw: [V: 032] Install and update the store when needed [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88753 (owner: 10Jeroen De Dauw) [23:39:46] aude: im off to bed, if you cant figure it out tonight (or today for you) Ill poke it again in the morning :) [23:39:52] addshore: NOOOO [23:39:57] addshore: MEEERGE [23:39:59] ARRRR [23:40:28] JeroenDeDauw: merge my change on database, it might help us find out why the database integration tests are failing on query [23:40:51] addshore: i'll have a look [23:40:59] addshore: just CR+2 the thing now finall ;p [23:41:18] been sitting there for 2 weeks now [23:41:32] And without it, master is actually broken due to changes in datamodel... [23:41:58] I know :P but I didnt realise this commit included that... [23:42:55] addshore: ok [23:42:58] (03CR) 10jenkins-bot: [V: 04-1] Install and update the store when needed [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88753 (owner: 10Jeroen De Dauw) [23:43:12] addshore: That commit removes some calls to wfDebugLog - those should never have been there in the first place, as this code does not depend on MW [23:43:26] addshore: merrrggggggeeeee https://gerrit.wikimedia.org/r/#/c/88753/ [23:43:56] (03CR) 10Addshore: [C: 032] Install and update the store when needed [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88753 (owner: 10Jeroen De Dauw) [23:44:20] heh JeroenDeDauw that was one of my attempts to debug the failure on jenkins across repos... [23:44:39] anyway sleep! [23:45:16] (03Abandoned) 10Addshore: Fix all tests that are currently broken [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/90918 (owner: 10Addshore) [23:45:54] night all *unplugs internet* ;p [23:46:04] nacht! [23:47:01] (03CR) 10Jeroen De Dauw: [C: 032] Add more exceptions and checks to SQLite reader [extensions/WikibaseDatabase] - 10https://gerrit.wikimedia.org/r/90922 (owner: 10Addshore) [23:47:23] addshore: \o/ [23:47:43] [travis-ci] wikimedia/mediawiki-extensions-WikibaseQuery#69 (master - 977c373 : jeroendedauw): The build is still failing. [23:47:43] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-WikibaseQuery/compare/935860b3197b...977c373f1e40 [23:47:43] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseQuery/builds/12854810 [23:47:48] WAIT! DONT UNPLUG THE INTERNET! [23:51:48] (03PS11) 10Jeroen De Dauw: Update gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 [23:52:30] (03PS5) 10Jeroen De Dauw: (bug 55593) use jQuery.wikibase.snakview on Special:SimpleQuery [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/89117 (owner: 10Daniel Werner) [23:54:45] (03CR) 10jenkins-bot: [V: 04-1] Update gitignore [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/88966 (owner: 10Jeroen De Dauw) [23:57:32] (03CR) 10jenkins-bot: [V: 04-1] (bug 55593) use jQuery.wikibase.snakview on Special:SimpleQuery [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/89117 (owner: 10Daniel Werner)