Page MenuHomePhabricator

Wikivoyage not blocked in Turkey, but actually fails because it relies on www.wikipedia.org/search-redirect.php which is blocked
Open, Needs TriagePublic

Description

https://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Turkish_Censorship :

I am writing from Istanbul. Turkey is blocking Wikipedia. Wikivoyage is not blocked. Except that if you just go to www.wikivoyage.org and type in a destination, e.g., Istanbul, you will be blocked because you are sent to the Wikipedia default language redirect https://www.wikipedia.org/search-redirect.php?family=wikivoyage&search=istanbul&button=&language=en&go=Go. If you go to www.wikivoyage.org, choose english and then search for a destination it works fine. But that might not be obvious to most users. Maybe Wikivoyage should just have English as the default language as e.g., Wikivoyage has. Or WV should have its own redirect page. Or the search-redirect should be on wikimedia. Elgaard (talk) 21:24, 2 April 2018 (UTC)

If I understand correctly, people would be able to use Wikivoyage if all requests were processed on the site, but for some reason a request is run by wikipedia.org (which is prone to censorship), so people can not access Wikivoyage content either.

I am sure that hosting the redirect on the wikipedia.org server has some technological implementation merits unknown to me, but how about changing that if it is not too costly? Allowing whole countries to access Wikivoyage/etc sounds like a huge merit to me. Thanks for considering! :-)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 3 2018, 6:58 AM
Restricted Application added a project: Discovery. · View Herald TranscriptApr 3 2018, 8:29 AM
Base added a subscriber: Base.Apr 3 2018, 9:21 AM
Reedy added a subscriber: Reedy.Apr 3 2018, 12:08 PM

https://github.com/wikimedia/portals/blob/b2f9fbe60044e2d80a169d9de612c667e0c01415/dev/wikipedia.org/templates/search.handlebars#L3 is the usage in the "code"/template...

https://www.wikivoyage.org/search-redirect.php works.. (so the file is in place) but it ends up at https://.wikipedia.org/wiki/Special:Search?search= which is definitely broken

https://github.com/wikimedia/operations-mediawiki-config/blob/master/docroot/wwwportal/w/search-redirect.php would seem to suggest the validation isn't good enough if it ends up with no language...

Reedy added a comment.Apr 3 2018, 12:12 PM

Actually, based on https://github.com/wikimedia/portals#overview it's the usage on https://meta.wikimedia.org/wiki/Www.wikivoyage.org_template that it comes from... Which then needs to pull in to the repos and pushed through for deploying..

Just the technical questions to do

Jdrewniak moved this task from Untriaged to Bugs on the Wikimedia-Portals board.May 8 2018, 8:46 AM