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
Translation updater bot
d7fde11f16
Localisation updates from https://translatewiki.net .
...
Change-Id: Id93ef855eaccd17ff620acde3d6410f46994241d
2022-11-24 08:17:13 +01:00
Translation updater bot
4d99f3e4c4
Localisation updates from https://translatewiki.net .
...
Change-Id: Idf353079b7e4961c9cb34d544b2a5212d15cd429
2022-11-23 08:32:11 +01:00
Translation updater bot
b04d6fe04e
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a74c7af9c99a7d15571d71aa3cccbf35b11983a
2022-11-22 08:33:35 +01:00
Bartosz Dziewoński
e9447a8786
Fix no-JS Special:Notifications only displaying one notification per day
...
The loop accidentally overwrote the whole array in every iteration.
It's not necessary to define these empty arrays at all: when working
with multi-dimensional arrays, PHP will create them as needed.
Follow-up to 4835b6b1cb
.
Bug: T323491
Change-Id: I5043efc31722d2b9cd2a8dd482594355a761008e
2022-11-21 13:10:12 +00:00
jenkins-bot
35d89af670
Merge "Initialize Echo when CentralAuth autologin replaces the user toolbar"
2022-11-21 09:02:02 +00:00
Translation updater bot
4231b9dd90
Localisation updates from https://translatewiki.net .
...
Change-Id: Id190877783121d484956873c24d5d572b6590d37
2022-11-21 08:15:52 +01:00
Gergő Tisza
b69a2cf57f
Initialize Echo when CentralAuth autologin replaces the user toolbar
...
Bug: T55134
Change-Id: I2699e84080c907c491b1becdc485fd176f3b2bca
2022-11-19 23:28:23 -08:00
Jon Robson
499684815b
Move skinStyle rules to skin
...
Badge rendering is a responsibility of the skin (since badges
must work with JavaScript disabled). Because of this, we move the
styles to their associated skin (Monobook and Minerva)
Bug: T257143
Depends-On: I1999185d19e171900f2da5acbd39125013d3582c
Depends-On: Ib148e90a3fde42ebcf271432dce3ccfc8985c677
Change-Id: I9319c72183a312cf0f55942ba1f78aa974ce5e84
2022-11-18 16:22:35 -08:00
jenkins-bot
bd0f5fda49
Merge "Fix and disable some phpcs exclusions"
2022-11-18 18:23:38 +00:00
Translation updater bot
a17802dec7
Localisation updates from https://translatewiki.net .
...
Change-Id: I14936a910c1220cbf9e977cb61f5798d8b0fda10
2022-11-17 08:26:56 +01:00
Bartosz Dziewoński
3ddc5c201d
Use buildComparison() instead of raw SQL
...
Bug: T321422
Change-Id: If9ad9268d3bd7d62c3b4af4274d3d579cdd47db3
2022-11-15 12:06:04 +01:00
Translation updater bot
b21fc3bf28
Localisation updates from https://translatewiki.net .
...
Change-Id: I63a6293bcd501d41532119bebf7036fcbf87b6c7
2022-11-14 08:10:19 +01:00
Reedy
a101ce674c
Fix and disable some phpcs exclusions
...
Change-Id: I2ecaf71c8836d627f20629d667b78ffbf420e4ee
2022-11-12 17:58:13 +00:00
jenkins-bot
4cad61b814
Merge "Namespace Model"
2022-11-12 06:47:21 +00:00
Translation updater bot
c2fe628241
Localisation updates from https://translatewiki.net .
...
Change-Id: I458a9b907b6113644c4fb2291432b93cade2c869
2022-11-11 08:40:47 +01:00
Reedy
5611662f06
Namespace Model
...
Depends-On: Id28792658de950b99a8786f881563476def59eba
Change-Id: Ib57ea2db947285946f31fa9912b37181044df9d3
2022-11-10 14:25:42 -07:00
Reedy
69139e663e
Forward Event namespacing
...
Change-Id: Iddb4a5d4057f9c6ed00f754d2e3cd79cd873f212
2022-11-10 14:24:42 -07:00
Reedy
310128fa28
NotificationServiceClient: Don't call Message::serialize() directly
...
Change-Id: I9cfe98376dcce5233afb7571ea1fc26b29dd3e48
2022-11-10 14:24:11 -07:00
thiemowmde
cfa424f16b
Make use of the ?? and ??= operators where it makes sense
...
?? is an older PHP 7.0 feature.
??= was added in PHP 7.4, which we can finally use.
Change-Id: If4145c48eb374aa8e5deeb38aecb27c6c8905382
2022-11-09 14:40:52 +01:00
jenkins-bot
ef5f45d3bd
Merge "Use short array destructuring instead of list()"
2022-11-09 13:04:45 +00:00
Translation updater bot
5e09a91578
Localisation updates from https://translatewiki.net .
...
Change-Id: I71c73982ae5ce822550c649f303752fe91b6c363
2022-11-09 08:57:40 +01:00
thiemowmde
9ab1d92c9c
Fix PHP 8.1 compatibility issue in ForeignNotifications
...
Passing null to functions that expect a string is no longer allowed.
Here in this code it can apparently only happen in test scenarios.
That's why I use a very minimal workround that still calls the same
code. The lookup will return an empty string and trigger the expected
code path below.
Bug: T311448
Change-Id: If04924a22b82ae29b8f9327668e8965d6d2a490d
2022-11-08 20:56:48 +01:00
Fomafix
096e4a709f
Use short array destructuring instead of list()
...
Introduced in PHP 7.1. Because it's shorter and looks nice.
Change-Id: I395e791aed6cc99b7ce1273f51c292e29360443a
2022-11-08 16:41:24 +00:00
jenkins-bot
ed49fb3203
Merge "Use shortcut mw.msg( ... ) instead of mw.message( ... ).text()"
2022-11-07 12:44:39 +00:00
jenkins-bot
ab15aae63c
Merge "Namespace Special"
2022-11-07 10:04:58 +00:00
Translation updater bot
1e12146df6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic772f3dba276c34b45162bb5502525c2a35934da
2022-11-07 08:33:59 +01:00
Fomafix
0bd7114c90
Use shortcut mw.msg( ... ) instead of mw.message( ... ).text()
...
Change-Id: I3b84e3a19eda44642d5f4993a1e30dda569a4d08
2022-11-05 22:13:42 +00:00
Reedy
5c596d2d1b
Namespace Special
...
Change-Id: If194554d8af60369699b057af5b4a2e5dab4897e
2022-11-05 16:53:56 +00:00
Alexander Vorwerk
5bd08e95ee
Update job name to match $wgJobClasses key
...
The key must match what is specified in the constructor of the
EchoNotificationDeleteJob.
The job specify their name in the constructor through __CLASS__, which
means that with the class rename this key also needs to be updated.
Bug: T322342
Change-Id: Id1eebb0cc3ddcdabe31c5531cd32f032ed52a69c
2022-11-05 16:33:27 +01:00
Alexander Vorwerk
7498391ef9
Fix NotificationDeleteJob class name
...
Follow-Up: Ib8870284465e00308f475fe492fa579babe23d79
Bug: T322342
Change-Id: I98e9862d27ebe63de23ef54a6bc6b74ede90e21f
2022-11-05 09:42:32 +00:00
Reedy
c85fe25fe7
Namespace Mapper
...
Change-Id: I8a02082466ef39db32ffa7562b02db61929346cd
2022-11-04 18:05:34 +00:00
jenkins-bot
e6251eb642
Merge "Namespace Iterator"
2022-11-04 11:06:51 +00:00
Translation updater bot
22e26b5c41
Localisation updates from https://translatewiki.net .
...
Change-Id: I177d25c25fa9a253a38036c0fc2860dbc6c55a2b
2022-11-04 09:02:29 +01:00
Reedy
0f0c6c4fa6
Namespace Iterator
...
Change-Id: I87fa703da9e7725370d72c58fc40eb204a309e67
2022-11-02 16:51:39 -06:00
Reedy
3609edf153
Namespace Cache
...
Change-Id: I8ead3ee485528f08f71c21cf401880bf369dbeac
2022-11-02 16:37:48 -06:00
jenkins-bot
548e8f1628
Merge "Namespace Jobs"
2022-11-02 22:36:30 +00:00
jenkins-bot
f4a68c4c77
Merge "Namespace Controller"
2022-11-02 22:34:13 +00:00