Force SSL for Wikipedia (for advanced users)
Automated disclaimer: This post was written more than 10 years ago and I may not have looked at it since.
Older posts may not align with who I am today and how I would think or write, and may have been written in reaction to a cultural context that no longer applies. Some of my high school or college posts are just embarrassing. However, I have left them public because I believe in keeping old web pages aliveāand it's interesting to see how I've changed.
I'll delete any tech-support questions in the chain, called "rewriter". Set it to a SOCKS 5 proxy at localhost:80, using the whitelist regex http://[a-z0-9]+)\.wikipedia\.org/', $host, $m_domain)) {
header("Location: https://secure.wikimedia.org/wikipedia/{$m_domain[1]}{$path}");
die();
}
?>
No comments yet.
Self-service commenting is not yet reimplemented after the Wordpress migration, sorry! For now, you can respond by email; please indicate whether you're OK with having your response posted publicly (and if so, under what name).