Commit graph

2971 commits

Author SHA1 Message Date
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
Matthias Mullie f1c708ef9e Make foreign NotificationGroupItems aware of their section
This caused notifications on mobile to show notifications for
both alert|message, as the type was always "all".

Bug: T130801
Change-Id: Ice245eb407ca360d8e882c0ba48cb7b3e0ecb851
2016-04-01 15:38:22 +02:00
jenkins-bot 722f9f58a8 Merge "Remove unused icon files" 2016-04-01 11:15:53 +00:00
jenkins-bot e9de6bbc29 Merge "Add GENDER support to tooltip messages" 2016-04-01 09:58:38 +00:00
Justin Du c8b80f2003 Add GENDER support to tooltip messages
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-pref-tooltip-mention/es

Change-Id: I10228205785527b273c1fd06af85fcc26df9e583
2016-03-31 22:50:17 -05:00
Translation updater bot 8ee7fd9509 Localisation updates from https://translatewiki.net.
Change-Id: Ie1126ae5fc639c7ebbfb5bee9e47b39f65621240
2016-03-31 22:43:44 +02:00
Timo Tijhof 169a1d3561 Remove legacy qunit handling from Echo
* QUnit is now handled by MediaWiki core. For running QUnit from the command
  line. See: <https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing>
  Basically:
  > $ cd mediawiki-core && npm install && grunt qunit

  Similar to the PHPUnit entry point in core, it will also run tests
  for extensions enabled on the target wiki.

Bug: T129282
Bug: T131389
Change-Id: Iab4ebf2e61f5834cedc1b2656bd4487f6dcfeabd
2016-03-31 19:09:48 +00:00
Roan Kattouw c15cb2675f jscs: Enable checkRedundantParams and make pass
Change-Id: I3182708b5ab5b127b7e4a32d875d390485370816
2016-03-31 07:12:46 +00:00
Translation updater bot d424794b72 Merge "Localisation updates from https://translatewiki.net." 2016-03-30 20:44:39 +00:00
Translation updater bot f2ae13a472 Localisation updates from https://translatewiki.net.
Change-Id: Ie15adf807a4c11292e12e36c46ad696761c3d43f
2016-03-30 22:37:15 +02:00
jenkins-bot ffa21614c3 Merge "jscs: Enable checkRedundantReturns and make pass" 2016-03-30 20:36:27 +00:00
jenkins-bot 6e8e68d6ba Merge "RevertedPresentationModel: Don't double-parse summary" 2016-03-30 20:29:34 +00:00