Page MenuHomePhabricator

Bad output of AbuseFilter blocks in CU get edits
Closed, ResolvedPublic

Description

When getting edits on CU, AbuseFilter blocks shows as:

  • (Logs) . . 23:14 . . Abuse filter (talk | contribs | block) (administrator) Abuse filter blocked <USERNAME> with an expiration time of <span class='blockExpiry' title='‎indefinite'>infinite</span> (account creation disabled) (Automatically blocked by abuse filter. Description of matched rule: Specific user page spam)

The bold text is the weird output. If possible, please fix. Thank you.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

We would probably need to have a modern table with different computer-readable data for generating the line properly instead of inserting the action text and showing it using Linker. See also T41013.

It is also related to T21964: the logs stored in CU logs table are stored as plain text and are not parsed.

One alternative is to store them as wikitext (with $1, etc) but then parsing them would be an issue.

The second alternative is to store the HTML output of the log, but if the log translation or format changes later, the old format would be shown in CU output (same issue exists now too).

The third (and in my humble opinion, best) option is to store a link to the log id only, and then expand CU code such that using the log id and log parameters it would create the log text on the fly.

Dreamy_Jazz claimed this task.
Dreamy_Jazz subscribed.

This seems to no longer be the case per my local testing:

image.png (66×1 px, 25 KB)