Extension:ArticleRatings
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Extension }}</tvar> infobox.</translate> |
ArticleRatings Release status: unmaintained |
|
---|---|
File:ArticleRatings.png | |
Implementation | Tag , Special page |
Description | Adds a complex interface for giving pages ratings. |
Author(s) | Adam Carter |
Latest version | 2.4.2 (2017-09-09) |
MediaWiki | 1.25+ |
PHP | 5.3+ |
Database changes | Yes |
Tables | ratings |
License | GNU General Public License 2.0 or later |
Download | README |
Example | Brickimedia |
Expand | |
Expand | |
Expand | |
Expand | |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the ArticleRatings extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The ArticleRatings extension adds an interface for rating pages.
This extension was developed for Brickimedia, and is not as portable as it could be. If you need to use it on a separate MediaWiki installation, please don't hesitate to contact me on my Brickimedia talk page.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/ArticleRatings</tvar>|Download]] and move the extracted <tvar name=name>
ArticleRatings
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleRatings - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'ArticleRatings' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
User rights
- changeRating – new user right allows user to change the ratings of pages.
Tags
<rating />
adds the rating of a page to a page. <rating />
on its own will add the rating of the page it is on, and <rating page="title" />
will give the rating of title
.
Special Pages
- Special:ChangeRating – interface for changing pages' ratings.
- Special:MassRatings – interface for getting the ratings of many pages at once.
Messages
- MediaWiki:Are-ratings – JSON file giving the name, codename (has to be 2 characters long), image, and link, for each rating. Should be an array of objects, in PHP-valid JSON. See here for example. The codename is just a 2 character string used by the software to identify the ratings, it doesn't matter what it is, as long as each rating's is different. Whichever rating comes first will be the default rating (the one used before the rating has been changed)
Variables
$wgARENamespaces = $wgContentNamespaces;
- Array of namespace numbers/constants that are allowed to have ratings on them.$wgAREUseInitialRatings = false;
- If true, the ratings tag has aninit-rating
parameter that wil set the initial rating to the codename supplied, not the default. Not recommended for production use, but can be used as a workaround to allow bots to use the extension.
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Tag extensions
- Special page extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- ArticleDeleteComplete extensions
- BaseTemplateToolbox extensions
- LoadExtensionSchemaUpdates extensions
- ParserFirstCallInit extensions
- TitleMove extensions
- All extensions
- Extensions by Brickimedia
- Rating extensions