Skip to content
Snippets Groups Projects
Commit 1b6c1fc6 authored by Frank Duncan's avatar Frank Duncan
Browse files

Update documentation

parent 609636a2
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ on the `Special:RankedScore` page ranked in order by votes.
* `$wgRankedChoices` - An array of RankedChoice configuration with the following keys:
* `value` - The numeric value of a choice (used for ranking)
* `tag` - The display tag
* `table_tag` - The display tag in the RankedScore table (optional, defaults to `tag`)
* `name` - The name for use in the database
* `class` - The CSS class for use in the lists (for customization)
......@@ -70,23 +71,10 @@ $wgRankedChoiceChoices = [
## Special Page
This extension creates a new special page called "Special:RankedScoring".
This extension creates a new special page called "Special:RankedScore".
This lists all the pages on which choices have been made, and how many of each kind of
vote was placed.
## Rights
* `'rankedchoice'` - Accounts who have the rights to use RankedChoice can access the interface.:
* `'rankedchoice-write'` - Accounts that can add/remove choices. Accounts that have `'rankedchoice'` but not `'rankedchoice-write`' will be able to view choices, but not make them
* `'rankedchoice-admin'` - Accounts that can remove other user choices
To enable for everyone, the following to lines should be added:
```
$wgGroupPermissions['*']['rankedchoice'] = true;
$wgGroupPermissions['*']['rankedchoice-write'] = true;
```
## Internationalization
Currently only has support for English.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment