Hi everyone,
The mobile app uses a system with different administrative divisions to navigate the database. So for example: start -> Netherlands -> Noord-Holland -> Haarlem
In the database you'll see this fields as adm0, adm1, adm2, etc * adm1 is always the ISO_3166-1 code as described at https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_el... * adm2 is always the ISO_3166-2 code of the subdivision https://en.wikipedia.org/wiki/ISO_3166-2 * adm3-5 whatever is available
The backend of the api contains some logic to turn these iso codes into the localized name of the location. So for "nl" I'll see "Nederland", but a German user would see "Niederlande".
For this to function properly these administrative levels need to be set. adm0 is always set (I set it when I configure a source), but adm1 needs to be harvested. This is the case for a lot of countries, but not for all of them. This is a list of countries where this needs to be fixed. The number between () is the number of items without adm1 set. Setting this iso code can be done in the header template of the list, see for example the edit at https://en.wikipedia.org/w/index.php?diff=prev&oldid=570136276:
* Russia (58462) - Brand new lists, please set регион_iso (region_iso) and район (district) to get navigation to work нп seems to be set for most entries * Venezuela (6107) - Needs "estado_iso" (state iso) to be set, under that municipio and ciudad * Belarus (4650) - Needs "vobłaść-iso" (oblast iso) to be set, under that rajon * Serbia (2112) - Needs "iso" (okrug iso) to be set * Denmark (1495) - Needs "region-iso" to be set
You can ask the api for a list, for example for Denmark: http://toolserver.org/~erfgoed/api/api.php?action=search&format=html&...
The rest of the list is lower numbers: | es | 1340 | | ro | 609 | | us | 417 | | th | 312 | | ke | 208 | | aq | 160 | | ua | 159 | | nl | 137 | | hk | 115 | | tn | 98 | | cz | 86 | | jo | 81 | | ee | 37 | | il | 8 | | pa | 1 | +------+-------------+
Maarten
wikilovesmonuments@lists.wikimedia.org