Page MenuHomePhabricator

SendNotificationsForUnillustratedWatchedTitles does not consider GlobalPreferences
Closed, ResolvedPublicBUG REPORT

Description

SendNotificationsForUnillustratedWatchedTitles.php (the script we're using to generate notifications for image suggestions on a weekly basis) executes a query to find eligible users. While that query looks at user preferences, it does not (and can not) consider global preferences, which live in a separate database.

Event Timeline

Change 814737 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ImageSuggestions@master] Use getOption to detect user preferences

https://gerrit.wikimedia.org/r/814737

Change 814737 merged by jenkins-bot:

[mediawiki/extensions/ImageSuggestions@master] Use getOption to detect user preferences

https://gerrit.wikimedia.org/r/814737

Change 814767 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ImageSuggestions@wmf/1.39.0-wmf.19] Use getOption to detect user preferences

https://gerrit.wikimedia.org/r/814767

Change 814767 merged by jenkins-bot:

[mediawiki/extensions/ImageSuggestions@wmf/1.39.0-wmf.19] Use getOption to detect user preferences

https://gerrit.wikimedia.org/r/814767

Mentioned in SAL (#wikimedia-operations) [2022-07-18T13:19:30Z] <lucaswerkmeister-wmde@deploy1002> Synchronized php-1.39.0-wmf.19/extensions/ImageSuggestions/maintenance/SendNotificationsForUnillustratedWatchedTitles.php: Backport: [[gerrit:814767|Use getOption to detect user preferences (T313209)]] (duration: 02m 50s)