Add thanks log to $wgFilterLogTypes

Bug: 52118
Change-Id: I441b9896c9f88d01debac47729057b0129c6eb0b
This commit is contained in:
Krenair 2013-07-26 22:42:06 +01:00 committed by bsitu
parent 65b7bcdc24
commit f6eea0c8b0
2 changed files with 4 additions and 0 deletions

View file

@ -31,6 +31,7 @@ $messages['en'] = array(
'log-name-thanks' => 'Thanks log',
'log-description-thanks' => 'Below is a list of users thanked by other users.',
'logentry-thanks-thank' => '$1 {{GENDER:$2|thanked}} {{GENDER:$4|$3}}',
'log-show-hide-thanks' => '$1 thanks log',
);
/** Message documentation (Message documentation)
@ -90,6 +91,8 @@ Used for <code>$2</code> in {{msg-mw|Notification-thanks}}. Should have capitali
* $2 is a username. Can be used for GENDER.
* $3 is a user link, for example "John Doe (Talk | contribs)
* $4 is the username of the recipient. Can be used for GENDER.',
'log-show-hide-thanks' => 'Shown on Special:Log as a link to show/hide thanks log entries. (Hidden by default)
* $1 is one of {{msg-mw|show}} or {{msg-mw|hide}}',
);
/** Arabic (العربية)

View file

@ -86,6 +86,7 @@ $wgResourceModules['ext.thanks'] = array(
// Logging
$wgLogTypes[] = 'thanks';
$wgLogActionsHandlers['thanks/*'] = 'ThanksLogFormatter';
$wgFilterLogTypes['thanks'] = true;
/* Configuration */