[03:45:33] (03CR) 10Jeroen De Dauw: "No need to waste computing time of a free service we use. Also, more jobs is longer waiting time" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/120515 (owner: 10Addshore) [04:27:37] (03CR) 10Jeroen De Dauw: [C: 04-1] Clean up Client Api Module (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/121705 (owner: 10Addshore) [04:28:26] (03Abandoned) 10Jeroen De Dauw: Merge "Remove space thats in the wrong place" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/121681 (owner: 10Christopher Johnson (WMDE)) [05:29:10] (03CR) 10Jeroen De Dauw: [C: 04-1] "No obvious design issues spotted" (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/120775 (owner: 10Daniel Kinzler) [08:57:35] admin? [09:00:42] Yes Glaisher2, can I help you? :) [09:00:49] Revi: is on it [09:01:03] Oh. :P [09:01:20] Glaisher2: Why it needs revdel? [09:01:27] defamatory content? [09:01:41] hmm, ok. [09:02:20] All that IP? [09:03:01] Glaisher2: ^ [09:03:30] Revi: not only IPs. [09:03:34] there's an account edit too [09:03:54] tbh. 41. doesn't look like defamatory content [09:03:57] oh.... [09:05:02] revdeling all IP, Ahma-h22 , Moealmaw, Ebraheem010 Enganasr's edits [09:05:13] also Geezawy [09:05:42] Revi: some seems to be valid reverts of the edits [09:05:48] hmmmm [09:05:55] but that would go away too [09:06:06] when abusive edits are deleted [09:06:46] seems all done [09:07:15] total 46 revs deleted [09:07:35] :O [09:08:39] Revi: thanks [09:08:45] appears to be a cross-wiki vandal [09:08:51] one account was locked yesterday [09:08:59] np [09:09:03] I am checking edits to other wikis [09:25:23] Ah, the item about Abdul Fattah Al-Sisi. [09:26:00] I saw it in our Commonscat-tracking category. :P [10:00:21] (03PS1) 10WikidataBuilder: New Wikidata Build - 29/03/2014 10:00 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/121924 [10:03:21] (03CR) 10jenkins-bot: [V: 04-1] New Wikidata Build - 29/03/2014 10:00 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/121924 (owner: 10WikidataBuilder) [10:08:19] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/121924 (owner: 10WikidataBuilder) [10:16:36] (03CR) 10Addshore: [C: 032 V: 032] New Wikidata Build - 29/03/2014 10:00 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/121924 (owner: 10WikidataBuilder) [10:19:20] [13WikibaseDataModelSerialization] 15addshore created 06snakDataTypeLookup (+1 new commit): 02http://git.io/Q13X7A [10:19:20] 13WikibaseDataModelSerialization/06snakDataTypeLookup 14bf90294 15addshore: SnakSerializer can now be passed a DataTypeLookup [10:19:34] (03CR) 10jenkins-bot: [V: 04-1] New Wikidata Build - 29/03/2014 10:00 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/121924 (owner: 10WikidataBuilder) [10:20:16] [13WikibaseDataModelSerialization] 15addshore opened pull request #60: SnakSerializer can now be passed a DataTypeLookup (06master...06snakDataTypeLookup) 02http://git.io/HCAlfQ [10:20:40] [travis-ci] wmde/WikibaseDataModelSerialization/snakDataTypeLookup/bf90294 : addshore The build passed. http://travis-ci.org/wmde/WikibaseDataModelSerialization/builds/21818454 [10:28:03] [13WikibaseDataModelSerialization] 15addshore pushed 1 new commit to 06snakDataTypeLookup: 02http://git.io/8089Mw [10:28:03] 13WikibaseDataModelSerialization/06snakDataTypeLookup 149057f39 15addshore: Add DataTypeLookup to SerializerFactory construction [10:34:07] [13WikibaseDataModelSerialization] 15addshore pushed 1 new commit to 06snakDataTypeLookup: 02http://git.io/Vgi-BQ [10:34:07] 13WikibaseDataModelSerialization/06snakDataTypeLookup 14250fb6b 15addshore: Fix namespace of LookupException [10:38:07] addshore: Ping me when you want https://github.com/wmde/WikibaseDataModelSerialization/pull/60 merged. [10:38:22] :) [10:38:37] I will probably have some more stuff to pile on, trying to integrate it with wikibase right now :p [10:40:05] addshore: Nice :-) [10:40:55] I love this architecture of low coupled components that makes very easy to write tools interacting with Wikibase. [10:41:29] indeed :) Did you see the start on wikibase-api I made :P soooooooo easy to play with entities now xD [10:41:42] addshore: Yes. It's very nice. [10:41:56] I belive that https://github.com/wmde/WikibaseDataModelSerialization/issues/39 can be closed now. snaks-order and qualifiers-order have been implemented and references-order doesn't looks to exist. [10:42:50] Tpt: yes I think so too :) [10:43:31] addshore: I've just closed it. [10:47:46] Tpt: whats your opinion on returning the hashes of snaks? [10:48:15] currently we HAVE to for qualifiers and references in WIkibase, so I guess we might as well just always return the hash? would save some code then :) [10:48:43] this would therefore mean hashes for mainsnaks [10:49:16] meh, guess we could have an option xD [10:51:33] addshore: I really dislike options so I think that if it is easy for bot to generate these hashs (I belive that the answer is yes as it's done automaticaly by the DataModel) we should insert them by default. [10:54:09] [13WikibaseDataModelSerialization] 15addshore pushed 1 new commit to 06snakDataTypeLookup: 02http://git.io/SnieYA [10:54:09] 13WikibaseDataModelSerialization/06snakDataTypeLookup 14168bd62 15addshore: Always serialize snaks with a hash [11:32:36] addshore: duuuuuuude.... [11:32:44] That's exactly what I told you to not do... [11:32:49] is it O_o? [11:33:00] yes [11:33:02] https://github.com/wmde/WikibaseDataModelSerialization/commit/bf9029465d401b34f5c5bc4c413e3c0647817248 [11:33:04] ... [11:33:39] * addshore doesnt recall what you said now :/ [11:34:13] addshore: the tasks of serializers is to serialize the object they get [11:34:22] Doing a lookup for more things there is wrong [11:34:33] this is the exact same mistake as done in the old code [11:35:01] addshore: and in trying to do this you can actually feel that it is wrong, since you need to go create yet another lookup interface [11:35:11] Which happens to make no sense in this component [11:35:34] addshore: https://github.com/wmde/WikibaseDataModelSerialization/blob/master/src/Serializers/TypedSnakSerializer.php [11:36:24] [13WikibaseDataModelSerialization] 15JeroenDeDauw pushed 1 new commit to 06master: 02http://git.io/3QFyQA [11:36:24] 13WikibaseDataModelSerialization/06master 144e25a06 15Jeroen De Dauw: Update TypedSnakSerializer.php [11:39:58] [13WikibaseDataModelSerialization] 15addshore created 06snakhashes (+1 new commit): 02http://git.io/05a6Qg [11:39:58] 13WikibaseDataModelSerialization/06snakhashes 14ad80694 15addshore: Always serialize snaks with a hash [11:41:32] [travis-ci] wmde/WikibaseDataModelSerialization/snakhashes/ad80694 : addshore The build passed. http://travis-ci.org/wmde/WikibaseDataModelSerialization/builds/21820999 [11:47:21] [13WikibaseDataModelSerialization] 15JeroenDeDauw pushed 1 new commit to 06master: 02http://git.io/x41IkA [11:47:21] 13WikibaseDataModelSerialization/06master 141b1be34 15Jeroen De Dauw: Merge pull request #61 from wmde/snakhashes... [11:47:51] addshore: yay, one more option not implemneted! \o/ [11:48:03] * JeroenDeDauw hopes we can get by with not implementing any option [11:48:15] removing the lib stuff is going to be interesting [11:48:19] is just friggin everywhere! [11:48:41] [travis-ci] wmde/WikibaseDataModelSerialization/master/1b1be34 : Jeroen De Dauw The build has errored. http://travis-ci.org/wmde/WikibaseDataModelSerialization/builds/21821284 [11:48:51] addshore: it can be done gradually [11:49:06] And I think it makes more sense to first do this in DataModel [11:49:29] Depends on when we can make the breaking change to the dump though [11:51:26] JeroenDeDauw: added you to a draft, any comments? https://gerrit.wikimedia.org/r/#/c/121706/ [11:53:35] addshore: I do not see how this is helpfull [11:53:47] addshore: did you have a look at how services are handled in Wikibase Query? [11:53:58] which bit in query? [11:54:14] addshore: look at the API module, or the SpecialPage [11:54:48] $entityFinder = ExtensionAccess::getWikibaseQuery()->getByPropertyValueEntityFinder(); [11:55:47] addshore: the important point there is that it breaks out of the class as soon as possible [11:56:00] And everything outside of it uses dependeny injection all the way [11:56:08] So that call is the only pull made [11:56:16] Only one such pull per legacy entry point [11:56:28] And they are made obvious by the ExtensionAccess thing [11:56:37] This can only be used in these legacy entry points [11:58:26] * addshore lets JeroenDeDauw implement this in Wikibase ;p [12:00:59] addshore: I hope to get to that, though fixing the issues in the lower level components first, ie DM and lib, seems like the way to go [12:01:08] I will however be outlining this exact point on Tuesday [12:01:12] In my CR presentation [12:01:32] :O youll have to link it to me :P [12:02:15] addshore: it will look roughly like this http://bit.ly/Pa3crj [12:02:38] heh :p [12:03:22] [13WikibaseDataModelSerialization] 15addshore closed pull request #60: Add features missing needed by Wikibase (06master...06snakDataTypeLookup) 02http://git.io/HCAlfQ [12:09:31] oh ffs, why does the constructor of the Command class need to be "special" >_> [12:51:17] 40 minutes of total ignornace :| [12:54:04] :O [12:58:26] Finally realized why this class does not support constructor injection, actually makes sense [13:03:43] what class ? :P [13:05:15] Symfony\Component\Console\Command\Command [13:15:51] (03CR) 10WikidataJenkins: "Build Successful" [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/121924 (owner: 10WikidataBuilder) [13:32:33] [13WikibaseDatabase] 15JeroenDeDauw created 06PDOQueryInterface (+1 new commit): 02http://git.io/DNrjZw [13:32:33] 13WikibaseDatabase/06PDOQueryInterface 14f2f1b97 15jeroendedauw: Get error messages from PDO in PDOQueryInterface [13:32:40] [13WikibaseDatabase] 15JeroenDeDauw opened pull request #32: Get error messages from PDO in PDOQueryInterface (06master...06PDOQueryInterface) 02http://git.io/qEXC7Q [13:34:00] addshore: you know, if we created an SQLite implementation of the select, delete, update and insrt SQL builders, then we could test QueryEngine and the like using an in-memory SQLite db [13:34:10] Would make creating integration tests for those things a breeze [13:34:36] dont we already have those? [13:34:43] nope, just MySQL ones [13:34:53] [travis-ci] wmde/WikibaseDatabase/PDOQueryInterface/f2f1b97 : jeroendedauw The build passed. http://travis-ci.org/wmde/WikibaseDatabase/builds/21824910 [13:47:33] [13WikibaseDatabase] 15addshore 04deleted 06PDOQueryInterface at 14f2f1b97: 02http://git.io/voE2yA [13:53:00] addshore: is it really just one person who can approve changes to qrpedia? [13:53:01] https://gerrit.wikimedia.org/r/#/admin/groups/534,members [13:53:09] aude: apparently :P [13:53:13] your changes will be there forever [13:53:25] hehe, maybe ;p [13:53:45] https://gerrit.wikimedia.org/r/#/c/121934/ [13:54:01] ah :) [13:54:25] who approves kelson's changes? :) [13:54:27] (03CR) 10Addshore: Clean up Client Api Module (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/121705 (owner: 10Addshore) [13:55:23] aude: The big commit guy in the sky? :p [13:55:24] aude: tbh no idea :D [13:56:27] addshore: btw, when i run all phpunit tests (core + wikibase etc), tests exit without any info at 97% [13:56:32] like happens to the build [13:56:45] I noticed :/ [13:56:49] trying to debug it [13:57:14] might have to do with the UpdateRepoOnMove change [14:04:48] exits with just --group Wikibase [14:14:20] [13WikibaseDatabase] 15JeroenDeDauw created 06PDOTableBuilder at 14bc13413 (+0 new commits): 02http://git.io/103TyA [14:14:39] wtf [14:15:35] [13WikibaseDatabase] 15JeroenDeDauw 04deleted 06PDOTableBuilder at 14bc13413: 02http://git.io/CofYWA [14:15:55] [13WikibaseDatabase] 15JeroenDeDauw 04deleted 06PDOTableBuilderr at 14bc13413: 02http://git.io/CofYWA [14:16:10] [13WikibaseDatabase] 15JeroenDeDauw created 06lolwat (+1 new commit): 02http://git.io/gpTfig [14:16:10] 13WikibaseDatabase/06lolwat 14f7a094e 15jeroendedauw: Get error messages from PDO in PDOTableBuilder [14:16:12] addshore: please to merge https://github.com/wmde/WikibaseDatabase/pull/33 [14:16:49] [travis-ci] wmde/WikibaseDatabase/PDOTableBuilder/bc13413 : jeroendedauw The build has errored. http://travis-ci.org/wmde/WikibaseDatabase/builds/21826542 [14:17:01] lolwat [14:17:04] [13WikibaseDatabase] 15addshore pushed 1 new commit to 06master: 02http://git.io/RD0fwg [14:17:04] 13WikibaseDatabase/06master 14dac34b0 15addshore: Merge pull request #33 from wmde/lolwat... [14:17:46] [travis-ci] wmde/WikibaseDatabase/PDOTableBuilderr/bc13413 : jeroendedauw The build has errored. http://travis-ci.org/wmde/WikibaseDatabase/builds/21826583 [14:18:41] [travis-ci] wmde/WikibaseDatabase/lolwat/f7a094e : jeroendedauw The build has errored. http://travis-ci.org/wmde/WikibaseDatabase/builds/21826621 [14:22:12] addshore: uh oh BLOB/TEXT column 'value' used in key specification without a key length [14:23:02] give it a length then? :P [14:27:53] addshore: not possible for these fields [14:27:59] need new ones [14:28:04] its required for the indexes [14:28:37] addshore: yes, new field for index [14:38:20] [travis-ci] wmde/WikibaseQueryEngine/addhash/ec8635f : jeroendedauw The build passed. http://travis-ci.org/wmde/WikibaseQueryEngine/builds/21827442 [14:59:25] [travis-ci] wmde/WikibaseQueryEngine/addhash/87df963 : jeroendedauw The build was broken. http://travis-ci.org/wmde/WikibaseQueryEngine/builds/21828228 [15:01:59] hahahaha [15:02:02] faillll [15:02:17] nice that all other tests pass though [15:02:23] addshore: https://travis-ci.org/wmde/WikibaseQueryEngine/jobs/21828229 [15:02:38] addshore: https://github.com/wmde/WikibaseQueryEngine/pull/14/files [15:02:49] I was to lazy to set the stuff up locally so I could run tests [15:02:54] And missed that obvious thing [15:02:59] if ( $string > $this->MAX_LENGTH ) { [15:03:39] oh, now the link is no longer valid [15:06:26] [travis-ci] wmde/WikibaseQueryEngine/addhash/9b6b75b : jeroendedauw The build was fixed. http://travis-ci.org/wmde/WikibaseQueryEngine/builds/21828586 [15:06:28] addshore: please to merge? [15:09:07] (03CR) 10Jeroen De Dauw: Clean up Client Api Module (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/121705 (owner: 10Addshore) [15:23:55] no merge :( [15:37:54] JeroenDeDauw: done [15:38:12] addshore: you know, I was halfway through the command to just merge it into master locally and use that ;p [15:38:21] :P [15:38:41] ty for merge [15:44:35] addshore: Since when did you become a hashtag? #adamshorland :p [16:02:56] [travis-ci] wmde/WikibaseQueryEngine/lolfail/de6170d : jeroendedauw The build passed. http://travis-ci.org/wmde/WikibaseQueryEngine/builds/21831224 [16:20:53] [2014-03-29 09:55:08] Fatal error: Call to a member function getPartialURL() on a non-object at /usr/local/apache/common-local/php-1.23wmf19/extensions/Wikidata/extensions/Wikibase/lib/includes/formatters/CommonsLinkFormatter.php on line 58 [16:22:33] aude: ^ [16:22:42] Lydia_WMDE: ^ known? [16:23:34] ok, pretty uncommon error [16:30:24] we know [16:31:49] https://bugzilla.wikimedia.org/show_bug.cgi?id=62904 [16:32:04] ah ok [16:32:11] aude: Noticed the DB probs. earlier on [16:32:13] ? [16:32:13] i don't have a fix [16:32:24] nope [16:44:13] hyia people! [16:46:12] benestar: hey :) [16:46:24] hi lazowik :) [16:46:27] what's up? [16:46:31] damn [16:46:37] wanted to ask that first :p [16:46:41] xD [16:46:50] Lydia_WMDE: no answer? https://twitter.com/benestar_wm/status/448172261946953728 [16:47:07] benestar: about 1,5 of month and I'm back [16:47:11] how's badges? [16:47:26] I got no review for about a week now -.- [16:47:45] benestar: I'd say that ui redesign should should include responsivness [16:47:53] so not only desktop/mobile [16:48:05] I think we should support the mobile extension [16:48:14] but large desktop/normal desktop/small desktop/tablet/phone [16:48:41] not sure how that should then play with mediawiki [16:48:44] hoo: not known to me [16:48:48] so probably only mobile [16:48:55] benestar: there are several aspects to it [16:49:17] the ui redesign should take small formfactors into account [16:49:26] and we need dedicated apps for specific tasks [16:49:33] i am working on concepts [16:49:34] Lydia_WMDE: is https://www.mediawiki.org/wiki/Extension:Wikibase_Repository/Mobilize_Wikidata still active? [16:49:52] not really [16:50:55] Lydia_WMDE: how far did the development go there already? [16:51:30] aude would be able to tell [16:51:51] aude: Giving up on the DB stuff for now... we see DB spikes again, ping me ASAP [21:25:48] (03CR) 10WikidataJenkins: "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/122077 (owner: 10L10n-bot)