Open main menu

Udvidelse:ImageRating

This page is a translated version of the page Extension:ImageRating and the translation is 36% complete.

Other languages:
English • ‎dansk • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
ImageRating
Release status: stabil
300px
Implementation Special page
Beskrivelse Adds a special page to categorize and rate images.
Forfatter(e)
Latest version 2.0 (2016-01-25)
MediaWiki 1.33+
Database changes Ja
Licens GNU General Public License 2.0 or later
Download
Eksempel Social tools' development/test wiki on Wikimedia Labs
rateimage
Translate the ImageRating extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The ImageRating extension adds a new special page, Special:ImageRating, where privileged users can categorize and rate images. By default all registered users are given the rateimage user right , which is required for users to be able to access this special page.

The rating functionality uses Udvidelse:VoteNY extension, and thus VoteNY is a hard dependency for this extension, i.e. you cannot install and/or use ImageRating without installing VoteNY, too.

Contents

Installation

  • Download and place the file(s) in a directory called ImageRating in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'ImageRating' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Bemærkninger

  • ImageRating only works on locally uploaded files

API-dokumentation

imagerating

This API receives new messages. To call the API, use action=imagerating along with 2 parameters, pageId and categories.

  • pageId - The page ID of the image.
  • categories - The categories to add to the image. The categories should be separated by commas without spaces.