Modify

Opened 7 years ago

Last modified 7 years ago

#15314 new defect

Investigate why Wikidata "fetch IDs" doesn't work behind TR firewall

Reported by: nyurik Owned by: simon04
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: Cc:

Description

As reported by @katpatuka in http://www.openstreetmap.org/changeset/52026130 , "Fetch Wikidata IDs" gives an error, but "Fetch coordinates in current view" works. If possible, we should figure out a way to work around this lovely limitation.

Attachments (0)

Change History (3)

comment:1 by Don-vip, 7 years ago

I suppose it might not be easy for those who don't live in Turkey. As you started to dig in the wikipedia plugin, do you have any idea what could be done?

comment:2 by nyurik, 7 years ago

Fetch all coordinates uses MW api - which technically should not work, so this is very strange. The APIs are en.wikipedia.org/w/api.php and www.wikidata.org/w/api.php . I really don't know how TR is blocking, but wp is using https, and both hosts resolve to 208.80.154.224. All three operations (fetch WD coordinates, Wikipedia links, and Fetch IDs) go to the exactly the same IP. I will ping the user again.

comment:3 by nyurik, 7 years ago

User response - they used tools.wmflabs.org service - probably for category and other fetching. https://pastebin.com/VGbbpDvR

We could solve this problem by using query.wikidata.org instead of en.wikipedia.org / www.wikidata.org. This way if Turkey users can simply switch to the osm+wikidata service in the settings - which is a copy of the query.wikidata.org.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain simon04.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from simon04 to the specified user.
Next status will be 'needinfo'. The owner will be changed from simon04 to nyurik.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from simon04 to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.