Author: sh_holms
Description:
When using internal data one usually wants to suppress the mainlabel by setting it to '-', however that setting is not properly transmitted to the further results page.
Version: unspecified
Severity: normal
• bzimport | |
May 31 2010, 2:51 AM |
F6618: SMW-mainlabel.patch | |
Nov 21 2014, 11:02 PM |
Author: sh_holms
Description:
When using internal data one usually wants to suppress the mainlabel by setting it to '-', however that setting is not properly transmitted to the further results page.
Version: unspecified
Severity: normal
van.de.bugger wrote:
Request:
{{ #ask: [[:+]] [[Modification date::+]]
?# |
?Modification date#ISO= |
mainlabel =- |
format = ul |
limit = 10 |
template = {{PAGENAME}} |
}}
Template:
1="{{{1|}}}"; 2="{{{2|}}}"; 3="{{{3|}}}"; 4="{{{4|}}}"
Result on the page:
Note the arguments passed to the template: 1 is "flat" is page name (not a link), 2 is modification date.
If I click on "...Further results":
Note different number of arguments. There is an extra first argument: it is a link, and, what is more important, it is not expected by template.
Example: http://sandbox.semantic-mediawiki.org/wiki/Inline_query_with_template