Commit graph

6853 commits

Author SHA1 Message Date
Kosta Harlan 77fce1c31b
Hooks: Check if user is still registered
In certain circumstances, it's possible for the user account to
have been deleted by the time the deferred update runs.

Bug: T318081
Change-Id: I3d1b5d1f034bf239e25d4af484b6329582b49bdc
2023-01-25 22:36:55 -08:00
jenkins-bot 87c5ed22b5 Merge "Change edit count thanks notification link to diff" 2023-01-26 01:55:56 +00:00
Dreamy Jazz 62c9c01dde Test ServiceWiring.php
Test ServiceWiring.php using tests copied from CentralAuth. Because
phpunit does not support marking a file as covered, the ServiceWiring
file is ignored for code coverage as the tests should partly cover
the file.

Change-Id: I3ea5ae553d17e17680fcac4d92746fc7ce282eaa
2023-01-25 03:56:06 +00:00
Translation updater bot 9c225853d0 Localisation updates from https://translatewiki.net.
Change-Id: Ia52d7ca07af2c5bd9b24af0f307ac73638d8a0d4
2023-01-23 08:22:52 +01:00
Translation updater bot 6adf70e972 Localisation updates from https://translatewiki.net.
Change-Id: I44332d927d8a1eac1481c929aa0873b81c0df4b3
2023-01-19 11:31:19 +01:00
Translation updater bot 676bdd288a Localisation updates from https://translatewiki.net.
Change-Id: I985b266e03cf30c202f24c59d75e54bb8c60068c
2023-01-16 08:28:14 +01:00
lectrician1 53c38fe3df Change edit count thanks notification link to diff
It would be nice for editors to be able to see the particular edit
that was their 100th, 1000th, etc. This patch changes the link of the
edit count thanks notification to the diff of the edit, rather than the
page the edit was on.
Note that this link will only work for newly created notfications. Past
edit count notification database entries do not store what revision id
the edit was on in the 'echo_events' table, so there is no way to link
to them unless the table is updated.

Bug: T326998
Change-Id: If81fd71ce6f99ad3883a3bfbfbd798270f762d37
2023-01-14 03:47:42 +00:00
jenkins-bot db7220c894 Merge "Simplify in-array search in DiscussionParser" 2023-01-13 21:33:19 +00:00
thiemowmde fdc0eb2bbc Simplify in-array search in DiscussionParser
Instead of turning the array keys into an array of strings and
searching that we can access the original array by key.

Change-Id: Id4fddd242cff66ee70fa1cc07cdcb6938482696c
2023-01-13 21:53:20 +01:00
jenkins-bot a129c4934e Merge "selenium: Remove webdriverio npm package from the Echo extension" 2023-01-13 09:39:47 +00:00
Translation updater bot d778907999 Localisation updates from https://translatewiki.net.
Change-Id: I6bcdf0a6d497635a202728e6e8b2cd3143daa6cf
2023-01-12 08:41:40 +01:00
Peter Wangai 307466b9c3 selenium: Remove webdriverio npm package from the Echo extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I8d41c527c56e9782cd9aa076daf0146e192730ef
2023-01-11 21:08:59 +03:00
Translation updater bot 3eae88828c Localisation updates from https://translatewiki.net.
Change-Id: I188012364708985aace4e816ee960ae8e13e4e50
2023-01-10 08:24:34 +01:00
Translation updater bot a0edcf852b Localisation updates from https://translatewiki.net.
Change-Id: I1118941b32ec5c840a9398dabb0c46658b5d086b
2023-01-09 09:26:10 +01:00
Aaron Schulz c408c0ffa8 Remove MWEchoDBFactory::waitForReplicas()
Switch the callers to the standard Maintenance::waitForReplication() method.

Avoid using LoadBalancer::waitFor(), which will made internal soon.

Bug: T326274
Change-Id: Idf0562eb33d90ff70eb3a7d5d7f54da944423d27
2023-01-05 13:14:56 -08:00
thiemowmde 9c1031c3fa OOUI .addItems() must be called with an array
Some versions of OOUI also accepted single non-array items. But this
was never official. Let's follow the spec.

