# Uncomment this if you don't have it already # require_once( "includes/DefaultSettings.php" ); $wgWikiURL = "http://www.yourdomain.com"; require_once( "extensions/wikilatex/wikilatex.php" );You will also need to create the directory extensions/wikilatex/tmp in your MediaWiki installation, and make it writable by PHP. Then download, rename to .php, and put this file in the appropriate Mediawiki directory. If there is more interest in this I'll consider putting more work into it. Tested with:
This little bit of javascript redirect the current page you are viewing to a hard-coded rewriting proxy (in this case, the UBC library). This handy bookmark lets me quickly view pages from home for which my university has a subscription to. Normally I would have to connect to the (slow) VPN to do this.
javascript:location.href='https://rsvpn.ubc.ca/'+location.href.replace('://',%20'/');
Note that this will probably not work for you without modification. It is mainly here so I can find it easily if I need it again someday. If you need help, drop me a line. Also note that since the script requires you to be at the destination page to begin with (instead of prompting you to type it in to some box), it affords the user with absolutely no anonymity whatsoever. It just saves me time.
bookmark this link