Page MenuHomePhabricator

App doesn't work in the United Kingdom
Closed, ResolvedPublic

Description

United Kingdom uses wlm-uk-* for the campaigns, but in the database we use the gb codes. This way it doesn't work. We need to figure this out and fix it.


Version: unspecified
Severity: normal

Details

Reference
bz53660

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:11 AM
bzimport set Reference to bz53660.
bzimport added a subscriber: Unknown Object (MLST).

Combination of two things

  1. adm0=gb, adm1 is eng/nir/sct/wls, see https://tools.wmflabs.org/heritage/api/api.php?action=adminlevels&format=json&uselang=nl&admtree=gb . adm2 (https://en.wikipedia.org/wiki/ISO_3166-2:GB) is not set for most entries so the admin tree is rather limited: https://tools.wmflabs.org/heritage/api/api.php?action=adminlevels&format=json&uselang=nl&admtree=gb|eng . Solution is to start filling the missing information so navigation becomes possible.
  1. Difference between uk and gb. Easiest way to fix that is probably to update the python script that generates the configuration for the app.
  1. Scotland and Northern Ireland lists updated by hand to include adm2 data. Jarry1250 is working on a bot to do England (and hopefully Wales)
  1. All upload links on enwiki now converted to use wlm-gb-* not wlm-uk-*

The app seems to be working (per Yuvi's test uploads) as long as the data is available from the lists.

The lists themselves are now about 90% done - complete for England and Scotland, Wales complete save for Cardiff (using different templates), and England has a few lists left, mostly in London. They probably won't be finished before the update tonight.

Assuming all goes to plan, most sites (but not all) will be in the app tomorrow.