Page MenuHomePhabricator

Set up SecurePoll poll on enwiki for Arbitration Committee elections
Closed, ResolvedPublic

Description

Author: happy.melon.wiki

Description:
In the interests of improving on the slightly chaotic setup process last year (bug 42447), here is the bug to note that the annual enwiki Arbitration Committee elections will happen again in late November, and will almost certainly require a shell to load a SecurePoll configuration sometime in late November (provisionally, sometime between 20th and 24th November). More details to follow; think of this as a heads-up :)


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz54985

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:12 AM
bzimport set Reference to bz54985.

Hi Happy-melon,

Could you please provide the "more details to follow" bit?

Specifically, what all do you need for this election?

Will you need to email the list of eligible voters? How much of the election infrastructure (as in, pages describing the process/etc) are already set up?

What, exactly, do you need from this vote?

(Also, PS, in the future, please cc someone like Robla or James Alexander or myself on these bugs, today is the first I saw this request.)

happy.melon.wiki wrote:

The ArbCom election administration mostly takes place on-wiki; enwiki has established processes for setting up and curating the wiki pages associated with the election; those processes are working fine, no staff involvement is required there. The community appoints a handful (three this year) "election coordinators" to liaise with the WMF over the one part where help is required: configuring a SecurePoll election for the appropriate number of candidates.

There are three main technical things that the community needs from the sysadmin team in order to get SecurePoll set up.

  1. Generate the voting list. The condition for suffrage is "150 edits by 1 November 2013". The documentation at https://wikitech.wikimedia.org/wiki/SecurePoll#How_to_create_an_Arbcom_election_on_enwiki is out of date by the looks of it, I think the script is now called makeSimpleList.php. Anyway, I *think* the shell command which needs running is the following:

    mwscript extensions/SecurePoll/cli/makeSimpleList.php --wiki=enwiki --before="1 November 2013" --edits=150 arbcom-2013

That script usually takes several days to complete.

  1. Fetch the highest SecurePoll entity ID and paste it here, since IDs need to be hardcoded in the XML config. This just requires running the SQL:

    SELECT MAX(en_id) FROM securepoll_entity;

en_id is the primary key and the table contains only a few hundred rows, so this is completely safe.

  1. Load the XML config once it's been generated by the election coordinators (in this case, me).

The nomination period doesn't close until end of 19 November, so we can't proceed with the config until then, but there are two steps which can happen now.

(Thanks so much for your quick and helpful reply, Happy-melon.)

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

MAX(en_id)

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

330

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

mysql:wikiadmin@db1056 [enwiki]>

mysql:wikiadmin@db1056 [enwiki]> select count(*) from securepoll_lists where li_name = 'arbcom-2013';
+----------+

count(*)

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

126473

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

happy.melon.wiki wrote:

SecurePoll configuration

I believe this is the required configuration.

attachment arbcom-2013.xml ignored as obsolete

happy.melon.wiki wrote:

Hmm; the rest of the "fallow period" before the election is supposed to start is a weekend... someone missed a trick there... :(

As indicated in the wikitech link above, the shell command to load the configuration attached is:

mwscript extensions/SecurePoll/cli/import.php --wiki=enwiki wm-setup/arbcom-2013.xml

It would be good if this could be resolved before the weekend! :s

happy.melon.wiki wrote:

Revised configuration with scrutineers as election admins

Forgot to add the Scrutineers as election admins

Attached:

reedy@tin:/a/common/php-1.23wmf4$ mwscript extensions/SecurePoll/cli/import.php --wiki=enwiki ~/arbcom-2013.xml
Finished!
reedy@tin:/a/common/php-1.23wmf4$

Happy-melon, if you need anything more urgently doing related to this, come and ping me on IRC and I should be able to sort it pretty quickly

happy.melon.wiki wrote:

This looks good to me, thanks a bunch! :D

Thanks Reedy and everybody helping to sort this out, and I am sorry again that this fell through the cracks and became a bit last-minute (particularly my fault).