From: <sfl...@sp...> - 2012-11-22 02:25:12
|
I have a template (template A) that sets a semantic property (property D) to the value of one of its parameters (value E) within an <includeonly> block. That tempate A, in turn, is transcluded twice in template B (once in a <noinclude> block and again in an <includeonly> block) with the same parameters [this seemingly nonsensical usage is for illustrative purposes as a simplified version of the actual implementation]. Finally, there is a page (page C) into which template B is transcluded. Since the default page selection includes every namespace, I'd expect both template B and page C to be in the result set when using the query: {{#ask:[[D::+]]}}. However, the query only returns page C. Furthermore, the Property:D page of my wiki only returns page C whereas the factbox when viewing template B reflects recognition of property D with value E. How can I construct a query to return both templates and regular pages? This seems like an obvious question, but I have yet to find an answer after searching around a bit. Thanks - Brent MediaWiki 1.19.2 PHP 5.4.7 (apache2handler) MySQL 5.5.27 Semantic MediaWiki (Version 1.7.1) Semantic Result Formats (Version 1.7.1) |