mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
d3c0494a17
This code will be enabled when Iba1d7863171268066bf7597182c57a0a2041497f relinquishes the responsibility for rendering the Echo notification badge and wiring up of the related JS. It makes 3 assumptions: 1) Minerva will expose a VERSION property on the skins.minerva.scripts module to tell Echo it can begin control of the functionality 2) A new hook `SkinMinervaReplaceNotificationsBadge` will run on the server side allowing Echo extension to render the Notifications badge in Minerva. 3) A new client side hook (echo.mobile) will fire whenever the Echo dialog is opened or closed. All code relating to Echo inside MobileFrontend and Minerva is moved here. CSS for the modules is kept in Minerva as skinStyles This code remains dormant until Iba1d7863171268066bf7597182c57a0a2041497f lands. It pre-registers a "to-be-created" hook SkinMinervaReplaceNotificationsBadge that substitutes the Minerva badge. It also watches the export value of skins.minerva.scripts for a VERSION value - when this appears it will take the signal that it should manage the frontend code. In the new system the mobile specific code is limited to the mobile version of Minerva. The desktop version of Echo loads on Minerva desktop - presenting an opportunity in future to consolidate both implementations to use the same component. The mobile version of Vector and Timeless for example will load the mobile overlay (with existing styling issues that we don't need to worry about right now given we don't officially support skins other than Minerva as mobile) Testers: * Check require( 'ext.echo.mobile' )(); inside initMobile inside ext.echo.init does not fire until Iba1d7863171268066bf7597182c57a0a2041497f is checked out. Depends-On: I1a66939d2b596094b419de40b370e79f09c85581 Bug: T221007 Change-Id: I09c27a084100b223662f84de6cbe01bebe1fe774
235 lines
18 KiB
JSON
235 lines
18 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Andrew Garrett",
|
|
"Alangi Derick",
|
|
"Alex Monk",
|
|
"Amir E. Aharoni",
|
|
"Andrew Garrett",
|
|
"Benny Situ",
|
|
"Brad Jorsch",
|
|
"Erik Bernhardson",
|
|
"James D. Forrester",
|
|
"Jon Robson",
|
|
"Kunal Mehta",
|
|
"lokal-profil",
|
|
"lwelling",
|
|
"MatmaRex",
|
|
"Matthew Flaschen",
|
|
"Matthias Mullie",
|
|
"mhutti1",
|
|
"Moriel Schottlender",
|
|
"Nemo bis",
|
|
"Nischay Nahata",
|
|
"Raimond Spekking",
|
|
"Reedy",
|
|
"Roan Kattouw",
|
|
"Ryan Kaldari",
|
|
"Siebrand Mazeland",
|
|
"Stephane Bisson",
|
|
"theopolisme",
|
|
"Tony Thomas",
|
|
"Terry Chay",
|
|
"umherirrender",
|
|
"Yuki Shira"
|
|
|
|
]
|
|
},
|
|
"echo-desc": "System for notifying users about events and messages",
|
|
"prefs-echo": "Notifications",
|
|
"prefs-emailsettings": "Email options",
|
|
"prefs-echosubscriptions": "Notify me about these events",
|
|
"prefs-echocrosswiki": "Cross-wiki notifications",
|
|
"prefs-blocknotificationslist": "Muted users",
|
|
"prefs-echopollupdates": "Live notifications",
|
|
"echo-mobile-notifications-filter-title": "Filter notifications",
|
|
"echo-pref-show-poll-updates": "Display new notifications as they arrive",
|
|
"echo-pref-show-poll-updates-help": "Show the number of unread notifications in the title bar, and show a snippet of each notification immediately when it arrives.",
|
|
"echo-pref-send-me": "Send me:",
|
|
"echo-pref-send-to": "Send to:",
|
|
"echo-pref-email-format": "Email format:",
|
|
"echo-pref-web": "Web",
|
|
"echo-pref-email": "Email",
|
|
"echo-pref-email-frequency-never": "Do not send me any email notifications",
|
|
"echo-pref-email-frequency-immediately": "Individual notifications as they come in",
|
|
"echo-pref-email-frequency-daily": "A daily summary of notifications",
|
|
"echo-pref-email-frequency-weekly": "A weekly summary of notifications",
|
|
"echo-pref-email-format-html": "HTML",
|
|
"echo-pref-email-format-plain-text": "Plain text",
|
|
"echo-pref-cross-wiki-notifications": "Show notifications from other wikis",
|
|
"echo-pref-notifications-blacklist": "Do not display notifications from these users. ([[mw:Special:MyLanguage/Help:Notifications#mute|learn more]])",
|
|
"echo-learn-more": "Learn more",
|
|
"echo-log": "Public log",
|
|
"echo-new-messages": "You have new messages",
|
|
"echo-category-title-edit-user-talk": "Talk page {{PLURAL:$1|message|messages}}",
|
|
"echo-category-title-article-linked": "Page {{PLURAL:$1|link|links}}",
|
|
"echo-category-title-reverted": "Edit {{PLURAL:$1|revert|reverts}}",
|
|
"echo-category-title-mention": "{{PLURAL:$1|Mention|Mentions}}",
|
|
"echo-category-title-mention-failure": "Failed {{PLURAL:$1|mention|mentions}}",
|
|
"echo-category-title-mention-success": "Successful {{PLURAL:$1|mention|mentions}}",
|
|
"echo-category-title-other": "{{PLURAL:$1|Other}}",
|
|
"echo-category-title-system": "{{PLURAL:$1|System}}",
|
|
"echo-category-title-system-noemail": "{{PLURAL:$1|System}}",
|
|
"echo-category-title-user-rights": "{{PLURAL:$1|User rights change|User rights changes}}",
|
|
"echo-category-title-emailuser": "{{PLURAL:$1|Email from other user|Emails from other users}}",
|
|
"echo-category-title-article-reminder": "Page {{PLURAL:$1|reminder|reminders}}",
|
|
"echo-category-title-thank-you-edit": "Edit {{PLURAL:$1|milestone|milestones}}",
|
|
"echo-pref-tooltip-edit-user-talk": "Notify me when someone posts a message or replies on my talk page.",
|
|
"echo-pref-tooltip-article-linked": "Notify me when someone links to a page I created from another page.",
|
|
"echo-pref-tooltip-reverted": "Notify me when someone reverts an edit I made, by using the undo or rollback tool.",
|
|
"echo-pref-tooltip-mention": "Notify me when someone links to my user page.",
|
|
"echo-pref-tooltip-mention-failure": "Notify me when I could not send out a mention to someone.",
|
|
"echo-pref-tooltip-mention-success": "Notify me when I send out a mention to someone.",
|
|
"echo-pref-tooltip-user-rights": "Notify me when someone changes my user rights.",
|
|
"echo-pref-tooltip-emailuser": "Notify me when someone sends me an email.",
|
|
"echo-pref-tooltip-article-reminder": "Notify me about this page when I ask.",
|
|
"echo-pref-tooltip-thank-you-edit": "Notify me when I reach my 1st, 10th, 100th... edit.",
|
|
"notifications": "Notifications",
|
|
"tooltip-pt-notifications-alert": "{{GENDER:|Your}} alerts",
|
|
"tooltip-pt-notifications-notice": "{{GENDER:|Your}} notices",
|
|
"echo-displaynotificationsconfiguration": "Display Notifications configuration",
|
|
"echo-displaynotificationsconfiguration-summary": "This is an overview of how Notifications are configured on this wiki.",
|
|
"echo-displaynotificationsconfiguration-notifications-by-category-header": "Notifications by category",
|
|
"echo-displaynotificationsconfiguration-sorting-by-section-header": "Sorting of types",
|
|
"echo-displaynotificationsconfiguration-sorting-by-section-legend": "Which section each notification type is sorted into",
|
|
"echo-displaynotificationsconfiguration-available-notification-methods-header": "Allowed notification methods",
|
|
"echo-displaynotificationsconfiguration-available-notification-methods-by-category-legend": "Which notification methods are supported for each category",
|
|
"echo-displaynotificationsconfiguration-enabled-default-header": "Enabled by default",
|
|
"echo-displaynotificationsconfiguration-enabled-default-existing-users-legend": "Existing users",
|
|
"echo-displaynotificationsconfiguration-enabled-default-new-users-legend": "New users",
|
|
"echo-displaynotificationsconfiguration-mandatory-notification-methods-header": "Required notification methods",
|
|
"echo-displaynotificationsconfiguration-mandatory-notification-methods-by-category-legend": "Which notification methods are mandatory for each category",
|
|
"echo-specialpage": "Notifications",
|
|
"echo-specialpage-section-markread": "Mark group as read",
|
|
"echo-specialpage-markasread": "Notification: Mark as read",
|
|
"echo-specialpage-markasread-invalid-id": "Invalid event ID",
|
|
"echo-specialpage-pagination-numnotifications": "$1 {{PLURAL:$1|notification|notifications}}",
|
|
"echo-specialpage-pagination-range": "$1 - $2",
|
|
"echo-specialpage-pagefilters-title": "Recent activity",
|
|
"echo-specialpage-pagefilters-subtitle": "Pages with unread notifications",
|
|
"notificationsmarkread-legend": "Mark notification as read",
|
|
"echo-none": "You have no notifications.",
|
|
"echo-api-failure": "Failed to fetch notifications.",
|
|
"echo-api-failure-cross-wiki": "Access to the remote domain was denied.",
|
|
"echo-notification-placeholder": "There are no notifications.",
|
|
"echo-notification-placeholder-filters": "There are no notifications matching these criteria.",
|
|
"echo-notification-loginrequired": "You must login to see your notifications.",
|
|
"echo-notification-popup-loginrequired": "Please log in to view your notifications.",
|
|
"echo-notification-markasread": "Mark as read",
|
|
"echo-notification-markasunread": "Mark as unread",
|
|
"echo-notification-markasread-tooltip": "Mark as read",
|
|
"echo-notification-more-options-tooltip": "More options",
|
|
"notification-dynamic-actions-unwatch": "{{GENDER:$3|Stop}} watching new activity on \"$1\"",
|
|
"notification-dynamic-actions-unwatch-confirmation": "{{GENDER:$3|You}} are no longer watching the page \"$1\"",
|
|
"notification-dynamic-actions-unwatch-confirmation-description": "{{GENDER:$3|You}} can watch [$2 this page] anytime.",
|
|
"notification-dynamic-actions-watch": "{{GENDER:$3|Follow}} new activity on \"$1\"",
|
|
"notification-dynamic-actions-watch-confirmation": "{{GENDER:$3|You}} are now watching the page \"$1\"",
|
|
"notification-dynamic-actions-watch-confirmation-description": "{{GENDER:$3|You}} can stop watching [$2 this page] anytime.",
|
|
"notification-link-text-expand-all": "Expand",
|
|
"notification-link-text-expand-alert-count": "View {{PLURAL:$1|$1 alert|$1 alerts}}",
|
|
"notification-link-text-expand-notice-count": "View {{PLURAL:$1|$1 notice|$1 notices}}",
|
|
"notification-link-text-expand-all-count": "View {{PLURAL:$1|$1 notification|$1 notifications}}",
|
|
"notification-link-text-collapse-all": "Collapse",
|
|
"notification-link-text-view-message": "View message",
|
|
"notification-link-text-view-mention": "View mention",
|
|
"notification-link-text-view-mention-failure": "{{PLURAL:$1|View mention|View mentions}}",
|
|
"notification-link-text-view-changes": "{{GENDER:$1|View}} changes",
|
|
"notification-link-text-view-page": "View page",
|
|
"notification-header-edit-user-talk": "$1 {{GENDER:$2|left}} a message on <strong>{{GENDER:$3|your}} talk page</strong>.",
|
|
"notification-header-edit-user-talk-with-section": "$1 {{GENDER:$2|left}} a message on <strong>{{GENDER:$3|your}} talk page</strong> in \"<strong>$4</strong>\".",
|
|
"notification-compact-header-edit-user-talk": "$1 {{GENDER:$2|left}} {{GENDER:$3|you}} a message.",
|
|
"notification-compact-header-edit-user-talk-with-section": "$1 {{GENDER:$2|left}} {{GENDER:$3|you}} a message in \"<strong>$4</strong>\".",
|
|
"notification-body-edit-user-talk-with-section": "$1",
|
|
"notification-header-page-linked": "A link was made from <strong>$4</strong> to <strong>$3</strong>.",
|
|
"notification-compact-header-page-linked": "Linked from <strong>$1</strong>.",
|
|
"notification-bundle-header-page-linked": "Links were made from {{PLURAL:$5||$5 pages|100=99+ pages}} to <strong>$3</strong>.",
|
|
"notification-header-article-reminder": "A page {{GENDER:$2|you}} have requested to be reminded about is at <strong>$3</strong>",
|
|
"notification-link-text-what-links-here": "All links to this page",
|
|
"notification-body-mention": "$1",
|
|
"notification-header-mention-other": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on <strong>$4</strong> in \"<strong>$5</strong>\".",
|
|
"notification-header-mention-other-nosection": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on <strong>$4</strong>.",
|
|
"notification-header-mention-user-talkpage-v2": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on the <strong>user talk page {{GENDER:$5|of}} $4</strong> in \"<strong>$6</strong>\".",
|
|
"notification-header-mention-user-talkpage-nosection": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on the <strong>user talk page {{GENDER:$5|of}} $4</strong>.",
|
|
"notification-header-mention-agent-talkpage": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on <strong>{{GENDER:$2|his|her|their}} talk page</strong> in \"<strong>$4</strong>\".",
|
|
"notification-header-mention-agent-talkpage-nosection": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on <strong>{{GENDER:$2|his|her|their}} talk page</strong>.",
|
|
"notification-header-mention-article-talkpage": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on the <strong>$4</strong> talk page in \"<strong>$5</strong>\".",
|
|
"notification-header-mention-article-talkpage-nosection": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on the <strong>$4</strong> talk page.",
|
|
"notification-header-mention-failure-user-unknown": "{{GENDER:$2|Your}} mention of <strong>$3</strong> was not sent because the user was not found.",
|
|
"notification-header-mention-failure-user-anonymous": "{{GENDER:$2|Your}} mention of <strong>$3</strong> was not sent because the user is anonymous.",
|
|
"notification-header-mention-failure-too-many": "{{GENDER:$2|You}} tried to mention more than $3 {{PLURAL:$3|user|users}}. All mentions above that limit were not sent.",
|
|
"notification-header-mention-failure-bundle": "{{PLURAL:$3|A mention|$3 mentions}} {{GENDER:$2|you made}} on the <strong>$4</strong> talk page {{PLURAL:$3|could}} not be sent.",
|
|
"notification-compact-header-mention-failure-user-unknown": "<strong>Username does not exist:</strong> $1",
|
|
"notification-compact-header-mention-failure-user-anonymous": "<strong>IPs cannot be mentioned:</strong> $1",
|
|
"notification-header-mention-success": "{{GENDER:$2|Your}} mention of <strong>$3</strong> was sent.",
|
|
"notification-header-mention-success-bundle": "{{PLURAL:$3|A mention|$3 mentions}} {{GENDER:$2|you made}} on the <strong>$4</strong> talk page {{PLURAL:$3|were}} sent.",
|
|
"notification-compact-header-mention-success": "<strong>{{GENDER:$2|You mentioned}}:</strong> $3",
|
|
"notification-header-mention-status-bundle": "{{PLURAL:$3|A notification|$3 notifications}} about mentions {{GENDER:$2|you made}} on the <strong>$4</strong> talk page: {{PLURAL:$5|$5 not sent}}, {{PLURAL:$6|$6 sent}}.",
|
|
"notification-header-user-rights-add-only": "{{GENDER:$4|Your}} user rights were {{GENDER:$1|changed}}. You have been added to: $2.",
|
|
"notification-header-user-rights-remove-only": "{{GENDER:$4|Your}} user rights were {{GENDER:$1|changed}}. You are no longer a member of: $2.",
|
|
"notification-header-user-rights-add-and-remove": "{{GENDER:$6|Your}} user rights were {{GENDER:$1|changed}}. You have been added to: $2. You are no longer a member of: $4.",
|
|
"notification-header-user-rights-expiry-change": "The expiry of {{GENDER:$4|your}} membership in the following {{PLURAL:$3|group|groups}} has been {{GENDER:$1|changed}}: $2.",
|
|
"notification-header-welcome": "{{GENDER:$2|Welcome}} to {{SITENAME}}, $1! We're glad {{GENDER:$2|you're}} here.",
|
|
"notification-header-mention-summary": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} in an edit summary on <strong>$4</strong>.",
|
|
"notification-welcome-link": "",
|
|
"notification-welcome-linktext": "Welcome",
|
|
"notification-header-thank-you-1-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} first edit; thank {{GENDER:$2|you}}, and welcome!",
|
|
"notification-header-thank-you-10-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} tenth edit; thank {{GENDER:$2|you}}, and please keep going!",
|
|
"notification-header-thank-you-100-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} hundredth edit; thank {{GENDER:$2|you}} very much!",
|
|
"notification-header-thank-you-1000-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} thousandth edit; thank {{GENDER:$2|you}} for being a great contributor!",
|
|
"notification-header-thank-you-10000-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} ten thousandth edit; thank {{GENDER:$2|you}} so very much!",
|
|
"notification-header-thank-you-100000-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} hundred thousandth edit; thank {{GENDER:$2|you}} for an amazing contribution!",
|
|
"notification-header-thank-you-1000000-edit": "{{GENDER:$2|You}} just made {{GENDER:$2|your}} millionth edit; thank {{GENDER:$2|you}} for an astonishing contribution!",
|
|
"notification-link-thank-you-edit": "{{GENDER:$1|Your}} edit",
|
|
"notification-link-text-view-edit": "View edit",
|
|
"notification-link-article-reminder": "View page",
|
|
"notification-header-reverted": "Your {{PLURAL:$4|edit on <strong>$3</strong> was|edits on <strong>$3</strong> were}} {{GENDER:$2|reverted}}.",
|
|
"notification-body-reverted": "$1",
|
|
"notification-header-emailuser": "$1 {{GENDER:$2|sent}} you an email.",
|
|
"notification-body-emailuser": "$1",
|
|
"notification-edit-talk-page-email-subject2": "$1 {{GENDER:$2|left}} {{GENDER:$3|you}} a message on {{SITENAME}}",
|
|
"notification-page-linked-email-subject": "A page {{GENDER:$3|you}} created was linked on {{SITENAME}}",
|
|
"notification-reverted-email-subject2": "{{GENDER:$3|Your}} {{PLURAL:$4|edit was|edits were}} {{GENDER:$2|reverted}} on {{SITENAME}}",
|
|
"notification-mention-email-subject": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on {{SITENAME}}",
|
|
"notification-user-rights-email-subject": "{{GENDER:$3|Your}} user rights have changed on {{SITENAME}}",
|
|
"notification-timestamp-ago-seconds": "{{PLURAL:$1|$1s}}",
|
|
"notification-timestamp-ago-minutes": "{{PLURAL:$1|$1m}}",
|
|
"notification-timestamp-ago-hours": "{{PLURAL:$1|$1h}}",
|
|
"notification-timestamp-ago-days": "{{PLURAL:$1|$1d}}",
|
|
"notification-timestamp-ago-months": "{{PLURAL:$1|$1mo}}",
|
|
"notification-timestamp-ago-years": "{{PLURAL:$1|$1yr}}",
|
|
"notification-timestamp-today": "Today",
|
|
"notification-timestamp-yesterday": "Yesterday",
|
|
"notification-inbox-filter-read": "Read",
|
|
"notification-inbox-filter-unread": "Unread",
|
|
"notification-inbox-filter-all": "All",
|
|
"echo-specialmute-label-mute-notifications": "Mute notifications from this user",
|
|
"echo-email-plain-footer": "To control which emails we send {{GENDER:$1|you}}, check {{GENDER:$1|your}} preferences:",
|
|
"echo-email-html-footer-preference-link-text": "check {{GENDER:$1|your}} preferences",
|
|
"echo-email-html-footer-with-link": "To control which emails we send {{GENDER:$2|you}}, $1.",
|
|
"echo-notification-alert": "{{PLURAL:$1|Alert ($1)|Alerts ($1)|100=Alerts (99+)}}",
|
|
"echo-notification-notice": "{{PLURAL:$1|Notice ($1)|Notices ($1)|100=Notices (99+)}}",
|
|
"echo-notification-alert-text-only": "Alerts",
|
|
"echo-notification-notice-text-only": "Notices",
|
|
"echo-overlay-link": "All notifications",
|
|
"echo-overlay-title": "<b>Notifications</b>",
|
|
"echo-mark-all-as-read": "Mark all as read",
|
|
"echo-mark-all-as-read-confirmation": "$1 {{PLURAL:$1|notification|notifications}} marked as read",
|
|
"echo-mark-wiki-as-read": "Mark all as read in selected wiki: $1",
|
|
"echo-displaysnippet-title": "New notification",
|
|
"echo-date-today": "Today",
|
|
"echo-date-yesterday": "Yesterday",
|
|
"notification-bundle-header-edit-user-talk-v2": "{{PLURAL:$1|One new message|$1 new messages|100=99+ new messages}} on <strong>{{GENDER:$3|your}} talk page</strong>.",
|
|
"echo-email-batch-bullet": "•",
|
|
"echo-email-batch-subject-daily": "You have {{PLURAL:$2|a new notification|new notifications}} at {{SITENAME}}",
|
|
"echo-email-batch-subject-weekly": "You have {{PLURAL:$2|a new notification|new notifications}} at {{SITENAME}} this week",
|
|
"echo-email-batch-body-intro-daily": "Hi $1,\nHere's a summary of today's activity on {{SITENAME}} for you.",
|
|
"echo-email-batch-body-intro-weekly": "Hi $1,\nHere's a summary of this week's activity on {{SITENAME}} for you.",
|
|
"echo-email-batch-link-text-view-all-notifications": "View all notifications",
|
|
"notification-header-foreign-alert": "More alerts from {{PLURAL:$5|another wiki|$5 other wikis}}",
|
|
"notification-header-foreign-notice": "More notices from {{PLURAL:$5|another wiki|$5 other wikis}}",
|
|
"notification-header-foreign-all": "More notifications from {{PLURAL:$5|another wiki|$5 other wikis}}",
|
|
"notification-body-foreign": "$1",
|
|
"echo-foreign-wiki-lang": "$1 - $2",
|
|
"echo-badge-count": "{{PLURAL:$1|$1|100={{formatnum:99}}+}}"
|
|
}
|