Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Wikimedia secure links

Fixes links to Wikimedia websites (Wikipedia, Wiktionary, Wikimedia Commons, etc.) to use the secure HTTPS interface at.

Fixes links to Wikimedia websites (Wikipedia, Wiktionary, Wikimedia Commons, etc.) to use the secure HTTPS interface at https://secure.wikimedia.org/wikipedia/meta/wiki/. One advantage to doing this is that if you have a unified account (a new MediaWiki feature currently being tested), logging in once on the secure server will log you in to all Wikimedia sites simultaneously.

By default, the script is only active when already browsing a Wikimedia site via the secure server, but it should be OK to enable it everywhere by just adding "*" to the list of included pages. Note that the script will ''not'' redirect you to the secure server if you access a non-secure Wikimedia URL by typing it into the address bar or through a bookmark.

Issues to note:

  • When using the Wikimedia secure server, your browser will show a crossed out padlock with the tooltip "Warning: Contains unautheticated content". This is because all images still get served over unencrypted HTTP from upload.wikimedia.org.
  • Some subdomains under *.wikimedia.org either aren't wikis (e.g. download.wikimedia.org) or don't have their corresponding secure URL at the expected location (e.g. wikimania2008.wikimedia.org). The script contains a list of subdomains to avoid, but there may be more I haven't encountered yet. Please let me know if you find any.
  • There might also be some Wikimedia wikis outside the currently matched domains that I've missed, in which case the script will not rewrite links to those. Please let me know of those too.






1 point
login to vote
Daniel Gonzá... scriptwright
Posted Jun 13, 2008

I modified your script to work with Wikileaks instead:
http://userscripts.org/scripts/show/28354

You could comment on this script if you were logged in.