wiki.techinc.nl/tests/phpunit/includes/logging
MGChecker 84c46d38b7 Add separate log action for file reverts
This change s adds 'revert' as a separate log action for file reverts, as it
allows special formatting of log entries and revisions in UI and filtering
for file reverts specifically.

Even though there are no log entries with this log action right now, it does
seem that this was intended as some point, as there are corresponding
test cases in UploadLogFormatterTest, and is listed in
$wgLogActionsHandlers and https://www.mediawiki.org/wiki/API:Logevents
as well. Furthermore, the i18n message 'logentry-upload-revert' already
existed before this change.

Because this functionality can not be provided by tags, the 'mw-undo' tag
is not suited for this use case. However, it could be added additionally to
all log entries with this log action..

Bug: T60209
Change-Id: Ie1ccd8053dc5de58b2297a8460219f0233aab968
2019-03-02 22:16:55 +00:00
..
BlockLogFormatterTest.php Add namespace restrictions to block's log messages 2019-01-25 15:46:11 -05:00
ContentModelLogFormatterTest.php
DatabaseLogEntryTest.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
DeleteLogFormatterTest.php
ImportLogFormatterTest.php
LogFormatterTest.php Declare LogFormatter::$parsedParameters property 2018-05-01 19:56:13 -07:00
LogFormatterTestCase.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
LogTests.i18n.php
MergeLogFormatterTest.php
MoveLogFormatterTest.php
NewUsersLogFormatterTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
PageLangLogFormatterTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
PatrolLogFormatterTest.php
ProtectLogFormatterTest.php
RightsLogFormatterTest.php
UploadLogFormatterTest.php Add separate log action for file reverts 2019-03-02 22:16:55 +00:00