https://bugzilla.wikimedia.org/show_bug.cgi?id=23690

           Summary: table query parameter headers=plain not working
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to