[01:53:55] New patchset: Mwjames; "Consolidation of SMW_custom.css/js to make it RL sane" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/26944 [05:51:03] New review: Toniher; "Help!" [mediawiki/extensions/SemanticForms] (master) C: 0; - https://gerrit.wikimedia.org/r/25735 [08:15:09] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/26940 [08:15:09] Change merged: Foxtrott; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/25735 [14:44:06] Hmm, is extension:wysiwyg still maintained at all? [14:48:06] I'm having trouble getting it to work on 1.17 , 1.18, 1.19 (I tried all 3) [14:48:07] :-/ [16:12:29] kim_bruning - as far as I know, none of SMW+ is currently being maintained. [16:32:46] Yaron, yikes :-/ [16:33:06] Yaron, what would it take to get it maintained (hypothetically) [16:34:15] or (different angle), why not maintained atm? [17:00:11] kim_bruning - the company that maintained it, Ontoprise, is now out of business. [17:00:47] So you'd have to pay them however much they needed to stay in business, I guess. [17:02:00] To be more precise, the non-MediaWiki part of Ontoprise regrouped as a separate business, Semafora - it's only the SMW+ side of it that no longer exists. [17:05:13] Oh, that sucks, sad to hear it. I don't quite have THAT much clout I don [17:05:32] have quite enough clout to resurrect a company ;-) [17:05:46] * kim_bruning scratches head [17:06:18] leaving the universe with no working wysiwyg for mediawiki [17:06:51] :-/ [17:24:08] kim_bruning: well, VisualEditor is coming before too long, hopefullly... [17:50:05] Hey - can someone point me to an explanation of how to execute smw queries in php ? [18:14:24] New patchset: Siebrand; "User preference 'minordefault' was removed from core" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/27196 [18:28:43] feob: I do not think that there is such an explanation. But have a look at the SMWQueryParser class. There you find methods like getResultFromQueryString. [18:41:00] Ftrott: I think this method doesnt exist any more!? I also had a look at SMWQueryProcessor and alike, but its hard to comprehend how to optimally execute a query. [18:42:28] feob: Sorry, the class is SMWQueryProcessor [18:43:02] And I think, it is fastest to just use some of the methods there [18:43:07] surely least error prone [18:44:55] Ftrott: okay, thank you. What exactly is the parameter $outputmode ? a String like 'table' or 'broadtable' ? [18:47:07] feob: No, a constant (SMW_OUTPUT_HTML, SMW_OUTPUT_WIKI or SMW_OUTPUT_FILE) [18:48:54] oh - does this method return something like formatted html? BEcause Im actually interested in the values to process them, not simply displaying results. [18:53:44] Then use SMWQueryProcessor::createQuery and ask the store directly (SMWStore::getQueryResult). You will get an SMWQueryResult [18:54:15] * JeroenDeDauw sees SMWQueryProcessor and hides [18:54:24] * JeroenDeDauw is scared of SMWQueryProcessor, it's evil! [18:54:44] Not as evil as EditPage luckily :D [18:54:51] :D [18:54:54] JeroenDeDauw: Maybe, but it is also very convenient [18:55:00] :P [18:56:23] Okay, I think I slowly know how it works ;) [18:58:07] omfg http://wiki.laptop.org/go/Special:Version fossils! [18:58:09] Cool. :) [18:58:09] Yaron: ^ [18:58:21] New review: Siebrand; "Depends on I5139d8ec." [mediawiki/extensions/SemanticForms] (master); V: 0 C: -2; - https://gerrit.wikimedia.org/r/27196 [18:59:10] We actually have an item on the roadmap to rewrite the QueryProcessor: http://semantic-mediawiki.org/wiki/Roadmap#Refactor_the_SMWQueryProcessor [18:59:16] JeroenDeDauw: yeah... I've seen older. :) [19:00:11] Yaron: don't be silly, there for sure is nothing older then 1.2, that's just madness [19:00:45] I know, it's hard to believe... [19:03:37] I have another question (sorry :) : In my extension, I set properties and later retrieve them with queries. Since I cant specify a type for these properties, they are assumed of type page. When I retrieve them, the returned objet-type is SMWDIWikiPage. Can I somehow cast that to string or should I use getDBkey() and use that as a String value ? [19:05:28] Im not sure what the safest way to do that is [19:09:13] feob - if your extension uses its own properties, it should also define those properties, as special properties. [19:09:48] ...then you can set the type at the same time. [19:10:13] Not that I remember how to do that. :( [19:11:43] Yaron: ;) Thank you, that is a very good suggestion, didnt think of it. Now I only need to figure out how to do it :) [19:16:50] "Since I cant specify a type for these properties" sure you can [19:17:02] And you should do that rather then treat pages as strings [19:17:24] feob: is your code on gerrit somewhere? [19:24:44] Jeroen: No, its all just localiy so far