Last modified: 2010-05-28 13:35:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25690, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23690 - table query parameter headers=plain not working
table query parameter headers=plain not working
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-28 09:21 UTC by Neill Mitchell
Modified: 2010-05-28 13:35 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Neill Mitchell 2010-05-28 09:21:15 UTC
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
Comment 1 Markus Krötzsch 2010-05-28 13:35:16 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links