Steps to Reproduce:
Add a user to a user group temporarily
Actual Results:
Log entry says that they were added to the group
Expected Results:
Log entry says that they were added to the group, and notes the expiry
Examples:
bot was only added for a week, but the expiration isn't noted
This is for new log entries: https://www.wikidata.org/wiki/Special:UserRights/DannyS712 still shows expiries, but newly created entries do not have the expiry included in their parameters:
MariaDB [simplewiktionary_p]> SELECT * FROM logging WHERE log_id = 89109; +--------+----------+------------+----------------+-----------+---------------+-----------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+----------+ | log_id | log_type | log_action | log_timestamp | log_actor | log_namespace | log_title | log_comment_id | log_params | log_deleted | log_page | +--------+----------+------------+----------------+-----------+---------------+-----------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+----------+ | 89109 | rights | rights | 20200612233509 | 4 | 2 | DannyS712 | 337788 | a:4:{s:12:"4::oldgroups";a:1:{i:0;s:10:"rollbacker";}s:12:"5::newgroups";a:2:{i:0;s:10:"rollbacker";i:1;s:3:"bot";}s:11:"oldmetadata";a:1:{i:0;a:1:{s:6:"expiry";N;}}s:11:"newmetadata";a:2:{i:0;a:1:{s:6:"expiry";N;}i:1;N;}} | 0 | 0 | +--------+----------+------------+----------------+-----------+---------------+-----------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+----------+
Note the
old log entry MariaDB [wikidatawiki_p]> SELECT * FROM logging WHERE log_id = 662125900; +-----------+----------+------------+----------------+-----------+---------------+-----------+----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+----------+ | log_id | log_type | log_action | log_timestamp | log_actor | log_namespace | log_title | log_comment_id | log_params | log_deleted | log_page | +-----------+----------+------------+----------------+-----------+---------------+-----------+----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+----------+ | 662125900 | rights | rights | 20190725202501 | 1105 | 2 | DannyS712 | 3 | a:4:{s:12:"4::oldgroups";a:1:{i:0;s:10:"rollbacker";}s:12:"5::newgroups";a:2:{i:0;s:10:"rollbacker";i:1;s:5:"flood";}s:11:"oldmetadata";a:1:{i:0;a:1:{s:6:"expiry";N;}}s:11:"newmetadata";a:2:{i:0;a:1:{s:6:"expiry";N;}i:1;a:1:{s:6:"expiry";s:14:"20190801202501";}}} | 0 | 59543586 | +-----------+----------+------------+----------------+-----------+---------------+-----------+----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+----------+