Last modified: 2012-08-20 08:18:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40386, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38386 - Make use of the ISO3166 extension for adm regions
Make use of the ISO3166 extension for adm regions
Status: RESOLVED FIXED
Product: Wiki Loves Monuments
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 38313 38385
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-13 20:08 UTC by Maarten Dammers
Modified: 2012-08-20 08:18 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2012-07-13 20:08:19 UTC
The api should be modified to lookups in the ISO3166 extension when browsing the admin_tree. You probably want to return adm0-4 with the code and a different variable containing the localized name.
Comment 1 Max Semenik 2012-08-17 20:43:48 UTC
Done: r863-r864 + https://github.com/awjrichards/WLM-ISO-3166-2
Comment 2 Maarten Dammers 2012-08-18 11:34:57 UTC
I think you wanted to update https://bugzilla.wikimedia.org/show_bug.cgi?id=38385 . This bug should be closed when http://toolserver.org/~erfgoed/api/api.php?action=adminlevels&format=json&admtree=nl starts returning the content

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links