Page MenuHomePhabricator

Update extensions for expiring user groups
Open, Stalled, LowPublic


From MediaWiki 1.29, rows in the user_groups table may have an expiry date. When ug_expiry IS NOT NULL and strictly less than the current time, the row should be disregarded. This normally means adding a condition similar to

'ug_expiry IS NULL OR ug_expiry >= ' . $db->addQuotes( $db->timestamp() )

Some non-obsolete extensions query user_groups directly, and may need to be updated. See the subtasks of this task.

Related Objects

Event Timeline

I filed subtasks for the "important" ones.

I don't really know if it's worth the effort of filing subtasks for them all. Obviously those without Phabricator projects can't have subtasks filed; @Aklapper, what do you suggest for the others?

We have MediaWiki-extensions-Other for those, and being subtasks of this task will help keep them tracked IMHO.

Change 341947 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Update queries to account for expiring user groups