enwikipedia-acc / waca

English Wikipedia Account Creation Interface
https://accounts.wmflabs.org/internal.php
The Unlicense
33 stars 43 forks source link

Hide unconfirmed requests from the last 5 closed on the main page #903

Closed Matthewrbowker closed 4 months ago

Matthewrbowker commented 5 months ago

This PR hides any non-confirmed request from the last 5 closed requests if email confirmation is enabled. This is intended as a band-aid solution to hide the spam requests from the main page (where one spam request takes two slots). Please note: this PR only touches the last 5 closed. All actions are still visible in the logs so admins and users can look for any abuse and handle it.

The only conceivable workflow right now for a request to be dropped before being email confirmed is when a ban is in place to auto-drop a request. If a user confirms a request and then it is dropped by a tool user/admin the request will still show up on the main page since it was handled.

This is the beginning of work for #900.