Extension:Click

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
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) Robert Leverington (RobertLTalk)
Last version 1.4
MediaWiki 1.12.x and 1.13.x
License GNU General Public License 2.0 or later
Download Subversion [Help]
Browse source code
#Releases
Hooks used
LanguageGetMagic

Check usage (experimental)

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

This extension is no longer being developed and its targeted versions have both reached their end-of-life period. You are advised to upgrade to a newer version of MediaWiki and use the built in functionality (see Help:Images for the syntax).

Contents

[edit] Installation

  1. Download the extension from Subversion and place it in your extensions directory.
  2. Add require_once $IP . '/extensions/Click/Click.php'; to LocalSettings.php.

[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 precedence.

[edit] Releases

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

[edit] See also

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox