Extension:ArticleFeedback
|
Article Feedback Release status: unmaintained |
|||
|---|---|---|---|
| Implementation | API | ||
| Description | Encourage user participation by giving readers the ability to assess an article. Give readers and editors a glanceable average of (user generated) ratings. | ||
| MediaWiki | 1.18+ | ||
| Database changes | yes | ||
| License | GPLv2 | ||
| Download | |||
|
|||
| Check usage and version matrix | |||
| 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.
Contents |
Installation [edit]
You also need to install:
- Extension:ClickTracking (which requires Extension:UserDailyContribs)
- Extension:EmailCapture
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]
$wgArticleFeedbackCategories [edit]
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 $wgArticleFeedbackLotteryOdds. e.g.:
-
$wgArticleFeedbackCategories = array( 'Foo_bar', 'Baz' );
$wgArticleFeedbackBlacklistCategories [edit]
Which categories the pages must not belong to have the rating widget added (with _ in text). e.g.:
-
$wgArticleFeedbackBlacklistCategories = array( 'Baz' );
$wgArticleFeedbackNamespaces [edit]
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]
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]
Whether to enable the dashboard page (disabled by default). e.g.:
-
$wgArticleFeedbackDashboard = true;
$wgArticleFeedbackRatings [edit]
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]
- Extension:ArticleFeedbackv5, a newer version 5 of the Article Feedback Tool that is being introduced on some Wikimedia wikis.