Commit graph

6554 commits

Author SHA1 Message Date
James D. Forrester 4dd2a651e1 phpcs: Auto-fix MediaWiki.Usage.StaticClosure.StaticClosure
Change-Id: I6a02902ffaa8a9b497d60b573a0b8e3dbc207ee5
2021-05-04 09:06:42 -07:00
libraryupgrader b3f948c59c build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I4b2fb7f46b6c0a5c33a6ad25f085de8ae13eb084
2021-05-04 09:05:15 -07:00
Volker E a9f495db13 Unify list-style CSS
`list-style: none none` was a workaround for an IE 6 & 7 rendering issue.
Same goes for `list-style-image: none; list-style-type: none;` combination.
Let's unify to shorthand `list-style: none` for any non-ancient browser.

Change-Id: Ibdfb9a3cbd868d439504b59fa029e8da9a13f70a
2021-05-03 01:41:54 -07:00
Translation updater bot d37c3c697b Localisation updates from https://translatewiki.net.
Change-Id: Ia82cad4e961c651ed3b3aa0e95fbdfe16378376f
2021-05-03 08:36:50 +02:00
jenkins-bot bd8ad42a30 Merge "Remove redundant check" 2021-04-30 08:10:10 +00:00
jenkins-bot 20420275fa Merge "EchoEventMapper: use DISTINCT instead of GROUP BY" 2021-04-30 08:09:22 +00:00
Tim Starling e1d2001040 EchoEventMapper: use DISTINCT instead of GROUP BY
I think the problem the GROUP BY was trying to solve was the potential
for there to be multiple rows with the same (etp_page,etp_event) pair.
There's no unique index to prevent that, and it would cause the event to
be duplicated in the result set. DISTINCT fixes that without generating
an error with sql_mode='ONLY_FULL_GROUP_BY'.

Per https://dev.mysql.com/doc/refman/8.0/en/distinct-optimization.html
DISTINCT is effectively shorthand for a GROUP BY with all the fields.

Bug: T281329
Change-Id: I6a0d578d729c33241a5c5fbd3f4e83f0e5fab83f
2021-04-30 09:40:25 +02:00
Željko Filipin 5d49c02f9f selenium: Add JUnit reporter
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-Echo
job.

Bug: T214686
Change-Id: I2dd3787ebfb20f6fee841d264de98bcd1da4b34e
2021-04-29 15:39:36 +02:00
jenkins-bot f43699503b Merge "Use ApiTestBase::doRequestWithToken" 2021-04-29 12:26:18 +00:00
Translation updater bot 573738a957 Localisation updates from https://translatewiki.net.
Change-Id: I2c591e11d0376b0cefebde3304a3f2c110f1699b
2021-04-29 08:54:04 +02:00
jenkins-bot 5dec26429b Merge "Replace usage of deprecated User watchlist methods" 2021-04-28 22:18:47 +00:00
Cindy Cicalese ccfb1dbbda Replace usage of deprecated User watchlist methods
Bug: T281187
Change-Id: Id380a5441e30041b6fb79f6ad1fc0506b6a770f9
2021-04-28 17:17:26 -04:00
Translation updater bot bcc5965d30 Localisation updates from https://translatewiki.net.
Change-Id: Ic65ad00a85b4d5f31f520b7b12b9e9d6a7e488b5
2021-04-28 16:43:05 +02:00
Translation updater bot c7c27eabad Localisation updates from https://translatewiki.net.
Change-Id: Ic14ed4a9b382bfa18cd17e78c675a5b06531222c
2021-04-28 08:48:16 +02:00
Translation updater bot a822b43fac Localisation updates from https://translatewiki.net.
Change-Id: Ibdb3104c96ce1b894b670720f3ed59ea359057c0
2021-04-27 08:38:06 +02:00
jenkins-bot b980a18231 Merge "selenium: Delete tests disabled for more than 1 year" 2021-04-26 15:19:41 +00:00
Translation updater bot 189f10903e Localisation updates from https://translatewiki.net.
Change-Id: If88a675f1e1fcad2155b2bea5c45b4793fea80c3
2021-04-26 09:10:14 +02:00
Translation updater bot 38e9c662d3 Localisation updates from https://translatewiki.net.
Change-Id: Ic18c4b4625d1c8b0634fdf2f501e271d85ec9c54
2021-04-22 09:31:18 +02:00
Translation updater bot 0c64945d51 Localisation updates from https://translatewiki.net.
Change-Id: Ic4c4333caa0c301bfebbdbfd46c1dbf9ce8c135a
2021-04-21 08:52:26 +02:00
Petr Pchelko 4750dbe3de Use ApiTestBase::doRequestWithToken
The old ApiTestCase::getTokenList relied on CSRF
token API deprecated in 1.26. Many years have passed,
it's time to swtich to new mechanisms.

Needed-By: I58aedec6942ac5d3c21574cb0072f00ef365098c
Change-Id: Iafe7a48eb0cdf8c2f1ec7fdee232c3f394fa15a3
2021-04-20 13:53:16 -07:00
Željko Filipin 64f1486d67 selenium: Delete tests disabled for more than 1 year
The entire mention.js file was disabled by Kosta Harlan
2 years ago in efd7594.

