Migrate move protect log to new log system
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 7 Jul 2015 20:36:41 +0000 (22:36 +0200)
committerAlex Monk <krenair@gmail.com>
Tue, 18 Aug 2015 22:20:35 +0000 (22:20 +0000)
commit3964b4cc052c0c089d701dc74b7754e9772b146c
tree5ad88df0394ad0a14f1456518e0daf9e1fbeb26f
parentf9b579efc6d3116cdc322a4f8c8fe05b079d9e9c
Migrate move protect log to new log system

Migrate the move protect log as first sub type of the protection log,
because it does not have complex log parameter, which needs some way of
handling/migration.
It also keeps the gerrit change smaller and hopefully makes review
easier.
The other sub types of the protection log will be migrated in a later
patch set.

This allows use of gender on Special:Log. Old message is kept for use
in IRC. A test was added to ensure an unchanged IRC message.

Bug: T47988
Change-Id: I57b3bd8a7dc823acdbb56520d2364f5542283373
autoload.php
includes/DefaultSettings.php
includes/MovePage.php
includes/logging/LogFormatter.php
includes/logging/ProtectLogFormatter.php [new file with mode: 0644]
languages/i18n/en.json
languages/i18n/qqq.json
tests/phpunit/includes/changes/RecentChangeTest.php
tests/phpunit/includes/logging/LogFormatterTestCase.php
tests/phpunit/includes/logging/ProtectLogFormatterTest.php [new file with mode: 0644]