Commit graph

2982 commits

Author SHA1 Message Date
Translation updater bot 9c627215f7 Localisation updates from https://translatewiki.net.
Change-Id: Ib5bc94eefcf5afbc0fdc745bdc236d57297132ed
2016-04-22 22:21:53 +02:00
jenkins-bot dc14945dcd Merge "Change (opt-out) noforn to (opt-in) crosswikisummary" 2016-04-22 19:29:53 +00:00
jenkins-bot 4bf6c5d7cd Merge "List is no longer an associative array" 2016-04-22 19:23:06 +00:00
Matthias Mullie 57ee975984 Change (opt-out) noforn to (opt-in) crosswikisummary
I thought the name was confusing, and would be even more so
if we get real notifications from other sources.

Meanwhile also split $crossWikiSummary into 2 properties:
- 1 with the class
- 1 to indicate if it should be used

Change-Id: I0e83be7924c8c77680ea1ada3f2bd6a190ce6149
2016-04-22 12:14:21 -07:00
Matthias Mullie b10bd70033 List is no longer an associative array
This would soon become problematic when output can come from
multiple sources, with potentially conflicting ids.
The ID is already included in the result anyway.

Change-Id: Id92150c71c68958819fe0ee329e70393052c34c9
2016-04-22 12:13:21 -07:00
jenkins-bot 748068b66c Merge "Remove param index" 2016-04-22 18:47:12 +00:00
jenkins-bot 6c38cb84ad Merge "Make notifications use getMainStashInstance()" 2016-04-22 18:25:36 +00:00
Translation updater bot bf2accd3ca Localisation updates from https://translatewiki.net.
Change-Id: I641913d632f57500f2b310c9bfdb7b22f63b4b50
2016-04-21 22:56:50 +02:00
Aaron Schulz e520e764c4 Make notifications use getMainStashInstance()
This makes sure resetNotificationCount() actually affects all DCs

Change-Id: If1af121b54d2ec50473a55308d8326f24a1b43b8
2016-04-21 19:40:12 +00:00
Matthias Mullie e8d1f6a888 Remove param index
It's (mostly) unused, and it would become problematic once we have
notifications from multiple places (where those ids could conflict)

Change-Id: Ib3bb5ae1e5689037b38290c9ce3d8691f52582b0
2016-04-21 13:33:15 +02:00
Translation updater bot d39f00a8d1 Localisation updates from https://translatewiki.net.
Change-Id: Ie4fabc93c85ed61767f54910978e8876f0d53477
2016-04-20 23:10:41 +02:00
jenkins-bot a85a78524e Merge "Use plaintextParams() for snippets and sections" 2016-04-20 12:37:05 +00:00
jenkins-bot 93c118693a Merge "Apply momentjs hack for short relative times on mobile too" 2016-04-20 01:50:51 +00:00
Roan Kattouw c9332d8b50 Apply momentjs hack for short relative times on mobile too
Split the moment hack out into its own file and put it in
ext.echo.ui, so it gets picked up by both the desktop and
the mobile modules.

Bug: T133134
Change-Id: Ic5b3e63fb6941a310d85ea7776447d1d7153cf91
2016-04-19 17:53:02 -07:00
Roan Kattouw 6c49d3edda Update OOUI hacks for I8987dade5ed
min-width and min-height are now set on icons. This breaks the ability
to scale icons down, so override these rules.

Change-Id: I6372f0fe17ccfd853bde497730c49cbcf9f89a41
2016-04-19 15:57:11 -07:00
Translation updater bot 52fa8bd915 Localisation updates from https://translatewiki.net.
Change-Id: Ia66ba603c8f2bfb8fafbfa9e5c3b0d02d30d0a4b
2016-04-19 22:20:00 +02:00
jenkins-bot 9a10f73af1 Merge "Display only one foreign bundle on mobile" 2016-04-19 16:19:05 +00:00
Stephane Bisson 2851419e6b Bold 'talk page' in edit-user-talk bundled notification
Bug: T131476
Change-Id: I269cfad73a70ec60940bf5e18623261e0fa932b6
2016-04-19 16:07:22 +00:00
Stephane Bisson 62216cab80 Display only one foreign bundle on mobile
Display a single foreign bundle containing both
alerts and messages on mobile.

