Jump to content

Extension:ArticleRatings/nl

From mediawiki.org
This page is a translated version of the page Extension:ArticleRatings and the translation is 100% complete.
MediaWiki Handleiding extensies
ArticleRatings
Release status: stabiel
Implementatie Tag , Speciale pagina
Beschrijving Voegt een complexe interface toe voor het geven van beoordelingen aan pagina's.
Auteur(s) Adam Carter
Laatste versie 2.7
MediaWiki >= 1.43.0
Database wijzigingen Ja
Tabellen ratings
Licentie GNU General Public Licentie 2.0 of hoger
Download
README
Voorbeeld Brickimedia
  • $wgAREUseInitialRatings
  • $wgARENamespaces
‎<rating />
change-rating
Vertaal de ArticleRatings extensie indien beschikbaar op translatewiki.net
Problemen Open taken · Rapporteer een bug

De extensie ArticleRatings voegt een interface toe voor beoordelingspagina's. Geprivilegieerde gebruikers (die met het gebruikersrecht change-rating, standaard de leden van de groep reviewers) zien een link bij de hulpmiddelen op ondersteunde skins en kunnen de interface gebruiken bij Special:ChangeRating om de beoordelingen van pagina's te wijzigen.

This extension was developed for Brickimedia, and is not as portable as it could be.

Installatie

  • Download en plaats de bestanden in de map ArticleRatings in de map extensions/.
    Ontwikkelaars en bijdragers van code moeten in plaats daarvan de extensie van Git installeren, met behulp van:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleRatings
    
  • Voeg de volgende code onderaan het bestand LocalSettings.php toe:
    wfLoadExtension( 'ArticleRatings' );
    
    Configureer MediaWiki:Are-ratings interface-bericht op wiki; zie #Messages hieronder voor meer informatie. Dit is niet optioneel!
  • Yes Klaar – Navigeer naar Special:Version op de wiki om te controleren dat de extensie geïnstalleerd is.

Gebruikersrechten

  • change-rating – new user right allows user to change the ratings of pages.

Tags

‎<rating /> voegt de beoordeling van een pagina toe aan een pagina. ‎<rating /> on its own will add the rating of the page it is on, and <rating page="title" /> will give the rating of title.

Special pages

  • Special:ChangeRating – interface for changing pages' ratings.
  • Special:MassRatings – interface for getting the ratings of many pages at once.

Messages

  • MediaWiki:Are-ratings – JSON file giving the name, codename (has to be 2 characters long), image, and link, for each rating. Should be an array of objects, in PHP-valid JSON. See Brickipedia for an example. The codename is just a 2 character string used by the software to identify the ratings, it doesn't matter what it is, as long as each rating's is different. Whichever rating comes first will be the default rating (the one used before the rating has been changed)

Variables

  • $wgARENamespaces = $wgContentNamespaces; - Array of namespace numbers/constants that are allowed to have ratings on them.
  • $wgAREUseInitialRatings = false; - If true, the ratings tag has an init-rating parameter that wil set the initial rating to the codename supplied, not the default. Not recommended for production use, but can be used as a workaround to allow bots to use the extension.