Commit graph

2327 commits

Author SHA1 Message Date
jenkins-bot b9e6d0bc65 Merge "Add user_type variable" 2024-03-08 13:27:00 +00:00
Translation updater bot 4ebc556fcb Localisation updates from https://translatewiki.net.
Change-Id: I0b3fb687aad185d9c85a7ace0845f1b03bccd65d
2024-03-08 08:22:06 +01:00
Dreamy Jazz 85022190e5 Add user_type variable
Why:
* An AbuseFilter variable is needed that allows filters to determine
  what type the current user is. That is, whether the user is an
  IP address, temporary account, named user or external user.
* Currently filters implement this by inspecting the value in
  the 'user_name' variable, but this is likely to break when
  temporary accounts are enabled as IPs would be hidden.
* Giving a dedicated variable that indicates the type of the user
  allows filters to work out this information without having to
  know the specific username of the user before performing the
  check.

What:
* Add the 'user_type' variable which is lazily computed. It can have
  the value 'named', 'temp', 'ip' or 'external' depending on the
  type of the user. If the user does not match any of these, then
  the value is 'unknown'.
* Replace call to deprecated User::newFromIdentity with a use of the
  UserFactory service that is dependency injected.
* Add and update tests to ensure consistent test coverage.

Bug: T357615
Change-Id: Ifffa891879e7e49d2430a0330116b34c5a03049d
2024-03-07 10:38:25 +00:00
Translation updater bot 1672130d79 Localisation updates from https://translatewiki.net.
Change-Id: I39df98d92aee72eb56677fbfac9424a2c66847da
2024-03-07 08:47:40 +01:00
Translation updater bot bd7e10d5ac Localisation updates from https://translatewiki.net.
Change-Id: Ife7be6f220805056a2a39bb0923ae97dbfac23a5
2024-03-04 08:22:29 +01:00
Translation updater bot 8a0e586257 Localisation updates from https://translatewiki.net.
Change-Id: Id8289ce4790d2f65a02d8ea398bca30fe5953d34
2024-02-29 08:34:57 +01:00
Translation updater bot ba764abedd Localisation updates from https://translatewiki.net.
Change-Id: Ia338ecadec15233bfa4ee572838db3872340fbfb
2024-02-28 08:13:37 +01:00
Translation updater bot c78e07c75c Localisation updates from https://translatewiki.net.
Change-Id: Ie4479b237236463591520b9c2c449d117cfd2a72
2024-02-27 08:19:15 +01:00
Translation updater bot 4a5a45e916 Localisation updates from https://translatewiki.net.
Change-Id: I434172cb9078c03bb599e527fae14ee53a66014e
2024-02-26 08:34:49 +01:00
Translation updater bot 4c6623b294 Localisation updates from https://translatewiki.net.
Change-Id: I929741877774d5a8ce274fc975af6600b6edd5aa
2024-02-23 08:43:23 +01:00
jenkins-bot 3f5e3415a0 Merge "Remove $wgAbuseFilterBlockedExternalDomainsNotification and related code" 2024-02-22 11:07:00 +00:00
Translation updater bot b305155460 Localisation updates from https://translatewiki.net.
Change-Id: I5d9823f3a0ee6f1f4ecc8911ab4725dff619c50c
2024-02-22 08:42:43 +01:00
MusikAnimal 2c9801766d Remove $wgAbuseFilterBlockedExternalDomainsNotification and related code
This feature never worked very well, and the original wish
https://w.wiki/7ZsE didn't ask for a 2010 editor solution, anyway.
Rather than have AbuseFilterBlockedExternalDomainsNotification linger in
an unstable state, we remove the code entirely.

