[00:06:28] (PS1) Foxtrott: Add new input type datecheck [extensions/SemanticFormsInputs] - https://gerrit.wikimedia.org/r/113646 [00:07:42] (CR) Foxtrott: [C: 2 V: 2] Add new input type datecheck [extensions/SemanticFormsInputs] - https://gerrit.wikimedia.org/r/113646 (owner: Foxtrott) [00:14:22] (CR) Mwjames: "It could be that this been already addressed with [0]." [extensions/SemanticExtraSpecialProperties] - https://gerrit.wikimedia.org/r/113644 (owner: Foxtrott) [00:22:39] (CR) Mwjames: "I think I start to cough up now, why is the master of [0] and [1] that much different." [extensions/SemanticExtraSpecialProperties] - https://gerrit.wikimedia.org/r/113644 (owner: Foxtrott) [01:47:39] (PS1) Foxtrott: add missing JS file, fix some styling glitches [extensions/SemanticFormsInputs] - https://gerrit.wikimedia.org/r/113647 [02:38:48] (PS1) Foxtrott: another style fix [extensions/SemanticFormsInputs] - https://gerrit.wikimedia.org/r/113648 [02:39:28] (CR) Foxtrott: [C: 2 V: 2] another style fix [extensions/SemanticFormsInputs] - https://gerrit.wikimedia.org/r/113648 (owner: Foxtrott) [02:39:49] (CR) Foxtrott: [C: 2 V: 2] add missing JS file, fix some styling glitches [extensions/SemanticFormsInputs] - https://gerrit.wikimedia.org/r/113647 (owner: Foxtrott) [12:53:47] is there any documentation how to do queries from code? [12:54:38] I managed to do it fromt he commandline by including maintenance/commandLine.inc, but when doing it an extension the same code fails with [12:54:38] [1e20f8c1] 2014-02-16 12:53:00: Fatal exception of type UsageException [13:17:15] Yaron, do you know if there is documentation about doing queries from within extensions? [13:17:55] I think there's something... the API is quite a bit trickier than it needs to be. [13:18:28] [13:54:38] I managed to do it fromt he commandline by including maintenance/commandLine.inc, but when doing it an extension the same code fails with [13:18:28] [13:54:38] [1e20f8c1] 2014-02-16 12:53:00: Fatal exception of type UsageException [13:18:48] Personally, I recommend just calling either the MediaWiki API (the "smwask" option) or Special:Ask (using the "csv" format) with something like Curl, and just using those results. [13:20:45] isn't that slow? [13:21:28] I'm sure it's slower... I don't know if it's slow. [13:21:37] hmm, k. I'll try.. [13:29:13] I guess I'll parse the page source by hand for now [13:29:25] saves a lot of headache with caches aswell [14:05:23] sven^: I don't know of a howto, but you could have a look at SMWAsk::render (in parserhooks/SMW_Ask.php). That's the method responsible for rendering the #ask parser function. [14:10:35] FoxT: thanks, will do that. Maybe the error wasn't even coming from the query [14:18:13] oh. my. god. [14:18:15] ;) [14:22:14] well, if you query a category for its members using the internal api and the name you use is not a category name, there is a strange error and no log output.. [16:20:30] (CR) Foxtrott: "What is this patch supposed to do?" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/113666 (owner: Cicalese) [17:00:32] (CR) Yaron Koren: "Foxtrott - this is actually a really cool feature, that Cindy and I worked on together at the "NYC Enterprise MediaWiki Hackathon" on Thur" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/113666 (owner: Cicalese) [17:15:47] (CR) Foxtrott: "So basically separation of data from display. Neat." [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/113666 (owner: Cicalese) [21:01:48] JeroenDeDauw: running 'composer require mediawiki/semantic-maps "*"' installs Maps and SM, but only Maps appears in Special:Version. Any ideas? [21:30:18] FoxT: it will function okay, there just is a bug [21:30:24] that it wont show up there [21:30:55] Nikerabbit: Ok. Thanks! [21:31:43] FoxT: easy to fix even but not in the middle of the night [21:34:02] Nikerabbit: :) Good point, actually. Gotta go. [23:55:36] (CR) Yaron Koren: "If there's an ambiguous label, I think the code right now just picks the first value for that label when saving the page. Probably the for" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/113666 (owner: Cicalese)