[02:06:35] New review: Yaron Koren; "Great! It works for me on MW 1.19." [mediawiki/extensions/SemanticForms] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/36660 [02:06:35] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36660 [03:40:07] New patchset: Nischayn22; "Autocenter on Polygons and other shapes." [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/36700 [06:48:07] New patchset: Nischayn22; "Missing Improvements to Shapes" [mediawiki/extensions/SemanticMaps] (master) - https://gerrit.wikimedia.org/r/36710 [06:48:07] New patchset: Nischayn22; "Adding metadata to geoShapes." [mediawiki/extensions/SemanticMaps] (master) - https://gerrit.wikimedia.org/r/34078 [06:50:51] New patchset: Nischayn22; "Fix missing braces" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/36711 [08:22:18] Hey guys, please give me an example of a simple smw query done in php [08:23:53] I am developing an extension, and understanding SMWQuery Class Reference [08:24:25] but if anyone can show me how to query, for example, [[Property::value]] that would be great [08:26:51] sturdscu: that sounds like a question for the devel mailing list [08:27:03] devs aren't in this channel very often [08:27:44] ok do you atleast know if looking at SMWQuery Class Reference is the right way to go [08:27:52] sorry I don't [08:28:00] I don't even know how to spell PHP [08:28:15] ok thanks anyways :) [08:28:22] :-) [13:58:40] New patchset: Kghbln; "Amended system message" [mediawiki/extensions/SemanticMaps] (master) - https://gerrit.wikimedia.org/r/36757 [15:34:59] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/32880 [15:39:28] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMaps] (master) - https://gerrit.wikimedia.org/r/36757 [15:47:01] New patchset: Hashar; "composer.json" [mediawiki/extensions/Validator] (master) - https://gerrit.wikimedia.org/r/36771 [15:57:14] New review: Hashar; "Untested, I just know the file is validated by composer :-]" [mediawiki/extensions/Validator] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/36771 [16:02:37] New review: Jeroen De Dauw; "I see I'm not the only one playing around with composer :)" [mediawiki/extensions/Validator] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/36771 [16:02:37] Change merged: Jeroen De Dauw; [mediawiki/extensions/Validator] (master) - https://gerrit.wikimedia.org/r/36771 [19:40:26] kghbln|away: Saruman: thnx for writing the rel announcements on smw wiki :) [19:40:41] np [19:41:00] thanks for creating it :-) [20:28:39] New patchset: Foxtrott; "bugfixes (random numbers not working; checkboxes not uncheckable)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36814 [20:29:45] New patchset: Foxtrott; "bugfixes (random numbers not working; checkboxes not uncheckable)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36814 [21:03:05] New patchset: Foxtrott; "(bug 42672) null was sometimes passed to Article::_construct" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36824 [21:05:30] New patchset: Foxtrott; "(bug 42672) null was sometimes passed to Article::_construct" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36824 [21:06:42] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36814 [21:19:21] any dev here, who can tell me how to do smw queries in extension? [21:26:02] abruary: try yaron1 or jeroendedauw_ [21:26:19] abruary: It's probably most straightforward to use one of the methods in SMWQueryProcessor [21:26:46] ftrott:can you give me an example please? [21:26:47] .. or Ftrott, I was going to say :-D [21:27:38] ;-) [21:27:40] thx for helping saruman [21:27:46] np [21:28:05] Ftrott: I have been trying but I need an example to understand better [21:32:17] abruary: Not so easy to find an easy example in existing code [21:32:57] Can you make one for me please? [21:33:03] you are a pro, you can do it [21:33:31] What do you want to do? [21:39:19] Ftrott: although I want to get all the unique values for a property [21:39:49] but showing me how to do a simple query like {{#ask: [[Property::Value]] }} would help [21:46:06] abruary: Maybe you could have a look at the SRFSlideShowApi::execute method in the SemanticResultFormats extension [21:47:59] It queries for one specific page (given in title $title) and retrieves the HTML for that query [21:52:34] Where is SRFSlideShowApi::execute located? [21:53:27] .../extensions/SemanticResultFormats/formats/slideshow/SRF_SlideShowApi.php [22:08:11] New patchset: Jeroen De Dauw; "(bug 42602) JavaScript is broken on Special:Ask" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36895 [22:08:11] New patchset: Jeroen De Dauw; "Bump version to 1.8" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36896 [22:08:11] New patchset: Jeroen De Dauw; "Localisation updates from http://translatewiki.net." [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36897 [22:08:12] New patchset: Jeroen De Dauw; "Localisation updates from http://translatewiki.net." [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36898 [22:08:12] New patchset: Jeroen De Dauw; "Localisation updates from http://translatewiki.net." [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36899 [22:08:20] abruary: Btw, have a look at SFUtils::getAllValuesForProperty in the SemanticForms extension (.../extensions/SemanticForms/includes/SF_Utils.php). It seems to do exactly what you want to do [22:08:28] Change abandoned: Jeroen De Dauw; "(no reason)" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36895 [22:08:33] Change abandoned: Jeroen De Dauw; "(no reason)" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36897 [22:08:38] Change abandoned: Jeroen De Dauw; "(no reason)" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36898 [22:08:43] Change abandoned: Jeroen De Dauw; "(no reason)" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36899 [22:08:48] Change abandoned: Jeroen De Dauw; "(no reason)" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/36896 [22:11:05] Ftrott: wow thanks [22:11:43] can i just call it like this? SFUtils::getAllValuesForProperty( $property_name ) [22:12:34] I think so. [22:12:55] or I would rather copy the code [22:13:02] if there are no dependencies? [22:13:55] Or that. But then you might also want to clean it up a bit. Quite a bit of backward compatibility stuff in there. [22:18:13] sure [22:18:29] Sorry, gotta go, it's late here. Have fun. [22:28:16] New review: Yaron Koren; "Yes, hopefully this fixes the underlying problem in that bug report." [mediawiki/extensions/SemanticForms] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/36824 [22:28:16] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36824 [23:21:14] JeroenDeDauw No problem. It was a pleasure to do the honours.