Fix IRC lines for blocks published with the old logging system
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 14 Mar 2015 11:17:24 +0000 (12:17 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 14 Mar 2015 12:43:13 +0000 (13:43 +0100)
commit68c945d7963ca5de44ed67e59b11f448851f3cd9
tree2233b4ae2b2799b5cf54d535442b9d8375ad8028
parentcbed702308d8590bd2d15528af5f88c38417c436
Fix IRC lines for blocks published with the old logging system

The CheckUser and GlobalBlocking extension are inserting the block logs
over the old logging system, where the keys are numeric.
This case is not known when building the irc line, because that was
already migrated to just get the new style.
Added compatibility code for legacy rows.

Needs the legacy flag also in ManualLogEntry to make this happen,
because it is using the LogFormatter of the new logging system to format
the actionText.

Have not found the old way for block/reblock, so just for block/block.

Bug: T92713
Follow-Up: Ibc7fcaa5a952ff90d42a6477da4baa429f3de64b
Change-Id: I08aea8399ce766e98c1a76e237169f220c6cc751
includes/logging/LogEntry.php
includes/logging/LogFormatter.php
includes/logging/LogPage.php