Reddit-style voting on Trac resources


This plugin adds a context-navigation entry, that lets users easily vote for a Trac resource, including Wiki pages, tickets, milestones, etc.

If a user has a valid session (created through the Preferences panel) and the VOTE_MODIFY permission, he/she will be able to vote.

Since tracvote-0.2 there are some WikiMacros available in addition to example TracReports on the votes db table.

See also: FiveStarVotePlugin

Bugs/Feature Requests

Existing bugs and feature requests for VotePlugin are here.

If you have any issues, create a new ticket.


42 / 43


10 / 12


1 / 1


Download the zipped source from here.

The plugin is also available on PyPI.


You can check out VotePlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Add the following to the [components] section of your trac.ini file:

tracvote.* = enabled


Configure the list of URL paths to allow voting. Globs are supported, however not all realms (paths) are supported. Be sure to test the plugin on each path for which voting is allowed.

paths = /ticket*,/wiki*

This grants users the VOTE_VIEW and VOTE_MODIFY permission where appropriate.


  • VOTE_MODIFY inherits view permission since tracvote-0.1.5.
  • Since tracvote-0.2 a default set of permissions is configured once after creating the Trac database table for this plugin.

Probably you will need to run the following:

trac-admin /path/to/projenv upgrade

You will also need to restart your webserver for the plugin to be available, appear in the list of those installed, have the permissions available, etc.

Example SQL statements for creating useful reports for tickets and wiki pages are included in SqlQueryForReport.txt in the plugin source.


You've done a new translation? Superb! Contributing your translation is highly appreciated.
You could send it to the plugin's maintainer or contribute to Trac plugin l10n project via Transifex:

Top translations: Trac_Plugin-L10N » voteplugin

Kindly provided by

Recent Changes

16956 by rjollos on 2017-11-04 06:45:53
TracVote 0.7.0dev: Use list literal

Refs #13324.

16955 by rjollos on 2017-11-04 06:44:07
TracVote 0.7.0dev: Fix ProgrammingError with PostgreSQL

Fixes #13324.

16933 by rjollos on 2017-10-30 22:56:14
TracVote 0.7.0dev: Refactor to use resource from context

Follow-on to r16920. Thanks to Jun Omae for review.

Refs #11073.



Author: athomas
Maintainer: Ryan J Ollos
Contributors: k0s, hasienda, PeterLawrence, cboos, jun66j5

Last modified 2 years ago Last modified on Oct 23, 2017, 7:48:41 AM

Attachments (1)

Download all attachments as: .zip