Commit graph

4531 commits

Author SHA1 Message Date
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
WMDE-Fisch a1cb603bb3 Use internal diff engine
wfDiff() is deprecated and using the internal diff engine is
recommended as replacement.

Bug: T93625
Change-Id: I60af08888ef4e0bc9b80b75495f6e9e3fa631002
2017-02-03 19:07:21 +00:00
Translation updater bot 1110f038c7 Localisation updates from https://translatewiki.net.
Change-Id: I000e6080ce5888b162784a18438479bf5a84fdaf
2017-01-31 22:33:22 +01:00
Translation updater bot 0f523f0c25 Localisation updates from https://translatewiki.net.
Change-Id: I1ba89fd0e9e63a7d8ff6ced6164ea8147ea566fa
2017-01-30 22:28:48 +01:00
Leszek Manicki c205cd85d3 Document return value EchoEventPresentationModel:getTruncatedX methods
Change-Id: Ic3416bc07bb2f47ff6800ab0de86ee7b23a7cc2e
2017-01-30 11:54:55 +01:00
Translation updater bot 8273e4549a Localisation updates from https://translatewiki.net.
Change-Id: I4d93819626f4f10ba7c0e4706f1f2c938eac476c
2017-01-29 22:16:26 +01:00
Translation updater bot de013d1609 Localisation updates from https://translatewiki.net.
Change-Id: I32b25c3cf3d6cedf5977663d06ef190398afe718
2017-01-28 22:35:06 +01:00
jenkins-bot 14593f590a Merge "Remove 'text' as a valid notifications output format" 2017-01-27 17:41:45 +00:00
Translation updater bot e8f87fbf28 Localisation updates from https://translatewiki.net.
Change-Id: I017916b3ca2cbb5671211939e4d6f448c9222b6e
2017-01-27 14:36:46 +01:00
Stephane Bisson 8524471820 Remove 'text' as a valid notifications output format
The ability to format notifications as text
has been removed in Ic5712c4ce265b6faabce7a4028b4294fe3c73f18.

Bug: T155874
Change-Id: I72cadbaaa01414ce46315a618da0cb46241ad93e
2017-01-25 10:33:44 -05:00
Translation updater bot 5fc7d9eabe Localisation updates from https://translatewiki.net.
Change-Id: I06d9527d421fa154b9e9f78d1b543454314189bb
2017-01-25 14:26:15 +01:00
jenkins-bot 3416953e07 Merge "build: Re-use MessageDirs in banana conf" 2017-01-24 08:06:31 +00:00
Roan Kattouw 97bde4d21a Remove FloatableElement hack, no longer needed
T130153 is now fixed in oojs-ui. However, we can't set
overflow-x to visible because that breaks clipping.

Partially reverts 02252d0531. Depends on I22f2ca72cf7c2f in oojs-ui.

Change-Id: I726aada60238d17227e4475637bd3d9befa1b4c3
2017-01-24 13:12:04 +11:00
Translation updater bot 471de528cd Localisation updates from https://translatewiki.net.
Change-Id: I3cb5888da4d9059b51158e01179fc05a1e1adc7c
2017-01-23 22:28:20 +01:00
jenkins-bot 93648cdc0b Merge "Remove calls to debouncedUpdateThemeClasses" 2017-01-23 18:33:21 +00:00
Ed Sanders a42b461760 build: Re-use MessageDirs in banana conf
Change-Id: Ib3819bac7b8b616ccebf8086fc3cab0d7f56a228
2017-01-23 14:26:17 +00:00
jenkins-bot 0ccbb591a2 Merge "Add i18n/api/ to banana config" 2017-01-23 09:28:56 +00:00
Translation updater bot 6820de90de Localisation updates from https://translatewiki.net.
Change-Id: I516efecc1127cbb045577c50b8f8e65c8795a8d0
2017-01-22 22:23:54 +01:00
Translation updater bot 11d782b16f Localisation updates from https://translatewiki.net.
Change-Id: Ia3c306d1d6b4e5496da77c325a68d63a93650cd3
2017-01-21 22:24:26 +01:00
Umherirrender 5562158dac Add i18n/api/ to banana config
Check for valid message files

Change-Id: Ia9cf82b3d9caea05f1ecbbbe78803026cd333b27
2017-01-21 12:29:13 +01:00