From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: beta

Implementation Special page, User interface
Description Lets a user select regions of an embedded image and associate an article with that region
Author(s) Wikia, Inc. (Tristan Harris, Tomasz Klim)
Latest version 1.2
MediaWiki 1.11+
License GNU General Public License 2.0 or later
Download Template:WikimediaDownload/svn
Hooks used


Translate the ImageTagging extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

ImageTagging extension lets a user select regions of an embedded image and associate an article with that region. Images can be viewed by tag. Tagging is shown in a new tag log.

See Help:Image tagging on Help Wikia for more information.

Installation[edit | edit source]

  1. Download the files from SVN and place them into extensions/ImageTagging
  2. Add the required table imagetags to database by executing img_tagging.sql (if you're using MySQL) or img_tagging.pg.sql (if you're using PostgreSQL)
    1. mysql -u username -p database < img_tagging.sql
  3. Add require_once("$IP/extensions/ImageTagging/ImageTagging.php"); to your wiki's LocalSettings.php
  4. Installation can be verified through your wiki's Special:Version

Usage[edit | edit source]

Go to a image page on your wiki. You should see "Tag this imageNew!" next to "Links" in the header. Clicking on the "Tag this image" pops out the usage info. Now you can click on any part on the picture (e.g. a person) to tag it. You can use interwiki links in the tag, too. It is useful if you would like to link to an article about Jimmy Wales that doesn't exist locally but exists on Wikipedia or another wiki in the interwiki map.

After you are done, click "Done tagging" and the ImageTagging menu is dismissed. Below the file size & MIME type info, you can see all existing tags that the image has. Clicking on "images" allows to see more pictures tagged with the same tag and "remove tag" allows to remove an existing tag. Image tag additions and removal are logged to image tagging log (Special:Log/tag) which is a bit buggy at the moment.

You can view all tagged images on Special:TaggedImages.