Page MenuHomePhabricator

Create test poll on test.wikipedia.org for 2013 Board elections
Closed, ResolvedPublic

Description

Now that we have the list of eligible voters (bug 48168) let's set up a test run of the vote on test.wikipedia.org's SecurePoll so that Philippe and Risker can review.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42447

Details

Reference
bz48330

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:26 AM
bzimport set Reference to bz48330.

(In reply to comment #0)

Now that we have the list of eligible voters (bug 48168) let's set up a test
run of the vote on test.wikipedia.org's SecurePoll so that Philippe and
Risker
can review.

I'd really like to do this testing over the next few days, as it will allow us to determine the best way to set up the election, which this year is very complex with three different types of roles being elected. Could we aim to have this ready by end of day Friday May 17th please?

(In reply to comment #2)

(In reply to comment #0)

Now that we have the list of eligible voters (bug 48168) let's set up a test
run of the vote on test.wikipedia.org's SecurePoll so that Philippe and
Risker
can review.

I'd really like to do this testing over the next few days, as it will allow
us
to determine the best way to set up the election, which this year is very
complex with three different types of roles being elected. Could we aim to
have this ready by end of day Friday May 17th please?

http://bug-attachment.wikimedia.org/attachment.cgi?id=11425
https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013

Do we have all the relevant information to make up a config file for each election?

Some of it's pretty self evident, but some could depend on the election.

Can we just have the different votes as a separate question? Or do they need to be a separate polls? The titles and intros seem to go with the whole poll, not the question.

As I'm writing this at 02:45 when I probably should have been already asleep, pretty much anyone can prepare the most of the config xml files as the information is public. Bar the ID numbers which I recall having to confirm were from the right starting point last time around.

At the moment as I'm not familiar with the extension it's a mixture of reverse engineering the XML file/reading the code to see what's what. Beyond that it's the usual fallback of "ask Tim". With documentation being sort of limited to https://wikitech.wikimedia.org/wiki/SecurePoll

<Reedy> Hey TimStarling. Is there anything I really need to know about SecurePoll for setting up a test on testwiki as per https://bugzilla.wikimedia.org/show_bug.cgi?id=48330 ?
<Reedy> Last time around the xml file was provided and I just imported it
<TimStarling> usually I just get a previous year's XML file and change the candidate names
<TimStarling> do you still have a previous XML file?
<Reedy> Yup, there is http://bug-attachment.wikimedia.org/attachment.cgi?id=11425
<Reedy> Does it cope with multiple questions? Or are they all seperate polls?
<Reedy> Board, FDC, FDC obmbudsperson
<TimStarling> yes, you can have multiple questions

  • TimStarling tries to remember which vote that feature was added for

<Reedy> Haha
<Reedy> I was just going to ask if you had an example for it
<TimStarling> maybe it hasn't been used before
<TimStarling> but obviously I have complete faith in my own code ;)
<TimStarling> it's possible that it was never even tested on my own test wiki
<TimStarling> I have a set of test files here, and none of them seem to have multiple questions
<TimStarling> just as well you're testing it now, I guess
<TimStarling> anyway, the input format is simple enough
<TimStarling> you just have multiple <question> sections, and use the "text" message associated with the question to introduce it on the ballot page
<TimStarling> with one question, the "intro" message on the election is redundant with the "text" message on the question
<TimStarling> so we have generally made the latter blank
<TimStarling> although I did test it locally with the question text non-blank
<TimStarling> you need to use the same ballot type and the same tallying method for each question
<TimStarling> don't know if that is a problem for this case
<Reedy> https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013
<Reedy> The text suggests they all should be roughly the same

<TimStarling> you need to use the same ballot type and the same tallying
method
for each question
<TimStarling> don't know if that is a problem for this case
<Reedy> https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013
<Reedy> The text suggests they all should be roughly the same

Yes, the same ballot type (Support/Neutral/Oppose) will be used for all three questions.

What we really need to know is whether returning to change the answer of one question will wipe out the answers for ALL questions. If that is the case, we may need to run 2 separate polls (one for Board, one for FDC/FDC ombud).

My guess on what poll used multiple questions would be the personal image filter referendum.

Reedy, I can make myself available tomorrow or Wednesday to work through this, test it, and do some documentation for future reference if you would like.

(In reply to comment #5)

Reedy, I can make myself available tomorrow or Wednesday to work through
this,
test it, and do some documentation for future reference if you would like.

Depending on when tomorrow is (Noting you responded at 3am my time) being "today"/Monday or else Tuesday.

Tuesday I'm going to be busy for most of the day, though about in the evening, but on Wednesday I'm driving to Amsterdam (well, to Lier, Belgium), but would also be online in the evening.

(In reply to comment #6)

(In reply to comment #5)

Reedy, I can make myself available tomorrow or Wednesday to work through
this,
test it, and do some documentation for future reference if you would like.

Depending on when tomorrow is (Noting you responded at 3am my time) being
"today"/Monday or else Tuesday.

Tuesday I'm going to be busy for most of the day, though about in the
evening,
but on Wednesday I'm driving to Amsterdam (well, to Lier, Belgium), but would
also be online in the evening.

I am available on Monday between 1300 and 2000 UTC, and just about any time on Wednesday going into Thursday.

I guess we're listing by username again?

Board of Trustees
https://meta.wikimedia.org/wiki/Board_elections/2013/Candidates

Leigh Ann Thelmadatter (Thelmadatter)
Milos Rancic (Millosh)
Phoebe Ayers (phoebe)
Francis Kaswahili Kaguna (Francis Kaswahili)
Jeromy-Yu Chan (Yuyu)
Samuel Klein (Sj)
Michel Aaij (Drmies)
Tom Morton (ErrantX)
María Sefidari (Raystorm)
Kat Walsh (Mindspillage)
Liam Wyatt (Wittylama)
John Vandenberg (John Vandenberg)

Funds Dissemination Committee
https://meta.wikimedia.org/wiki/FDC_elections/2013/Candidates

Smallbones
Cristian Consonni (CristianCantoro)
Delphine Ménard (notafish)
Ben (ImperfectlyInformed)
Abbas Mahmood (Abbasjnr)
Mile Kiš (MikyM)
Michal Buczynski (Aegis Maelstrom)

Funds Dissemination Committee Ombudsperson
https://meta.wikimedia.org/wiki/FDC_Ombudsperson_elections/2013/Candidates

Matthew Bisanz (MBisanz)
Susana Morais (Lusitana)

I've dumped an initial config version at https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013/config so we get some amount of version control

ID numbers need checking for the right start point.

I've tweaked the config Reedy made to do the board candidates only and made https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013/configFDC for the FDC candidates based on committee request for two ballots. I also double checked and tweaked the IDs on both.

We probably want to get those up on test wiki as soon as possible to test there, or at least get something up on test wiki soon. Do we want to just create a duplicate of the two ballots with the time starting now so that we can vote and test things out?

I got the configs working on my local test install (though it isn't doing duplicate recognition correctly, not sure if that's just a setting I'm missing on the config side outside of these files).

mysql:wikiadmin@db1056 [enwiki]> SELECT MAX( en_id ) FROM securepoll_entity;
+----------------+

MAX( en_id )

+----------------+

281

+----------------+
1 row in set (0.04 sec)

mysql:wikiadmin@db1019 [testwiki]> SELECT MAX( en_id ) FROM securepoll_entity;
+----------------+

MAX( en_id )

+----------------+

237

+----------------+
1 row in set (0.01 sec)

That involved going around the houses.

(In reply to comment #11)

I got the configs working on my local test install (though it isn't doing
duplicate recognition correctly, not sure if that's just a setting I'm
missing
on the config side outside of these files).

Really? There was 2 number 300s! ;)

Enabled SecurePoll and those 2 config files on testwiki https://test.wikipedia.org/wiki/Special:SecurePoll

(In reply to comment #13)

Really? There was 2 number 300s! ;)

Enabled SecurePoll and those 2 config files on testwiki
https://test.wikipedia.org/wiki/Special:SecurePoll

I don't know what you're talking about! I would never do that ;) What I get for changing numbers after I copy from my local machine.

I'm not sure if it's because it's installed on testWiki but it's not letting me vote because it wants 300 'local' edits rather then 300 global edits. It's possible we just need to turn off the config edit settings and use the pre created voter lists?

If the election committee can double check that they're happy with the wording available on the two votes I can get them set up for translation. There isn't much because most of it is built in:

https://test.wikipedia.org/wiki/Special:SecurePoll/translate/290/en
https://test.wikipedia.org/wiki/Special:SecurePoll/translate/310/en

(In reply to comment #14)

(In reply to comment #13)

Really? There was 2 number 300s! ;)

Enabled SecurePoll and those 2 config files on testwiki
https://test.wikipedia.org/wiki/Special:SecurePoll

I don't know what you're talking about! I would never do that ;) What I get
for
changing numbers after I copy from my local machine.

I'm not sure if it's because it's installed on testWiki but it's not letting
me
vote because it wants 300 'local' edits rather then 300 global edits. It's
possible we just need to turn off the config edit settings and use the pre
created voter lists?

Confirming that I encountered the same error.

(In reply to comment #15)

If the election committee can double check that they're happy with the
wording
available on the two votes I can get them set up for translation. There isn't
much because most of it is built in:

https://test.wikipedia.org/wiki/Special:SecurePoll/translate/290/en
https://test.wikipedia.org/wiki/Special:SecurePoll/translate/310/en

Wording modifications for BOTH polls:
*Change the word "Abstain" to "Neutral" in all relevant fields.

For 290/en (Board)
*For all candidates, use their real name and put username in brackets following their real name
*Candidate John Vandenberg's username is User:John Vandenberg

For 310/en (FDC/FDC ombud)
*Where candidates have provided their real name in their candidacy, add this in brackets following their username.

Thank you all very much for your work on this.

I think I've updated all of the language requests on the meta config files (if anyone can check that was what they wanted that would be great). I think an update on those and trying to make sure that the whole list of voters (staff/developers which I think Greg has + the manual list of eligible voters) is able to vote would be good since it shouldn't be checking local. We may have to take out that part of the congfig file (where it says 300 edits) and do something to tell it to look at the database?

Risker/Philippe: Do you have access to the vote admin toolset on test?

(In reply to comment #18)

I think I've updated all of the language requests on the meta config files
(if
anyone can check that was what they wanted that would be great). I think an
update on those and trying to make sure that the whole list of voters
(staff/developers which I think Greg has + the manual list of eligible
voters)
is able to vote would be good since it shouldn't be checking local. We may
have
to take out that part of the congfig file (where it says 300 edits) and do
something to tell it to look at the database?

Risker/Philippe: Do you have access to the vote admin toolset on test?

Link to where you've updated on meta, please?

Also no, I do not appear to have the vote admin toolset on test.

Thehelpfulonewiki wrote:

(In reply to comment #19)

Link to where you've updated on meta, please?

I think James' referring to https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013/config and https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2013/configFDC.

Also no, I do not appear to have the vote admin toolset on test.

I think that <property name="admins"></property> needs to include the usernames of election committee members for you to have access to the vote admin toolset. James or Reedy will need to change that, I think there's some instructions at https://wikitech.wikimedia.org/wiki/SecurePoll.

I don't know if you need local admin too but if you do I can give you that.

Well, we're in voting now. So this is done :)