Commit graph

4050 commits

Author SHA1 Message Date
jenkins-bot 14f261a2fc Merge "Revert "Remove FloatableElement hack, no longer needed"" 2017-03-08 01:48:27 +00:00
Catrope 8b396ec675 Revert "Remove FloatableElement hack, no longer needed"
We still need overflow-x set to a non-visible value, so that
the overflow-y: visible rule doesn't take effect. If it does
take effect, it breaks clipping.

This reverts commit 97bde4d21a.

Bug: T159888
Change-Id: Id834d9cf9615a8d2dad27faf2eb89743ad95da9d
2017-03-08 01:23:09 +00:00
jenkins-bot 4a9cf5b2e2 Merge "Add and listen to 'modified' event for popup clip()" 2017-03-07 23:25:48 +00:00
Moriel Schottlender bee8aaa499 Add and listen to 'modified' event for popup clip()
Separate the behavior of promise vs event when changes happen and
we need to clip the popup. The popup should only clip itself after
the DOM has finished populating, not "just" after the model has
been populated with data.

Adding an event that triggers whenever the main list changes anything
that is in its DOM, and having the badge widget trigger a popup clip
will solve this issue and untangle the expectation of the promises
vs. the widgets populating themselves through the events.

Change-Id: Iff9996eb1810e7ade135359139e16837e6dc74f0
2017-03-07 14:35:42 -08:00
Translation updater bot df68ab5ec4 Localisation updates from https://translatewiki.net.
Change-Id: I6e6db35cd16226ab69ee069607444357ae77f626
2017-03-07 22:38:45 +01:00
jenkins-bot 1928a7bc9a Merge "Update tests to Selenium 3" 2017-03-07 09:23:09 +00:00
Translation updater bot e508d48bc2 Localisation updates from https://translatewiki.net.
Change-Id: Ia2c04c6c88ca37c4be0e6d5dc3751c124027fb68
2017-03-06 22:32:51 +01:00
Translation updater bot 7b138c9e3e Localisation updates from https://translatewiki.net.
Change-Id: Icab7262f7d05c8e32a9ad3c25935e7fa99f9ccc7
2017-03-05 22:33:41 +01:00
Translation updater bot 1326a68638 Localisation updates from https://translatewiki.net.
Change-Id: Ia59d2372e26e145b6946cec5d41ee6b11b1071d3
2017-03-04 22:44:20 +01:00
Translation updater bot 5bd57cfc05 Localisation updates from https://translatewiki.net.
Change-Id: I4b19d2fbdad978c17667a2943523b2381656e565
2017-03-03 22:28:36 +01:00
Translation updater bot 673a2311ab Localisation updates from https://translatewiki.net.
Change-Id: Ib4dbcd5de9af7050e4069ae114dae65dd2795fc9
2017-03-02 23:03:31 +01:00
jenkins-bot dd61dd06cb Merge "Align the cross-wiki icon with the other notification icons" 2017-03-02 06:47:48 +00:00
jenkins-bot 4ef0594a30 Merge "Remove FloatableElement hack, no longer needed" 2017-03-02 06:46:12 +00:00
jenkins-bot db1a5181dc Merge "NotificationBadgeWidget: Fix appearance of bottom buttons for OOUI changes" 2017-03-02 06:19:48 +00:00
Roan Kattouw 3e8f028ffe NotificationBadgeWidget: Fix appearance of bottom buttons for OOUI changes
This time we actually get to *remove* a hack that overrides OOUI,
which is always nice. Also add our new dependency on future-magic
forthcoming MediaWiki version.

Change-Id: Icef086e6b19dffb34eefe7b5658b57e020c5de8b
2017-03-01 22:04:05 -08:00
MtDu 185e68a803 Support loading of secondary icons in RLEIM module
Before, secondary icons, such as linked, changes, thanks, and
userSpeechBubble were loaded in mw.echo.ui.icons.less. Now, an
extra icons attribute is passed when the module is loaded, allowing
RLEIM to know which icons to load. If this attribute is left out,
an MWException will be thrown.