Bug: T131683
Change-Id: I9d3d160586c31457d3a1825e9cecadde42debf7c
2016-04-19 16:02:41 +00:00
Roan Kattouw b91360131c Use plaintextParams() for snippets and sections
We ended up double-parsing section titles, which resulted
in strange behavior when the section title was something like
{{tl|infobox}}.

Bug: T132872
Change-Id: I4434624f392cd0e1df39374d45d60f7d83be7161
2016-04-19 16:02:26 +00:00
Stephane Bisson f9d2aacd67 Browser tests: fix nojs tests
Since 79e095fd8a609b71937057034ff5801c13180137,
modern js experience is mostly controlled by feature
detection instead of user agent sniffing.

This broke the Echo nojs browser tests and the
mwext-mw-selenium job is now failing on ALL Echo patches.

This change introduces a user agent string that is
both still considered a nojs browser by RL and a
desktop browser by MF.

Change-Id: I34e8d9f0d879b404d95e674814744562fd57b397
2016-04-19 14:43:15 +00:00
jenkins-bot c594852bf7 Merge "Add tooltips for 'mark as read' and 'more options'" 2016-04-19 01:33:28 +00:00
Matthew Flaschen bb1192a531 Increase line-height for survey to 16px
Bug: T131893
Change-Id: I51e80117d810e2927b6b31f4b2c68de08d07293d
2016-04-18 18:43:40 -04:00
Translation updater bot 6e05dfece1 Localisation updates from https://translatewiki.net.
Change-Id: I6ae49b193b0bad4e79024cd89844a4a9644a2f3e
2016-04-18 22:19:26 +02:00
Translation updater bot cd7748299f Localisation updates from https://translatewiki.net.
Change-Id: I23844b646639a9d8835c6940aee9d480ba6cb7ac
2016-04-17 22:15:34 +02:00
jenkins-bot 6d3e9babb9 Merge "Fix regression from 0fc63bde36: unbreak number formatting in short timestamps" 2016-04-17 18:18:56 +00:00
Translation updater bot c549c537fd Localisation updates from https://translatewiki.net.
Change-Id: I67fe579d9555a7909448b8e861d3c98fc1034eb8
2016-04-16 23:12:01 +02:00
Stephane Bisson f3ce2de964 Add tooltips for 'mark as read' and 'more options'
Bug: T130831
Change-Id: I1533d20019157c05f9354a60661512a33920c336
2016-04-15 16:30:14 -04:00
Translation updater bot db8728aad0 Localisation updates from https://translatewiki.net.
Change-Id: Ic63e69cce212cc583c56c0c07d00d4c56668a817
2016-04-15 22:17:59 +02:00
Translation updater bot b50f1dfa0e Localisation updates from https://translatewiki.net.
Change-Id: I6224c0cdfedef916b0584c4c7a8e497161727987
2016-04-14 22:34:11 +02:00
Translation updater bot 5c0daae662 Localisation updates from https://translatewiki.net.
Change-Id: Iacb63a0e4879386f74d0bd88a4a94d1b90e0eb2e
2016-04-13 22:18:20 +02:00
Brad Jorsch 406deaec3f Recreate test users for every test
The assumption currently made that "we only need to add these users
once" is only because of a hack in MediaWikiTestCase that is being
removed in If251739f.

Bug: T132411
Change-Id: I4924ae941b3844b39dd3f44c6986c3bf29b0d62a
2016-04-12 11:42:22 -04:00
Translation updater bot f2d8cac0d6 Localisation updates from https://translatewiki.net.
Change-Id: I0b08d23fb256d37b2b1897fda275ec13e8875391
2016-04-11 22:34:43 +02:00
jenkins-bot ebe216e4c1 Merge "Never show a negative number in the notifications badge" 2016-04-11 08:47:33 +00:00
Kunal Mehta f35251fce6 Never show a negative number in the notifications badge
If we calculate a negative number should be shown, just show 0 instead.

