Page MenuHomePhabricator

wishlistvote API allows you to vote on a wish that is still in review
Open, LowPublicBUG REPORT

Description

What is the problem?

We don't include the "Support wish" button on wishes that have the status under review. However, I can still vote on them using the API.

Steps to reproduce problem
  1. Login to https://meta.wikimedia.beta.wmcloud.org
  2. https://meta.wikimedia.beta.wmcloud.org/wiki/Special:ApiSandbox#action=wishlistvote&format=json&entity=W24 and submit

Expected behaviour: The API returns an appropriate error message about the wish not being ready to be voted on
Observed behaviour: You will see your vote in https://meta.wikimedia.beta.wmcloud.org/wiki/Community_Wishlist/W24/Votes

Environment

Wiki(s): https://meta.wikimedia.beta.wmcloud.org CommunityRequests – (1b349c4) 08:03, 17 October 2025.

Event Timeline

If this was solved not by disallowing early votes but by allowing them officially (but hiding them until the wish is accepted), it would not only benefit participants who would no longer need to remember which wishes under review they intend to vote for, but also you who would now be able to review wishes more easily by seeing which wishes have attracted more votes.

Acceptance criteria might be in conflicts with T406670: Automatically add a support vote on behalf of a wish proposer depending on how we solve it. I'll bring it up in other channels.