Countries and Continents
|Reported by:||vipsoft||Owned by:|
Description (last modified by vipsoft)
The MaxMind GeoIP database contains some extra codes that we should define in core/DataFiles/Countries.php and lang/en.php.
- "A1", "A2", "O1", and "AP" (www.maxmind.com/app/iso3166)
At the same time, we should re-align the country-to-continent mapping using www.maxmind.com/app/country_continent. This shifts the responsibility for "accuracy" to a third-party.
Another issue that arises is that the GeoIP query appears to sometimes return an empty string (instead of 'xx' or 'unk'), resulting in UserCountry_country_ and UserCountry_continent_.