FavRate
From Wiki4Intranet
FavRate is a MediaWiki extension.
- Main purpose: Page rating system based on adding pages to «favorites» and allowing to view user’s favorites.
- Repository: https://github.com/mediawiki4intranet/FavRate
- Homepage: http://wiki.4intra.net/FavRate
- License: GPLv2.0+
- Created: 2012-01-24
- Our rating: Likely useful (4)
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";