Page MenuHomePhabricator

Make Special:Log/rights easier to understand
Open, LowPublic

Description

With the introduction of temporary rights, Special:Log/rights has become a mess to read and understand, even more than it was before.

Take some example log entries:

15:32, 10 August 2018 AB (talk | contribs | block) changed group membership for CD@itwikiversity from transwiki importer to administrator (temporary, until 15:32, 10 August 2020) and transwiki importer //(per SRP and it:v:Wikiversità:Amministratori/Riconferma_annuale/Pierpao (2y.)) //

09:52, 27 July 2018 CD (talk | contribs | block) changed group membership for XY@zwiki from autopatroller and rollbacker to administrator (temporary, until 09:52, 27 July 2019), autopatroller and rollbacker //(per SRP and ar:wikt:Special:Permalink/745025#footer - temp. 1 y.) //

It looks like a wasteland of text; especially when a user belongs to multiple groups it is hard to distinguish immediately which are the previous and which are the current groups.
It gets even worse when several temporary permissions are involved:

15:56, 26 August 2018 EF (talk | contribs | block) changed group membership for AB@zhwikiversity from bot (temporary, until 15:46, 27 August 2018) to bot (temporary, until 15:46, 27 August 2018) and confirmed user (temporary, until 15:46, 27 August 2018)// (SRB: +confirmed, needed to accomplish the task) (thank)//

14:51, 16 August 2018 GH (talk | contribs | block) changed group membership for CD@zhwikivoyage from interface administrator (temporary, until 14:53, 8 November 2018) and administrator (temporary, until 14:53, 26 November 2018) to interface administrator (temporary, until 14:53, 26 November 2018) and administrator (temporary, until 14:53, 26 November 2018) //(wrong expiry) (thank//)

Is there some way to change the display e.g. to something like:

GH (talk | contribs | block) changed group membership for CD@zhwikivoyage. //(wrong expiry) (thank//)
   Previous groups: interface administrator (temporary, until 14:53, 8 November 2018)
                    administrator (temporary, until 14:53, 26 November 2018)
   New groups:      interface administrator (temporary, until 14:53, 26 November 2018)
                    administrator (temporary, until 14:53, 26 November 2018)

Event Timeline

Restricted Application added subscribers: Cosine02, Aklapper. · View Herald TranscriptAug 30 2018, 3:59 PM
Stryn added a subscriber: Stryn.Aug 30 2018, 4:14 PM
Reedy renamed this task from Make Special:Log/rights more easy to understand to Make Special:Log/rights easier to understand.Aug 30 2018, 7:09 PM
Reedy added a project: MediaWiki-Special-pages.

I can go ahead with this if there is an agreement on the proposed layout.

Matiia added a subscriber: Matiia.Sep 17 2018, 1:09 AM
revi added a subscriber: revi.Sep 17 2018, 5:28 AM

I am good with the proposed new format, with one additional info: display what right was added/removed with green/red display (temporary right expiration change should count as added). It will help identifying which right was modified.

Teles added a subscriber: Teles.Sep 17 2018, 4:55 PM

That's a good idea as well.
Maybe also a display in 2 columns, old rights on the left, new ones on the right, would be good.

I am good with the proposed new format, with one additional info: display what right was added/removed with green/red display (temporary right expiration change should count as added). It will help identifying which right was modified.

Please think on the colour blind. No red/green please. Thanks.

revi added a comment.Sep 19 2018, 2:51 AM

Red/Green idea came from the diff's red/green, I dunno how colorblinds deal with that part of MediaWiki? (Maybe bold the changed part and/or the coloring?)

@revi As partial colourblind myself, I can tell you I have difficulties sometimes :-)

Superyetkin triaged this task as Low priority.Oct 23 2018, 6:24 PM

As far as I can see, we need to implement a custom "LogFormatter" instance to make this happen. Is that right?

I think it already has its own LogFormatter - RightsLogFormatter.php