Change-Id: Ie14431be802a6c71127c1b418e750ce5c9beb863
2023-01-05 16:32:18 +01:00
Translation updater bot d117393e75 Localisation updates from https://translatewiki.net.
Change-Id: Iafd751f0aa68300b18c4f9678138f3c1136455dc
2023-01-03 08:20:35 +01:00
Translation updater bot 68ab3a2a77 Localisation updates from https://translatewiki.net.
Change-Id: I2e2b096351212d2fdfac82b20028b3d938518b26
2023-01-02 08:42:55 +01:00
jenkins-bot a5746cd633 Merge "Replace deprecated Language::factory" 2022-12-29 10:19:31 +00:00
Translation updater bot 132a887332 Localisation updates from https://translatewiki.net.
Change-Id: I2b38dd9cc2931ce87d3e9e8402bf3ec52561dac5
2022-12-29 10:01:26 +01:00
Umherirrender 039e2d2962 Replace deprecated Language::factory
Bug: T325986
Change-Id: Ibeb4af25184dc09a735f4f67457ab72a4139c25d
2022-12-28 20:19:01 +01:00
Umherirrender eceeb0531b Replace deprecated Language::fetchLanguageName
Bug: T325962
Change-Id: If7b71ee955de8018e2f1bc265d0391744c81faf0
2022-12-27 17:17:34 +01:00
Translation updater bot be7f1c63f3 Localisation updates from https://translatewiki.net.
Change-Id: Id3157563aa9e8618019f5d8e44eb6084a9a6eef8
2022-12-26 09:09:41 +01:00
lectrician1 06d7a488fd Make page linked notification link to diff
This changes the page linked notification to link to the diff of when
the page was changed and removes the "View changes" button.

Bug: T324849
Change-Id: I25a3de3ce5c02be3abbab1d2d2dd1aad8d287cbd
2022-12-24 18:20:01 +00:00
Translation updater bot 6430eabbfd Localisation updates from https://translatewiki.net.
Change-Id: I43cbb42838a553c91e82a44612b4e084f780b589
2022-12-23 09:06:30 +01:00
Translation updater bot 2a3f7d377c Localisation updates from https://translatewiki.net.
Change-Id: I42026816fc31ceccbbb246a24870e2a06a2d803b
2022-12-21 09:15:05 +01:00
Reedy 1baec7712a patch-echo_push_subscription-add-column-eps_topic.sql: Add table prefix
Bug: T322143
Change-Id: I38f465a3e1ab8059beb94fc85ffe1729379d5b7a
Follows-Up: I0759b82ad91849880c784e412e04dd53f26df6a2
2022-12-20 14:36:47 +00:00
jenkins-bot b2fa09c702 Merge "schema: Run cleanup updates for echo_push_subscription separately" 2022-12-20 09:34:50 +00:00
Translation updater bot a2d843ef05 Localisation updates from https://translatewiki.net.
Change-Id: I1167e8f697017eae346ae93c3e95e834bd6cacaf
2022-12-20 09:29:27 +01:00
Translation updater bot 0dc2fac483 Localisation updates from https://translatewiki.net.
Change-Id: Ib63f3214085fcd1dc1cb3411575c181cecbea13a
2022-12-19 09:03:53 +01:00
jenkins-bot d294a4ee9f Merge "Avoid unnecessary User instantiation" 2022-12-16 20:13:12 +00:00
Matěj Suchánek 8a8e3badfd Avoid unnecessary User instantiation
Change-Id: I224c8d4bff3cc90260b9f44e321cf4738f80a1b5
2022-12-16 19:05:35 +01:00
Translation updater bot 591ee5d90c Localisation updates from https://translatewiki.net.
Change-Id: Ifc45c227282fdb4e0901c28c03e34da241eb3630
2022-12-16 08:46:49 +01:00
jenkins-bot bed00a9140 Merge "Replace deprecated Linker::formatComment/formatLinksInComment" 2022-12-15 23:31:54 +00:00
Translation updater bot e379bdb89f Localisation updates from https://translatewiki.net.
Change-Id: I07564d4ef8a6c77051acc5ca02a5647a40b26410
2022-12-15 11:35:44 +01:00
Translation updater bot b0a86de32d Localisation updates from https://translatewiki.net.
Change-Id: I38316438b19e45d4e08b3b82216d8293f13ad365
2022-12-12 08:22:18 +01:00
Umherirrender af15ecbc29 Replace deprecated Linker::formatComment/formatLinksInComment
Bug: T324906
Change-Id: I8cd6ce852156d8c2c9e0da6218a62a2befe40ef3
2022-12-11 01:54:36 +01:00
Umherirrender fcc46964c1 schema: Run cleanup updates for echo_push_subscription separately
The addition of the foreign key echo_push_subscription_ibfk_2
in 4abfbd3 did not affected already existing installs,
because the updater part was missing.
The addition of a foreign key also creates an index under mysql,
which is also not part of older installs and needs to be created.
Also the new field eps_topic from c188dac is missing and now added.
The new index echo_push_subscription_token from 3513c64 is added.

