HACKER Q&A
📣 oriettaxx

Easy Workaround for Wikipedia Censorship in Turkey


Wikipedia (in any language) is banned in Turkey, which is very annoying.

A working solution (many thanks to whoever did it!) is the so called "wikizero", where you add a "0" to each wikipedia link (just before the word "wikipedia"):

So the original: * https://en.wikipedia.org/wiki/Censorship_in_Turkey becomes * https://en.0wikipedia.org/wiki/Censorship_in_Turkey

Now, is it possible to make this hack working automatically on my browser? I mean, without having to add the "0" manually on each link?



👤 oriettaxx
Since you are here: this app https://ooni.torproject.org/post/ooni-mobile-app/ is pretty good! and is a good test to know how the country you live in is dealing with censorship (it detects 'middleboxes' in your network, too).

Note that the app data is used as evidence of any censorship events that you come across, so data is collected and published (this is the main aim of this app)


👤 lovelearning
Install this "Redirector" add-on for your respective browser.

Then create a new redirect:

EDIT: Sorry, I got the include and redirect reversed. You need to redirect censored domain to uncensored domain.

Include Pattern:

  *.wikipedia.org/*
Redirect to: $1.0wikipedia.org/$2

Pattern type: wildcard

Example URL is just for testing. Use any 0wikipedia URL.

I use this too, but for distraction avoidance. Any addictive website is redirected to my todo page :)

[1]: https://einaregilsson.com/redirector/


👤 erkanerol
I am using wikiwand: https://www.wikiwand.com/

👤 amagasaki
I didn't look at the source code, but there seems to be a Chrome extension that does this. https://chrome.google.com/webstore/detail/wikizero/ailedophm...

👤 oriettaxx
BTW: Apparently it works also with "1" and "2" and not just "0"

👤 ravenstine
You can change your hosts file so that 0wikipedia.org points to the same IP as Wikipedia.org.

👤 turnkeyreverse
Hm interesting. There are a few options: 1) a browser extension that automagically replaces all wikipedia urls with 0wikipedia 2) a local http proxy for all requests where wikipedia is redirected to 0wikipedia 3) a local http server and a local record for wikipedia localhost and a permanent redirect to 0wikipedia