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


Markus Krötzsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Markus Krötzsch <[email protected]>  2009-07-31 
13:27:04 UTC ---
A new feature is provided to address this in the next release (currently
available in SVN). By specifying "-" or "" (empty string) as an output format
in queries, outputs are returned in plain, unformatted form. Example query:

 {{#ask: [[Category:Country]]
 | ?area#km²
 | ?population#
 | ?capital#-
 }}

will return a table of four columns, all of which have an explicit output
format (the content after #). The first column are simply the countries, the
second is their area converted to "km²" as usual. The third one is their
population as a plain string (caveat: when numbers get large, scientific
notation is used; fixes for preventing this are welcome). The fourth column is
their capital, again as a plain (unlinked) string. Empty format strings and "-"
mean the same. Spaces are ignored.

For switching off all links (even in the first column), one can set the
parameter "link=none" or replace the first standard column with a new version
by adding the parameter "mainlabel=-" (hide first column) and the new printout
"?#" (display main column, with empty formatting string).


-- 
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