[03:20:04] New patchset: Nischayn22; "Implementation of Property count" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16271 [03:33:48] New patchset: Nischayn22; "Implementation of Property count" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16111 [03:37:52] Change abandoned: Nischayn22; "duplicate" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16271 [06:10:39] hi there, did someone come across a bug that I explained in http://mapping.referata.com/wiki/Talk:Semantic_Maps#Incorrect_SIO_display_292 . I would be grateful for any support. [09:06:58] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16008 [10:18:22] New patchset: Nischayn22; "Remvoing special Sortkeys for predefined props" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16106 [12:14:57] Change merged: Markus Kroetzsch; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16106 [12:50:57] New patchset: Demon; "Adding .gitreview" [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/16289 [12:51:10] Change merged: Reedy; [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/16289 [12:52:19] New patchset: Reedy; "Add .gitignore" [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/16293 [12:55:15] Change merged: Reedy; [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/16293 [14:23:53] hei, anybody there? Is it possible to set and later read the value of a property in the same page? e.g. [[Property::Value]] and later {{#ask: [[Category:{{#show the Property value..}}]] }} [14:27:52] zet_013, the query will return the last saved value, if any. if you have the value anyway, why not just display it ? [14:27:52] zet_013: it is, BUT that method suffers from latency [14:28:22] hi [14:28:29] the "Property" has different values on different pages [14:28:50] but I want to see the value of the propery on the current page - it can be the value of the last saved property [14:28:56] zet_013: better use extension Variables, set the variable, then use the variable to set both property value and all queries [14:29:12] "Variables" - let's see [14:29:46] http://www.mediawiki.org/wiki/Extension:Variables [14:30:44] {{#vardefine:mystuff|Value}} [[Property:{{#var:mystuff}}]] [[Category:{{#var:mystuff}}]] [14:31:44] or rather {{#vardefine:mystuff|Value}} [[Myproperty::{{#var:mystuff}}]] [[Category:{{#var:mystuff}}]] [14:32:16] zet_013 - there's no reason for that "Category" in the query. (Saruman - I think you misinterpreted the inclusion of "Category" as a real thing, instead of a typo.) [14:32:20] but it seems a bit odd that you're using the same value for both a property value and a category [14:32:51] Category was an example [14:33:03] oh I see [14:33:18] Yaron, zet_013: misread the example in the question [14:33:21] why I try to do is to use templates to list all the pages that belong to the same page [14:33:23] not enough coffee just yet [14:33:35] something like listing all the books of an author under the author page [14:33:42] Ah, definitely. [14:33:49] but all from a template [14:34:28] Oh.... [14:34:51] and I don't want to be dependant on the actual page name (I'm implementing namespaces and they're odd) [14:34:56] Well, this has gotten too complex for me. :) [14:35:00] :) [14:35:55] I guess the "Category" was a real thing after all, though I'm sure there's a better way to do ti. [14:35:58] (do it) [14:37:37] zet_013 - wouldn't the storage of the property only be in "book" pages, and the querying of it only be in "author" pages? [14:38:02] uhm, let's take an example [14:38:05] for instance here http://discoursedb.org/w/index.php?title=Template:Editorial_board&action=edit [14:38:24] the template lists all the books by that author by using the {{PAGENAME}} a a query [14:38:43] I want to use the value of another property in the page using the tempalte, like PropertyAuthor [14:38:51] to build that inline query [14:39:39] Isn't that other value just a parameter passed in to the template? [14:39:41] because {{PAGENAME}} can be duplicate under serveral namespaces and using {{FULLPAGENAME}} instead makes things ugly and unreliable when editing the individual items (like a book in this case) [14:40:16] yes, it is [14:40:24] but how do i use it's value in a query? [14:40:49] {{#ask:[[property-name::{{{parameter-name|}}}]]}} [14:41:04] uhm, let's give it a try [14:42:43] works! [14:43:04] easy enough, just the explaining was the harder part :) [14:43:59] thanks a bunch! [14:44:00] to both [14:51:15] Cool, I'm glad it worked. [15:31:38] hi. trying to employ smw as a medieval Latin dictionary framework I faced some minor problems that I managed to deal with (eg. displaying dates before 1000 AD). However there are some features of SMW that I still don't master (or simply - I don't understand).One of them is SIO map display as I demonstrated as http://mapping.referata.com/wiki/Talk:Semantic_Maps#Incorrect_SIO_display_292 . Could anyone, please, confirm the bug. [15:32:12] .... or maybe show me where I have done a mistake? Any help appreciated! [16:25:51] New patchset: Yaron Koren; "Took out removal of forbidden characters from form name - code no longer appears to be necessary" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/16422 [16:27:11] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/16422 [16:28:51] Nova - it looks like the issue (or at least one issue) is that you should have defined this property as being of type Geographic coordinates, instead of Text: http://scratchpad.referata.com/wiki/Property:Cit_coordinates [16:29:00] Oh, Nova's not here. [16:47:41] Yaron: thanks for your answer! well, this is precisely what I was trying to do! Each attempt, however, to save a wiki page results in a serious php error, as I explained in my message: Fatal error: Call to undefined method SMGeoCoordsValue::getDBkeys() in /home/yaron57/public_html/w/extensions/SemanticInternalObjects/SemanticInternalObjects_body.php on line 173 [17:03:39] * JeroenDeDauw hides [17:04:36] Yaron: that method got deprecated in SMW 1.6 and is now probably gone [17:05:03] Oh, hi. [17:05:25] Nova - what version of SIO are you using? [17:05:47] Oh, never mind, this is on Referata. [17:06:06] New patchset: Jeroen De Dauw; "fix doc" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16424 [17:06:47] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/16424 [17:06:52] Oh, now I get it - I didn't read the bottom of the bug report. [17:10:04] JeroenDeDauw - do you know what should be used instead of getDBkeys()? [17:11:05] getWikiValue() or something? [17:12:30] ...or do I need to first get the DataItem? [17:13:25] Oh, I see - I can use the SMWCompatibilityHelpers class. [17:13:33] ...unless that's deprecated as well. :) [17:14:59] Nova - I don't know where you saw that error, so I can't say for sure, but I think I just fixed the problem in the code - could you try it out again? [17:16:37] Yaron: do not use [17:16:44] Yaron: if you find no other way, write Markus [17:16:53] To get him to finish up the stuff [17:16:58] Yaron: yes, it's deprecated [17:17:05] It's documented to be removed in 1.7 [17:17:06] :D [17:17:14] Yaron: indeed, I've been testin in on the Referata after having done this on my own wiki (MW 1.19.1, Semantic Bundle 20120327). Neither maps nor jqplot displayed correctly (when distribution=yes). I tried to reinstall SMW and SRF from Git, however, it was now afflicted by other error (http://scriptores.pl/test/index.php/Sp%C3%A9cial:Ask) [17:17:17] What's wrong with SMWCompatibilityHelpers? Why not keep it around for a while? [17:17:21] Yaron: probably need to get the DI yes [17:17:39] Yaron: aaaaaaaaar, it's going to die soonish, so don't use it [17:17:50] Nova - well, could you try it again on Referata? [17:17:50] Yaron: of course, I will try it. [17:18:14] JeroenDeDauw - yes, but why? [17:18:39] Yaron: because it's a compatibility hack? Don't be lazy and update your codes! :) [17:19:01] Well, thanks for this delightful discussion. [17:19:42] Yaron: yw! [17:19:44] * JeroenDeDauw hides [17:20:08] Yaron: the thing will probably stay around for another while not not break code needlessly, but new code should definitly not use it [17:20:30] Unless you don't care about it breaking in the next release of SMW [17:20:31] JeroenDeDauw - yes, I believe you've stated that. [17:21:18] Yaron: now it works great: http://scratchpad.referata.com/wiki/Depost! Thank you very much for your great work! [17:21:42] Cool! That's great to hear. I guess it'll keep working well for about another month. :) [17:23:59] Yaron: I hope so ;) ! Is it possible for me to patch my local installation or should I rather wait for a new realease of SMW? [17:24:26] Nova - no, you should wait for a new release of SIO. Do you have Git? [17:25:06] Yaron: you mean 'installed'? yes. [17:25:41] Okay, cool - I'm going to do a quick check-in of that (temporary) fix, and then you should just be able to do a "git pull" of the SIO code. [17:29:14] New patchset: Yaron Koren; "Added support for Semantic Maps 2.0" [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/16427 [17:29:52] Change merged: Yaron Koren; [mediawiki/extensions/SemanticInternalObjects] (master) - https://gerrit.wikimedia.org/r/16427 [17:30:06] Nova - okay, if you get the code now from Git, it should work. [17:31:23] Yaron: Thank you very much! It will really help me a lot! Once more: thank you for your great work! Hope I will be able to report on my and my colleagues' project's progress soon on SMW page. [17:31:51] Great! Your project definitely sounds interesting. [17:36:28] * JeroenDeDauw throws a cookie at Yaron [17:37:33] Yaron: it has nothing to do with SM really [17:37:54] Oh, okay. [17:38:19] I guess I should have put "SMW 1.7" in there. [17:40:19] Yaron: it is still a prototype, however, it looks really promissing thanks to SMW developers' work. It will be presented this year firstly in DE and ES during some medievalists' symposia, so I hope it will gain some publicity for SMW project . Thank you once more for your kind help and have a great day! [17:40:48] Nova - cool. DE and ES are Germany and Spain? [17:42:00] Yaron: yes [17:42:15] Nice. [21:05:57] hello [21:06:01] Anyone awake>? [21:06:41] I altered a form to include a field (named "Definition") , then (re)imported all my data to also include the Definition field [22:01:25] Yaron ping? [22:01:34] Hi. [22:02:10] Hi! do you speak German? [22:02:55] Gotta go, have a nice day. [22:03:22] [22:37:58] moin [22:38:31] kann mir einer bei diesem Problem helfen http://wiki.piratenpartei.de/ErzEngel/Dicker_Engel/Kalender [23:50:54] Hi folks. What are you using for a WYSIWYG editor that works on the free text in a semantic form? I'd like to leave MW 1.16, and I thought I'd use smw+, but the storefront that was working last week seems to be consistently gone now