Bug: T347435
Follow-Up: I7eae55f12da9ee58be5786bfc153e549b09598e7
Change-Id: I88e87c4e0a2968b892394461b1227f4d15938e8e
2024-02-20 23:01:02 +00:00
Translation updater bot 9523801cbd Localisation updates from https://translatewiki.net.
Change-Id: Iebfb7616d131781ec25104daa80bd13a1a9ea2ed
2024-02-20 08:37:42 +01:00
Translation updater bot 9f0956492b Localisation updates from https://translatewiki.net.
Change-Id: I2bd836bf394086d92fa0b067d5eedb4778308e2b
2024-02-19 08:39:15 +01:00
Translation updater bot a8a8b4eac3 Localisation updates from https://translatewiki.net.
Change-Id: Ie72572c71400cc96f69f055d3266f1f616704df3
2024-02-15 13:27:05 +01:00
Translation updater bot 7305788480 Localisation updates from https://translatewiki.net.
Change-Id: I1851a57efaa8442f32e757b096e6eb2cbf0142f4
2024-02-14 08:17:56 +01:00
Translation updater bot a8d15481b8 Localisation updates from https://translatewiki.net.
Change-Id: I1350f2b6a73fd4c20d92387e570f3addb8710671
2024-02-12 14:48:17 +01:00
Translation updater bot edbb26d03b Localisation updates from https://translatewiki.net.
Change-Id: I2e157a48242618d921ded085b1001de642e6c8b0
2024-02-09 08:43:15 +01:00
Translation updater bot 40e79deee3 Localisation updates from https://translatewiki.net.
Change-Id: I9aab2ab068ec5d8d1633f6b7508ae1e3ddaf2c9c
2024-02-08 09:14:01 +01:00
Translation updater bot a1a847e8b6 Localisation updates from https://translatewiki.net.
Change-Id: Iceb880008d3653690d80348de213100692e72135
2024-02-07 08:25:48 +01:00
Translation updater bot 05cdc0df9d Localisation updates from https://translatewiki.net.
Change-Id: I8591102fb6c884676840c2ee2c384ef61d3073ee
2024-02-05 08:48:57 +01:00
Translation updater bot 4668a40617 Localisation updates from https://translatewiki.net.
Change-Id: Ie863a0073d78a862bcff2fd1b8c01e6a4c0dec24
2024-02-01 08:59:49 +01:00
Translation updater bot 02a1f7cbca Localisation updates from https://translatewiki.net.
Change-Id: Ia9efbd8d4c37e51800118747e0816fe0e9cccd96
2024-01-31 08:28:29 +01:00
Translation updater bot f9c4dec110 Localisation updates from https://translatewiki.net.
Change-Id: I5cbec26c49c22571be23495b8ca028370b49d0b6
2024-01-30 09:38:16 +01:00
Translation updater bot 0c754131b1 Localisation updates from https://translatewiki.net.
Change-Id: I1d1237ada8e1b24f2b05e368c8cbc2383eb1887d
2024-01-28 16:04:35 +01:00
Translation updater bot eb73b6e6c3 Localisation updates from https://translatewiki.net.
Change-Id: Ief59e01327592f617a5e1d16506a3c125ae12e5d
2024-01-25 10:08:58 +01:00
Translation updater bot ca2ff0790a Localisation updates from https://translatewiki.net.
Change-Id: Ic447e1467ee00ef71ca9ee4bf1a223c40f6777da
2024-01-19 09:15:09 +01:00
Translation updater bot f470568611 Localisation updates from https://translatewiki.net.
Change-Id: I20af08359474abeae45462e45a9606ca2f9a0202
2024-01-18 09:23:14 +01:00
Translation updater bot 79fdc1fbe7 Localisation updates from https://translatewiki.net.
Change-Id: Icb139d26bda142b90c77e92cd462bc5cb34c46c5
2024-01-17 08:36:40 +01:00
Translation updater bot 6da576b528 Localisation updates from https://translatewiki.net.
Change-Id: I6ebcadfe1582c65e7567334705b446fd7a46a002
2024-01-16 08:24:49 +01:00
Translation updater bot b840d25cad Localisation updates from https://translatewiki.net.
Change-Id: I6e42fee9fc79e872955b965710cb59d29f9a302d
2024-01-15 08:23:21 +01:00
Translation updater bot 1a334deb61 Localisation updates from https://translatewiki.net.
Change-Id: I0e9b16be635680aa2ba16ed107eab08152543267
2024-01-12 08:59:20 +01:00
Translation updater bot 50786e86ed Localisation updates from https://translatewiki.net.
Change-Id: I57e92cef5f2b9c93da1ad0890e5e442590226663
2024-01-11 10:01:09 +01:00
Translation updater bot 407b707932 Localisation updates from https://translatewiki.net.
Change-Id: Ifdb3cdcfce8fa8b1b6be9b7ea83901a18cb6c5e0
2024-01-10 08:32:17 +01:00
Translation updater bot 88d514f0f1 Localisation updates from https://translatewiki.net.
Change-Id: Id879a6dda21a87440ce129584569fd6b841e4669
2024-01-09 08:58:34 +01:00
Translation updater bot 39c0dca35c Localisation updates from https://translatewiki.net.
Change-Id: I37fd5754b6c0bebb6c166e4d4afe050be3251261
2024-01-08 09:13:54 +01:00
Translation updater bot 744d05e59e Localisation updates from https://translatewiki.net.
Change-Id: I4a6622a760caca1d2ae405f8f5faa1f2f60e6c0a
2024-01-05 09:11:18 +01:00
Translation updater bot 2ad64b24fb Localisation updates from https://translatewiki.net.
Change-Id: I372ad609d332336523564f877aca98e5b0c26321
2024-01-04 09:54:58 +01:00
Translation updater bot 5c98d3f44e Localisation updates from https://translatewiki.net.
Change-Id: I0f3a19ef6d37c498e541b7e6c10283dc0af7446e
2024-01-03 08:33:51 +01:00
jenkins-bot 16a4cda124 Merge "Blocked domains: Add support for "added by" field" 2024-01-02 19:38:03 +00:00
Translation updater bot 4ee54bd5a8 Localisation updates from https://translatewiki.net.
Change-Id: Ibcbfde148334d1b39d2d302244e4539d982d37d4
2024-01-02 08:47:20 +01:00
Translation updater bot 621b9e9220 Localisation updates from https://translatewiki.net.
Change-Id: I64c2b5f88e943a451903a3ae655fb59a8348e2f6
2023-12-29 19:20:36 +01:00
Translation updater bot 913d62159e Localisation updates from https://translatewiki.net.
Change-Id: I6579818f1b62bbe1da7fec067668ff90db23b78e
2023-12-28 14:48:48 +01:00
Amir Sarabadani d628a99442 Blocked domains: Add support for "added by" field
This field gets added automatically when using the special page form but
is only shown to admins and other people who have access. It's not private
information (users can find it in history) but this is to avoid making
these admins an easy target for harassment (Talking to PM of moderation
team he agreed this is a good compromise).

Bug: T341626
Change-Id: I8410f39db54b96981b05de8e064fed65df30ef2f
2023-12-27 04:37:42 +01:00
Translation updater bot 0e2f402651 Localisation updates from https://translatewiki.net.
Change-Id: Ibda91ac597e81d48cc7a908ae0f90b9ac9d7fb55
2023-12-26 14:41:57 +01:00
Translation updater bot bc9fa2bb64 Localisation updates from https://translatewiki.net.
Change-Id: I61eb4fa70d7af2bc052f742bf731e63d28cd7d54
2023-12-22 17:44:43 +01:00
jenkins-bot b53b3c652c Merge "Special:AbuseFilter page title should mention filter name" 2023-12-22 15:07:26 +00:00
Novem Linguae 88e9d8d0b6 Special:AbuseFilter page title should mention filter name
- Mentions filter number and name in the title
- Distinguishes between viewing and editing

Bug: T353106
Change-Id: Idda9854a78937033b168603810154b48288c3f4c
2023-12-22 04:55:37 -08:00
Translation updater bot 42dcf89dad Localisation updates from https://translatewiki.net.
Change-Id: I5333a343a66e8220497074ac2114a2000bc82bf8
2023-12-21 19:44:13 +01:00