1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Wikibase: Show {{#property}} geo-coordinates in degrees, not raw numbers

This commit is contained in:
gnosygnu
2016-11-09 16:10:14 -05:00
parent 653c36895f
commit bc10e474c2
8 changed files with 39 additions and 34 deletions

View File

@@ -51,7 +51,7 @@ public class Wdata_pf_property__basic__tst {
@Test public void Geodata() {
fxt.Init_links_add("enwiki", "Test_page", "q1");
fxt.Init__docs__add(fxt.doc_("q1", fxt.Make_claim_geo(1, "6.789", "1.2345")));
fxt.Test_parse("{{#property:p1}}", "1.2345, 6.789");
fxt.Test_parse("{{#property:p1}}", "1° 14' 4.2" E, 6° 47' 20.4" N");
}
@Test public void Quantity__plus_minus__y() {
fxt.Init_links_add("enwiki", "Test_page", "q1");