Page MenuHomePhabricator

Update extensions for expiring user groups
Open, Needs TriagePublic

Description

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() )

The following non-obsolete extensions query user_groups directly, and may need to be updated:

Event Timeline

TTO created this task.Feb 2 2017, 11:38 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 2 2017, 11:38 AM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptFeb 2 2017, 11:39 AM
TTO added a comment.Feb 2 2017, 11:56 AM

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

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

Mainframe98 updated the task description. (Show Details)Oct 29 2017, 7:34 PM
Mainframe98 updated the task description. (Show Details)Nov 23 2017, 12:18 PM