Page MenuHomePhabricator

Delete all campaigns that never load when the tool was broken
Open, Needs TriagePublic

Description

There is a collection of campaigns in 2023 that would never load because of the bugs. 0 images, 0 participants, 0 contributions.
Can they be deleted ?

Event Timeline

Timi042 changed the task status from Open to In Progress.Jan 21 2024, 8:48 PM
Timi042 claimed this task.
Timi042 triaged this task as Unbreak Now! priority.

Should we add delete campaign as a new feature @Anthere? Personally, I think this would be a good move to de-congest the database :)

Is that having a practical impact on the efficiency of the tool ?

I am not sure it is a good idea. We always need to report about the tool to WMF. And if campaigns can be deleted afterwards... it is an issue :(

suzuneu lowered the priority of this task from Unbreak Now! to Needs Triage.Sep 28 2024, 8:06 AM

I think @Anthere has a point here about the total number of campaigns.

An idea immediately comes to mind. Could mark campaigns as archived based on a certain criteria (have not had contributions since a year or two) and these will not be updated when the scripts run

An archive system would be good....

I remember running a database query last week, and if I’m not mistaken, there were around 200 campaigns without images.

It might be best to hide archived campaigns from the home page by default and only show them when a specific option is enabled. Campaign creators should still be able to see and restore their own campaigns, and admins should have the option to reactivate any archived campaign.

We could also add a separate page to list all archived campaigns for better organization.

Keep point here is « admin should have the option to ». Who is « admin » ?

Keep point here is « admin should have the option to ». Who is « admin » ?

I mean having a Python script, for example, inside the maintenance folder that allows the admin or the person responsible for the tool to update the campaign status, just like update_campaign_images.py, for example.

@lokas Is there like a patch submitted for this task?