[01:29:07] I am developing a parser function extension [01:29:25] and I want to know how to query semantics within php [01:30:21] like to access page title, we say parser->getTitle(); [01:31:09] is there documentation of how do we access semantic data on the page [01:33:05] orbeleyo: there's this: http://semantic-mediawiki.org/wiki/Writing_result_printers [01:34:49] yaron: wow, I never came across this page [01:35:12] Also I forgot where the mediawiki framework documentation is located [01:35:20] Can you help me please? [01:47:14] orbeleyo: I don't know what you mean by that, but you can do a search on mediawiki.org. [01:48:14] I meant I want to learn about mediawiki classes and objects [01:48:38] like where is the documentation that we use parser->getTitle(); to get the title? [02:12:18] yaron: How do I do the actual query [02:12:51] Like to find all the pages with [[Property::Value]] [02:26:53] orbeleyo: oh, I guess it's not covered in that page. [02:26:57] Let me find it... [02:33:34] orbeleyo: it's rather complex, but it basically involves creating an instance of the class SMWQueryResult, defined in SMW's /includes/storage/SMW_QueryResult.php. [02:38:06] Just to find pages with [[Property::Value]] ? Should I rather access database..., like what is the best way to do it? [02:38:14] yaron: ? [02:40:41] You should use SMWQueryResult - even for a simple query. [02:50:52] New patchset: Yaron Koren; "Fix for correct formatting for 'values from url' autocompletion" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36491 [02:52:00] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36491 [17:41:19] New patchset: Yaron Koren; "Fixed to work with Git" [mediawiki/extensions/SemanticBundle] (master) - https://gerrit.wikimedia.org/r/36582 [22:52:34] New patchset: Foxtrott; "Backward compatibility for AutoEdit API" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36660 [22:56:01] New review: Foxtrott; "Still like it." [mediawiki/extensions/SemanticResultFormats] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/30442 [22:56:02] Change merged: Foxtrott; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/30442 [23:05:26] Ftrott Heiya [23:05:40] kghbln: Hi [23:06:17] May I ask you to have a look at one page on smw.o? [23:06:27] New patchset: Foxtrott; "Backward compatibility for AutoEdit API" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36660 [23:06:52] kghbln: Sure you can ask. :P [23:07:07] Got you [23:07:10] :) [23:07:32] It is about a new format you provided with the 1.8 release of SRF [23:07:53] New patchset: Foxtrott; "Backward compatibility for AutoEdit API" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/36660 [23:08:03] Which one [23:08:04] It the slideshow printer at http://semantic-mediawiki.org/wiki/Help:Slideshow_format [23:08:05] ? [23:08:24] Does not seem to work :) [23:08:28] Somehow the example provided does not show up [23:08:34] :( [23:08:55] I realised just yesterday [23:09:07] I should have looked at it earlier. [23:09:53] I guess you will find out what is happening much faster than me. [23:14:07] kghbln: Something wrong with the nav slider. I'll turned it off in the example for now. [23:14:23] s/I'll/I/ [23:15:07] kghbln: There is by the way also something going on with the headertabs. I get an exception [23:15:11] Ftrott So this is some kind of bug. Still it would make sense to make the page effective for it to show up on queries [23:16:34] Hmm... HeaderTabs seems to work ok for me. Do you get the exeption whilst debugging the slidehow page? [23:17:57] kghbln: Yes. But I do not think it is related. If I turn of the nav slider of the slide show , I do not get the slide show error I anymore, but still get the header tabs error [23:18:48] Ftrott Which page gives you the HT error? [23:19:14] Another thing. Is slideshow enabled by default or not? [23:19:36] I think it is enabled [23:19:45] To me it seems that it is enabled by default. The docu however tells different. [23:19:59] I will have a look at the SRF settings file [23:20:04] I guess that is from when it was still in alpha state [23:20:09] Ok. [23:21:16] And the HT error appears on any SMW.org page. But I think it is silenced by the resource loader. I get "mw.loader::execute> Exception thrown by ext.headertabs: rules[r].selectorText is undefined" [23:22:36] I will file a bug for this. I am not sure if yaron is the one to address in this case since, I think it was Oliver did some substancial work with it. [23:23:08] At least it does not an alarm on viewing pages. [23:25:21] Ftrott slideshow is indeed enabled by default. I change the docu. [23:27:51] kghbln: Ok. And once SMW.org actually runs a stable version the slideshow bug should be solved. They run something that is more than a month old now. That's ancient. :D [23:28:11] Taht bug was solved on 16 Oct [23:28:16] *That [23:28:32] Ftrott Great, so everything will be fluffy after the upgrade. [23:28:43] Lets hope so. :) [23:29:09] I will have to get JeroenDeDauw to update the page. It's in the making. [23:29:35] Thank you for helping on this one and having a look. [23:30:03] Ok, no problem. Gotta leave now, be is calling. Cheers [23:30:10] *bed