mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 02:54:23 +00:00
Adding tooltip for preference
Change-Id: Ic73f46d2c216202158ddc9fc3ed41a073c5a3b43
This commit is contained in:
parent
d8348617cb
commit
36003bd6db
|
@ -116,6 +116,7 @@ class ThanksHooks {
|
|||
public static function onBeforeCreateEchoEvent( &$notifications, &$notificationCategories, &$icons ) {
|
||||
$notificationCategories['edit-thank'] = array(
|
||||
'priority' => 3,
|
||||
'tooltip' => 'echo-pref-tooltip-edit-thank',
|
||||
);
|
||||
|
||||
$notifications['edit-thank'] = array(
|
||||
|
|
|
@ -19,6 +19,7 @@ $messages['en'] = array(
|
|||
'thanks-error-ratelimited' => "You've exceeded your rate limit. Please wait some time and try again.",
|
||||
'thanks-thank-tooltip' => 'Send a thank you notification to this user',
|
||||
'echo-pref-subscription-edit-thank' => 'Thanks me for my edit',
|
||||
'echo-pref-tooltip-edit-thank' => 'Notify me when someone thanks me for an edit I made.',
|
||||
'echo-category-title-edit-thank' => 'Thanks',
|
||||
'notification-thanks-diff-link' => 'your edit',
|
||||
'notification-thanks' => '[[User:$1|$1]] {{GENDER:$1|thanked}} you for $2 on [[$3]].',
|
||||
|
@ -55,6 +56,7 @@ $messages['qqq'] = array(
|
|||
'echo-pref-subscription-edit-thank' => 'Option for getting notifications when someone thanks the user for their edit.
|
||||
|
||||
This is the conclusion of the sentence begun by the header: {{msg-mw|Prefs-echosubscriptions}}.',
|
||||
'echo-pref-tooltip-edit-thank' => 'This is a short description of the edit-thank notification category.',
|
||||
'echo-category-title-edit-thank' => 'This is a short title for the notification category.
|
||||
|
||||
Used as <code>$1</code> in {{msg-mw|Echo-dismiss-message}} and as <code>$2</code> in {{msg-mw|Echo-email-batch-category-header}}
|
||||
|
|
Loading…
Reference in a new issue