| Article Feedback|
Release status: unmaintained
|Description||Encourage user participation by giving readers the ability to assess an article. Give readers and editors a glanceable average of (user generated) ratings.|
|Check usage and version matrix; Feedback code metrics|
|Bugs: list open list all report|
- See Article feedback/Public Policy Pilot for more information.
The Article Feedback Tool was a Wikimedia Foundation project designed to engage Wikimedia readers in the assessment of article quality, one of the five priorities defined in the strategic plan. It has been superseded by Extension:ArticleFeedbackv5. This extension is currently unmaintained.
Installation[edit | edit source]
You also need to install:
To install this extension, add the following to LocalSettings.php:
require_once( "$IP/extensions/UserDailyContribs/UserDailyContribs.php" ); require_once( "$IP/extensions/ClickTracking/ClickTracking.php" ); require_once( "$IP/extensions/EmailCapture/EmailCapture.php" ); require_once( "$IP/extensions/ArticleFeedback/ArticleFeedback.php" ); $wgArticleFeedbackLotteryOdds = 100; // Will turn on the voting on all pages
You also must run maintenance/update.php (...twice, because it has a bug.)
If you get an error about Call to undefined function getUserEditCountSince(), then check your installation of the User Daily Contribs extension .
Configuration[edit | edit source]
$wgArticleFeedbackCategories[edit | edit source]
An array of category titles (using '_'s instead of spaces). Pages in any of these categories will have the rating widget shown. If empty (the default), the extension is effectively disabled, depending on the value of
$wgArticleFeedbackCategories = array( 'Foo_bar', 'Baz' );
$wgArticleFeedbackBlacklistCategories[edit | edit source]
Which categories the pages must not belong to have the rating widget added (with _ in text). e.g.:
$wgArticleFeedbackBlacklistCategories = array( 'Baz' );
$wgArticleFeedbackNamespaces[edit | edit source]
Only enable the rating widget in these namespaces (regardless of the category of the page). Defaults to
$wgContentNamespaces (defaults to
array( NS_MAIN ) ). e.g.:
$wgArticleFeedbackNamespaces = array( NS_MAIN, NS_HELP, NS_PROJECT );
$wgArticleFeedbackLotteryOdds[edit | edit source]
Articles not categorized as one of the values in
$wgArticleFeedbackCategories can still have the rating widget pseudo-randomly activated by applying the following odds to a lottery based on
$wgArticleId. The value can be a floating point number (percentage) in range of 0 - 100, 0 being always off, 100 being always on. Tenths of a percent are the smallest increments used. e.g.:
$wgArticleFeedbackLotteryOdds = 30.4;
$wgArticleFeedbackDashboard[edit | edit source]
Whether to enable the dashboard page (disabled by default). e.g.:
$wgArticleFeedbackDashboard = true;
$wgArticleFeedbackRatings[edit | edit source]
A good way to configure the categories is configurable 'just fine' using $wgArticleFeedbackRatings and corresponding entries in the article_feedback_ratings table.
# Don't forget to do something with the corresponding entries in the article_feedback_ratings table $wgArticleFeedbackRatings = 'just fine';
See also[edit | edit source]
- Extension:ArticleFeedbackv5, a newer version 5 of the Article Feedback Tool that is being introduced on some Wikimedia wikis.