[04:22:50] I'm trying to pass kml to a Semantic Maps display_map. The example at http://wiki.bn2vs.com/User:Jeroen_De_Dauw/kml_test doesn't show kml when I try it on my server. [04:23:26] MediaWiki 1.18.2, PHP 5.2.8, Semantic Maps 1.0.5. [04:23:40] Does anyone have troubleshooting suggestions? [04:24:46] The version on my server is at http://www.sbmtv.org/Trails/index.php?title=User:JackG/kml_test [14:45:39] New review: Nischayn22; "Well that is a completely different thing then ;)" [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/35156 [15:47:30] Hey guys, I have a question regarding semantic forms [15:47:46] I want to know if we can divide a field in two places [15:48:17] like if I can have 'free text' at the top and bottom of the page [17:26:34] yaron: I have a question regarding semantic forms [17:26:40] I want to know if we can divide a field in two places [17:26:45] like if I can have 'free text' at the top and bottom of the page [17:39:59] adom__: unfortunately, no. [17:40:35] k :( [17:40:42] yaron: and another question [17:40:59] i have two templates which need the same variable [17:41:54] i am using semantic to provide the 1st template that same variable provided to the 2nd one. [17:41:58] The multiple-free-text thing something I'd like to support (in a way), via the first "planned feature", here: https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Known_bugs_and_planned_features [17:43:03] hmm i see [17:43:16] now for my 2nd problem, do you have a solution? [17:43:17] (is something) [17:43:26] What's the issue? [17:43:41] the problem i am facing is that the 1st template comes before the 2nd one [17:43:53] so it takes two reloads [17:44:03] the first one sets the semantic [17:44:07] Oh, I see. [17:44:11] then in the 2nd run it queries [17:44:38] is there a better way to share variables across templates? [17:45:09] Well, my guess is that it might be possible to simplify your data structure, so that it's not necessary to do that. [17:45:43] hmm [17:46:11] is it possible to parse the 2nd template first somehow which is down the page? [17:46:46] Well, the order is actually irrelevant. [17:47:15] But no, it's not possible for a template to parse other parts of the page. [17:47:53] well if the 2nd one is done first (semantic gets set) then the first one (queries), then it would be alright i guess. [17:47:58] but ok [17:48:01] But if you just want to prevent the need for refreshing data, this might help: http://semantic-mediawiki.org/wiki/FAQ#Why_doesn.27t_data_I_have_just_added_show_up_in_queries.3F [17:48:40] no that wont help [17:48:46] because its not about cache [17:49:27] the part that queries the data is already rendered, and after that comes the part that sets the data [17:50:31] Well, again, the order doesn't matter - it has to do with whether it happens before or after the page save. [17:51:03] But you're right that that change I linked to wouldn't make a huge difference - it's just the difference between having to do the MediaWiki "refresh", and just reloading the browser. [17:51:06] oh really? [17:51:34] yes that wouldnt make a difference [17:52:55] ok thanks a lot. let me try restructuring the data. [17:54:02] New patchset: Jeroen De Dauw; "Bump version to 1.8" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/36395 [17:54:31] yaron: oh btw I could join the two templates, but the problem is the content is in two different parts of the page [17:55:12] some ugly hack could be to may be reposition part of the content through css [17:55:47] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/36395 [17:57:09] adom__: well, if you told me the data structure you're trying to achieve, I might be able to give some advice. [18:00:18] New patchset: Jeroen De Dauw; "Bump version to 1.8" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/36396 [18:01:15] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/36396 [18:03:54] yaron: this is how it is [18:03:56] http://s10.postimage.org/cww1c92kp/templates.png [18:06:13] Attribute2:Value2 is the same data in two places [18:06:59] now the two templates could be combined, but they have to be rendered in two different places on the page [18:08:49] adom__: unfortunately, that image is blocked on the current network I'm using. [18:09:10] (I guess it blocks all postimage.org images as a matter of policy.) [18:09:20] I can look at this later, though. [18:16:18] yaron: check if this is working [18:16:23] http://tinypic.com/r/e7yvzr/6 [18:30:22] yaron: can i have 1 field (SF) give input to two templates? [18:33:56] JeroenDeDauw Heiya, I am guessing that something will happen very soon. :) [18:34:25] adom__: okay, cool, I can see that. [18:34:37] May you please enable the result format "incoming" whilst updating smw.o? [18:34:41] Though it's not giving me that much information... [18:34:58] adom__: what is this field that needs to be in two templates? [18:35:21] Attribute2 [18:35:49] template 2 sets it with the semantic form [18:36:01] then template 1 queries this already set data [18:36:50] Well, okay, but what is this data? [18:37:39] template 2 has no form, and is only there to show Attibute 2 [18:38:49] So why is it split into two templates? [18:39:52] because the data is in two places on the page [18:41:12] Alright - well, I don't think there's any way to get around the problem. [18:42:09] and while template 2 always requires the data, template 1 only needs it occasionally, depending on the template2 conditionals setting this data. [18:55:16] kghbln: yeah [18:55:27] kghbln: I just raged someone into writing a mail :p [18:55:39] JeroenDeDauw You rock [18:55:55] :D [18:56:13] kghbln: you do to! :) [18:56:15] kghbln: http://semantic-mediawiki.org/wiki/Semantic_MediaWiki_1.8.0 [18:56:30] Don't you think it's odd to have such a long upgrade section at the top? [18:56:43] The actual changes seem more important :) [18:57:03] JeroenDeDauw This was a community effort. [18:57:38] The instructions look great, but perhaps they should be at the install section, and just pointed to? [18:57:43] This is an inheritance from the past. I thought hat this should move out there entirely. [18:57:56] hat - that [18:58:28] I think I put it into the installing SMW page [19:00:18] JeroenDeDauw Yes, as a matter of fact we have an upgrade section there already. Will do ... [19:00:33] kghbln: yay :) [19:01:03] :9 [19:01:07] :) [19:32:15] kghbln: do you know if we're linking to any of the vids from last SMWCon on smw wiki? [19:34:42] JeroenDeDauw Not so far. Yury was planning on doing this last week as soon as Widgets are installed. Probably something go in his way. [19:41:00] JeroenDeDauw I read that ASK Api is stable now. Did something change there when it comes to using them? [19:44:15] kghbln: nope [19:44:29] kghbln: continuation and sort support was added at some point [19:44:41] Not sure if that's in this release or was in 1.7.1 already [19:44:48] But does not break existing stuff [19:45:28] Ah ok. This is good, since I just removed the note that it is in alpha. According to the RELEASE NOTES it happend with 1.8.0 [19:46:44] right