Page MenuHomePhabricator

Add an /archive page showing all the flagged elections [M]
Open, Needs TriagePublic


Votewiki has a lot of test elections in the interface which is confusing for election admins as well as voters. We should clean out the old test elections once they have outlived their usefulness.

  • Criteria:
  • There should be a /archive page showing all the flagged elections
    • Bonus points if there's an "unarchive" feature that unsets that flag

Event Timeline

Change 720238 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/SecurePoll@master] Implement unarchiving functionality

Change 720238 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@master] Implement unarchiving functionality

Hey @STran my user IIgwilo is an admin and I notice the archive link does not show on all the closed votes for me. Is there a reason? Like I would have to be an admin in that particular elections?
Test url:
On the below page the archive button is not active for me although I have admin rights.

Screen Shot 2021-10-15 at 1.15.20 PM.png (1ร—2 px, 478 KB)

Verified that archived elections shows on archive page with all the flagged elections
And "unarchive" feature that unsets that flag.

Screen Shot 2021-10-15 at 1.33.39 PM.png (1ร—2 px, 522 KB)

Page when election is being archived
Screen Shot 2021-10-15 at 1.34.30 PM.png (1ร—2 px, 247 KB)

When the above page is refreshed, the below page loads:
Screen Shot 2021-10-15 at 1.36.39 PM.png (1ร—2 px, 245 KB)

@imaigwilo Yep. You should only be able to archive elections you're an admin of.