Extension:LinkedImage

LinkedImage is a MediaWiki extension that requires at least version 1.5 of MediaWiki.

Usually any displayed image in MediaWiki is linked to its own article. This extension was created to provide a possibility to display an image that is linked to an article other than its own one.

Usage - Example
wikipage=Main_Page tooltip=Main Page img_src=Image:Sample.gif img_width=10% img_height=10px img_alt=Sampletext

Installation

 * copy LinkedImages.php to the extensions folder
 * add require_once($IP . '/extensions/LinkedImages.php'); to the end of LocalSettings.php

LinkedImages.php code
Version: 0.3

Changelog

 * Version 0.3: fixed XSS vulnerbility, cleaned up code, added support for in url