Bug: T159394
Change-Id: I9b36a74bcf1da0d1c698845bd067b226fb81ac96
2017-03-01 23:45:04 -06:00
L10n-bot ae25e7eee3 Merge "Localisation updates from https://translatewiki.net." 2017-03-01 21:24:51 +00:00
Translation updater bot aa309307e8 Localisation updates from https://translatewiki.net.
Change-Id: I8c561e66920ff37339eb76c49ec37477da3144d5
2017-03-01 22:24:45 +01:00
Roan Kattouw e0ecaad90e Log more info for unserialize failures, and don't treat them as errors
Bug: T159372
Change-Id: I1110465759bd831a9a324bf3f11a3add4f5f446b
2017-03-01 13:02:59 -08:00
WMDE-Fisch eb81a1c0f1 Avoid unintended mentions when changing content
When content is changed and the change contains the signature
of the user, the method checking for reasonable mentions in
that changes did not consider multiple signatures.

The patch fixes that and adds a test for it.

Bug: T154406
Change-Id: I86303f42e97d16c68e3235b0e2d13542ceedf1fe
2017-03-01 11:58:08 +00:00
Translation updater bot e8efda2214 Localisation updates from https://translatewiki.net.
Change-Id: I7eae54f073da6b3b365d4c576a536b8c5cd2441e
2017-02-28 22:56:10 +01:00
Translation updater bot c72401bfe7 Localisation updates from https://translatewiki.net.
Change-Id: Ib8029c0124c9d3b0a52647af3c8127e7a7929ac3
2017-02-27 22:19:13 +01:00
Thiemo Mättig 0a7b8edc0b Fix broken DatabaseUpdater::dropExtensionTable call
The issue was introduced in I9f6d4041b16c6d1d0414ee8e81536a59d0aba3d4
Ib901dd95ddd77f6a1fc700499f9f3815c0ae01d0 made it worse, I'm afraid.

Bug: T157651
Change-Id: I6a50bf86cf2a44688877d16a77d1545ecdef7527
2017-02-27 16:13:06 +01:00
Željko Filipin ddd32a85a7 Update tests to Selenium 3
Bug: T158074
Change-Id: I8fd811c69d55c3d787356b905a6add1c1cd289c4
2017-02-27 15:41:55 +01:00
Translation updater bot a26f351e7f Localisation updates from https://translatewiki.net.
Change-Id: I42742444f9d25568bd4f21ab0ba002ff9d3e22cc
2017-02-26 22:32:07 +01:00
jenkins-bot 62275a68e4 Merge "Fix method name in LoadExtensionSchemaUpdates" 2017-02-26 02:39:40 +00:00
Translation updater bot 8c7e31b69c Localisation updates from https://translatewiki.net.
Change-Id: I9600c63c2a7e98b901edfb442687608232bc4ccf
2017-02-24 22:26:17 +01:00
jenkins-bot 387d0dc010 Merge "DiscussionParserTest only create users when needed" 2017-02-24 13:17:03 +00:00
WMDE-Fisch 71e3b66cc0 Remove test for internal diff engine acceptance
Since the internal diff engine is now always used this test
seems to be unnecessary.

Bug: T93625
Change-Id: I536474dc6231138293c9efc813a1bc2cc1e6f3b0
2017-02-24 11:32:37 +00:00
addshore 6d4021915f DiscussionParserTest only create users when needed
This speeds up the tests from 2 mins to 50 seconds for me.
(with a slow setup, no caching etc.)

