Module talk:ISO 3166/data/National: Difference between revisions
→Template-protected edit request on 11 February 2024: new section |
|||
Line 6: | Line 6: | ||
U.S. is a commonly used abbreviation (explicitly listed as acceptable in [[MOS:ABBREVIATIONS]]. But "U.S." is not included as an alternate here (altnames={"US","USA"}). This causes articles to be added to [[:Category:Wikipedia page with obscure country]] if "U.S." is used in infoboxes that perform a check with <code>{{mli|ISO 3166}}</code> while "U.S." is OK in other infoboxes that do not perform this check. Please add "U.S." the the list of altnames on line 239. [[User:MB|<b style="color:#034503">MB</b>]] 21:03, 26 July 2022 (UTC) |
U.S. is a commonly used abbreviation (explicitly listed as acceptable in [[MOS:ABBREVIATIONS]]. But "U.S." is not included as an alternate here (altnames={"US","USA"}). This causes articles to be added to [[:Category:Wikipedia page with obscure country]] if "U.S." is used in infoboxes that perform a check with <code>{{mli|ISO 3166}}</code> while "U.S." is OK in other infoboxes that do not perform this check. Please add "U.S." the the list of altnames on line 239. [[User:MB|<b style="color:#034503">MB</b>]] 21:03, 26 July 2022 (UTC) |
||
:{{done}}. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I. Ellsworth</span>]]''''' , [[Editor|<span style="color:black">ed.</span>]] [[User talk:Paine Ellsworth|<sup>put'r there</sup>]] <small>05:08, 28 July 2022 (UTC)</small> |
:{{done}}. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I. Ellsworth</span>]]''''' , [[Editor|<span style="color:black">ed.</span>]] [[User talk:Paine Ellsworth|<sup>put'r there</sup>]] <small>05:08, 28 July 2022 (UTC)</small> |
||
== Template-protected edit request on 11 February 2024 == |
|||
{{edit template-protected|Module:ISO 3166/data/National|answered=no}} |
|||
<pre> |
|||
["GB-ENG"] = {alpha3="ENG",numeric="000",name="England"}, --Considered to be a country |
|||
["GB-NIR"] = {alpha3="NIR",numeric="000",name="Northern Ireland"}, --Considered to be a country |
|||
["GB-SCT"] = {alpha3="SCT",numeric="000",name="Scotland"}, --Considered to be a country |
|||
["GB-WLS"] = {alpha3="WLS",numeric="000",name="Wales"}, --Considered to be a country |
|||
["GB-EAW"] = {alpha3="EAW",numeric="000",name="England and Wales"}, --Considered to be a country |
|||
</pre> |
|||
Subnational regions of United Kingdom are listed with alpha3-codes, when they do not have alpha3-codes. There is therefore no easy way to exclude these regions when automatically fetching valid alpha3-codes. There are also no reserved numerical codes. It is perhaps better to leave these values blank, so it's easier to run a code such as <code><nowiki>{{#if:{{ISO 3166 code-3|{{{common_name}}}|nocat=true}}</nowiki></code> (from [[Template:Infobox country]]) for generating valid values. Here would be the suggested edit: |
|||
<pre> |
|||
["GB-ENG"] = {alpha3="",numeric="",name="England"}, --Considered to be a country |
|||
["GB-NIR"] = {alpha3="",numeric="",name="Northern Ireland"}, --Considered to be a country |
|||
["GB-SCT"] = {alpha3="",numeric="",name="Scotland"}, --Considered to be a country |
|||
["GB-WLS"] = {alpha3="",numeric="",name="Wales"}, --Considered to be a country |
|||
["GB-EAW"] = {alpha3="",numeric="",name="England and Wales"}, --Considered to be a country |
|||
</pre> |
|||
Alternatively removing these entries completely since these entries are already accessible through the same means as for subnational entities of other countries: <code><nowiki>{{ISO 3166 code|GB|England}}</nowiki></code> = {{ISO 3166 code|GB|England}} [[User:Pon Pon the bon bon|Pon Pon the bon bon]] ([[User talk:Pon Pon the bon bon|talk]]) 10:03, 11 February 2024 (UTC) |
Revision as of 10:03, 11 February 2024
Module:ISO 3166/data/National is permanently protected from editing because it is a heavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit.
|
Edit request - add "U.S." as an alternate for United States
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
U.S. is a commonly used abbreviation (explicitly listed as acceptable in MOS:ABBREVIATIONS. But "U.S." is not included as an alternate here (altnames={"US","USA"}). This causes articles to be added to Category:Wikipedia page with obscure country if "U.S." is used in infoboxes that perform a check with {{#invoke:ISO 3166|function}}
while "U.S." is OK in other infoboxes that do not perform this check. Please add "U.S." the the list of altnames on line 239. MB 21:03, 26 July 2022 (UTC)
Template-protected edit request on 11 February 2024
It is requested that an edit be made to the template-protected module at Module:ISO 3166/data/National. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
["GB-ENG"] = {alpha3="ENG",numeric="000",name="England"}, --Considered to be a country ["GB-NIR"] = {alpha3="NIR",numeric="000",name="Northern Ireland"}, --Considered to be a country ["GB-SCT"] = {alpha3="SCT",numeric="000",name="Scotland"}, --Considered to be a country ["GB-WLS"] = {alpha3="WLS",numeric="000",name="Wales"}, --Considered to be a country ["GB-EAW"] = {alpha3="EAW",numeric="000",name="England and Wales"}, --Considered to be a country
Subnational regions of United Kingdom are listed with alpha3-codes, when they do not have alpha3-codes. There is therefore no easy way to exclude these regions when automatically fetching valid alpha3-codes. There are also no reserved numerical codes. It is perhaps better to leave these values blank, so it's easier to run a code such as {{#if:{{ISO 3166 code-3|{{{common_name}}}|nocat=true}}
(from Template:Infobox country) for generating valid values. Here would be the suggested edit:
["GB-ENG"] = {alpha3="",numeric="",name="England"}, --Considered to be a country ["GB-NIR"] = {alpha3="",numeric="",name="Northern Ireland"}, --Considered to be a country ["GB-SCT"] = {alpha3="",numeric="",name="Scotland"}, --Considered to be a country ["GB-WLS"] = {alpha3="",numeric="",name="Wales"}, --Considered to be a country ["GB-EAW"] = {alpha3="",numeric="",name="England and Wales"}, --Considered to be a country
Alternatively removing these entries completely since these entries are already accessible through the same means as for subnational entities of other countries: {{ISO 3166 code|GB|England}}
= GB-ENG Pon Pon the bon bon (talk) 10:03, 11 February 2024 (UTC)