Robmoen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/171303
Change subject: Set user language in api request so notifications are localized
......................................................................
Set user language in api request so notifications are localized
Bug: 72986
Change-Id: I3990105c183afd46ce1beaff0efc82cfcd385d9a
---
M javascripts/modules/notifications/NotificationsOverlay.js
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/03/171303/1
diff --git a/javascripts/modules/notifications/NotificationsOverlay.js
b/javascripts/modules/notifications/NotificationsOverlay.js
index 24c0d36..97319f7 100644
--- a/javascripts/modules/notifications/NotificationsOverlay.js
+++ b/javascripts/modules/notifications/NotificationsOverlay.js
@@ -41,7 +41,8 @@
action: 'query',
meta: 'notifications',
notformat: 'flyout',
- notprop: 'index|list|count'
+ notprop: 'index|list|count',
+ uselang: 'user'
} ).done( function ( result ) {
var notifications;
if ( result.query &&
result.query.notifications ) {
--
To view, visit https://gerrit.wikimedia.org/r/171303
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3990105c183afd46ce1beaff0efc82cfcd385d9a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Robmoen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits