[03:33:01] Hello. I am helping a wiki site do a test install of semantic Version 1.7.1. We have made a private copy of the live wiki, which has been updated to MediaWiki 1.20.0. PHP is 5.4.8 (fpm-fcgi) & mySql is 5.2.12-MariaDB-mariadb115. The problem we are having is that properties and factboxes do not work on any of the custom namespaces we are using. We have added these namespaces to the [03:33:01] $smwgNamespacesWithSemanticLinks array in LocalSettings.php . Can anyone point me in the right direction of what to test or how to further diagnose this problem? thanks [04:05:48] Thorius91: is the addition happening after the inclusion of SMW and the call to enableSemantics()? [04:06:50] ...and if so, can you paste here one of the lines from LocalSettings.php in which you add to that variable, to make sure that you're doing it the right way? [04:24:49] ok [04:26:16] what part would you like to see? [04:30:04] http://pastebin.com/NB1HtF7H [04:59:04] should I add using the + array() syntax instead??? [05:43:43] ah we got it working, thanks [05:44:05] apparently no one bothered to check for NS indices collision [15:27:46] yaron I there I got it. :9 [15:27:55] :) [15:28:13] Now I have to do some reading [15:42:56] kghbln: awesome! [17:24:25] yaron I am currently a bit stuck on how to add a multiple value field within a multi instance template [17:24:27] I the form I am doing {{{field|4|list|size=70|values from category=Person}}} and in the mulitple instance template |Has responsible person={{#arraymap:{{{4|}}}|,|x}} [17:24:28] This is the best result I got so far. but the values are not treated as multiple [17:25:52] |Has responsible person={{#arraymap:{{{4|}}}|,|x|[[Has responsible person:x]]}} or |Has responsible person={{#arraymap:{{{4|}}}|,|x|[[Has responsible person:x]]|,}} did not work out either [17:26:47] Would this be something for the #arraymaptemplate [17:35:58] kghbln: do you mean that the values all show up as one big value for the property? [17:36:20] yaron yes :( [17:37:02] Okay - why do you have "|Has responsible person=" at the beginning there - is this all part of some even bigger call? [17:37:39] Yes, this is one property within a #set_intenal call [17:37:45] Ah! [17:37:52] Yeah, you shouldn't do that. :) [17:37:53] *fear* [17:38:08] No need to fear - the solution is actually simpler. [17:38:14] I though so, because it does not maek sense to me [17:38:21] True? [17:38:59] You just need to do "{{#set_internal:...all the other properties...|Has responsible person#list={{{4|}}}|...}}". [17:39:00] I am trying to do some magic and you say it is simple :) [17:39:23] The #list declaration only works if the delimiter is a comma, but I think that's the case here. [17:39:36] I hope? [17:39:42] That's true. Hold on a sec. I will have a try. [17:43:37] yaron This worked, however there is also collateral damage O_o All the properties preceding property #4 are not being set, just the ones #5 .. [17:47:18] no, it's the other way around [17:48:13] So I guess that #list should be the last property [17:52:43] yaron You do not want to know what I did. To cut a long story short: It's up and running [17:53:00] Sometimes I have one of these moments :( [17:54:40] I had also a look if the #list trick as in |Has responsible person#list={{{4|}}} is documented somethere. I was not able to find it. Should I add this? [19:10:18] kghbln|away: sorry, I just saw all this now. [19:11:38] The #list is described in the SIO documentation - I just checked it again now. [19:12:18] I didn't know about that bug, though - I hope the fix wasn't too painful... [19:12:29] Or workaround, I should say. [19:35:20] yaron No this was not a bug this was my supidity [19:35:55] A its in the SIO docu. It is getting more and more embarrasing for me here. [19:38:30] Anyway thank you again for your help [19:52:11] No problem. Hey, it's been a long day... [21:48:49] I generate checkboxes using "values from category", but I would like them in a neat column rather than row-wrapping. I remember being told how to do this awhile ago, but I lost the chat history. Thanks. [21:52:18] voldial: Styling them using CSS should work [21:54:11] Cool, I wil give that a shot, we found http://smw.referata.com/wiki/Display_form_checkboxes_in_an_orderly_table but I remember Y telling me about some built in form tag that does the same thing. [22:01:29] voldial: I don't remember that... [22:07:33] I locked my chat history on my laptop into a damaged LUKS header so... until 4096bit Quantum Computers are avail.... I am happy with CSS :) I think it was a form tag, but looking through them I dont see it. And since you dont remember maybe I am just remembering wong. Thanks tho! [22:09:02] it was something that wasnt immediately obvious that could be applied to line up checkboxes... [22:09:20] (or so my not perfect memory thinks) [22:30:53] Well, I'm curious as to what you're remembering, but I'm pretty sure you have to use CSS, in one way or another...