[15:07:20] Hi. How to implement query on template page? Get all pages, where a date propery is older than date property on current page? {{#ask:[[Category:Issue]] [[Closing date::<{{{?Some date property}}}]] |?# }} [15:11:42] Or is this a case of 'http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Things_that_are_not_possible' [15:19:49] Roland: Looks alright. You just have to call that template with the named parameter you used. Something like {{SomeTemplate|?Some date property=2014-09-07}} [20:28:26] Hi all. I'm looking into a smw installation to handle some structured data, using Semantic Forms as well, and maybe later getting people to use the semantic features more :) Is it possible to also structure navigation through any extensions - eg for a book to have child pages link to prev/next - or is that something I should write a custom extension for? [20:36:57] (PS1) Yaron Koren: Fix so that empty fields again won't show up in generated wikitext [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/158995 [20:37:05] (CR) jenkins-bot: [V: -1] Fix so that empty fields again won't show up in generated wikitext [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/158995 (owner: Yaron Koren) [20:37:38] raftab: what do you mean by "child pages" for a book? [20:38:09] (CR) Yaron Koren: [C: 2 V: 2] Fix so that empty fields again won't show up in generated wikitext [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/158995 (owner: Yaron Koren) [20:42:21] Yaron: using the example of pages in a book, if pages had a type::number pagenumber, is there a way to build automatic navigation from say a parent (a book) to the organised pages, and pages linking to next/previous? [20:43:26] Well, the first of those is quite easy - something like {{#ask:[[Has book::{{PAGENAME}}]]}} , assuming that each page links back to its book. [20:44:19] which would make sense, and be possible using the forms [20:45:26] The second you might be able to do with something like "{{#ask:[[pagenumber::{{#expr:{{{pagenumber|}}} - 1}}]]}}", assuming the pages are in sequential order. [20:45:49] I'm assuming that there's a "pagenumber" property as well as a "pagenumber" template field. [20:46:12] ...and "+ 1" for the next page. [20:47:50] Heh, yes, that makes sense... and can be handled using templates... nice, thanks :)