No rating for project root page
|Reported by:||rlrj60||Owned by:||Ryan J Ollos|
The URL is equivalent to http://www.example.com/foo/wiki/wikiStart page. This was caused by a limitation in voteable_paths:
voteable_paths = ListOption('fivestarvote', 'paths', '/wiki*,/ticket*',
My suggestion is to add '/$' to the voteable_paths to allow the FiveStars to show up in the root page.
voteable_paths = ListOption('fivestarvote', 'paths', '/$', '/wiki*,/ticket*',
Though a small modification is required to map the root page to the wikiStart page:
# Special-case start page with "/" or "/wiki" if resource == '' or resource == 'wiki': resource = 'wiki/WikiStart'
Attached is a complete patch. Thanks for creating such a cool plugin.