Extension:SuppressExternalLinks

What can this extension do?
This extension modifies external links so they cannot be clicked. Hovering over the link shows the URL. This may be useful if say, you use an imported wiki on an Intranet with no WWW access. Suppressing the external links will prevent your users clicking them and getting 404 errors when the pages cannot be found.

The links are suppressed by replacing the &lt;a&gt; tag with a &lt;span&gt; tag. The href attribute of the &lt;a&gt; is then copied to the title attribute of the &lt;span&gt;. CSS can be used to style the spans so they look the same as the anchor tags that relaced (see example in css folder).

Download instructions
Please download the archive found here and unpack it to the extensions folder of your MediaWiki installation.

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