Bug: T130853
Change-Id: I6e061525d034276cbb9e307eff53b77ddb06ef9a
2016-04-11 01:20:08 -07:00
Translation updater bot d51ac74ee8 Localisation updates from https://translatewiki.net.
Change-Id: I670eee76826ec0ea8f173c8508093a4094f470de
2016-04-10 20:00:07 +02:00
Matthew Flaschen 732c8496f0 Also show the survey tooltip on click
To implement this, use PopupButtonWidget and override to handle hover
in addition to click.

Bug: T128937
Change-Id: I79f5bb5839491516b0a3f77630b481cd6c2cc3da
2016-04-08 17:13:28 -07:00
Roan Kattouw a4ea2de123 FooterNoticeWidget: Set image height explicitly
If we don't do this, the footer becomes slightly taller
when the image loads, which makes the popup clip incorrectly.

Change-Id: Ica84d704692676d884b847f8fe01c49319f04931
2016-04-08 17:13:28 -07:00
Translation updater bot 1f7bb09607 Localisation updates from https://translatewiki.net.
Change-Id: Ied386fc9d28a3ea0afe538cdb1261b7b273479d4
2016-04-07 23:00:10 +02:00
jenkins-bot a61a83b3b1 Merge "Update notifications when reopening the popup" 2016-04-07 14:32:21 +00:00
Translation updater bot aea3a64972 Localisation updates from https://translatewiki.net.
Change-Id: I7b1e53149b3a7d372b70a84e6ca0a05601ab9336
2016-04-06 23:11:26 +02:00
Moriel Schottlender bdb50c7b60 Update notifications when reopening the popup
When reopening the popup, update the notification list to reflect
changes.

Bug: T127027
Change-Id: I6c3e948293b7c25cfab37f96b1faaca844014c28
2016-04-06 15:09:03 +00:00
Translation updater bot ee1347e88d Localisation updates from https://translatewiki.net.
Change-Id: Ia6a4ddda5640234e96db31aa5499bd9f5c20c91b
2016-04-05 22:55:36 +02:00
Translation updater bot 0518d8e15f Localisation updates from https://translatewiki.net.
Change-Id: Ieba2e906232a7e9b4f834c14074aefcd361d364e
2016-04-04 22:11:38 +02:00
Translation updater bot 1d59ff898c Localisation updates from https://translatewiki.net.
Change-Id: I0c34cac98328c8ea09828935cd282d2eafad8aba
2016-04-03 23:18:52 +02:00
Roan Kattouw a9c6515a4b Fix regression from 0fc63bde36: unbreak number formatting in short timestamps
We were using momentjs here before (causing bug T123845),
but we switched to using a hack for short timestamps.
This hack didn't call convertNumber(), so we stopped performing
number formatting for languages that don't use Western Arabic
numerals (0-9).

Strictly, that regression "fixed" T123845 because it caused
0-9 to be used in all cases, including the case that that bug
asked for. This patch fixes the regression but preserves the
desired behavior for arwiki, since convertNumber() respects
$wgTranslateNumerals.

Bug: T123845
Change-Id: Ic9acb12f534e0f049e22577afe276f8bf68f691d
2016-04-02 18:40:22 +03:00
jenkins-bot f082457d27 Merge "Revert "Add GENDER support to tooltip messages"" 2016-04-02 15:07:59 +00:00
Siebrand 543d75c472 Revert "Add GENDER support to tooltip messages"
There was no need to merge this, and I suggest it is reverted. Parameterless use of GENDER is supported
 already.

"{{GENDER:|male|female|other}}" will switch for the
current user.

This reverts commit c8b80f2003.

Change-Id: I15a0bd79abea9d9f0e9b0547c87e848ebf88b5de
2016-04-02 13:41:56 +00:00
jenkins-bot 31139295c6 Merge "Make foreign NotificationGroupItems aware of their section" 2016-04-02 08:57:11 +00:00
Translation updater bot 742ae77604 Localisation updates from https://translatewiki.net.
Change-Id: I63165a5c4a026ca0c89a11fc1117c579667386e6
2016-04-01 22:25:42 +02:00