Page MenuHomePhabricator

Block log below block form limited to 50 entries
Closed, ResolvedPublic

Description

As surprising as it is, some users on en.wiki have more than 50 block log entries, causing a confusing discrepancy between Special:Log and the log that appears below the block form. It would seem that the block log that appears below the block form is limited to 50 entries.

I would recommend not limiting the log below the block form. Or, alternately, it could limit it to 10 entries or something and then provide a link to the full block log if there are more entries.


Version: unspecified
Severity: enhancement

Details

Reference
bz14638

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:09 PM
bzimport set Reference to bz14638.

Checks to see if there are more than 50 rows and displays a message

attachment log.diff ignored as obsolete

Bryan.TongMinh wrote:

The message should point to the page where the other log entries can be viewed.

Displaying up to 10 with a link to the full log page for more would probably be great, yes.

mattj wrote:

Proposed patch

I've done a new patch based on Brion's post, displays 10 then if its more generates a link.

attachment blocklogfragmentlimit.patch ignored as obsolete

Reverted in r40864; construction of the link looks very bizarre. We have regular linking functions for this sort of thing...

mattj wrote:

Proposed patch v2

This uses the proper Linker function link(), as well as updating the message name (since the old one was incorrectly named, since it was at the bottom.

Attached:

mattj wrote:

Patch committed in r40944 by Soxred93