Erweiterung:ImageRating

From mediawiki.org
This page is a translated version of the page Extension:ImageRating and the translation is 29% complete.
MediaWiki-Erweiterungen
ImageRating
Freigabestatus: stabil
Einbindung Spezialseite
Beschreibung Adds a special page to categorize and rate images.
Autor(en)
Letzte Version 2.5.0 (2020-01-14)
MediaWiki 1.39+
Datenbankänderungen Ja
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen
  • rateimage
Quarterly downloads 1 (Ranked 143rd)
Übersetze die ImageRating-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

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 Erweiterung: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

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens ImageRating im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageRating
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'ImageRating' );
    
  • Yes Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Anmerkungen

  • ImageRating only works on locally uploaded files

API-Dokumentation

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.