Extension:FaviconLink

Introduction
Grabs the favicon from the site you're linking to, and puts it in front of the link

Download and Installation
Step 1: Copy-paste this code into a file FaviconLink.php and place it in extensions directory.

Step 2: Add the following line to LocalSettings.php:

Step 3: Add links to your page using  .

For example: