mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 10:59:42 +00:00
Add thanks log to $wgFilterLogTypes
Bug: 52118 Change-Id: I441b9896c9f88d01debac47729057b0129c6eb0b
This commit is contained in:
parent
65b7bcdc24
commit
f6eea0c8b0
|
@ -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 (العربية)
|
||||
|
|
|
@ -86,6 +86,7 @@ $wgResourceModules['ext.thanks'] = array(
|
|||
// Logging
|
||||
$wgLogTypes[] = 'thanks';
|
||||
$wgLogActionsHandlers['thanks/*'] = 'ThanksLogFormatter';
|
||||
$wgFilterLogTypes['thanks'] = true;
|
||||
|
||||
/* Configuration */
|
||||
|
||||
|
|
Loading…
Reference in a new issue