Cannabis Ruderalis

Content deleted Content added
→‎Formatting problems: proceed with caution
Line 252: Line 252:


:Before expending such energy, you would be wise to determine - through a centralised discussion, with notices in relevant fora - whether there is community consensus to make this change. Your "many" is actually only a handful of people, compared with the thousands who use the template with no concern for this issue. I'm sur enone of us want to see a repeat of the debacle over date formatting. [[User:Pigsonthewing|Andy Mabbett]] (User:Pigsonthewing); [[User talk:Pigsonthewing|Andy's talk]]; [[Special:Contributions/Pigsonthewing|Andy's edits]] 20:28, 30 December 2008 (UTC)
:Before expending such energy, you would be wise to determine - through a centralised discussion, with notices in relevant fora - whether there is community consensus to make this change. Your "many" is actually only a handful of people, compared with the thousands who use the template with no concern for this issue. I'm sur enone of us want to see a repeat of the debacle over date formatting. [[User:Pigsonthewing|Andy Mabbett]] (User:Pigsonthewing); [[User talk:Pigsonthewing|Andy's talk]]; [[Special:Contributions/Pigsonthewing|Andy's edits]] 20:28, 30 December 2008 (UTC)

::I note that [[Google Earth]] displays the cursor location as ''lat 25.166763° lon -91.136274° elev 0 ft''. I had never noticed the lack of NSEW and don't really care whether it appears or not. —[[user:EncMstr|EncMstr]] ([[user talk:EncMstr|talk]]) 21:19, 30 December 2008 (UTC)


== Image size of the globe ==
== Image size of the globe ==

Revision as of 21:19, 30 December 2008

Microformats
Coord is part of, or of interest to, WikiProject Microformats, which encourages the deployment of microformats in Wikipedia, and documents them in the article space. If you would like to participate, visit the project page.
WikiProject iconGeographical coordinates
WikiProject iconCoord is of interest to WikiProject Geographical coordinates, which encourages the use of geographical coordinates in Wikipedia. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks.
Conversion: For issues to be considered in upgrading other coordinates templates to this one, please see /conversion.

Named parameters for region/type etc

Following a lenghty discussion on WT:GEO, it appears that one of the features from other templates that could improve others, was the introduction of named parameters for parameters such as type, region, scale.
This would result in using "type=landmark|region=GB|scale=5000" instead of "type:landmark_region:GB_scale:5000".

Using pipes (|) instead of underscores (_) has also the advantage of being closer to the way people use parameters in wikipedia. Probably already now, {{coord}} is frequently used this way. If we want to identify the pages, adding this sample code to {{coord}} would categorize all these pages into a maintenance category Category:coord template needing repair.

All articles that would end up in the category currently need repair as information on region/type/scale is present in the article, but not passed on to geohack. Check, e.g. this version of Carreño.

If we decide to use named parameters, the named parameters can be used within the template to check input. {{coord}} would need to be modified slightly to pass them on to geohack (see fix). -- User:Docu

Maintenance category to find and fix excessive number of input fields

Similar to checks in {{coor at dms}} and {{coordinate}}, I'd like to add checks to verify if the there aren't any excessive number of input fields. Sample:

  • For Template:Coord/input/d,
  • the input should be {{coord|12|N|12|W|region:XY_type:landmark}}
  • not {{coord|12|N|12|W|region:XY|type:landmark}} which renders as {{coord|12|N|12|W|region:XY|type:landmark}}

The subpage includes additions to make to each template. Any article with an excessive number of input fields would be categorized in Category:coord template needing repair. -- User:Docu

A degree with 60 minutes, a minute with 60 seconds

Sometimes input is made in the degree/minutes/seconds format instead of decimal format, e.g. {{coord|12|67|85}} instead of {{coord|12.6785}}

To be able to identify and fix these uses of {{coord}}, I'd suggest to make an addition similar to the ones used on {{coor at dms}} or {{coordinate}}. (sample fix}}

This would categorize all articles with minutes/seconds equal to or exceeding 60 seconds in Category:coord template needing repair. -- User:Docu

Not every case of 60-seconds/60-minutes is faux-decimal. I would suspect that almost all case of values of exactly 60 are the result of poor round-off code.
Although I agree that seconds or minutes values > 60 probably indicate the entry of decimal values in faux-dms format, values of exactly 60 are more likely to be the result of careless rounding-off of floating-point values in badly-written numerical-processing code. For example, 1° 24' 00" might end up being represented 1° 23' 60" after conversion to floating-point followed by conversion back to DMS.
It's easily done; I've done it myself, and I've seen similar values output from Google Maps, who should know better. For example, see this: http://maps.google.com/maps?ll=6.8,-1.083333&spn=0.1,0.1&q=6.8,-1.083333 , which displays as +6° 47' 60.00", -1° 4' 60.00 within Google's interface. -- The Anome (talk) 08:59, 16 September 2008 (UTC)[reply]
We could modify the template to categorize only articles with minutes/seconds > 60. Note that geohack converts 1°60' to 2°. -- User:Docu
Unresolved
 – Conversions to dms with some of the secondary templates may still need repair.

(separated from previous section with new header by Docu).

Better to fix the bug in template:Coord/dec2dms/dms, I fixed it on fr a few month ago. Adapt it from fr: to en: ? - phe 17:55, 11 September 2008 (UTC)[reply]
Reading your post, I'm wasn't sure what the nature of the bugs was, but it appears to be related to :
the output generated with "format=dms" when the input is in decimal format.
I generated a series of tests at template:coord/dec2dms/dms/testcases and it looks like values in minutes don't round correctly. With fr:Template:Coord the same tests give a better result. -- User:Docu
Yes, I misread the above section, I was thinking about the 60″ with {{coord|2.4333|-73.9667|format=dms}} --> 2°25′60″N 73°58′00″W. Quite possible the same rounding problem exist with other template [1], I didn't fix them on fr: phe 08:24, 12 September 2008 (UTC)[reply]
I updated template:Coord/dec2dms/dms with the fr:template:Coord/dec2dms/dms. The testcases are working now correctly. As I'm not sure when/how the other templates are called. I leave the others for now. -- User:Docu

Latitude >90° and longitude >180°

According to Template:Coord/doc, {{coord}} is to be used only for Earth. Thus we could add the above limits for degrees latitude and longitude. Most coor d/dm/dms templates already check for latitude >90°.

Code would be similar as the one for minutes/seconds. I will adapt it and add it here. Articles would also be categorized in Category:Coord template needing repair. -- User:Docu

WP:Geo has a "to do" item of "Add an attribute for other planets and the moon"; and Coord has a "globe" parameter. There is also a proposal to add a corresponding "body" and a "schema" property to the Geo microformat and to the vCard specification.
What effect will the proposed changes have on the maximum number of instances of Coord which can be used on one page?
Isn't checking for such errors best done by a bot? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 19:20, 16 September 2008 (UTC)[reply]
How would such a bot work? -- User:Docu (signature added per [2]: Docu (talk · contribs))
By applying the same rules of logic as currently encoded into the template; but in the manner used by SmackBot and similar bots. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:26, 18 September 2008 (UTC)[reply]
That a bit too much summarized for me: How would it identify Latitude >90° and longitude >180° ? How would the bot fix them? -- User:Docu
I think the former would be achieved by comparing the existing value with a value of 90/ 180 respectively and seeing which was bigger; but where did I say it would fix them? How would your proposal fix them? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:43, 18 September 2008 (UTC)[reply]
So the bot would just read all pages and output a list? Then re-read them later? If we build in a check, incorrect uses will be identified directly, no use to do so later. -- User:Docu
Output a list, or add a category. Bot checks, and repairs, seem to work well for many other templates. Please will you now address the other points I raised in my first post in this section? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:55, 18 September 2008 (UTC)[reply]
Maybe you should try to implement your proposal. If it improves things, it is fine with me. -- User:Docu
I repeat: Please will you now address the other points I raised in my first post in this section?. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:06, 18 September 2008 (UTC)[reply]
Did you make any progress with your bot proposal? -- User:Docu
The bot wouldn't have to read all pages, the coordinates are stored in the externallinks table in the db. Extracting those is a matter of minutes. --Dschwen 23:05, 1 October 2008 (UTC)[reply]

Removal of hCard microformat

An apparently undocumented feature of this template is that, if the name parameter is set, an hCard microformat is emitted. This causes problems in several ways:

  • It can conflict with the use of the template inside other templates/ tables, such as infoboxes, which are themselves designed to emit an hCard. In such cases, redundant, and incomplete, second hCards are often generated.
  • It precludes the use of additional hCard fields such as address properties, dates, etc.
  • The name is hidden by CSS in the output HTML. Some microformat parsers, including the most popular, Operator, by default, ignore hidden content.
  • Even where the coordinates relate to a person (such as those of a burial place) an HTML class of "org" is included; this flags the coordinates as belonging not to a person, but to an organisation or venue.

I propose that this be resolved by removing the mark-up <span class="vcard"> and <span class="fn org"> from the child-template {{Coord/link}}; along with their two paired closing tags. These classes are used only by the microformat; and are not styled in any Wikipedia skin. The name parameter would remain, still hidden, for use by other services. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 18:51, 18 September 2008 (UTC)[reply]

Removing the spans would break the structure by taking away the markup for the name. To retain the microformat functionality, used by a tool in {{GeoGroupTemplate}} for example, the associated HTML would then have to be written to articles directly, obfuscating the wikitext and making articles harder to edit. These issues were discussed thoroughly before, please see Archive 4#Moving microformat markup from articles to coord. --Para (talk) 22:05, 18 September 2008 (UTC)[reply]
What do you mean by "break the structure by taking away the mark-up for the name"? {{GeoGroupTemplate}} doesn't require an hCard "fn"; but will use the proper, parent hCard name where one is provided. Nothing in the earlier discussion resolves the points I list above. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 22:09, 18 September 2008 (UTC)[reply]
Most coordinates on Wikipedia with a name parameter do not have surrounding classes or names in prose and removing the elements would therefore break compatibility with the microformat tools in the majority of cases. The widely supported modification a year ago did exactly the opposite of your proposal by clearing articles of markup that doesn't belong on article level. All issues except perhaps for the last one were discussed, resulting for example to the mention of infoboxes in the documentation of the template. On the last point: people don't have fixed coordinates; coordinates for a burial site are for the location of the grave. Inclusion of such detailed information in Wikipedia is questionable anyway. --Para (talk) 22:58, 18 September 2008 (UTC)[reply]
Unless you can cite evidence of such a case, I think your claim that "removing the elements would therefore break compatibility with the microformat tools in the majority of cases" is false; removing the classes from Coord would still leave it rendering a Geo microformat (which is what it was created to so in the first place), and the relevant tools are made to work with that. The changes of a year ago did a deal of damage; for instance here; where "label" (unformatted address) and "note" properties were removed from the hCard microformat; perhaps you could tell us how they can be replaced? The issues may have been discussed, but the problems were not resolved. Coordinates for the graves of dead people are labelled with the name of; and are part of the hCard of; the dead person, not of the grave, just as are the hCard's date of birth property, and such hCards do not use "fn org". The vCard specification, on which hCard is based, has a coordinates property explicitly for the coordinates of an individual. As an aside, it is odd to see you arguing so vociferously for the retention of a microformat, when you argue elsewhere, at the same time, that microformats should not be used on Wikipedia. There is already consensus for the inclusion of such information. As O have already said to you elsewhere today: If you wish to pursue a case against the use of microformats per se, then please do so in the appropriate forum; not here. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 23:30, 18 September 2008 (UTC)[reply]
Simple: just look at the HTML with Special:ExpandTemplates for example. If the spans are removed, the structure will end up broken and the information without markup. The last available database dump from July 2008 contains 88500 direct uses of coord|...|name=. Significant issues with their use have not been reported. --Para (talk) 18:30, 19 September 2008 (UTC)[reply]
It's not "simple" at all. Merely asserting that "...the structure will end up broken" tells us nothing more than did your previous unqualified assertion. How will it be broken? Will it be invalid? Not render correctly? What? Likewise, what information will be "without markup", and why will that matter? What do those spans do, other than carrying the HTML class names used only by the microformat?
I have reported significant issues with the use of the name parameter in Coord, above and predicted them - correctly - elsewhere, previously. For example,. you use of it on List of Gaudí Buildings means that the first table entry says, nonsensically, to readers with CSS disabled or unavailable that the coordinates of Bellesguard's Tower are "41°24′34″N 2°07′37″E / 41.40944, 2.12694 (Bellesguard's Tower)"; it does not degrade gracefully, as is good practice.
Despite this, I have not asked here for the name parameter to be removed, only for the hCard classes and their containing spans. If the spans are important, for some reason that escapes me, then just the classes can be removed, or renamed, leaving the (empty) spans in situ. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 18:43, 19 September 2008 (UTC)[reply]
I'm sorry, I should have been more clear, we can't expect everyone to be aware of what microformats are. When this template is used with the name parameter, the HTML ends up with span elements and some very specific class names, linking the coordinates to a descriptive name. Some tools in turn recognise these class names and can use the information as labels on a map. If either the encapsulating elements or the class names are removed, the given names will no longer be associated with the coordinates in the microformat, and the tools that used the microformat cannot find the information, as the only thing they look for are the elements with those very specific class names. I've understood microformats are quite popular indeed with coordinates, and many Wikipedia articles with inline coordinates link directly to a tool that depends on the markup this template creates with the name parameter. It would be a shame to make the descriptive information unavailable to the users of those tools, or to have to start writing the HTML this template creates into article wikitext instead. I hope this helps. --Para (talk) 00:35, 20 September 2008 (UTC)[reply]
So, to be clear, you're referring to the use of those spans/ classes in an hCard microformat only, and for no other purpose? If so, my earlier points apply: the use of a hidden name property in this way, in a microformat is broken, and causes the problems already identified. The spans/ classes should be removed as requested, in order that an hCard "fn" or "fn org" property can be applied to visible data, in a valid and appropriate manner. Your reference to direct links to "a tool that depends on the markup this template creates" seems to be a red herring, as that tool (GeoHack) does not use the spans/ classes to which this request applies. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 13:38, 20 September 2008 (UTC)[reply]
As far as I know, the additional HTML is there for microformat purposes only and is used by many microformat readers, including the Suda tool. They might even be the reason our users have used the parameter tens of thousands of times. The hiddenness of information visible though not directly adjacent to coordinates has been discussed already among your other concerns. The rest of this discussion can be found from the talk archives of this and another template. Please refer to them to find why your concerns aren't met with actions. The best part was perhaps "I've still seen no citation for any *prohibition* of hidden data in microformats"[3]. By adding the new parameter with its microformat functionality to this template after an RfC, the community agreed. Give it a rest, please. --Para (talk) 23:36, 20 September 2008 (UTC)[reply]
Nothing in what you write addresses the problems I have listed. The "Suda tool" and every other microformat reader will work equally well with Geo microformats with no name parameter; or where the name's class is applied to visible data as part of a more widely-scoped hCard microformat. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 23:43, 20 September 2008 (UTC)[reply]

FCC/CRTC still use NAD27broadcast stations show errors

There is an issue with broadcast stations in North America: both the FCC (U.S.) and CRTC (Canada) still use NAD27. Displaying these as NAD83/WGS84 causes errors in pinpointing the position of many stations. This is obvious when looking at aerial images of the antenna site, and the marker doesn't even touch the building or tower. It would be nice to have a parameter like "datum=NAD27" to indicate that a conversion should be done.  –radiojon (talk) 22:12, 26 September 2008 (UTC)[reply]

For the links on Template:GeoTemplate to work, the input needs to use the WGS84 datum. There are a few templates at Category:Coordinates conversion templates to convert coordinates to this datum. As {{coord}} doesn't convert, coordinates with another datum shouldn't use it. -- User:Docu
Geohack outputs of coordinates with some other coordinates systems (see Template:GeoTemplate/doc#Position, [4]). If it's helpful to provide coordinates with NAD27 datum for links to websites, you may want write code to enable geohack to provide this. -- User:Docu
Industry Canada recently converted all of its coordinates to the NAD83 datum. -- Denelson83 10:01, 4 November 2008 (UTC)[reply]

Name with square brackets, e.g. {{coord|30.815838|N|45.996070|E|name=Eridu [Eridug, Tell Abu Shahrain]}}{{coor d}} works. -- User:Docu

Another example of how the implementation of the "name" parameter in {{coord}} is broken; especially when the data entered is different from that displayed on the page. Good catch. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 19:21, 1 October 2008 (UTC)[reply]
Meh, why use square braces in the first place? Are we out of round ones? Single square braces are wiki syntax for an external link. --Dschwen 19:58, 1 October 2008 (UTC)[reply]
That's it. {{coord/link|dms-lat=1|dms-long=2|name=T[es]t}} expands to [http://stable... T[es]t</span>)</span></span></span>]</span>
This is still correct and so the template code works fine (the spans have been checked to be balanced). When however the wikitext parser converts that into HTML, it incorrectly ends the A element inside an element that has been opened within the A element:
<span class="plainlinksneverexpand"><a href="http://stable... T[es</a>t</span>)</span></span></span>]</span>
I don't know if the parser generally respects HTML structure while parsing wikitext, but here it just ends the search at the first match for a closing bracket. Bug, feature, or just too bad? --Para (talk) 22:07, 1 October 2008 (UTC)[reply]
Is there a reason for not accepting round braces? Makes no sense to me. --Dschwen 17:33, 24 December 2008 (UTC)[reply]
Square brackets are used so you could pass the name parameter to Google Maps and the other maps servers that do not accept parentheses in place names. We talked about that a while back. Cush (talk) 14:17, 24 December 2008 (UTC)[reply]

N/S and E/W display for decimals

Is there away to display N/S and E/W for coordinates with input in decimal format, e.g.

{{coor d|44.9|N|85.7|E}}
displays as
44.9° N 85.7° E

whereas

{{coord|44.9|N|85.7|E}}
displays as:
44.9, 85.7

-- User:Docu

'title' font size

Some infoboxes, such as 'infobox shopping mall' have an entry for coordinates. It works fine, but there is a slight issue that I'm not certain is easily fixable (see Lakehurst Mall as an example.) If I try using display=inline,title in the coord template, it does work, but the text on the title line is smaller than normal, as it looks like it's using the infobox's font size. Is this something that can be fixed? Would somebody need to edit the coord template to force a fixed font size for title? Or would the infobox template need to be updated? I'd rather not use a separate standalone coord template, as that could lead to conflicts if they get changed for some reason, and somebody doesn't update both. Andyross (talk) 22:21, 15 October 2008 (UTC)[reply]

It's a known problem that needs fixing. I made Template:Coord/display/inline,title-sandbox to experiment, e.g. {{coord|42|20|34|N|87|53|56|W|display=inline,title-sandbox}} calls it. Sample: 42°20′34″N 87°53′56″W / 42.34278°N 87.89889°W / 42.34278; -87.89889. -- User:Docu
http://www.maxdesign.com.au/presentation/relative/ gives some explanation. An absolute size keyword (e.g. x-small) seems to solve the size issues. Next problem is its position relative to the horizontal line below the article's title. -- User:Docu
The CSS and Javascript magicians at MediaWiki talk:Common.js#Topbar content have fixed the overlapping of the line with coordinates and icons. It's a bit of a hack, but so was the entirely absolute positioning, and most people run Javascript anyway. --Para (talk) 19:00, 7 November 2008 (UTC)[reply]
Note that we just fixed the broken positioning for when the sitenotice is active. The size of the text is still a problem. However, using fixed font-sizes is not the solution either. Basically, the place where this icon is included is simply not the right spot. In the past we have considered using Javascript to correct this. There is a chance that we may still implement this solution in the long run, but we are still discussion it. --TheDJ (talk • contribs) 22:31, 7 November 2008 (UTC)[reply]

Spaces between pipe symbol and text

This template is very sensitive to spaces if any left between pipe symbol and text. Whenever such a space is left, it displays error without specifying what caused the error. I think code should be modified to automatically remove space or to be made insensitive to space. Meanwhile this is fixed, code should display error message saying one of the error could be space between pipe and text. — Preceding unsigned comment added by Pruthvi.vallabh (talk • contribs)

I've conducted some texts, and that doesn't seem to be the case for most uses. Please can you give examples? Thank you. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 08:15, 17 October 2008 (UTC)[reply]
This time I checked carefully. It is happening only when there is space between N and pipe symbol. You can see this at User:Pruthvi.vallabh/sandbox pruthvi (talk) 11:28, 17 October 2008 (UTC)[reply]
I see what you mean; thank you. It is a bug (but easily avoided by omitting spaces); I have no idea how to fix it, though :-( Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 14:20, 17 October 2008 (UTC)[reply]
This template seems to use parameter concatenation with the hemisphere specifiers (N,S,E,W) to find whether the coordinates are in decimal, degrees&minutes or degrees&minutes&seconds format. Since they are unnamed parameters, MediaWiki does not strip whitespace from them, and any spaces after N and S or before E and W will end up with an error, as the concatenation won't match with NE, NW, SE or SW. I suspect it has been implemented in this way to minimise the template pre-expansion size since that's limited. It would be possible to put the parameters through a dummy parserfunction to strip the whitespace before concatenation or use parserfunctions to replace the concatenation altogether, but that would make the template code longer again and I don't know if it's worth the trouble of long coordinate list pages breaking. --Para (talk) 17:29, 17 October 2008 (UTC)[reply]
Personally, as with other templates, I find putting whitespace before the optional parameters adds readability and allows it to wrap. E.g.:
{{coord|1|2|3|N|4|5|6|W |format=dms |region:AB_type:landmark_scale:1000000_source:internet |name=UndisambiguatedName |display=title,inline}}
vs.
{{coord|1|2|3|N|4|5|6|W|format=dms|region:AB_type:landmark_scale:1000000_source:internet|name=UndisambiguatedName|display=title,inline}}.
—WWoods (talk) 01:39, 20 October 2008 (UTC)[reply]
the work-around here is to use:
{{coord|1|2|3|N|4|5|6|W| format=dms |region:AB_type:landmark_scale:1000000_source:internet |name=UndisambiguatedName |display=title,inline}}
BTW, I changed your tt tags to code, as that's more meaningful. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 07:24, 20 October 2008 (UTC)[reply]
Is there a difference between
"...6|W |format=..." and
"...6|W| format=..."?
I haven't seen any effect. —WWoods (talk) 18:29, 20 October 2008 (UTC)[reply]

Interwiki

Please, add de-interwiki: de:Vorlage:Koordinate Artikel. Ludmiła Pilecka (talk) 16:18, 18 October 2008 (UTC)[reply]

Floating over the top line: How?

How is this template able to float over the top line? thank you. Odessaukrain (talk) 14:11, 20 October 2008 (UTC)[reply]

I got a response: Template_talk:GeoTemplate#Template:Coord_Floating_over_the_top_line:How? Yay. Odessaukrain (talk) 14:29, 20 October 2008 (UTC)[reply]

Geo class documentation

The geo classes currently have their documentation placed as a large comment inside MediaWiki:Common.css. I am planning to move that documentation to the /doc page of Template:Coord/link, since that is the place the comment currently points to for more information.

For more explanation about this, and to discuss it, see MediaWiki talk:Common.css#Geo class documentation.

--David Göthberg (talk) 23:10, 3 November 2008 (UTC)[reply]

I have replied there, but note that I have also created {{UF-coord-classes}}, to contain that explanatory text and allow its use on several pages 9some of which had it already). Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 23:44, 3 November 2008 (UTC)[reply]

Inline references in Coord

Would it be possible to amend {{coord}} such that it could carry an inline reference? See a discussion at Wikipedia talk:WikiProject_Geographical coordinates#Citing verifable sources. Please give it your consideration. thanks --Tagishsimon (talk) 00:30, 5 November 2008 (UTC)[reply]

No.wp

Hi. Please add the norwegian link: [[no:Mal:Koordinater]] to this protected page. Prillen (talk) 10:22, 10 November 2008 (UTC)[reply]

Formatting problems

I see this has been noted above, but has been unanswered so far.

If you use a decimal number for the coordinates then the "N", "S", "E" and "W" signs are ignored and the degree symbol is not displayed. Thus, {{coord|43.12|N|79.34|W}} displays as 43°07′N 79°20′W / 43.12°N 79.34°W / 43.12; -79.34. Is this intentional? I want and expect it to display as 43°07′N 79°20′W / 43.12°N 79.34°W / 43.12; -79.34 like the old template did, and I'm guessing that most other people would think likewise...

TIA, 86.134.43.109 (talk) 19:53, 12 November 2008 (UTC).[reply]

There is another way in which template {{coor}} is not broken like this one is. Compare:
What's with the improper loss of precision in the display? Why in the world is there any discussion whatsoever about "updating" other templates to this broken one? Gene Nygaard (talk) 02:42, 10 December 2008 (UTC)[reply]
I also second the complaint about improperly switching away from the input format. Can that be fixed? Gene Nygaard (talk) 02:47, 10 December 2008 (UTC)[reply]

I too would like to see a way to label the decimal output format with the degree symbol and N/S/E/W. While there is something mathematically pure with two simple signed numbers to pin-point any location on earth, I think most encyclopedia readers would be more comfortable with the less-efficient but more-human-friendly labeled format. I've been avoiding using the decimal format for this very reason. And in addition to the precision loss problem demonstrated above, mismatched precisions between the coordinates looks bad as a matter of style. --GregU (talk) 03:29, 30 December 2008 (UTC)[reply]

I too would like to see a way to label the decimal output format with the degree symbol and N/S/E/W. Cush (talk) 17:39, 30 December 2008 (UTC)[reply]

It would indeed make sense to make the decimal coordinates look like coordinates as well. Many users have also requested it before, at least at Template talk:Coord/Archive 1#Display issues, Template talk:Coord/Archive 1#Bug: display N.2FW.2FE.2FS, Template talk:Coord#N.2FS and E.2FW display for decimals and Wikipedia talk:WikiProject Geographical coordinates#COORD Template and digital N.2FS.2FE.2FW output. I have created Template:Coord/doc/internals to start documenting this template, and it seems that there are two possible ways to do this change:

--Para (talk) 20:17, 30 December 2008 (UTC)[reply]

Before expending such energy, you would be wise to determine - through a centralised discussion, with notices in relevant fora - whether there is community consensus to make this change. Your "many" is actually only a handful of people, compared with the thousands who use the template with no concern for this issue. I'm sur enone of us want to see a repeat of the debacle over date formatting. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:28, 30 December 2008 (UTC)[reply]
I note that Google Earth displays the cursor location as lat 25.166763° lon -91.136274° elev 0 ft. I had never noticed the lack of NSEW and don't really care whether it appears or not. —EncMstr (talk) 21:19, 30 December 2008 (UTC)[reply]

Image size of the globe

Can the size of the globe be adjustable? On some articles it is simply too large. It can keep it's current size as the default value. -- Cat chi? 22:51, 14 December 2008 (UTC)

Globe 12°24′46″N
47°55′28″E

Actually it would be nice if I could add a newline char between the NS data and EW data. So that it displays like on the right. -- Cat chi? 22:58, 14 December 2008 (UTC)

Yes, it is adjustable. The meta:WikiMiniAtlas manual explains how. (use the buttonImage config parameter and set it to a smaller version of the globe, i.e. [5]) --Dschwen 17:57, 30 December 2008 (UTC)[reply]

Bug in this template

Finding a longitude reported as "-104.6" in Pueblo Community College, I changed it to a correct minus sign (per WP:MOSMATH) so that it said "−104.6". But then when I clicked on it, it showed the wrong location on the map. Clearly that needs to get fixed. Michael Hardy (talk) 01:43, 19 December 2008 (UTC)[reply]

Do you mean that you changed "-" to "&minus;"? That's not a bug as very few editors would expect to put anything other than a "-" to get west coordinates. Also WP:MOSMATH and Wikipedia:Manual of Style (dates and numbers)#Common mathematical symbols is about writing math articles not using math symbols in actual calculations like this and {{convert}}. CambridgeBayWeather Have a gorilla 02:53, 19 December 2008 (UTC)[reply]
(e/c) Depends, &minus; is HTML. The backends of template/expr/map server, might not necessarily deal with that very well either, since they deal with numbers, not HTML. The correct character is simply the unicode char: −. Although I doubt any of the systems are guaranteed to understand that. It would be interesting to find out where these limitations are however.
A quick test of #expr seems to indicate that both the unicode and HTML form are supported. What the templates themselves support, I'm not 100% sure yet. It seems however, that both geohack as well as the wikiminiatlas, do NOT support this character. WMA seems to do a hard regexp for - in the information it is handed. Geohack is broken in a similar method, the URL is correct, but the backend does not handle that unicode character, only the -. I propose you file a bugreport on http://bugzilla.wikimedia.org --TheDJ (talk • contribs) 03:05, 19 December 2008 (UTC)[reply]
hm, the unicode minus issue came up before. I thought I changed the WMA accordingly. I'll look into that. --Dschwen 04:42, 19 December 2008 (UTC)[reply]
Yeah, in this edit in September I added unicode minus support. Any more minus symbols I'll have to add? --Dschwen 04:44, 19 December 2008 (UTC) P.S.: the serverside coordinate parser might need to be fixed (so that the labels appear at the correct coordinates). --Dschwen 04:56, 19 December 2008 (UTC)[reply]
This was last discussed at /Archive 6#Minus sign and at WT:WikiProject Geographical coordinates/Archive 22#ParserFunction Expr.php will soon correctly handle unicode minus. Following the bug fix that was mentioned there, MediaWiki and therefore this template as well can now parse the unicode minus by replacing it internally with an ascii minus. GeoHack and all other tools that use Wikipedia coordinates would need a similar fix.
However, I think it's still premature to make Wikipedia coordinates use the unicode minus. None of the services I tried from the GeoTemplate list support the unicode minus, not in the url or when copied and pasted to their search box. While we could modify this template and GeoHack to display all negative numbers with the unicode minus but keep to ascii in urls, it would still break manual and machine reuse of Wikipedia coordinates in a way that's not obvious to fix. There's still some unicode evangelism to be done outside Wikipedia. --Para (talk) 11:31, 19 December 2008 (UTC)[reply]

Leave a Reply