The drop patch set d35c502 assumes that the foreign key exists,
now every step of the update is running separately to avoid one failing
update to skip the remaing update steps.
This avoid issues on wikis installed before REL1_35 and updated with the
patches from REL1_36

Bug: T322143
Change-Id: I0759b82ad91849880c784e412e04dd53f26df6a2
2022-12-09 20:36:32 +01:00
Translation updater bot 4d44d4f900 Localisation updates from https://translatewiki.net.
Change-Id: Iccf653a9cc30312f29510ef6ee81492b7aa78254
2022-12-09 08:46:00 +01:00
Translation updater bot cf838ee0b4 Localisation updates from https://translatewiki.net.
Change-Id: I58a8eaacc26d3e23f5eb8f1b49ac46e76f35a929
2022-12-08 08:28:51 +01:00
Translation updater bot 00db8f4a64 Localisation updates from https://translatewiki.net.
Change-Id: I23b7316a422d30ecd68472fccc08f593c30b25c0
2022-12-07 08:13:11 +01:00
Translation updater bot dafaadb16d Localisation updates from https://translatewiki.net.
Change-Id: Ifd25f4e64904c3e59ce6f6ec3db66f89fa913fa7
2022-12-06 08:52:02 +01:00
Translation updater bot dd363fd302 Localisation updates from https://translatewiki.net.
Change-Id: Iabd6bedd143b2205f3b137b487ea9c6ee6a1b508
2022-12-05 08:33:26 +01:00
Translation updater bot fe737e9a4e Localisation updates from https://translatewiki.net.
Change-Id: Ic9cd145bf81ede2f7f581a477dd88c4441871b35
2022-12-02 09:08:06 +01:00
Translation updater bot d5aaa027a4 Localisation updates from https://translatewiki.net.
Change-Id: I7ade843c64693f90025704c75aa50413c10812da
2022-12-01 08:15:27 +01:00
Translation updater bot 7ba6f4c16d Localisation updates from https://translatewiki.net.
Change-Id: I43820937d178db612e9da2da695c881dfa508f76
2022-11-30 08:52:52 +01:00
Translation updater bot 78439bab3c Localisation updates from https://translatewiki.net.
Change-Id: I86f113f1848b894c765179c21bb2617c4101a525
2022-11-29 08:58:33 +01:00
Translation updater bot 9ae9ce1609 Localisation updates from https://translatewiki.net.
Change-Id: If910f078504e8a72cacc0f4c4c30a55bbe1b4f70
2022-11-28 08:49:25 +01:00
Translation updater bot 299358e895 Localisation updates from https://translatewiki.net.
Change-Id: Ib4150d5da92b6873b05601ff10b0989bf122f63e
2022-11-25 08:25:40 +01:00
Umherirrender bb6cb2de0b tests: Replace assertEmpty with assertSame
assertSame avoids use of loose comparisons and
allows to check the expected type

Change-Id: I7220be39f824226f55d966474b58ac12491910a3
2022-11-24 23:03:18 +01:00