jenkins-bot has submitted this change and it was merged.
Change subject: Add thanks log to $wgFilterLogTypes
......................................................................
Add thanks log to $wgFilterLogTypes
Bug: 52118
Change-Id: I441b9896c9f88d01debac47729057b0129c6eb0b
---
M Thanks.i18n.php
M Thanks.php
2 files changed, 4 insertions(+), 0 deletions(-)
Approvals:
Bsitu: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Thanks.i18n.php b/Thanks.i18n.php
index 3933a23..c0c02ec 100644
--- a/Thanks.i18n.php
+++ b/Thanks.i18n.php
@@ -31,6 +31,7 @@
'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 @@
* $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 (العربية)
diff --git a/Thanks.php b/Thanks.php
index 64d50b8..c1720a2 100644
--- a/Thanks.php
+++ b/Thanks.php
@@ -86,6 +86,7 @@
// Logging
$wgLogTypes[] = 'thanks';
$wgLogActionsHandlers['thanks/*'] = 'ThanksLogFormatter';
+$wgFilterLogTypes['thanks'] = true;
/* Configuration */
--
To view, visit https://gerrit.wikimedia.org/r/76200
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I441b9896c9f88d01debac47729057b0129c6eb0b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Thanks
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Bsitu <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits