Difference between revisions of "FavRate"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "{{Extension4info |name=FavRate |description en=Page rating system based on adding pages to «favorites» and allowing to view user’s favorites. |description ru=Систем...")
 
(No difference)

Latest revision as of 18:16, 24 April 2013

FavRate is a MediaWiki extension.

Status for Mediawiki4Intranet distribution:

  • Inclusion date: 2012-01-24
  • Included version: newest available
  • Improvement status: Created by MediaWiki4Intranet project

Usage

Add «* favratebar» line to MediaWiki:Sidebar.

You’ll see a new sidebar block with three logarithmic rating bars:

  • green is for page views
  • magenta is for how many times the page was added to favorites
  • blue is for links to the page

Installation

As usual, add the following to your LocalSettings.php:

require_once "$IP/extensions/FavRate/FavRate.php";
 
// You can override some configuration variables:
 
// Enable collecting of unique visitor logs for each page (false by default)
$egFavRateLogVisitors = true;
 
// Make all visitor logs public (false by default)
$egFavRatePublicLogs = true;
 
// Maximum value for logarithmic scale of hit count
$egFavRateMaxHits = 100000;
 
// Maximum value for logarithmic scale of favorite count
$egFavRateMaxFav = 100;
 
// Maximum value for logarithmic scale of link count
$egFavRateMaxLinks = 100;
 
// Hit count scale color
$egFavRateHitsColor = "#0c0";
 
// Favorites count scale color
$egFavRateFavColor = "#c00";
 
// Link count scale color
$egFavRateLinksColor = "#00c";