[00:20:15] New review: Jeroen De Dauw; "(2 comments)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/50943 [00:28:13] New patchset: Mwjames; "SMW\ParserHookHandler class eliminate the need for static binding" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51974 [00:31:49] New review: Mwjames; "Add additional tests and assertions." [mediawiki/extensions/SemanticMediaWiki] (master) C: 1; - https://gerrit.wikimedia.org/r/51974 [00:51:56] New review: Jeroen De Dauw; "Thanks :)" [mediawiki/extensions/Maps] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/52220 [00:51:57] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/52220 [01:03:29] New review: Mwjames; "For those who don't care much about unit tests the following should allow to demonstrate available o..." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51974 [08:03:45] New review: Foxtrott; "(2 comments)" [mediawiki/extensions/SemanticMediaWiki] (master) C: -1; - https://gerrit.wikimedia.org/r/50943 [12:35:38] New patchset: Shirayuki; "American spelling - initialize (messages/comments)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/52405 [17:01:03] New patchset: Mwjames; "SMW\Query toArray() add query sorting information" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/52422 [17:07:39] New patchset: Mwjames; "SMW\Query toArray() add query sorting information" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/52422 [17:16:17] New patchset: Yaron Koren; "Updated description in README" [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/52423 [17:17:31] Change merged: Yaron Koren; [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/52423 [17:22:41] New patchset: Yaron Koren; "New version: 0.7.4" [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/52425 [17:24:19] Change merged: Yaron Koren; [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/52425 [19:20:50] hey yaron [19:20:59] Hello! [19:21:28] I checked in your External Data patch yesterday, by the way. [19:21:45] I just realized, I could just use '#store_external_table' then pass that to a template in a separate query... [19:21:52] yaron: but that's cool :-D [19:22:18] Hi Saruman [19:22:32] Yes, you could do that too, but of course it would be kind of a hack. [19:22:34] hi JeroenDeDauw ... You're Belgian right? [19:22:39] right [19:22:42] heya [19:22:54] I'm now getting hacking with Arrays, and discovered a bug there too... [19:23:08] New patchset: Foxtrott; "new parameters 'root' and 'start level'; bugfix; some clean-up" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/52266 [19:23:18] https://www.mediawiki.org/wiki/Extension_talk:Arrays#Bug_in_arraysearch.3F_9875 # fourth comment down [19:23:40] I'm processing the data in a template using arrays extensively [19:24:01] Arrays FTW! [19:24:24] yaron: I also missed the 'GetData' API [19:24:36] Okay... [19:24:57] looks pretty cool actually... using that on each page, I wouldn't need to loop over the ED as I do now... but this is cleaner I think [19:25:09] Saruman: right, just a pain now I found this bug... [19:26:47] oh, yaron, about the commit ... will that get onto referata at some point :-) [19:27:03] Oh, yeah... [19:27:38] I'm just playing with an old wiki there where I want to fire of another ED for each result I get back [19:27:38] Done. [19:27:41] :D [19:27:57] what did you call the parser function in the end BTW? [19:30:39] * dbolser_ is in Brussels [19:30:48] * dbolser_ wonders where Jeroen lives ;-) [19:38:46] dbolser_, don't look behind you! [19:39:06] yaron: with ED, if I have "ab" can I get #for_external_table to give me 'p=1,y=a' and 'p=1,y=b' [19:39:10] Gah! [19:39:27] :-) [19:39:36] yaron: or rather, what will external_table give me? /me goes to try [19:40:12] I doubt it... I think all of the values in a row have to be at the same "level". [19:40:24] I see [19:40:42] * dbolser_ tries anyway [19:41:10] By the way, Jeroen is in Berlin, working on Wikidata - I think that's public information. :) [19:42:03] * dbolser_ gets on a plane [19:44:43] in this case I actually only ever have one nested element, one y [19:46:58] dam... have to go learn xpath again... [20:19:57] sigh... Seems like an XPath bug in ED [20:42:02] dbolser_, the bug hunter [20:44:06] hi yaron [20:44:11] just about to fire a bug at you :-) [20:44:45] Hello! [20:44:52] Sorry to interrupt, then. :) [20:45:06] hehe [20:45:17] yaron: some valid xpath statements include = [20:45:30] like this one: //PROP[@name='cors']/@val [20:45:45] Yes, I see the bug report. [20:45:46] which messes with data== [20:45:49] cool [20:46:03] just thought I'd pracy(sp?) [20:46:18] I don't know what that word is. [20:47:31] I have no idea how to spell it ... synonym for 'summarise' [20:47:40] yaron: there is an xpath hack it seems [20:47:47] to get round using = [20:47:51] but it's a real mess [20:52:14] instead of saying "//prop[@name='sourcesDoc']/@value" apparently I can say "//prop[starts-with(concat(@name, '%'), 'sourcesDoc%')]/@value" [20:52:21] but don't ask me how that works [20:53:41] I don't actually know much about the Xpath stuff - I didn't write that code. [20:58:12] yaron: yup [20:59:08] afaict, the xpath module is working fine, but the data= bit needs to respect =s in the path spec [20:59:09] lemmy try the hack ... [21:00:30] yaron: heh... the hack fails, I suspect, because it uses a , [21:00:57] the parser for data= needs to be rewritten when use xpath is in effect I suspect [21:11:15] Oh - well, if you were willing to do that, that would be great... [21:11:24] yaron: right [21:11:27] I'll have a go [21:11:43] btw, what did you name the 'for_external_call' PF? [21:14:50] dbolser_: oh yeah - I called it #display_external_table. [21:15:01] ty [21:15:23] It's not a perfect name, but it was my favorite of the ones we thought of. [21:15:35] yeah, sounds good to me [21:15:48] Cool. [21:20:12] how do I throw away all changes on a branch (prior to pulling)? [21:20:32] s/changes/commits/ [21:21:02] git reset --hard origin/master [21:39:01] New patchset: Shirayuki; "American spelling - initialize (messages only)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/52405 [23:19:49] hi yaron, can arraymap use a space as a delimiter? [23:20:24] currently I reseting spaces to commas using {{#arraydefine: Alignment | {{{Alignment}}} | /\s/ }} and array print [23:20:27] I think so... but you might have to construct it as " ". [23:20:34] * faceface tries [23:20:57] I found my bug in Arrays was todo with trying to be clever within arrayprint [23:21:26] you can't call parser functions there [23:27:09] yaron: nice, that works :-) [23:27:23] Cool. [23:38:08] sorry, I went to fix the 'array' bug over the ED bug as it's a more pressing wiki