[06:36:16] where is api.php on for smw.referata.com sites? [06:42:35] cariaso: prolly good question for yaron [06:42:54] no doubt [06:43:12] I'd accept pointers to api.php for a few other sites. [06:43:26] I just need a few for testing [06:43:38] wikibeverage seemed like a cool test, but couldn't find it [06:44:17] for the wowwiki I could find it, but doesn't seem to use any properties, making my test useless [06:44:40] http://www.infra-repository.org/oiar/api.php [06:45:17] plenty of properties there [18:41:34] Hello all, I'm working on updating some of the parameters to the eventcalendar results format, in order to expose a bit more of the underlying calendar configuration API. I've got all the modified ECMAscript working, and I'm adding the extra parameter definitions in getParamDefintions, but since some of the values are specially formatted strings, I was going to try to learn a bit about the validators. [18:42:30] Before I get there, I'm trying to figure out what exactly getParamDefinitions is supposed to return (I'm not much of a PHP hacker mind you, so I might be missing something trivial) [18:43:41] getParamDefinitions replaces the deprecated getParameters that returned an "array of IParamDefinition|array" [18:45:06] the implementation of getParamDefinitions in EventCalendar (http://semantic-mediawiki.org/doc/EventCalendar_8php_source.html#l00090) returns an array of arrays [18:47:13] and I'm having a hard time figuring out (a) where those arrays that essentially define a parameter object actually get turned into something implementing an IParamDefinition, or (b) [hopefully knowing (a) would answer this] what name/value pairs can be used in the sub-arrays that getParameterDefinitions returns [18:47:41] I'm happy to RW(hatever)FM someone can point me to; I just haven't found the right one yet [18:48:14] hey tayloj [18:48:19] good to hear you're in there [18:48:24] Saruman: howdy [18:48:36] Docs are in somewhat short supply, unfortunately [18:49:02] Saruman: well, I don't mind browsing code, either; but it's a bit of a twisty maze of passages ... :) [18:49:29] of the three writers of SRF, two are on the IRC [18:49:44] Murphy says your questions should be directed to the third :-) [18:49:45] I just haven't found any example of a place where one of those parameter definition arrays gets turned into a definition object [18:50:19] mebby yaron or JeroenDeDauw can point you to some example [18:50:29] yaron, you alive? [18:50:32] Mebby. [18:50:40] oh that's sad [18:50:43] I can't help, sorry. [18:50:50] also sad [18:51:01] yeah, I remember getting pointed to the mailing list yesterday for event calendar specifically, but I figured this one was a bit more general, since it seems to apply to all the result formats [18:51:11] tayloj: try mailing james hk [18:57:39] Saruman: righty ho then. I'll send something along to the mailing list (as I said, this has gotten a bit more general than the eventcalendar). [18:58:34] yeah, actually, the wiki (http://semantic-mediawiki.org/wiki/Writing_result_printers#getParameters) even says "should return an array of parameter objects" but then the code sample returns an array of arrays [18:59:52] (the docstring does say "@return array of IParamDefinition|array", though) [19:39:31] New review: Jeroen De Dauw; "(1 comment)" [mediawiki/extensions/SemanticMediaWiki] (master) C: 2; - https://gerrit.wikimedia.org/r/51273 [19:39:55] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/51273 [19:54:36] New patchset: Yaron Koren; "Turned property dropdowns into combo boxes, added fixes for property values" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/51392 [19:55:46] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/51392