blob: 54a5d214dd24b6e509128e10a3add644333154a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Vote
A MediaWiki extension to provide a user-friendly graphical
user interface for votes conducted on wiki pages. To add
a vote to a page you just add the `<vote>` tag as follows:
<vote>
</vote>
This extension then turns this tag into a web form with radio buttons
for the available options (approve, oppose and abstain) and a textarea
to attach a comment to the vote. When you submit the form, the extension
simply edits the page, inserting a new line before the closing `</vote>`
tag. By storing the votes in the page text all the changes are
conveniently and transparently tracked in the page history.
Additional features include:
* The votes are automatically tallied.
* You can change your vote by just submitting the form again
(your last vote counts).
* An end date may be specified for the vote with the `end` attribute
e.g. with `<vote end=2022-10-15>` the vote will close on the 15th
October 2022 at 23:59 in the [wiki timezone].
After the deadline the web form to add new votes disappears.
* A vote may be cancelled by adding the `cancel` attribute,
e.g. `<vote cancel>`.
* Any line within the `<vote>` tag that does not start with `* `
is skipped when tallying, so it is possible to reply to votes
by editing the wikitext, e.g:
<vote>
* 2022-10-14 12:28 Alice: NO I am concerned that ...
: Some reply to Alice ... --~~~~
* 2022-10-14 12:30 Bob: YES I think that ...
</vote>
Pages with open votes are by default tracked in the
`Category:Pages with open votes` category (which can be customized
by editing `MediaWiki:pages-with-open-votes-category`).
[wiki timezone]: https://www.mediawiki.org/wiki/Manual:Timezone
## Backstory
The extension was developed by [push-f] for the [OpenStreetMap Wiki] to
make its [proposal voting process] more welcoming to people unfamiliar
with wikitext. OpenStreetMap is edited by hundreds of thousands people,
most of which are probably unfamiliar with wiki editing. While in
comparison only very few people participate in the proposal voting,
everybody is welcome to do so, so it makes sense to simplify the process.
[push-f]: https://push-f.com/
[OpenStreetMap Wiki]: https://wiki.openstreetmap.org/
[proposal voting process]: https://wiki.openstreetmap.org/wiki/Proposal_process#Voting
|