Page MenuHomePhabricator

Save translator signup time in user options
Closed, ResolvedPublic

Description

When a translator signs up, we need to store the time when the user signed up in order to later use that value to determine if the user is active.

This is important to avoid the scenario where a translator signs up again after being unsubscribed, and the maintenance script unsubscribes them again.

For existing translators this will be empty. For them we can just check for other activity to determine whether the user is active or not.

Event Timeline

Wangombe changed the task status from Open to In Progress.Mar 16 2023, 7:14 AM
Wangombe claimed this task.

Change 900841 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/extensions/TranslationNotifications@master] Save translator signup time in user options.

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

Change 900841 merged by jenkins-bot:

[mediawiki/extensions/TranslationNotifications@master] Save translator last signup activity time in user options

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

I've tested this functionality on Meta. I see the new translationnotifications-lastactivity option saved in the user options.