Extension:ImageTagging

From MediaWiki.org

Jump to: navigation, search

             

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

Release status: beta

Taggingdemo.png
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)
Last Version  1.0
MediaWiki  1.11+
License GNU General Public License 2.0 or later
Download Download snapshot

Subversion [Help]
Browse source code

check usage (experimental)

Wikia's 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.

[edit] Installation

  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)
  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

[edit] Usage

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.