Last modified: 2013-11-23 17:27:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56985, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54985 - Set up SecurePoll poll on enwiki for Arbitration Committee elections
Set up SecurePoll poll on enwiki for Arbitration Committee elections
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Highest enhancement (vote)
: ---
Assigned To: Sam Reed (reedy)
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-04 17:56 UTC by Happy-melon
Modified: 2013-11-23 17:27 UTC (History)
19 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
SecurePoll configuration (3.77 KB, text/xml)
2013-11-21 22:56 UTC, Happy-melon
Details
Revised configuration with scrutineers as election admins (3.80 KB, text/xml)
2013-11-23 12:38 UTC, Happy-melon
Details

Description Happy-melon 2013-10-04 17:56:43 UTC
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 :)
Comment 1 Greg Grossmeier 2013-11-15 23:42:18 UTC
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.)
Comment 2 Happy-melon 2013-11-16 00:00:04 UTC
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.

2) 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.

3) 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.
Comment 3 Greg Grossmeier 2013-11-16 00:02:44 UTC
(Thanks so much for your quick and helpful reply, Happy-melon.)
Comment 4 Sam Reed (reedy) 2013-11-19 18:09:05 UTC
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]>
Comment 5 Sam Reed (reedy) 2013-11-20 02:55:57 UTC
mysql:wikiadmin@db1056 [enwiki]> select count(*) from securepoll_lists where li_name = 'arbcom-2013';
+----------+
| count(*) |
+----------+
|   126473 |
+----------+
1 row in set (0.05 sec)
Comment 6 Happy-melon 2013-11-21 22:56:42 UTC
Created attachment 13866 [details]
SecurePoll configuration

I believe this is the required configuration.
Comment 7 Happy-melon 2013-11-22 17:32:25 UTC
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
Comment 8 Happy-melon 2013-11-23 12:38:24 UTC
Created attachment 13893 [details]
Revised configuration with scrutineers as election admins

Forgot to add the Scrutineers as election admins
Comment 9 Sam Reed (reedy) 2013-11-23 16:54:19 UTC
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
Comment 10 Happy-melon 2013-11-23 17:03:51 UTC
This looks good to me, thanks a bunch!  :D
Comment 11 Andre Klapper 2013-11-23 17:27:49 UTC
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).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links