Commit graph

2343 commits

Author SHA1 Message Date
Translation updater bot 09d6a0cc79 Localisation updates from https://translatewiki.net.
Change-Id: Ic78b451772a8be20c96416427987821e00355f8f
2024-03-28 08:30:47 +01:00
Translation updater bot b5e0cd9de8 Localisation updates from https://translatewiki.net.
Change-Id: I74652c6db936dedd25e03c5837cb818734efe553
2024-03-27 08:16:45 +01:00
jenkins-bot 8727b7a7b9 Merge "Reorder messages that describe operators" 2024-03-26 17:18:10 +00:00
Amir E. Aharoni f6eca362e5 Reorder messages that describe operators
Make the order of the messages that describe
operators and functions in the en.json file
identical to their order in
KeywordManager::BUILDER_VALUES, which is also
their order in the actual UI of the filter editor.

This only reorders the mesages in the en.json file.
It's not supposed to change anything in
the end users' experience, but it will change
the order in which translators on translatewiki.net
see them.

This is a cleanup step towards removing
the explicit operators from the messages,
as suggested in T360909, and this reordering
is hopefully useful even without that change,
for general consistency.

Comments about particular messages:
* abusefilter-edit-builder-vars-timestamp-expanded
  is moved to the very end because, despite its key,
  it's not actually used in the filter builder.
* old-text, old-html, and minor-edit are moved towards
  the end because they are outdated. They are listed
  separately from BUILDER_VALUES and they are not used
  in the filter builder UI, but they are used in the logs
  of previous actions. This patch adds a code comment
  for the benefit of developers who touch that code
  in the future.

Bug: T360909
Change-Id: I86ecdca5a6173b9068d5e968e69c57c74a379888
2024-03-26 11:22:46 -04:00
Translation updater bot 6a16b77475 Localisation updates from https://translatewiki.net.
Change-Id: Ic76660cafbdeec8e76b55e93e2f0b7f80e2fd627
2024-03-26 08:18:19 +01:00
Translation updater bot bea46722c7 Localisation updates from https://translatewiki.net.
Change-Id: Id16b4e1173cee09287dbbe2bf160952f873b9cc9
2024-03-25 08:34:36 +01:00
Translation updater bot 082a6a63dd Localisation updates from https://translatewiki.net.
Change-Id: I3496e9f444837b833242df522e216fe912d1be73
2024-03-22 08:43:00 +01:00
Translation updater bot ca0b026d96 Localisation updates from https://translatewiki.net.
Change-Id: I68ed31138dcd71b9a58b519b4d5b018c678e671f
2024-03-21 08:53:37 +01:00
Translation updater bot e6806e6736 Localisation updates from https://translatewiki.net.
Change-Id: Icadf61c5bee5c1c47b0504b50f882878748ebe7e
2024-03-20 08:22:48 +01:00
Translation updater bot f1dd5c4c7a Localisation updates from https://translatewiki.net.
Change-Id: Ie2710f81c68bd66d8a076a62230a829e8111378b
2024-03-19 08:24:18 +01:00
Translation updater bot 255d7d9828 Localisation updates from https://translatewiki.net.
Change-Id: I4aed55d141508d85f532b6f1727e6dbfaca25147
2024-03-18 08:29:33 +01:00
Translation updater bot fb1273541e Localisation updates from https://translatewiki.net.
Change-Id: I3a7805936645900ef4c82436d5796fd259776b1a
2024-03-15 08:32:32 +01:00
Translation updater bot 0f8f930266 Localisation updates from https://translatewiki.net.
Change-Id: I9720d18fc6e955915d8595fb9a60b8f635a186b8
2024-03-14 14:11:36 +01:00
Translation updater bot 51764af645 Localisation updates from https://translatewiki.net.
Change-Id: I97ebbd1f99804393e4f1307e766da32517677930
2024-03-14 09:01:59 +01:00
Translation updater bot e35fb1d945 Localisation updates from https://translatewiki.net.
Change-Id: I8c8826ff1a6e55645b406f5890dff4ac6b0ab186
2024-03-13 08:24:56 +01:00
Translation updater bot 2962f63592 Localisation updates from https://translatewiki.net.
Change-Id: I9a041e8d877a536e30f0beb993ab05d72fbdfcb1
2024-03-11 08:25:47 +01:00
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