Page MenuHomePhabricator

table query parameter headers=plain not working
Closed, DeclinedPublic

Description

Author: mitchell_neill

Description:
Hi.

I'm running SMW 1.4.3 with MW 1.15.2. I've got the following query:

{{ #ask:
[[Category:People]]

?Name
?Company Name=Company
?Position
?Telephone
?Mobile
?Email
format=table
headers=plain
mainlabel=-
offset=0
limit=250

}}

I've got headers=plain because I want to show labels and headers, but in
plain text not as links as per the manual:
"To remove the header of a table completely, the parameter headers can be used. Three values are possible:

  • show: display labels (default)
  • plain: show labels and headers, but a plain text without links (available since SMW 1.4.3)
  • hide: hide all labels and table headers"

This seems to indicate that headers=plain should do what I need. However, the table header labels are still rendered as links instead of plain text.

headers=hide works fine, so perhaps this is just a bug with headers=plain.

Just to clarify, I do not want to turn all links off for the entire table (like link=none), just for the header labels.

Thanks


Version: unspecified
Severity: major

Details

Reference
bz23690

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:00 PM
bzimport set Reference to bz23690.

I cannot reproduce this problem. Probably it was fixed in earlier versions. See the following URL for a demonstration: http://sandbox.semantic-mediawiki.org/wiki/Bug_23690