[01:07:41] New patchset: Yaron Koren; "Javascript fix - "for ... in ..." changed to "for (;;)"" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/42706 [01:09:33] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/42706 [12:41:35] New patchset: Nischayn22; "renaming editor class" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42753 [12:46:17] Change abandoned: Nischayn22; "just to remove this from my long list :p" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/35156 [13:27:50] New patchset: Nischayn22; "renaming editor class" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42753 [13:28:49] New patchset: Nischayn22; "changed MapEditor class name" [mediawiki/extensions/SemanticMaps] (master) - https://gerrit.wikimedia.org/r/42756 [13:30:56] New patchset: Nischayn22; "changed MapEditor class name" [mediawiki/extensions/SemanticMaps] (master) - https://gerrit.wikimedia.org/r/42756 [13:31:51] New patchset: Nischayn22; "renaming editor class" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42753 [13:33:55] New review: Netbrain; "Looks good! your not lazy at all! :) However your missing an indent." [mediawiki/extensions/Maps] (master) C: 0; - https://gerrit.wikimedia.org/r/42753 [15:38:47] New review: Siebrand; "i18n and coding style review." [mediawiki/extensions/SemanticExtraSpecialProperties] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/39041 [17:40:58] yaron May I bother you one more time? [17:41:13] Yeah, sure. [17:41:40] yaron you do not know what is ahead now [17:41:57] That's true... [17:41:59] what a way to start a question, eh? [17:42:30] Should I look for an anvil overhead? :) [17:42:40] meep meep [17:43:05] yaron Enough kidding now: I have saved an array to a sio like has xyz#list={{{1|}}} [17:43:29] no worries. sometimes i am strange. [17:44:13] The problem is. If I would like to query for it and output it to a template. How would I do this? [17:44:28] Output the query results? [17:44:32] So far I have only managed to get it back as a string [17:44:37] yes [17:44:49] result format template [17:45:12] Are the "has xyz" values being stored correctly - is it a list of values, or a long string? [17:45:28] You can go to "Property:has xyz" to see. [17:45:47] hold on a sec [17:47:25] yaron yes they are [17:47:44] Okay, that's good. [17:47:47] no string, good old seperate values [17:48:07] In that case, you should be able to query on it, and format it, like any other semantic data. [17:48:58] that's what I thought. But how do I get the template to show the values separately too [17:49:43] since I am using result format template [17:51:37] something like {{#arraymap:{{{5|}}}|,|x|[[Has xyz::x]]}} does not work [17:52:36] actually it should not [17:54:19] New review: Jeroen De Dauw; "Needs rebase" [mediawiki/extensions/Maps] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/36700 [17:54:46] New review: Jeroen De Dauw; "Dependency needs rebase" [mediawiki/extensions/Maps] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/38734 [17:55:18] just {{{5|}}} does not work either. Hmm... I know what I am not on the bright side at the moment [17:57:52] New patchset: Jeroen De Dauw; "Amended system messages" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/37870 [17:58:00] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/37870 [17:58:36] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42753 [18:28:07] New patchset: Reedy; "Remove trailing whitespace" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42789 [18:30:39] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42789 [18:36:45] New patchset: Jeroen De Dauw; "Fix API module registration" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42792 [18:36:53] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/42792 [19:33:43] New review: Jeroen De Dauw; "Needs rebase." [mediawiki/extensions/SemanticMaps] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/38696 [20:56:00] kghbln|away: I'm back! Sorry for the delay. Are you still having a problem with the query display? [20:56:33] yaron no worries the world is still turning :) [20:56:46] Well, that's a relief already. [20:57:07] Unfortunately yes. I just do not know how to get it into the template used by the template format [20:57:38] Not one of my best days I'm afraid [20:58:30] So - how do you want those values to displayed? [20:58:55] I think this is actually an #ask issue, by the way, not an SIO issue. [21:00:55] No, that's not an sio issue at all. Usually I have the parameters like {{{1|}}} etc. within the template I define with the template format. This works as long as there is only one value. But as an array of values ...? [21:01:08] Right. [21:01:16] But how do you want these values to be displayed? [21:01:43] Just next to each other separated with a comma [21:01:53] No big deal I would think [21:03:11] And how do they appear now? [21:03:49] not at all. Instead of a, b, c I get an empty output [21:04:15] The properties with only one value get shown ok [21:04:40] Oh, that's weird. [21:04:48] That sounds like a bug in SMW. [21:04:57] Oh no. [21:05:14] I guess it is scratchy time [21:05:54] So you would expect them to be shown... [21:06:06] Oh yeah, replicating on Scratchpad would be helpful. [21:06:26] Yes, definitely. (Not that I've ever tried that myself, I don't think...) [21:07:54] The thing that makes me thinking is: Normally you do an arraymap within a template. However you cannot do it within a template which is inserted by an ask query This is the reason why I think that I have done something wrong. [21:08:30] Oh, you can't do that? [21:08:50] Not that that's a sign that you've done something wrong. :) It should work either way. [21:08:52] It tried to, but it does not work [21:09:02] Well, that might be two different bugs, then. [21:09:24] Are you trying to make my day ;) [21:09:44] Still, it is scratchy time [21:10:31] Hey, if you like finding bugs, today might definitely be your lucky day. :) [21:11:45] Usually I am not much into this since I tend to be helpless in these situations. However, I think I account for about 10 to 15 % of all SMW bugs... O_o [21:18:48] Are you using SMWSQLStore3, by the way? I've heard that there might be some remaining issues with that one. [21:26:49] yaron no, the wiki is still on SMW 1.7.1.1 I am just building the issue on scratchy [21:27:01] Alright. [21:43:41] In the {{#ask:}} special form, can I make the sort inverted? [21:45:57] For example, sort by most recent date instead of oldest date. [21:47:30] Havvy I would say yes. Just apply a sorting order to the respective property [21:47:57] yaron I put all the pages on http://scratchpad.referata.com/wiki/JKL [21:48:30] |sort=Founded is giving me the oldest alliances. [21:48:31] kghbln: cool. You know the next step. :) [21:48:40] o/ yaron [21:48:59] Havvy: you need to add "|order=desc" to the query. [21:49:16] Ah. Thanks. [21:49:58] yaron yes, would you just have a peep at http://scratchpad.referata.com/wiki/Template:ABC_template_format? [21:50:04] And is there a way to get rid of the "Further Results"? [21:52:03] kghbln: that's a weird-looking #arraymap call... [21:52:37] What are you trying to do there? [21:53:25] It seems to be repeating {{{1}}} for every comma in {{{1}}}, adding a comma between each repetition. [21:53:47] yaron Indeed, this was just a try out of the blue since [[Has characters::x]] does not work either [21:54:39] Havvy: it might work to add "|searchlabel=". [21:54:59] I think that will work, actually. [21:59:52] yaron: You're awesome, FYI. [22:00:10] Thanks, that's good to know! [22:00:35] I have a quick "edit with form" question... [22:00:56] And can we filter out pages in categories yet? Last I checked [[Category:!X]] and [[!Category:X]] did not work. [22:01:07] Frank__: Just ask. [22:01:35] Havvy: yeah, there's still no way to do it. [22:02:23] Want to add that to http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Things_that_are_not_possible ? [22:02:51] I guess you would also add "No filtering out of concepts" either. [22:03:27] Yes, those two should both definitely be in there. [22:03:30] Havvy Go for it. :) [22:07:26] kghbln: I can't edit that page. [22:07:47] Havvy What is your username [22:07:56] "Havvy" just created [22:09:51] Havvy Great. It should be working now [22:14:23] SMW would be 33% better if filtering categories worked. [22:15:06] Is there a bug filed about that yet? [22:36:51] Havvy I guess this bug https://bugzilla.wikimedia.org/show_bug.cgi?id=21317 comes close to it [22:37:39] That URL should be http://dnd-wiki.org/ now, FYI [22:38:24] Or removed, since it isn't actually pertinent to the feature request. [22:38:49] Havvy you are right. I will do. [22:39:33] I just saw that MWJames added this bug as a blocker for the SMW 1.9.0 release. So chances are high. [22:39:34] Can you add ryan.havvy@gmail.com to the CC list while you at it? [22:40:09] And awesome! [22:41:34] Havvy Done! [22:42:47] However, do not hold your breath. :) [22:43:50] The current workaround it to make a property CategoryDisclusion, and add a template "[[Category:{{{1}}}]][[CategoryDisclusion::{{{1}}}]]" and then filter on CategoryDisclusion. [22:44:00] Sorry, got pulled away. So here's that "edit with form" question: [22:44:36] Is there a way to determine from my skin if the page has a form to edit it with? [22:45:03] I'm pretty sure there's a PHP function that tells you if a page is editable [22:45:17] But I'd want to check if it's "form editable". [22:53:58] Frank__ This page contains all information you would like to know about it: http://www.mediawiki.org/wiki/Extension:Semantic_Forms/The_%22edit_with_form%22_tab [22:58:13] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/41363 [23:02:41] New review: Jeroen De Dauw; "Will merge after comment has been taken care off" [mediawiki/extensions/SemanticMediaWiki] (1.9.x); V: 0 C: -1; - https://gerrit.wikimedia.org/r/31727 [23:03:39] New review: Jeroen De Dauw; "Making it clear this should not be submitted yet" [mediawiki/extensions/SemanticMediaWiki] (1.9.x); V: 0 C: -2; - https://gerrit.wikimedia.org/r/31631 [23:03:45] Change merged: Yaron Koren; [mediawiki/extensions/SemanticDrilldown] (master) - https://gerrit.wikimedia.org/r/41207 [23:05:23] New review: Jeroen De Dauw; "Still needs some work, and submission against master. Anything in particular you need help with?" [mediawiki/extensions/SemanticMediaWiki] (1.9.x); V: 0 C: 0; - https://gerrit.wikimedia.org/r/30426 [23:07:02] New review: Mwjames; "A new patch set is coming soon which will include some additional changes:" [mediawiki/extensions/SemanticResultFormats] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/41939