Extension:ImageRating

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
ImageRating

Release status:Extension status stable

350px
ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Adds a special page to categorize and rate images.
Author(s)Template:Extension#username
Latest versionTemplate:Extension#version 2.0 (25 January 2016)
MediaWikiTemplate:Extension#mediawiki 1.30+
Database changesTemplate:Extension#needs-updatephp Yes
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ExampleTemplate:Extension#example Social tools' development/test wiki on Wikimedia Labs
Added rightsTemplate:Extension#rights

rateimage

Hooks usedTemplate:Extension#hook
ParserFirstCallInitManual:Hooks/ParserFirstCallInit

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

Check usage and version matrix.

IssuesPhabricator

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 the 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[edit]

  • 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' );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Notes[edit]

  • ImageRating only works on locally uploaded files

API documentation[edit]

imagerating[edit]

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.


Social toolsSocial tools
SocialProfileExtension:SocialProfile OverviewExtension:SocialProfileDeveloper infoExtension:SocialProfile/For developersScreenshotsExtension:SocialProfile/ScreenshotsHistorySocial tools#History
Other social extensions Automatic Board WelcomeExtension:Automatic Board WelcomeBlogPageExtension:BlogPageChallengeExtension:ChallengeFanBoxesExtension:FanBoxesMiniInviteExtension:MiniInviteNewUsersListExtension:NewUsersListPictureGameExtension:PictureGamePollNYExtension:PollNYQuizGameExtension:QuizGameRandomFeaturedUserExtension:RandomFeaturedUserRandomGameUnitExtension:RandomGameUnitRandomUsersWithAvatarsExtension:RandomUsersWithAvatarsSiteMetricsExtension:SiteMetricsSiteScoutExtension:SiteScoutSportsTeamsExtension:SportsTeamsUserStatusExtension:UserStatusUserWelcomeExtension:UserWelcome
Other related extensions

(which do not depend on SocialProfile)

AnswersExtension:AnswersAJAXPollExtension:AJAXPollCommentsExtension:CommentsImageRatingExtension:ImageRatingLinkFilterExtension:LinkFilterMediaWikiChatExtension:MediaWikiChatNewSignupPageExtension:NewSignupPageTopListsExtension:TopListsVideoExtension:VideoVoteNYExtension:VoteNYWikiForumExtension:WikiForumWikiTextLoggedInOutExtension:WikiTextLoggedInOut