Page MenuHomePhabricator

Add a link to the specific log for each poll on the main elections list
Closed, ResolvedPublic2 Estimated Story Points

Description

Motivation

We've added a voter data access and admin log for SecurePoll. To ease access to the respective logs for the user, we should add a link to the election log page from the main elections table on Special:SecurePoll.

User story: As a user of SecurePoll, I would like to have a link to the election log from the main election page so that I can easily access the log for any given election.

Acceptance criteria

image.png (650×1 px, 265 KB)

  • On the Special:SecurePoll page (screenshot above), add a link to the right of the "Tally" link called "Log" which links to "Special:SecurePollLog".
  • The SecurePollLog form is filtered to the election the user clicked the link against in the "Election (title) field. And filtered to "all securepoll logs" by default.
  • Link opens in the same tab.

Event Timeline

Niharika triaged this task as Medium priority.Feb 26 2021, 5:20 PM
Niharika created this task.

Change 668233 had a related patch set uploaded (by STran; owner: STran):
[mediawiki/extensions/SecurePoll@master] Add link to logs for elections on main SecurePoll page

https://gerrit.wikimedia.org/r/668233

Change 668233 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Add link to logs for elections on main SecurePoll page

https://gerrit.wikimedia.org/r/668233

dom_walden added a subscriber: dom_walden.
  • On the Special:SecurePoll page (screenshot above), add a link to the right of the "Tally" link called "Log" which links to "Special:SecurePollLog".

logs_thingy.png (160×1 px, 42 KB)

  • The SecurePollLog form is filtered to the election the user clicked the link against in the "Election (title) field. And filtered to "all securepoll logs" by default.

The link is Special:SecurePollLog?type=all&election_name=<title>. Takes you to the log page like below. The link appears to be URL encoded, so it handles punctuation and non-ascii characters.

logs_take_you.png (532×882 px, 46 KB)

  • Link opens in the same tab.

Yep.

Test Environment: https://vote.wikimedia.beta.wmflabs.org SecurePoll 2.0.0 (1276a79) 22:33, 8 March 2021.