Page MenuHomePhabricator

Special:Log/rights doesn't mention that rights were assigned temporarily
Closed, DuplicatePublic

Description

I just added user:Minorax on Incubator to two groups, both temporarily for one month.
The log doesn't record that it is temporary: https://incubator.wikimedia.org/wiki/Special:Log?type=rights&user=&page=User%3AMinorax&wpdate=&tagfilter=&subtype=
Special:Listusers and Special:Userrights do, however. https://incubator.wikimedia.org/wiki/Special:ListUsers/Minorax

Event Timeline

There are stored as infinity in the logging table and that is used for the text on Special:Log

The other special pages using the expiry on the current rows, but there are gone when it is expired why Special:Log stores its own data. It seems to miss the selection for the time.

https://incubator.wikimedia.org/w/api.php?action=query&list=logevents&letype=rights&letitle=User:Minorax

{
    "batchcomplete": "",
    "query": {
        "logevents": [
            {
                "logid": 3085805,
                "ns": 2,
                "title": "User:Minorax",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "test-sysop",
                        "translationadmin"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "test-sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "translationadmin",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "MF-Warburg",
                "timestamp": "2020-06-10T13:10:59Z",
                "comment": "I:A"
            }
        ]
    }
}
MF-Warburg claimed this task.

Newer log entries are correct again. Seems like all the fixing happened in the duplicate at T255330.