Extension:ArticleFeedbackv5


 * See Article feedback/Version 5 for more information.

The Article Feedback Tool, Version 5 is 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 is currently deployed on a subset of pages on the English Wikipedia. Later versions will have a page to show feedback posted to an article, with moderation tools.

Installation
You also need to install:
 * Extension:ClickTracking
 * Extension:UserDailyContribs
 * Extension:E3Experiments

To install this extension, add the following to LocalSettings.php:

and run maintenance/update.php

$wgArticleFeedbackv5Categories
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. e.g.:

$wgArticleFeedbackv5BlacklistCategories
Which categories the pages must not belong to have the widget added (with _ in text). e.g.:

$wgArticleFeedbackv5Namespaces
Only enable the widget in these namespaces (regardless of the category of the page). Defaults to  (defaults to   ). e.g.:

$wgArticleFeedbackv5LotteryOdds
Percentage of article AFT should be enabled on. Note that even when a lottery is set for a certain namespace, AFT will not show up unless that namespace is also added to $wgArticleFeedbackv5Namespaces. This can be set either as integer as a site-wide percentage, or as a key-value array for a per-namespace percentage. e.g.:

Technical: all articles with an ID ending on (1000 - (odds * 10)) and above, will get AFT enabled. E.g. when setting odds at 15%, all articles whose ID ends in 850-999 will have AFT enabled.

$wgArticleFeedbackv5TalkPageLink
Defines whether or not there should be a link to the corresponding feedback on the page's talk page. e.g.:

$wgArticleFeedbackv5WatchlistLink
Defines whether or not there should be a link to the watchlisted feedback on the watchlist page. e.g.:

$wgArticleFeedbackv5DisplayBuckets
This defines which form should be displayed and at what percentage. Note that support for some forms (2, 3, 5) has been discontinued completely, as they no longer fit the technical architecture the rest was built upon.

$wgArticleFeedbackv5LinkBuckets
This defines which links should be displayed and at what percentage.

$wgArticleFeedbackv5CTABuckets
This defines which CTAs should be displayed and at what percentage.

$wgArticleFeedbackv5MaxCommentLength
Restrict comment length to an arbitrary number of characters. Defaults to zero for no check. e.g.:

Permissions
AFTv5 introduces a new set of permissions to define users' access roles. These are mapped to the following already existing groups by default, so make sure these are configured on your setup (or bind the AFT-permissions to the appropriate groups in your setup):
 * aft-reader: *, user, confirmed, autoconfirmed, rollbacker, reviewer, sysop, oversight
 * aft-member: user, confirmed, autoconfirmed, rollbacker, reviewer, sysop, oversight
 * aft-editor: confirmed, autoconfirmed, rollbacker, reviewer, sysop, oversight
 * aft-monitor: rollbacker, reviewer, sysop, oversight
 * aft-administrator: sysop, oversight
 * aft-oversighter: oversight

Feedback
Open tickets in Wikimedia's Bugzilla under the "ArticleFeedbackv5" component in the "MediaWiki extensions" product.
 * Open ArticleFeedbackv5 tickets