Extension:Imagetabs

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Imagetabs
Release status: unmaintained
Imagetabs.png
Implementation User interface
Description An extension that shows interwiki tabs above Image: pages
Author(s) Joe Beaudoin Jr. and Roan Kattouw
Latest version 1.0 (2007-08-31)
MediaWiki 1.10+
License GPL
Download Template:WikimediaDownload/svn
README
CHANGELOG
Parameters
$wgEnableInterwikiImageTabs, $wgInterwikiImageTabs
Hooks used
SkinTemplateContentActions
Translate the Imagetabs extension if it is available at translatewiki.net
Check usage and version matrix.

What can this extension do?[edit]

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.

Installation[edit]

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.

Parameters[edit]

  • $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.

Changes to LocalSettings.php[edit]

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