Wikipedia (as well as other wikimedia projects) have the ability to provide connection to users using https. This feature can be very useful in places with active censorship over the internet.
This script ensures that wikipedia, and wikipedia's sister projects use the https connection.
The script works well, yet it's still the first version, and many enhancement are still possible.
If you have problem with it, drop a comment in order to try to fix out bugs.
I hope you consider it useful. If you find it interesting, I have made as well a Firefox search engine that returns wikipedia articles directly in secure http (i.e. https). Its code can be found here, and you can install it to your browser by clicking on it here.