logo       

[Bug 19086] Rendering of Type:Number: msg#03096

wikibugs-l

Subject: [Bug 19086] Rendering of Type:Number

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


Markus KrÃtzsch <markus@xxxxxxxxxxxxxxxxxxxxxx> changed:

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




--- Comment #1 from Markus KrÃtzsch <markus@xxxxxxxxxxxxxxxxxxxxxx> 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
Wikibugs-l@xxxxxxxxxxxxxxxxxxx
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise