Extension:HideReferringPage

What can this extension do?
For companies and organizations with private wikis, the title of a wiki can give sites that you link to, too much information. For example if a sysadmin at Company A noticed a referrer in their access logs from Company B titled "Potential Acquisitions" that person could use this information to trade stock, or notify management of a potential takeover.

This extension sends all external links on your wiki through a redirect page so the referring page is unknown. External images are sent through a proxy for the same reason (Image proxying can be disabled).

Usage
Once installed all external images and links will be re-written when pages are viewed so the links can be clicked without worrying about the page name being sent to the external site.

Download instructions
Download this tarball. http://tonycode.com/HideReferringPage.tar.gz

Extract it in your $IP/extensions/ direction

tar -zxvf HideReferringPage.tar.gz

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
If your wiki allows external images ($wgAllowExternalImages = true) but this extension breaks external images you will need to disable the image proxy by setting $wgHideReferringPageImages=false in LocalSettings.php

This means if you have a link to Company B's logo on your wiki pages the will see this information in their access logs. If this is a concern you should probably set $wgAllowExternalImages=false to prevent this.