Last modified: 2012-09-05 00:09:29 UTC
http://wlm.wikimedia.org/api/api.php?action=adminlevels&format=json&admtree=sk is empty see https://en.wikipedia.org/wiki/ISO_3166-2:SK for the list
Hmm, looks like the information is in the database: mysql> SELECT adm1, COUNT(adm1) FROM monuments_all WHERE lang='de' and country='sk' AND adm0='sk' GROUP BY adm1; +-------+-------------+ | adm1 | COUNT(adm1) | +-------+-------------+ | sk-bc | 2461 | | sk-bl | 1709 | | sk-ki | 1971 | | sk-ni | 1150 | | sk-pv | 3757 | | sk-ta | 1026 | | sk-tc | 941 | | sk-zi | 1583 | +-------+-------------+ 8 rows in set (1.04 sec) Not sure why the adminlevels are not showing this. Arthur, can you take a look at this?
In any case, this is a low importance bug; Slovakia is not taking part in WLM2012.
Max can probably better answer this, but I think this is happening because the default language for Slovakia has a typo in the API: class ApiCountries extends ApiBase { public static $defaultLanguages = array( 'be' => 'fr', 'ch' => 'de', 'es' => 'es', 'fr' => 'fr', 'sk' => 'sv', 'it' => 'it', ); I believe 'sv' should be 'sk'.
r965