Module talk:Flags: Difference between revisions

Content deleted Content added
m <font> → span style>
 
(5 intermediate revisions by 4 users not shown)
Line 49:
== Problem with [[:File:Flag of the Soviet Union 1955.svg]] ==
 
There seems to be a problem with the flag for the Soviet Union. This is affecting at least 49 pages (the Winter Olympics articles at [[:Category:Articles with missing files]]). One file being called is [[:File:Flag of the Soviet Union 1955.svg]], which seems to be a redirect to [[:File:Flag of the Soviet Union (1938-1980).svg]]. Other Soviet Union flags redirecting to that one also seem to be missing, causing the bigger problem. - <b>[[User:Tucoxn|<fontspan facestyle="font-family:Verdana"; color=":#522C1B"><fontspan sizestyle="+1font-size:large"><span class="Unicode">t</span></fontspan>u</fontspan><fontspan colorstyle="color:#417DC1">coxn</fontspan>]]</b>\<fontsup facestyle="font-family:serif"><sup>[[User_talk:Tucoxn|talk]]</sup></font> 01:11, 13 February 2014 (UTC)
:Please spell it out with an example for dummies unfamiliar with the topic. I would like a link to an article and a brief description of how I can see there is something wrong (I don't mean the category, I mean where is the error in the article). [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 07:07, 13 February 2014 (UTC)
:I'd better add [[User:Tucoxn]] for a ping. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 07:09, 13 February 2014 (UTC)
::[[User:Johnuniq|Johnuniq]]: Thanks for your response but it looks like this got fixed. It looks like this was an issue with some changes on Commons due to a rename request. Here are some Commons file histories that might explain what the problem was: [https://commons.wikimedia.org/w/index.php?title=File:Flag_of_the_Soviet_Union_(1938-1980).svg&action=history history for "File:Flag of the Soviet Union (1938-1980).svg"], [https://commons.wikimedia.org/w/index.php?title=File:Flag_of_the_Soviet_Union_1955.svg&action=history history for "File:Flag of the Soviet Union 1955.svg"], and [https://commons.wikimedia.org/w/index.php?title=File:Flag_of_the_Soviet_Union_(1955-1980).svg&action=history history for "File:Flag of the Soviet Union (1955-1980).svg"] (a new file). Again, this seems fixed for now. Thanks! - <b>[[User:Tucoxn|<fontspan facestyle="font-family:Verdana"; color=":#522C1B"><fontspan sizestyle="+1font-size:large"><span class="Unicode">t</span></fontspan>u</fontspan><fontspan colorstyle="color:#417DC1">coxn</fontspan>]]</b>\<fontsup facestyle="font-family:serif"><sup>[[User_talk:Tucoxn|talk]]</sup></font> 09:43, 13 February 2014 (UTC)
 
== Performance ==
Line 59:
: I have done some measurements myself. Analysis of a page with 50 {{tl|Flagicon}}s takes 429±65 ms, analysis of a page with 50 {{tl|Flags}} takes 472±66 ms of CPU time. The performance difference is lower than the measurement error. <span style="font-family:Segoe Script">[[User:Petr Matas|Petr Matas]]</span> 10:47, 23 June 2014 (UTC)
 
::Perhaps it would help performance to convert [[Module:Flags/MasterData]] to a JSON page and load its contents using <code>mw.text.jsonDecode()</code>. &ndash;&nbsp;[[User:Mxn|Minh <span style="font-variant: small-caps;">Nguyễn</span>]]&nbsp;<sup>[[User talk:Mxn|<span style="display: inline-block;">&#x1f4ac;</span>]]</sup> 05:33, 13 June 2019 (UTC)
== Dallas, Detroit, Las Vegas and Abu Dhabi. ==
 
== Chuuk creates a link to a dab page ==
When I try to use the template with any of the above names, it does not return the correct flag. Al of these are flags are present in the correct compatible naming format Flag of [Name].svg on commons, yet when I try it out, e.g. {{Flags|Detroit|24px}} Detroit, {{Flags|Las Vegas, Nevada|24px}} Las Vegas, I only get blank flags. Anyone knows what's going wrong?[[User:Tvx1|T]][[User Talk:Tvx1|v]][[Special:Contributions/Tvx1|x]]1 17:24, 3 April 2017 (UTC)
 
{{tlc|flags|Chuuk}} creates a link to a dab page [[Chuuk]]. It should like to the article [[Chuuk State]] instead. Here's an illustration: {{flags|Chuuk}}. Can someone fix that? [[User:Coastside|Coastside]] ([[User talk:Coastside|talk]]) 05:16, 20 January 2020 (UTC)