Page MenuHomePhabricator

Create a dedicated user rights log shown in a diff format
Closed, DuplicatePublic

Description

The user rights log is nearly illegible when a user has multiple rights. Instead of listing each entry with the wording "...changed rights from A, B, C to A, B" we could offer a diff format.

Current appearance:

Screen Shot 2018-04-22 at 3.18.28 AM.png (792×1 px, 465 KB)

The diff format offered by XTools:

Screen Shot 2018-04-22 at 3.05.16 AM.png (782×1 px, 230 KB)

Viewing the full log for a user suggests we would need a fundamental UI change with how logs are shown. Perhaps instead it'd make sense to duplicate the rights changes log on a dedicated special page (e.g. Special:AbuseFilterLog), called say, Special:UserRightsLog? Then we'd have the freedom to format it as we wish. This would be log shown at Special:RightsChanges. Some other core MediaWiki logs that change existing values may benefit from the +/- design, such as the protection log, with messages like "So-and-so changed protection level for ..." where it doesn't state what the previous protection level was.

Event Timeline

Simpler solution that won’t need going away from the log structure is to have the flags that are being taken away as stroked out and flags that are added as emphasised. Maybe even coloured as in example from XTools. Frankly, there is no reason to have an additional duplicated special page for this, there are already more than enough for stuff like MobileFrontend.

Simpler solution that won’t need going away from the log structure is to have the flags that are being taken away as stroked out and flags that are added as emphasised. Maybe even coloured as in example from XTools. Frankly, there is no reason to have an additional duplicated special page for this, there are already more than enough for stuff like MobileFrontend.

That sounds great, so long as we don't list all the existing rights, too, as I think that's unneeded when you're looking at the log for a particular user. So it could simply say "...added rights X, Y, removed rights Z". Colours would be nice too but might stand out too much at Special:Log.