Difference between revisions of "ISO 3166-1"
imported>Jacques Ducloy (→Operations) |
imported>Jacques Ducloy |
||
Line 787: | Line 787: | ||
| MediaWikiTableTransformCol -k3 -V1 | | MediaWikiTableTransformCol -k3 -V1 | ||
</source> | </source> | ||
− | + | ;Specific uploading: | |
<source lang="sh"> | <source lang="sh"> | ||
WicriGetPage -l wicri-meta.en -p "ISO_3166-1" > $DILIB_IMPORT/Wicri/Data/Metadata/Iso3166En.wiki | WicriGetPage -l wicri-meta.en -p "ISO_3166-1" > $DILIB_IMPORT/Wicri/Data/Metadata/Iso3166En.wiki | ||
</source> | </source> | ||
− | + | ;Global uploading: | |
==See also== | ==See also== | ||
;Rferences: | ;Rferences: | ||
<references/> | <references/> | ||
[[fr:ISO 3166-1]] | [[fr:ISO 3166-1]] |
Revision as of 20:36, 20 July 2014
Contents
Current codes
Officially assigned code elements
The following is a complete ISO 3166-1 encoding list of the countries which are assigned official codes. It is listed in alphabetical order by the English short country name (upper/lower case) used by the ISO 3166/MA.[1]
Click on the button in the header to sort each column. For more information on each country and the assignment of its code elements, click on its alpha-2 code.
Reserved and user-assigned code elements
Besides the officially assigned codes, code elements may be expanded by using either reserved codes or user-assigned codes.[2]
Reserved code elements are codes which have become obsolete, or are required in order to enable a particular user application of the standard but do not qualify for inclusion in ISO 3166-1. To avoid transitional application problems and to aid users who require specific additional code elements for the functioning of their coding systems, the ISO 3166/MA, when justified, reserves these codes which it undertakes not to use for other than specified purposes during a limited or indeterminate period of time. Codes are usually reserved for former countries, overseas territories, international organizations, and special nationality status. The reserved alpha-2 and alpha-3 codes can be divided into the following four categories (click on the links for the reserved codes of each category):
- Alpha-2: exceptional reservations, transitional reservations, indeterminate reservations, and codes currently agreed not to use
- Alpha-3: exceptional reservations, transitional reservations, indeterminate reservations, and codes currently agreed not to use
- Numeric: no reserved codes
User-assigned code elements are codes at the disposal of users who need to add further names of countries, territories, or other geographical entities to their in-house application of ISO 3166-1, and the ISO 3166/MA will never use these codes in the updating process of the standard. The following codes can be user-assigned:
- Alpha-2: AA, QM to QZ, XA to XZ, and ZZ
- Alpha-3: AAA to AAZ, QMA to QZZ, XAA to XZZ, and ZZA to ZZZ
- Numeric: 900 to 999
Operations
- Testing
WicriGetPage -l wicri-meta.en -p "ISO_3166-1" \
| MediaWikiCleanTable \
|MediaWikiTable2SxmlRowCol \
| MediaWikiTableTransformCol -k3 -V1
- Specific uploading
WicriGetPage -l wicri-meta.en -p "ISO_3166-1" > $DILIB_IMPORT/Wicri/Data/Metadata/Iso3166En.wiki
- Global uploading
See also
- Rferences
- ↑ Template:Cite web – Note: The source actually shows only the "Country Name" element, in all upper-case. The table here has been upper/lower-cased per Wikipedia standards, but should closely resemble the upper/lower-case elements that are not freely available from the ISO.
- ↑ Template:Cite web