Page MenuHomePhabricator

Maintenance script should clean up non consenting users
Open, MediumPublic

Description

Capturing this so we don't forget.

Currently various users have { "value": 0 } set as their preference for wikimedia-donor which is the default value. When the maintenance script encounters these it would be ideal if it dropped these rows to avoid unnecessarily processing them at any time. This could be done via existing maintenance script or a new one.

mysql -h s7-analytics-replica.eqiad.wmnet -P 3317 -A
use centralauth;
select * from global_preferences where up_property = 'wikimedia-donor'