Index: trunk/extensions/AJAXPoll/AJAXPoll.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | $wgExtensionCredits['parserhook'][] = array( |
33 | 33 | 'path' => __FILE__, |
34 | 34 | 'name' => 'AJAX Poll', |
35 | | - 'version' => '1.65 20120312', |
| 35 | + 'version' => '1.66 20120312', |
36 | 36 | 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' ), |
37 | 37 | 'descriptionmsg' => 'ajaxpoll-desc', |
38 | 38 | 'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll', |
— | — | @@ -47,9 +47,11 @@ |
48 | 48 | # new user rights |
49 | 49 | $wgAvailableRights[] = 'ajaxpoll-vote'; |
50 | 50 | |
51 | | -# default: nobody can vote |
52 | | -$wgGroupPermissions['*']['ajaxpoll-vote'] = false; |
53 | | -# allow users to vote |
| 51 | +# default: everyone can vote |
| 52 | +$wgGroupPermissions['*']['ajaxpoll-vote'] = true; |
| 53 | +# if you want to allow only users to vote, use the following code lines |
| 54 | +# in your LocalSettings.php after calling the AJAXPoll extension: |
| 55 | +# $wgGroupPermissions['*']['ajaxpoll-vote'] = false; |
54 | 56 | # $wgGroupPermissions['user']['ajaxpoll-vote'] = true; |
55 | 57 | |
56 | 58 | // Parameter to enable the automatic tracking category |