Extension:ImageRating

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
ImageRating
Release status: stableCategory:Stable extensions
Implementation Special page Category:Special page extensions
Description Adds a special page to categorize and rate images.
Author(s)
Latest version 2.5.0 (2020-01-14)
MediaWiki 1.43+Category:Extensions with manual MediaWiki version
Database changes Yes
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • rateimage
Quarterly downloads 0
Translate the ImageRating extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

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

Installation

  • Download and move the extracted ImageRating folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageRating
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ImageRating' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Notes

  • ImageRating only works on locally uploaded files

API documentation

imagerating

This API module allows adding categories to an image page. 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.
Category:Social tools Category:Extensions by Fandom Category:Extensions by ShoutWiki
Category:All extensions Category:Extensions by Fandom Category:Extensions by ShoutWiki Category:Extensions in Wikimedia version control Category:Extensions included in Miraheze Category:Extensions included in WikiForge Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:Social tools Category:Special page extensions Category:Stable extensions