[09:40:19] Morning SMW. Does anyone have any suggestions to extensions which can show nice diagrams about the semantic relation between pages? [10:00:24] New patchset: Mwjames; "SMW\RecurringEvents eliminate restrictions and use subobjects as object storage" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/50592 [10:07:39] Velyks: I can only think of http://semanticgraph.sourceforge.net/ [10:07:56] Ohh that works [10:14:50] Velyks: but watch out for security issues & maintenance status [10:17:54] New review: Mwjames; "Added additional tests, all static methods are gone besides render() and ParserParamter()." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/50592 [10:20:47] It's a small internal one, so it shouldn't be that bad. [10:32:21] I want to use #if with an inline query, to only display something if that query returns results. Is this possible? [10:55:49] Velyks: yes, I do that regularly [10:56:08] the difficulty is the positive side of the #if; it can't contain too much pipes [10:56:24] I cannot create tables from inside an #if [10:58:00] oh btw for clarity I use {{#ifeq: {{#ask: |format=count}}||}} [11:09:45] Saruman: Thats much better than what I was doing. And you use {{!}} to replace | in the results to generate the table? [11:48:25] New patchset: Siebrand; "(bug 45461) Use email instead of e-mail" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51149 [11:52:14] New review: Jeroen De Dauw; "$m_DatatypeLabels = array(" [mediawiki/extensions/SemanticMediaWiki] (master) C: -2; - https://gerrit.wikimedia.org/r/51149 [12:09:00] New review: Siebrand; "Ah, so this change is not needed at all?" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51149 [12:22:01] New review: Jeroen De Dauw; "Indeed" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51149 [12:26:11] Change abandoned: Siebrand; "Not needed. Email was already default." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51149 [12:49:43] Velyks: I can use {{!}}- to generate table rows inside such an #ifeq; I can't seem to get table start/table end in, but mebby if I look into it next week I can find some sort of a solution for that... [13:10:14] Ahh, Im just interested in rows rather than table creation, so that's alright for me. Thanks [18:03:34] New patchset: Jeroen De Dauw; "Add class alias to not break compat with Maps master" [mediawiki/extensions/Validator] (master) - https://gerrit.wikimedia.org/r/51185 [18:03:50] New review: Jeroen De Dauw; "Fixes https://bugzilla.wikimedia.org/show_bug.cgi?id=45503" [mediawiki/extensions/Validator] (master) - https://gerrit.wikimedia.org/r/51185 [18:17:22] Change merged: jenkins-bot; [mediawiki/extensions/Validator] (master) - https://gerrit.wikimedia.org/r/51185 [18:28:46] Quick poll: would anyone object if the "select a property" dropdowns in Special:CreateTemplate were replaced with simple text inputs? [18:31:38] yaron: not me, but I don't use CreateTemplate, so I don't count [18:37:20] Hi all, I've just installed semantic results formats extension and I've been playing around with the (very slick) event calendar. The UI makes it easy to switch between the month, week, and day views, but is there a way to switch between the agendaweek and basicweek views from the UI, or can that only be set once and for all in the query? [18:38:34] sounds like a question for yaron, or JeroenDeDauw mebby [18:39:05] Saruman: thanks for your answer before... [18:39:36] tayloj: actually, it's possible that only James Hong Kong knows that one - I don't think he's ever on this channel, though, unfortunately. [18:39:52] You might have to send that question to the mailing list. [18:41:04] yaron: Not a problem; I'm in no hurry, and I can wrap up another related question in at the same time: is it possible to enable the agendaweek view without making it the default (e.g., leave month as the default, but make agendaweek the default for the week view). [18:41:21] Cool. [18:41:27] yaron: and there's always digging through the source :) [18:43:02] My team at work recently set up a mediawiki,and made good use of templates. Then we installed SMW, and with just a few template mods, all that prior work was queryable. Now we have pretty calendars too. We may win over the SharePoint lovers yet. [18:43:53] tayloj: great! [18:44:18] should you find the answers to your own question, could you mebby update http://www.semantic-mediawiki.org/wiki/Help:Calendar_format ? Thankks! [18:48:05] Saruman: no, he's asking about the "eventcalendar" format. [18:49:19] which is at http://www.semantic-mediawiki.org/wiki/Eventcalendar , but yes, if I figure it out and can make an account, I'll update it [18:51:15] Oh, looks like I'd still need special permissions, because it's in the Help namespace. [19:10:25] tayloj: just create an account, permissions can be arranged [19:18:58] I've got an account created, I'll let you know when I get a chance to take a look; it's not a high priority right this moment, so it might be a little while. [19:22:28] tayloj: I see your account. If and when you're ready to create documentation, come over here and poke yaron or JeroenDeDauw, they can assign permissions [19:26:01] Saruman: will do [20:07:38] Saruman: Ok, it looks like there's not a way to do it in the current implementation. Based on the FullCalendar docs, those buttons and what they do are specified by a sting that has the form "month,[basicWeek|agendaWeek],[basicDay,agendaDay]", and looking at ext.srf.formats.eventcalendar.js (lines 65 and 485) the format options provide a way to make a choice between basicWeek and agendaWeek, and between basicDay and agendaD [20:09:41] Saruman: by setting a default view. E.g., if the user chosen defaultview is 'agendaWeek', then the string is "month,agendaWeek,agendaDay", or if the user chooses defaultview = 'agendaDay', then the string is "month,basicWeek,agendaDay" [20:12:00] really, what it comes down to is that there are fewer result format parameters than there are configuration parameters to the calendar system, and some quick, but kind of dirty, choices about which to present and how to interpret the values [20:21:22] maybe this will turn out to be a patch submission [21:00:13] tayloj: if there's one thing that's better than a submission of documentation, it's prolly a submission of a patch [21:01:07] New patchset: Mwjames; "Add test to check if all resource files are accessible via http" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/51213 [21:06:06] New review: Mwjames; "This is funny without having mwext-SemanticResultFormats-testextensions-master activated this test d..." [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/51213 [21:08:02] yaron: the issue I was babbling about a few days ago is resolved by updating SMW/SIO/ETC [21:08:18] Cool! [21:08:32] working 'correctly' now: http://seqanswers.com/wiki/Import_and_store_the_HTS_mapper_compendium [21:08:44] need to keep working on the presentation :-) [21:09:45] Yeah, that's a pretty wide table. :) [21:10:37] that page just brings in the data tbh [21:10:48] individual pages are then supplemented with the data [21:11:12] unfortunately, the data provider wont write a REST server so I can get them one by one ;-) [21:12:20] btw, since upgrading, I'm often seeing 'Warning: file() [function.file]: Filename cannot be empty in /home/seqadmin/seqanswers.com/w/extensions/Validator/includes/definitions/ParamDefinition.php on line 956' [21:25:38] New patchset: Mwjames; "Add test to check if all resource files are accessible via http" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51273 [21:27:52] hmm [21:28:06] #list on sio isn't working [21:35:22] New review: Mwjames; "Locally it passes but apparently it needs a different methodology to check if the file that is regis..." [mediawiki/extensions/SemanticMediaWiki] (master) C: -1; - https://gerrit.wikimedia.org/r/51273 [21:56:52] New patchset: Mwjames; "Add test to check if all resource files are accessible" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51273 [21:58:40] hey yaron was just about to log a bug (which I can if it's useful). [21:58:44] {{ [21:59:09] Okay... [21:59:56] {{#sio: object to page property | prop1#list=x,yz}} # works fine [22:00:08] {{#sio: object to page property | prop1#list =x,yz}} # fails silently [22:00:14] {{#sio: object to page property | prop1#list= x,yz}} # works fine [22:01:00] (my usual bugbear) [22:01:04] Alright, that's good to know. [22:01:24] you want a bug for records? [22:02:14] No, that's okay - I'll look at it now. [22:03:23] ty [22:03:53] I'll have to switch to sub-objects at some point, as this guy uses various separators [22:08:16] New patchset: Mwjames; "Add test to check if all resource files are accessible" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/51213 [22:09:37] dbolser: I assume this issue is happening when using SQLStore3? [22:11:13] New review: Mwjames; "Would be nice to have mwext-SemanticResultFormats-testextensions-master running." [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/51213 [22:11:21] yaron: SMW 1.8 ? [22:11:44] I mean, thats my SMW version, does that imply SQLStore3? [22:12:03] No, althought that's the default, so I assume that's what you're using. [22:12:13] yup [22:19:50] New patchset: Yaron Koren; "Fixed handling of extra spacing with #list" [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/51285 [22:20:59] Change merged: Yaron Koren; [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/51285 [22:28:34] ohhh... or I can use arrays to make space separated lists into comma separated lists :-) [22:41:51] hmm this is tricky... I have pages in a class defined by a category [22:42:19] now I'm pulling in 'pages' using ED, and I want to give a property to the page title [22:42:35] should I call the property after the class? [22:46:37] yaron: I'm seeing an error from Validator while trying to save a page with SF [22:46:44] since updating SF [22:46:51] That's... strange. [22:46:59] Did you update Validator? [22:47:09] looking at validator code, I think it may be related to php 5.2 compat [22:47:26] yaron: yes, I think SMW 1.8 demanded I update validator [22:47:50] That must be it, then. [22:48:24] validator is too new? [22:48:44] I don't know - I'm just saying, the error is with Validator. [22:49:01] which version do you recommend? [22:49:08] This is the version in SB... [22:49:11] I really know very little about it. [22:49:34] 0.5.1 [22:49:44] yeah, looks like an issue for JeroenDeDauw [22:50:05] yaron: does SF use validator, or is this coming via SMW? [22:50:13] No, yes. [22:51:16] Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in /home/seqadmin/seqanswers.com/w/extensions/Validator/includes/definitions/ParamDefinition.php on line 898 [22:51:39] weird that I'm only seeing the above via save when editing with form [22:52:36] save while editing plain text works (some errors, but less numerous) [23:03:59] JeroenDeDauw Hi