[04:07:31] New patchset: Pastakhov; "new implementation #ask as #ask2" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/34976 [04:18:16] New patchset: Pastakhov; "new implementation #ask as #ask2" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/34976 [04:26:35] New review: Pastakhov; "My code now specific to the new SMWSQLStore3." [mediawiki/extensions/SemanticMediaWiki] (master) C: 0; - https://gerrit.wikimedia.org/r/34976 [15:06:00] hmm, I have a property that uses Allows value, but there's no dropdown in the form [15:06:29] any ideas on how to debug this? [15:43:35] dreamer - you wrote about that on the SF talk page? [15:44:42] no [15:44:49] don't see anything about that there either [15:45:39] ah, first one [15:46:21] Oh... strange, I hadn't heard about this problem before, and all of a sudden there are two people experiencing it. [15:46:24] sounds pretty similar [15:46:30] What version of SF are you using? [15:46:50] I started with the property as just string. then I changed it to page and allowed values, but didn't get a dropdown. now I tried to move it to string again, but still no dropdown [15:47:03] 2.4 [15:48:14] Wait - so that wasn't you on the SF talk page? [15:48:26] no [15:48:27] That was the exact same thing that person did. [15:48:33] Alright - weird. [15:48:36] yeah indeed, I read it [15:48:39] Oh yeah, you have a different SF version. [15:48:52] well, I think that person started with allowed values that worked, then moved to type page and it broke [15:49:01] Right - not exactly the same thing. [15:49:05] I never had a working dropdown for this ever I think (started with page, which didn't work) [15:49:39] Can you pastebin your property page? [15:49:49] I could also link to it :P [15:49:52] Ah! [15:50:04] http://wiki.techinc.nl/index.php?title=Property:PapercutGroup&action=edit [15:50:07] but it should be fine [15:50:16] I have other similar properties that do work (in the same form even) [15:50:39] What's the form? [15:50:42] but maybe it doesn't work for type::Page and now it b0rked somehow? [15:50:50] http://wiki.techinc.nl/index.php?title=Form:Papercut&action=edit [15:51:20] PapercutStatus and PapercutType in the same form do work [15:52:36] Okay - in your case, it's just because SF can't figure out that the property and the form field are connected. [15:52:45] That's because you have the extra syntax in the template. [15:53:03] That's fine, though; all you need to do is add "|property=..." to the field tag in the form definition. [15:53:21] "|property=PapercutGroup", that is. [15:53:48] oh, hmm [15:54:01] odd that it works for the other properties then though .. [15:54:12] Well, they're more straightforward in the template. [15:54:21] and, this doesn't fix it [15:54:45] You have to leave in the field name - you need both. [15:54:51] ah, ok .. weird [15:54:53] (Debugging public wikis is so much easier. :) ) [15:55:07] hehe [15:55:19] I really don't get this. why are the other properties more straightforward? [15:55:33] Check out the Template:PapercutGroup page. [15:56:00] there is none [15:56:09] I mean, Template:Papercut. [15:56:35] ah, hmm. wth? did I do that? [15:56:39] :) [15:57:12] ah wait .. now I remember. I wanted to eventually see if I could 'sync' the property with which groups I had available [15:57:18] but haven't started implementing the thing yet [15:57:28] By the way, I'm surprised that that syntax works - assuming it does what it's supposed to. [15:57:29] oh wait, that's what the link will be [15:57:32] yes, I remember [15:57:46] lemme check, no idea if it works .. [15:58:01] nope, it doesn't :P [15:59:04] so, basically I want to append the result with 'Subgroups/' in the link [15:59:18] (because that's what they have as a prefix) [15:59:27] (but it looks ugly in the form) [15:59:39] Well, the easiest way to do it is to separate the display and the storing of data. [15:59:53] You can easily store the value, without displaying it, using #set. [16:00:48] but, does that work in allows value? [16:01:38] I don't know what you mean. [16:02:04] ok, I guess I don't know what you mean either :P [16:02:23] basically I just want the template to link to SubGroups/{{{value}}} [16:03:12] Right... so do you want the property value to also include "SubGroups"? [16:03:51] I guess not, since it's not part of the allowed values. [16:04:07] the property value doesn't need to include it [16:04:17] and indeed, that's what I meant with allowed values [16:04:19] So just have a normal link, and then put in a #set call right alongside it, to do the data storage. [16:06:31] * dreamer confused [16:07:47] Do "[[SubGroups/{{{value}}}]] {{#set:property-name={{{value}}} }}". [16:08:47] where {{{value}}} == PapercutGroup::{{{PapercutGroup|}}} ? [16:10:16] No - {{{value}}} is {{{PapercutGroup|}}}. [16:10:22] oh, hmm [16:10:23] * dreamer test [16:11:53] cool :) [16:12:11] * dreamer check if he can make it work in the table-template too [16:12:20] Yaron: still trying to wrap my head around it :) [16:12:58] Well, for what it's worth, it's not as complex as the syntax you had before. :) [16:13:19] hehehe [16:13:44] I now have: [[SubGroups/{{{PapercutGroup|}}}|{{{PapercutGroup|}}}]] {{#set:property-name={{{PapercutGroup|}}} }} [16:13:58] so you don't see the prefix in the template ;) [16:15:45] hmm, can't get the value to show up in the table [16:15:52] I hope you don't actually have the literal string "property-name" in there... [16:15:58] :# [16:16:12] Oh, you probably do. [16:16:21] yeah, because I'm an idiot [16:16:41] Well, it was a lot to take in at one time. [16:16:52] I'm sick at home too. head all clobbed up [16:16:52] It should be... "PapercutGroup", I guess. [16:17:08] yeah, figured [16:17:11] Ah! That's too bad. [16:18:31] ok, page-template now works great :) [16:18:52] (will probably do an #if: around it to hide the line if empty) [16:19:04] however .. still not getting the value in my table template [16:19:07] * dreamer pokes some more [16:25:39] F-it, I'll leave it without link [16:27:01] getting a bit messy already -_- [16:34:44] New review: Markus Kroetzsch; "I have not looked at the specific code, but I imagine that one could well integrate this information..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/35156 [17:43:20] New review: Nischayn22; "Its not a requested feature, I did it for fun. Not sure how to do it for all stores yet, for Store3 ..." [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/35156 [17:44:27] i have pages that include SIO. the pages want to include a value based on stored SIOs, but they're not available via query until after the page is saved. so the page has to be saved twice. is there a way around this? [17:44:58] nostriluu: save, then use the refresh tab [17:45:19] Saruman, yes, but that's not very nice, i can't really ask end users to do that [17:51:11] you have to admit it's a bit weird. would be nice to have a solution [19:05:18] New patchset: Jeroen De Dauw; "Cleanup of SMW_setup.php, attempt to fix bug 42349" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/35417 [22:20:18] New patchset: Toniher; "finish Es" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/35572 [22:54:13] New patchset: Toniher; "correction namespaces in Es" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/35576 [22:54:13] New patchset: Toniher; "Adding Ca Lang" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/35577