Extension:Imagetabs

From MediaWiki.org

Jump to: navigation, search

               

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Imagetabs

Release status: beta

Imagetabs.png
Implementation  User interface
Description An extension that shows interwiki tabs above Image: pages
Author(s)  Joe Beaudoin Jr. and Roan Kattouw
Last Version  1.0 (August 31, 2007)
MediaWiki  1.10 and higher
License GPL
Download Download snapshot

Subversion [Help]
Browse source code

README
CHANGELOG

check usage (experimental)

Contents

[edit] What can this extension do?

When you use one wiki as an image repository for multiple wikis (through shared uploads), it's hard to find out where a specific image is used, as you have to check it at all wikis. Imagetabs is an extension that makes this easier by adding interwiki tabs above Image: pages.

[edit] Installation

Just download imagetabs.php through the download link in the infobox on the right and move it to the /extensions/imagetabs/ directory. See also the README file.

[edit] Parameters

  • $wgEnableInterwikiImageTabs: if set to true, Imagetabs is enabled, if set to false, it's disabled.
  • $wgInterwikiImageTabs: An associative array with the keys representing interwiki prefixes, and the values being the tabs' captions. For a more detailed explanation, see the README.

[edit] Changes to LocalSettings.php

require_once("$IP/extensions/Imagetabs/imagetabs.php");
$wgEnableInterwikiImageTabs = true;
$wgInterwikiImageTabs = array(
        'prefix1' => 'caption1',
        'prefix2' => 'caption2',
        'prefix3' => 'caption3'
);