Extension:Click

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
Click

Release status: stable

Implementation User interface
Description Adds a parser function to display an image with a link that leads to a page other than the image description page.
Author(s) MinuteElectron Talk
Version 1.4
MediaWiki 1.12.0 or higher
License GNU General Public License 2.0 or later
Download Source Code
#Releases
Hooks used

LanguageGetMagic

Adds a parser function to display an image with a link that leads to a page other than the image description page.

Bugs and feature requests should be added to MediaZilla under the 'MediaWiki extensions' product and 'Click' component.

Contents

[edit] Installation

  1. Place the Click.php source code into extensions/Click/Click.php.
  2. Add require_once( "extensions/Click/Click.php" ); to LocalSettings.php.
  3. Enjoy!

[edit] Usage

Add to a page:

{{#Click:Target|Image:Example.png|90px|Caption is here.}}

Width (90px) and caption are optional. Target may be an internal or external link, but internal links take presedence.

[edit] Releases

Version Release date Comments
1.1 2008-03-28 Original version.
1.2 2008-03-28 Graceful handelling of invalid titles.
1.3 2008-03-29 Now renders inline successfully.
1.4 2008-03-29 Title accessiblity fixes.

[edit] See Also

Personal tools