Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template talk:Attached KML

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

KML 'title' Option Useless without a Map Provider to Support it

[edit]

Hi,

I've noticed pages using the Attached KML template with a "|display=title" option appear to place the "Route map:" text inappropriately when article qualifiers, such as Good Article are used. It should come afterwards instead. Examples here and here. (This worked OK with Vector 2010.) To make matters worse, looking at the Module code invoked by the Template (line 63) it's clear the basic functionality has been out of order for over half a decade. Moreover, of the 21 other non-English Wikis that use this Module, only four (arwiki, cebwiki, fawiki, sdwiki) have active externalLinks set up, and all use the same defunct offerings from Bing & Google (discussions throughout the archive). After adding a colon, the end result supplied is "Route map:This is a good article. Click here for more information.", as if it's a link, which is ridiculous (unless you happen to be looking for the "route to good articles"). Other placement issues manifest themselves during editing previews and with V2010 skin use, and in certain situations the text can collide with the {{Coord}} Template.

There are more than thirteen and a half thousand KML pages on the English Wiki, so this is worth getting right. Until a KML-compliant provider comes along, wouldn't it be best to suppress the genuinely redundant title entries, by pre-checking (around line 311) for the existence of externalLinks entries first, perhaps? Maybe fall back to inline? What do you think?

Thanks,

J

— Preceding unsigned comment added by 5.64.158.190 (talk) 23:41, 4 October 2023 (UTC)[reply]