Umherirrender
daadabced3
pager: Avoid unneeded database connection
...
Change-Id: Id548d1adab39c4a9b4e7ead4c87510b2fed39ff1
(cherry picked from commit 4139e5ef05
)
2022-12-11 14:09:09 +00:00
Translation updater bot
a298c6c6d9
Localisation updates from https://translatewiki.net .
...
Change-Id: I6ccab7d6740888ef77d4e24c88d4e8b1a340e275
2022-12-08 07:39:12 +01:00
libraryupgrader
189d1219dc
build: Updating npm dependencies
...
* minimatch: 3.0.4 → 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3
* qs: 6.5.2 → 6.5.3
* https://github.com/advisories/GHSA-hrpp-h998-j3pp
Change-Id: Ic2c824916ea04469511c639a6df5f52a78854a4e
2022-12-08 00:47:14 +00:00
libraryupgrader
ff89965c81
build: Updating npm dependencies
...
* mocha: 9.2.0 → 9.2.2
* https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
* https://github.com/advisories/GHSA-f8q6-p94x-37v3
Change-Id: I21bf647eb7f0c4763c4f23022266c34076934ecd
2022-12-04 00:48:09 +00:00
Translation updater bot
77c03618c4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibcdc6911cb5646d366d3c02c0ada0cc9707ce483
2022-12-01 07:17:19 +01:00
Translation updater bot
c4324be4e6
Localisation updates from https://translatewiki.net .
...
Change-Id: Id1f095c3b13145b843a1b4ed7fd451fa3f34c9d2
2022-11-24 07:06:36 +01:00
Translation updater bot
6ee81075ee
Localisation updates from https://translatewiki.net .
...
Change-Id: I4b60f19b85070d17c522e7d67498645ac1edc02a
2022-11-17 07:15:27 +01:00
Translation updater bot
7f0cc7d6c4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic69b3cd0075332f0246da992d79255ebb1fd3d02
2022-11-10 07:17:31 +01:00
Translation updater bot
900dbf5548
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic9c48a956a665639ee31bac238a9133f7056e568
2022-11-03 07:15:25 +01:00
Translation updater bot
da924624bb
Localisation updates from https://translatewiki.net .
...
Change-Id: I0a7c70d691ffb1e14050d3918974b4237b28606a
2022-10-27 07:57:54 +02:00
Translation updater bot
8d13f62621
Localisation updates from https://translatewiki.net .
...
Change-Id: Idefd6f588c02046f2f87b4f736afc30259b83fef
2022-10-20 07:31:33 +02:00
Translation updater bot
938bc4fd09
Localisation updates from https://translatewiki.net .
...
Change-Id: I38b5812aa0cae5619292c5503c832db1d50c12e9
2022-10-13 07:20:01 +02:00
Translation updater bot
5f6cd6c56f
Localisation updates from https://translatewiki.net .
...
Change-Id: I17d2cbdd5524331b2c60eadc63e0fd05e76e248f
2022-10-06 07:09:18 +02:00
Brian Wolff
1fb78ef295
Explicitly cast mod (%) operhands to ints.
...
PHP does this automatically, however in PHP8 this causes an
E_DEPRECATED warning.
This fixes a phpunit test
Change-Id: Ie2b2dbf4a1c0ff500ba251ee43a37823432e3047
(cherry picked from commit c6d3e6638c
)
2022-10-03 15:56:28 +00:00
Translation updater bot
4a8ad40fee
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cca3086cd596a9a977ab49cd08ba27787c71a1c
2022-09-29 07:10:34 +02:00
Translation updater bot
e91941eaef
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia12a55d77fb42d2a490e34ccdf95fecdd41ef084
2022-09-22 16:15:44 +02:00
Translation updater bot
3fbd3cf6b7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf03ccab94a9ec0bccd0ad6c6fe2baf8f9fc1d2b
2022-09-05 10:09:19 +02:00
Translation updater bot
02e19e9cb5
Localisation updates from https://translatewiki.net .
...
Change-Id: If4d119882fc73d330204e30066b060792a283ff2
2022-09-01 09:32:30 +02:00
Translation updater bot
dc60569e74
Localisation updates from https://translatewiki.net .
...
Change-Id: If18e74258d9688be9f4ea14a04be63ffa4d1bbd6
2022-08-31 09:34:23 +02:00
Translation updater bot
8684a8ab35
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia08fac5f8bceb8654b05db0451112a7fc0cbdaec
2022-08-30 09:29:12 +02:00
Translation updater bot
50c1c3f1ee
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb5db65430014d8abaf93fa5908cbd4430a502a8
2022-08-29 09:12:18 +02:00
Translation updater bot
da7bb8447f
Localisation updates from https://translatewiki.net .
...
Change-Id: I24d0534044d7b94f60e620ea226a2c416b84a3c5
2022-08-26 08:21:56 +02:00
Translation updater bot
6c3a2210a2
Localisation updates from https://translatewiki.net .
...
Change-Id: I7455d4d5ccdb5d325d4e4849399599062c3f8fc8
2022-08-24 08:23:27 +02:00
Translation updater bot
b9d9a6c04a
Localisation updates from https://translatewiki.net .
...
Change-Id: If6e85d999086e31831657022cbb95da68f061950
2022-08-22 08:21:47 +02:00
Translation updater bot
45c63aa93c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ide2041db282b84e2d837d4bc7266797212beeb5e
2022-08-19 08:28:16 +02:00
Translation updater bot
3aabbad425
Localisation updates from https://translatewiki.net .
...
Change-Id: I0cdfe877717c6a7613c6ac2e32a523a46b4c5502
2022-08-16 08:33:45 +02:00
Translation updater bot
35b8d0bb6c
Localisation updates from https://translatewiki.net .
...
Change-Id: Iceca2d620155451af2adf875ee67073299d4ce3a
2022-08-15 08:25:00 +02:00
Translation updater bot
aa70924a19
Localisation updates from https://translatewiki.net .
...
Change-Id: If0042c81b08a2302da2a97444646a46bc58525ee
2022-08-12 08:42:01 +02:00
Translation updater bot
ddeca1dae0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibfa0090dbd371853dd87bd304931e4e78f7e81cf
2022-08-11 08:48:59 +02:00
Translation updater bot
c84ea22fa4
Localisation updates from https://translatewiki.net .
...
Change-Id: I2b87f0798c8a32718fb5c5b4b652593aa706fc79
2022-08-09 08:18:49 +02:00
Translation updater bot
a06f49905e
Localisation updates from https://translatewiki.net .
...
Change-Id: If54bbe97952031a57ab84338cfb7d44d570ed580
2022-08-08 08:57:36 +02:00
jenkins-bot
415a958cf1
Merge "Use DISTINCT on LazyVariableComputer::getLinksFromDB"
2022-08-06 22:57:46 +00:00
Translation updater bot
117e6c0372
Localisation updates from https://translatewiki.net .
...
Change-Id: I2cceeb938d17dc7e56cd983f7df8b5dfbb5a9dee
2022-08-04 08:41:16 +02:00
Translation updater bot
61af19acf9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie542401fb4fe4740da86ff63157078fe15bf7256
2022-08-03 08:17:34 +02:00
Umherirrender
9c3fc24f85
Use DISTINCT on LazyVariableComputer::getLinksFromDB
...
A protocol-relative URL has two entries for el_to in externallinks table,
the different is on the el_index colum
Bug: T314373
Change-Id: I3d6229aaa10a089baf15d5ba3407f6a8870429e3
2022-08-02 11:27:31 +00:00
Matěj Suchánek
86c2695557
Treat consequences params less aggressively and consistently
...
In theory, it's possible that some consequences could use "0"
as one of their parameters. At least change tags, see T296642.
But PHP treats "0" as false.
Also make the code on all places consistent.
Change-Id: I5255dfb26878ceb4f78c4d8277521edbb4821d7d
2022-08-02 11:57:48 +02:00
Matěj Suchánek
08f42494d3
Send CheckUser the IP address on account creation
...
We mask the IP address on purpose, so that it is not
leaked to the abuse log. This breaks CheckUser because
it attempts to assign an actor id to the "fake"
(uncreated) user account. So unmask the IP address
when we send the data to CheckUser.
Bug: T233004
Change-Id: Ib58193927bc8254d36a8de0fd1b5f9fba68a0cb0
2022-08-01 09:17:35 +02:00
Translation updater bot
7b390bace2
Localisation updates from https://translatewiki.net .
...
Change-Id: I213f3ccbd9dc5d0299584b89157d735f5e10ed69
2022-08-01 08:20:53 +02:00
Umherirrender
4fca77068c
Clean up line indent with mixed tabs and whitespaces
...
Change-Id: Icc418130ad34e5f169bfc51bb13b58a7806bd636
2022-07-31 16:34:07 +02:00
jenkins-bot
a017d73509
Merge "Make a separate method for ManualLogEntry construction"
2022-07-31 12:57:46 +00:00
jenkins-bot
0925f0753f
Merge "Add regression test for abuse log entries"
2022-07-31 12:54:35 +00:00
Matěj Suchánek
f142fee102
Make a separate method for ManualLogEntry construction
...
This step is a simple copy-paste. In the next step,
we will change the code a bit.
Change-Id: Id303a5da33ce0bbc0b58656a3f935f6f4c02d84c
2022-07-31 12:39:43 +00:00
Matěj Suchánek
cb48a6b3ae
Add regression test for abuse log entries
...
We don't have one, and we will need it for
Ib58193927bc8254d36a8de0fd1b5f9fba68a0cb0.
Change-Id: I55c52df8aa0786f5c73a0c957a06a01f9cb86fcd
2022-07-31 14:33:29 +02:00
jenkins-bot
9b62938507
Merge "Add regression test for RunVariableGenerator"
2022-07-31 12:07:15 +00:00
jenkins-bot
2cff210d31
Merge "Use UserIdentity in VariableGenerator::addEditVars"
2022-07-30 13:55:24 +00:00
Umherirrender
7e8162c705
Special:AbuseFilter: Include primary key for unique pagination
...
A unique column is needed in the order to ensure the next offset is
correct and does not skip items
As mention in the doc for IndexPager::getExtraSortFields the extra
columns are not for pagination, only to help the optimizer building a
better query plan by mention denormalized columns.
Bug: T191694
Change-Id: I9fb9f848a0b165dbaa0a2b31d9504324f43578de
2022-07-29 17:38:13 +02:00
Umherirrender
081a8e3c3c
Add LinkBatch to Special:AbuseFilter/home and /history
...
Combine the check for red/blue user/talk links into one database query
This can improve the performance of the page view when many filters
from many different users are linked
Change-Id: I0b87ee15ecee4cecd5d5d6164e8c18e1b788ecd1
2022-07-29 13:56:03 +02:00
Umherirrender
da4bc8643a
Use UserIdentity in VariableGenerator::addEditVars
...
Change-Id: If0a65d7a86de776e6499d43949bfb217f20d9b07
2022-07-29 12:55:52 +02:00
jenkins-bot
f13f3dcd2c
Merge "Call IContextSource::getAuthority instead of IContextSource::getUser"
2022-07-29 10:25:23 +00:00
Translation updater bot
4d44f0cea2
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9dac05709cdd15f979c121a7849ace0fe2ab7be
2022-07-29 08:52:03 +02:00