[00:20:45] Yaco: what do you want to know? [00:21:47] hi jeroendedauw_ [00:22:15] i have been trying to implement SM in my wiki for several days, can't make the simplest test work [00:22:29] please go to http://p2pfoundation.net/User_talk:Yaco [00:22:46] i added the coordinates property to a "Test" page [00:23:03] but cannot make it appear in a map trough a query in SM [00:23:05] Yaco: you did not set teh type of the property [00:23:10] It needs to be geo coord [00:23:26] where do i define that? [00:23:30] See the source of http://semantic-mediawiki.org/wiki/Property:Has%20coordinates [00:23:35] At Property:$name [00:23:40] Using Has type [00:23:49] See the SMW user manual [00:24:52] :) [00:26:04] ok, i will need a bit more help before catching it [00:26:08] so, i am here [00:26:09] http://p2pfoundation.net/Property:Has_coordinates [00:26:25] shall i go to "browse properties"? [00:26:47] ahh, using "create with form", right? [00:30:54] yeap, working now [00:30:58] thanks jeroendedauw! [05:35:09] I am using input field with input type=checkboxes and values=A, B, C [05:36:13] And I want to query like so, [[PropertyX::A || B || C]] [05:36:23] What is the recommended way to query like this? [05:38:50] Selecting checkbox A returns A; Selecting A and B returns A, B; selecting A, B and C returns A, B, C etc [08:01:31] How can we use to remove whitespace [08:10:46] I have different templates in a form, and it is introducing linebreaks and thus whitespace [08:11:00] How do I handle it? [08:58:27] I have different templates in a form, and it is introducing linebreaks and thus whitespace [08:58:34] How do I handle it? [09:06:33] remove linbrakes in the templates [09:07:21] let the first line of your template start directly after (or ) and not the line below [09:35:59] Saruman: The line breaks are coming from the semantic form [09:36:45] One template ends, and then the second starts on a new line [09:37:43] yes, can't change that [09:37:54] or you'd have to merge the two templates [09:38:24] The second template is freetext [09:39:02] Should I rather put a field in the first template to act as free text? [09:39:49] sure, that'll work [09:40:06] but why is a linebrake between your tempated stuff and the freetext a problem? [09:40:35] Because the template doesn't always render [09:41:19] And so there is unnecessary whitespace at the beginning of the article [09:41:52] There is a #if parser in the template, so it renders only sometimes [09:42:07] And after this template comes freetext [09:42:08] if it doesn't render it shouldn't insert linebreaks of its own [09:42:31] a single linebreak between template and freetext shouln'd cause more than a single line of whitespace, if any [09:42:58] Yes, only a single line, but that looks ugly [09:44:50] The template is very simple [09:44:53] {{#if {{{1|}}} |render_me}} [09:45:41] And as you said "if it doesn't render it shouldn't insert linebreaks of its own", it doesn't insert linebreaks of its own. [09:45:56] It is the form that is causing problem [09:47:03] Saruman: Do you know of any whitespace tricks, I heard about using , how do we use that to handle whitespace? [09:47:18] Or using templates? [10:14:49] there are whitespace tricks, but not that I know of for your situation [10:15:39] and has nothing to do with showing whitespace or not, but only if the parser should interpret or not [17:57:18] New review: Jeroen De Dauw; "Yay!" [mediawiki/extensions/SemanticBundle] (master); V: 0 C: 2; - https://gerrit.wikimedia.org/r/36582 [17:57:37] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/36582 [20:46:38] jeroendedauw_: is Stephan Gambke in bugzilla/irc? [20:48:15] New review: Nikerabbit; "This is likely cause for bug https://bugzilla.wikimedia.org/42624" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/34974 [21:33:07] Nikerabbit: foxtrot [22:16:21] New patchset: Jeroen De Dauw; "fixed name of externals file" [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/37651 [22:16:22] New patchset: Jeroen De Dauw; "Remove .git and other hidden files" [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/37652 [22:16:57] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/37652 [22:16:57] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/37651 [23:27:57] Hi, I've just started experimenting a bit more thorough with semantic mediawiki and I have some ideas of how I want to use it with some public data. However I need some pointers. I'm currently accessing a db through a set of php-scripts (in a REST fashion) and keep a local copy of some of the data (MYSQL/SQLite or whatever) for keeping statistics over time. [23:28:51] I've read up on the capabilities of some extensions to access the mysql-db directly using the External Data extension [23:29:55] I have done some testing an so on, read up on trying to store the data using the #store_external_table key and then accessing it through an #ask query [23:32:05] but I have some trouble understanding how to actually make it work (doc says i have to create some new pages and types). [23:32:27] (http://www.mediawiki.org/wiki/Extension:External_Data) [23:32:36] do anyone of you know a good tutorial on this topic? [23:33:44] What i really want to do is use the data and plot, maybe using the Result formats extension [23:34:53] is it generally "better" to format and output actual data of interest into a CSV-file that I put on a page? [23:35:17] since the doc seems to talk about this here and there. thsnks for any help or ideas. [23:36:47] rather than access the mysql database directly (security issues) [23:44:52] well, I guess after some thought that I'll go about a server-client-API and format data of interest from the server into CSV, then using something like dygraphs. Night. [23:46:42] or some D3 bubbles, excellent. Getting all excited now...