Bug: T280652
Change-Id: Id2c0bc8e73a58738d422df2abd9c9157f426ab15
2021-04-20 13:25:22 +00:00
Translation updater bot ec909f9b73 Localisation updates from https://translatewiki.net.
Change-Id: I7da6f321777f15714d61d62533c5ade04640554e
2021-04-19 08:50:23 +02:00
libraryupgrader cefce8b8fa build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: If1eaa61aefc93426217f675fca27873dd9db6dc1
2021-04-16 14:24:33 +00:00
Translation updater bot 839b833033 Localisation updates from https://translatewiki.net.
Change-Id: If6bdae194f44a4719755013d0ccf869c9c013a7a
2021-04-13 09:20:20 +02:00
Translation updater bot 50063fbba3 Localisation updates from https://translatewiki.net.
Change-Id: I8230eda39317bc68d3b4966d83ea251807eab914
2021-04-12 08:37:32 +02:00
Kunal Mehta 4baf6f2991 Update Legoktm's mailmap entry
Change-Id: If7064689c1c6abc138edc62e8dfbf5e29363b8b5
2021-04-11 19:15:52 -07:00
Translation updater bot c55bf96df1 Localisation updates from https://translatewiki.net.
Change-Id: I540de04300c0195fa66d270adf106a63c8c026da
2021-04-08 08:40:04 +02:00
DannyS712 ca2a08a919 Delete empty translation files
Change-Id: I6a78c4005c30e27e539c1f79dde47c118508109c
2021-04-08 02:04:26 +00:00
Translation updater bot f6d71ce1a9 Localisation updates from https://translatewiki.net.
Change-Id: I5500eef68878af7040f97ea0bd73dc8b86c5c463
2021-04-07 08:51:34 +02:00
Translation updater bot 8ecb047b60 Localisation updates from https://translatewiki.net.
Change-Id: Ib3fbd43f2c01441844f39e8becc9cbab412f8bd0
2021-04-06 12:02:09 +02:00
jenkins-bot df47c71874 Merge "EchoHooks: Skip onOutputPageCheckLastModified on action=raw" 2021-04-03 10:51:55 +00:00
Timo Tijhof cc50ae633d EchoHooks: Skip onOutputPageCheckLastModified on action=raw
Bug: T279213
Change-Id: I9d3bf664f86c6dba5cc526a17bfab10303e0267d
2021-04-02 23:39:31 +01:00
Translation updater bot 11cef5c851 Localisation updates from https://translatewiki.net.
Change-Id: Ia7e6034ad558dfbab850321083ae2ca2d9ca962b
2021-04-02 09:48:39 +02:00
Reedy 9f3596c90f Remove en-gb.json
Bug: T257759
Change-Id: I98c1ac1f872166f9c9592955f4a3720bfd760b58
2021-03-31 20:52:15 +01:00
libraryupgrader 806b9c34d8 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I563abc38b4775ff6e8b9bbd7f2060d7c17b06f08
2021-03-30 00:50:56 +00:00
Translation updater bot 02b217db53 Localisation updates from https://translatewiki.net.
Change-Id: I6a89e5f3c5fe8c17bf93e1273075f776fa7840ce
2021-03-29 08:35:59 +02:00
Umherirrender dbce3cc026 build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Fixed a suppressed sniff issue

Bug: T278594
Change-Id: I5a3ae09cd0dd6a27699557e472d2ff74ef03a731
2021-03-27 01:04:58 +01:00
Translation updater bot e7e5d525c4 Localisation updates from https://translatewiki.net.
Change-Id: Ida2c8698d17dadd783121ebf85d628e48734f95f
2021-03-26 08:49:48 +01:00
Translation updater bot c70809c1c9 Localisation updates from https://translatewiki.net.
Change-Id: I4dc46bcf825c414d34cd60ef06981a1f2d44929c
2021-03-25 08:40:54 +01:00
Translation updater bot 2aaef5f79c Localisation updates from https://translatewiki.net.
Change-Id: I0b0a4de19291b088590fabf43d851e917a282dd6
2021-03-24 08:29:57 +01:00
Translation updater bot 8994796055 Localisation updates from https://translatewiki.net.
Change-Id: I1534b77794361e408d4b888e0a2c3ebdf76469c6
2021-03-23 08:24:45 +01:00
jenkins-bot 68bd2743f1 Merge "TitleFactory is not @newable, retrieve from MediaWikiServices" 2021-03-22 07:49:54 +00:00
Translation updater bot 792bc9923c Localisation updates from https://translatewiki.net.
Change-Id: Ieb560df93a5b15ec8fff7294bca1d196cb5dd0f2
2021-03-22 08:36:26 +01:00
DannyS712 acfa4e2f76 TitleFactory is not @newable, retrieve from MediaWikiServices
For creation of MultiTitleFilter

Change-Id: Ic527359d31fc0116a23c3173ba0f66f4bdfe3067
2021-03-21 23:54:55 +00:00
jenkins-bot 9b6b5ecbe0 Merge "Introduce 'EchoGetEventsForRevision' hook" 2021-03-19 18:38:32 +00:00
Translation updater bot 3dc2931f0b Localisation updates from https://translatewiki.net.
Change-Id: I8a70d6f1c65998c92065b079763051ce4c2a21de
2021-03-19 08:25:02 +01:00
Ed Sanders 756b02b566 Introduce 'EchoGetEventsForRevision' hook
Collect event data and allow modification by a hook.

This allows extensions to look at the events generated so far,
add more events, or remove events.

Bug: T276990
Change-Id: I60818d57552946857077dee93b0adb036621b791
2021-03-17 21:59:13 +00:00
Bartosz Dziewoński 43747e5b0b Remove redundant check
$wgEchoNotifications is checked inside EchoEvent::create(). Similar
code (e.g. onRollbackComplete() in this file) does not check it.

Change-Id: I2be05ae182c3fd5d90b87e9579f8c2aa6b79c655
2021-03-17 12:50:45 +01:00
Translation updater bot 906146ac79 Localisation updates from https://translatewiki.net.
Change-Id: If71332dc47bff1f122039be77ffccc1092a9c271
2021-03-15 08:40:19 +01:00
libraryupgrader feb9aabfdb build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I93d36e1a2962cc3dedde09064b7a43c386a0af7f
2021-03-13 11:49:48 +00:00