Bug: T158120
Change-Id: I8adb6c8fe783d1be8841a1139bb141da3b046f9d
2017-02-24 11:10:22 +01:00
Translation updater bot 1e06322c1f Localisation updates from https://translatewiki.net.
Change-Id: I87be86f62bae1c2328286374f4ef1b364c8c0a70
2017-02-23 22:45:02 +01:00
Umherirrender 3a72d87838 Remove unused DiscussionParser::stripIndents
Change-Id: I75fbcae70655c6db2873fd5e22d11a3c2cbf2f84
2017-02-22 18:05:07 +01:00
Translation updater bot 95cef4b16d Localisation updates from https://translatewiki.net.
Change-Id: Ibe5103c0a6a475188d73df29506537ac9211de2b
2017-02-21 22:37:38 +01:00
Translation updater bot ff739f3898 Localisation updates from https://translatewiki.net.
Change-Id: Idf0015420a33d03e151ac4362e1eef16753a4e0b
2017-02-20 23:38:46 +01:00
James D. Forrester 988eea9da4 build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 15:41:15 -08:00
Translation updater bot 6a6b4dddd1 Localisation updates from https://translatewiki.net.
Change-Id: I3c88fb555c4cf4d7bcee49c6376d36e042b4ea0d
2017-02-17 22:31:55 +01:00
Translation updater bot cac4f198bb Localisation updates from https://translatewiki.net.
Change-Id: I5038d90b6f651ebc277d156e1a8fdda866de50d0
2017-02-16 22:42:08 +01:00
Translation updater bot 344254ff56 Localisation updates from https://translatewiki.net.
Change-Id: I8c8f0d2749396247b878f3047044534dfe6891b9
2017-02-15 22:23:01 +01:00
Translation updater bot b54b57617e Localisation updates from https://translatewiki.net.
Change-Id: I6a61688f9aa2af27e00debfd25edd9031f74383b
2017-02-14 22:31:17 +01:00
Translation updater bot 1933286409 Localisation updates from https://translatewiki.net.
Change-Id: I454639d0ae0b711a7d35e35fbeedd2509594111b
2017-02-13 22:54:32 +01:00
Gergő Tisza e66f98e296 Fix method name in LoadExtensionSchemaUpdates
Bug: T157651
Change-Id: Ib901dd95ddd77f6a1fc700499f9f3815c0ae01d0
2017-02-11 02:44:50 +00:00
Translation updater bot 422d24cd90 Localisation updates from https://translatewiki.net.
Change-Id: Ic1a18f14746dfa70a38e55e38a348a188e1855dd
2017-02-10 22:25:06 +01:00
WMDE-Fisch d6f011aa1a Fix mentions failing editing empty pages
For the used diff engines an empty/new page is equivalent
to an empty line. When adding content that includes an
empty line the content will be split into two parts. The
interpreted diff will then consist of one addition, one
copied line and another addition.

Is the ping in the first addition and the signature in the
second addition the DiscussionParser does not send mentions.

The patch introduces a special case when interpreting diffs
if content is added to empty content. This will also skip
execution off diff engines since the interpretation is trivial.

Bug: T155998
Change-Id: Id5e44bc3245940c1f77c80f036db637756542552
2017-02-10 14:39:13 +00:00
jenkins-bot d3fb6d38ea Merge "Use internal diff engine" 2017-02-10 11:24:28 +00:00
jenkins-bot 801759d926 Merge "Replace deprecated wfGetLBFactory() and wfGetLB() call" 2017-02-09 17:07:11 +00:00
WMDE-Fisch 9b0a6f7a47 Replace deprecated wfGetLBFactory() and wfGetLB() call
Change-Id: I500196084db57e9d74dc25a513cbebea9ae3c9a6
2017-02-09 17:43:40 +01:00
Translation updater bot b1f4e4cebf Localisation updates from https://translatewiki.net.
Change-Id: I7c31aa0e8201973ce74b4514abb0dab2041883ab
2017-02-06 22:31:12 +01:00
Translation updater bot 6e3efee722 Localisation updates from https://translatewiki.net.
Change-Id: Ia8c88e919fd808f3ccaf620683478c1c641c2ca1
2017-02-05 22:34:06 +01:00
Translation updater bot 1a868a3d73 Localisation updates from https://translatewiki.net.
Change-Id: I954ded50a0cdb376cc5dc9ccc605949976ce1bd8
2017-02-04 22:39:01 +01:00
Translation updater bot b41bbdc638 Localisation updates from https://translatewiki.net.
Change-Id: Ic7bdcdd717250bdbf8293b7d8d6603b09ebb6653
2017-02-03 22:41:22 +01:00