Author: info
Description:
SMWQueryProcessor.php's processFunctionParams() checks to see if there's a request to display an empty title (e.g. |? ), and if so it shows the first column of page titles that match the query. You can also use this to control the label for the first column (e.g. | ?=title of first column).
But
- This is undocumented.
- The mainlabel parameter can turn off the display of the first column using |mainlabel=-, but ?- or ?=- don't work.
- The documented way to label the first column is with the mainlabel parameter
The help for mainlabel, http://semantic-mediawiki.org/wiki/Help:Inline_queries#Configuring_labels.2Ftable_headers , has a comment ''This might change in future versions to provide an additional simpler method with the |-syntax.'' Is the current behavior this "additional simpler method"? Should I document it as well/in preference to the mainlabel parameter?
Version: unspecified
Severity: minor
URL: http://www.semanticweb.org/wiki/SMW_unit_test:Test_inline_query#Setting_title_of_first_column