What do I have to do to the code to make it work on my wiki? Is this even possible, or is it a purely WMF-only thing? Not really sure where to start...any help appreciated!
On 28/12/06, Gary Kirk gary.kirk@gmail.com wrote:
What do I have to do to the code to make it work on my wiki? Is this even possible, or is it a purely WMF-only thing? Not really sure where to start...any help appreciated!
Why are you using that code instead of writing your own? What does the code do that you need? What does it not do that you need? What does it do that you don't need? Why did you choose to use a Wikimedia-written extension?
A few questions to think about...
Rob Church
I have no idea how to be writing code to do anything, to be quite honest :( The idea is to allow logged-in users to be able to vote for the person they want to be chosen to fulfil a certain role. (Host of a charity version of Deal or No Deal, if you must know :P) It's just an idea I had, and thought of Boardvote.
On 12/28/06, Rob Church robchur@gmail.com wrote:
On 28/12/06, Gary Kirk gary.kirk@gmail.com wrote:
What do I have to do to the code to make it work on my wiki? Is this
even
possible, or is it a purely WMF-only thing? Not really sure where to start...any help appreciated!
Why are you using that code instead of writing your own? What does the code do that you need? What does it not do that you need? What does it do that you don't need? Why did you choose to use a Wikimedia-written extension?
A few questions to think about...
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 28/12/06, Gary Kirk gary.kirk@gmail.com wrote:
I have no idea how to be writing code to do anything, to be quite honest :( The idea is to allow logged-in users to be able to vote for the person they want to be chosen to fulfil a certain role. (Host of a charity version of Deal or No Deal, if you must know :P) It's just an idea I had, and thought of Boardvote.
I have a half-complete Vote extension here, which I suspect I started writing in response to this message. If desired, I can complete it and check it into Subversion.
Is it still needed?
Rob Church
If it isn't too much trouble, yes please! I will probably need help installing it, though I will try first :)
Gary
On 1/6/07, Rob Church robchur@gmail.com wrote:
On 28/12/06, Gary Kirk gary.kirk@gmail.com wrote:
I have no idea how to be writing code to do anything, to be quite honest
:(
The idea is to allow logged-in users to be able to vote for the person
they
want to be chosen to fulfil a certain role. (Host of a charity version
of
Deal or No Deal, if you must know :P) It's just an idea I had, and thought of Boardvote.
I have a half-complete Vote extension here, which I suspect I started writing in response to this message. If desired, I can complete it and check it into Subversion.
Is it still needed?
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 06/01/07, Gary Kirk gary.kirk@gmail.com wrote:
If it isn't too much trouble, yes please! I will probably need help installing it, though I will try first :)
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Vote
* Install as usual * Create a "vote" table in the database using the schema from vote.sql * Customise available choices in "vote-choice" message * Assign appropriate user permissions, "vote" needed to place votes, "voteadmin" needed to view the vote report
Rob Church
On 1/6/07, Rob Church robchur@gmail.com wrote:
On 06/01/07, Gary Kirk gary.kirk@gmail.com wrote:
If it isn't too much trouble, yes please! I will probably need help installing it, though I will try first :)
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Vote
- Install as usual
- Create a "vote" table in the database using the schema from vote.sql
- Customise available choices in "vote-choice" message
- Assign appropriate user permissions, "vote" needed to place votes,
"voteadmin" needed to view the vote report
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The "create a table" bit: do I use phpMyAdmin to paste vote.sql into the query window?
And how do I set user permissions, in LocalSettings.php? What do I write, that $wgGroupPermissions bit I see in one of the files?
On 07/01/07, Gary Kirk gary.kirk@gmail.com wrote:
The "create a table" bit: do I use phpMyAdmin to paste vote.sql into the query window?
That's one method.
And how do I set user permissions, in LocalSettings.php? What do I write, that $wgGroupPermissions bit I see in one of the files?
The defaults should suffice; logged-in users have the ability to vote, sysops have the ability to view aggregate vote reports.
Rob Church
Oh right! :) That's fine, but how difficult would it be to have only bureaucrats see the results, or possibly even a new user group "voteadmins"?
On 1/7/07, Rob Church robchur@gmail.com wrote:
On 07/01/07, Gary Kirk gary.kirk@gmail.com wrote:
The "create a table" bit: do I use phpMyAdmin to paste vote.sql into the query window?
That's one method.
And how do I set user permissions, in LocalSettings.php? What do I write, that $wgGroupPermissions bit I see in one of the files?
The defaults should suffice; logged-in users have the ability to vote, sysops have the ability to view aggregate vote reports.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 07/01/07, Gary Kirk gary.kirk@gmail.com wrote:
That's fine, but how difficult would it be to have only bureaucrats see the results, or possibly even a new user group "voteadmins"?
Standard permissions.
$wgGroupPermissions['sysop']['voteadmin'] = false; $wgGroupPermissions['bureaucrat'][['voteadmin'] = true;
Rob Church
mediawiki-l@lists.wikimedia.org