Commit graph

2400 commits

Author SHA1 Message Date
jenkins-bot 4e14afa6fb Merge "Allow variables to be restricted by user right" 2024-06-04 17:20:17 +00:00
STran bf28dbce0e Allow variables to be restricted by user right
Some exposed variables (eg. `user_ip`) used in filters are sensitive
and need to only be available to restricted groups of users.

Back-end changes:
- Add `AbuseFilterProtectedVariables` which defines what variables are
  protected by the new right `abusefilter-access-protected-vars`
- Add the concept of a `protected` variable, the use of which will
  denote the entire filter as protected via a flag on `af_hidden`

New UX features:
- Display changes to the protected status of filters on history and diff
  pages
- Check for protected variables and the right to see them in filter
  validation and don't allow a filter to be saved if it uses a variable
  that the user doesn't have access to
- Check for the right to view protected variables before allowing access
  and edits to existing filters that use them

Bug: T364465
Bug: T363906
Change-Id: I828bbb4015e87040f69a8e10c7888273c4f24dd3
2024-06-04 06:54:53 -07:00
Translation updater bot 77354e4ee4 Localisation updates from https://translatewiki.net.
Change-Id: I9141fb84ee0c61d2240e6cebab5715c2fb3875f5
2024-06-04 09:29:27 +02:00
Translation updater bot 06b556f6c6 Localisation updates from https://translatewiki.net.
Change-Id: Ia2154f54ebe9df5fe38319d98002c0f64856ebf0
2024-06-03 09:30:04 +02:00
Translation updater bot e34a64cdcb Localisation updates from https://translatewiki.net.
Change-Id: I33d2bcedbb18b60545510c55c11a90e7963fe139
2024-05-31 09:55:08 +02:00
Translation updater bot a47a3e3823 Localisation updates from https://translatewiki.net.
Change-Id: Ie4a8c05d6d105ea90ae22c955b165bfc3a85d429
2024-05-30 09:35:40 +02:00
Translation updater bot b1e361166b Localisation updates from https://translatewiki.net.
Change-Id: I80fa4ab93543b206d6d8e3b11c3fb753149b7ffa
2024-05-29 09:29:45 +02:00
Translation updater bot 90cbdd834f Localisation updates from https://translatewiki.net.
Change-Id: Ic8d7e785ee4013197837da45901a2e8536413389
2024-05-28 09:29:15 +02:00
Translation updater bot c34e51153f Localisation updates from https://translatewiki.net.
Change-Id: Id1daa755bd8214d7e92df16eb5dbe010d77b60e9
2024-05-27 09:27:32 +02:00
Translation updater bot a21cbfffec Localisation updates from https://translatewiki.net.
Change-Id: Ib993f524c0b53f3fddaa49cad6523e0a91e76953
2024-05-24 09:42:31 +02:00
jenkins-bot 58c5edce98 Merge "Add user_unnamed_ip variable" 2024-05-23 18:10:52 +00:00
STran fe0b1cb9e9 Add user_unnamed_ip variable
After temporary accounts are enabled, filters that rely on an ip
in the `user_name` will fail (eg. `ip_in_range` and `ip_in_ranges`).
To keep these filters working:

- Expose the IP through another variable, `user_unnamed_ip`, that can be
  used instead of `user_name`.
- The variable is scoped to only reveal the IPs of temporary accounts
  and un-logged in users.
- Wikis that don't have temporary accounts enabled will be able to see
  this variable but it won't provide information that `user_name`
  wasn't already providing
- Introduce the concept of transforming variable values before writing
  to the blob store and after retrieval, as IPs need to be deleted from
  the logs eventually and can't be stored as-is in the amend-only blob
  store

Bug: T357772
Change-Id: I8c11e06ccb9e78b9a991e033fe43f5dded8f7bb2
2024-05-23 07:19:48 -07:00
Translation updater bot c58696b7b0 Localisation updates from https://translatewiki.net.
Change-Id: Ib1529b519dcaf1d749f3246aac5592c9e1e37e3e
2024-05-23 09:24:59 +02:00
jenkins-bot 35e3319fe3 Merge "i18n: Replace mw: interwiki with url to mediawiki.org" 2024-05-22 14:28:51 +00:00
Translation updater bot f28ce866a1 Localisation updates from https://translatewiki.net.
Change-Id: I7d16b514dcd73a52910afb0fcb48791a154f0222
2024-05-22 09:19:32 +02:00
Translation updater bot 5f720af28f Localisation updates from https://translatewiki.net.
Change-Id: Ib9d1af167acfcc885cf72a13989aab541c382760
2024-05-21 09:27:06 +02:00
Translation updater bot ad868d42a4 Localisation updates from https://translatewiki.net.
Change-Id: Id98c30c4cf378ff812dab86d9bdba03549c7171c
2024-05-20 09:23:39 +02:00
Translation updater bot c47e3a385f Localisation updates from https://translatewiki.net.
Change-Id: Ibf503a4b68283c4a4a673ccf8b70881adc1fe5b5
2024-05-17 09:47:20 +02:00
Translation updater bot f6b914bb23 Localisation updates from https://translatewiki.net.
Change-Id: I6a2aed4dd60bedfad6f7a1a8d6a35d99457aa0bf
2024-05-16 09:24:29 +02:00
Umherirrender bd074450ad i18n: Replace mw: interwiki with url to mediawiki.org
The interwiki table must not contains an interwiki link with prefix mw:

Change-Id: I96e7e3b13fa91ed8d3450a8dec0af2c46aacce21
2024-05-15 23:30:48 +02:00
Translation updater bot df93b427ac Localisation updates from https://translatewiki.net.
Change-Id: I821617f52b460269cb499a4ce352d95660e020bb
2024-05-15 09:20:55 +02:00
Translation updater bot a77994b439 Localisation updates from https://translatewiki.net.
Change-Id: Ide93b3b72ff550afba74ed28b785b9c7b1df8885
2024-05-14 09:24:19 +02:00
Amir E. Aharoni 2b29a61f66 Consistent spelling for "comma-separated"
It's hyphenated in most other extensions.

Change-Id: Ibefa8dec5ba079392ca80f6d8e26d47766dd33a1
2024-05-13 04:40:46 -04:00
Translation updater bot 39228edbd3 Localisation updates from https://translatewiki.net.
Change-Id: I4ad76defcad3ae05eae28bd90e13baa64a22e78a
2024-05-13 09:25:56 +02:00
Translation updater bot 50766781ac Localisation updates from https://translatewiki.net.
Change-Id: I2a977cb0775e89271c0a44c213d8603459ae305f
2024-05-10 09:27:16 +02:00
Translation updater bot 1d20a59f84 Localisation updates from https://translatewiki.net.
Change-Id: Iae605ac3436a08d4e1e6a2abd94d4a3c8eea59e2
2024-05-09 09:36:37 +02:00
Translation updater bot 25c48d1384 Localisation updates from https://translatewiki.net.
Change-Id: Ica9c34d7a3e3165fe3704a0554497a790187f3e0
2024-05-08 09:23:04 +02:00
jenkins-bot e9ce073889 Merge "build: Updating grunt-banana-checker to 0.12.0" 2024-05-07 17:35:01 +00:00
Translation updater bot e777f6b199 Localisation updates from https://translatewiki.net.
Change-Id: Ib839f61caadac79856b2032ca309344252803bd3
2024-05-07 09:21:44 +02:00
Translation updater bot ca38ecb5c7 Localisation updates from https://translatewiki.net.
Change-Id: Idfeeed9e1daa247327aafcbc6205eedb3bd082e5
2024-05-06 09:24:42 +02:00
libraryupgrader 294609ef25 build: Updating grunt-banana-checker to 0.12.0
Change-Id: I3aafde159cbf50bad1b640027d00354dc90feadb
2024-05-06 05:12:04 +00:00
Amir E. Aharoni b7dfe1a628 Remove full stops from two messages
Full stops are not used in other similar messages.

Change-Id: I98cc6c1c3fd1c4b888dcff5768f4af3c07ee4cfb
2024-05-05 00:49:38 +03:00
Amir E. Aharoni 1904cf8d1b Automatically add operators to description messages
This solves two issues described in bug T360909:
* Usage of unsafe characters that have to be
  manually reviewed in translations.
* Incorect display of some functions and
  operators in RTL UI languages.

It also reduces the translators' need to copy
those operators and functions, which are always
identical to English.

Finally, this patch adds those consistently to all
the messages. Some messages didn't mention them
for an unspecified reason, and now they are mentioned
everywhere.

Bug: T360909
Change-Id: I3283c91b6b1d5fe9b48b1477cd454d9def3a7ded
2024-05-04 07:08:33 +00:00
Translation updater bot 6d65e63add Localisation updates from https://translatewiki.net.
Change-Id: If38116bdc29cf67b9aba17e63bd2f3219360d1cb
2024-05-02 09:18:44 +02:00
Translation updater bot 9cd74c0bd4 Localisation updates from https://translatewiki.net.
Change-Id: Ib988462369aab0e411623f408d8ffb49244b949c
2024-05-01 09:21:34 +02:00
Translation updater bot 84b047f6e4 Localisation updates from https://translatewiki.net.
Change-Id: Ia6ccc1438190e8ec315f5eb3cde7f18de9e8d8d2
2024-04-30 09:20:19 +02:00
Translation updater bot ca7c0232d3 Localisation updates from https://translatewiki.net.
Change-Id: Idcec502aa0134afc26950a27c8b1e96024d6b782
2024-04-29 09:22:23 +02:00
Translation updater bot 2ea686643f Localisation updates from https://translatewiki.net.
Change-Id: I415f042420c35fbdbfbb82ea09b9fd64ec4b57bf
2024-04-26 09:47:12 +02:00
Translation updater bot adc724bb76 Localisation updates from https://translatewiki.net.
Change-Id: Idc58d87d97d31fa5378709a8f791b8e7cf70d4b8
2024-04-25 09:16:58 +02:00
Translation updater bot 1747dcaefd Localisation updates from https://translatewiki.net.
Change-Id: I5b482d2c585a9b5349ac59e5b0c30cd46f47a97f
2024-04-23 09:27:19 +02:00
Translation updater bot 0bd9d40f66 Localisation updates from https://translatewiki.net.
Change-Id: Ifd30d028b4a0d9813bca16704967ab58661af98c
2024-04-22 09:27:11 +02:00
Translation updater bot 55f710b3df Localisation updates from https://translatewiki.net.
Change-Id: Iedd04fa4e626d4eb54579c829c06457accaa1e2b
2024-04-19 09:45:11 +02:00
Translation updater bot 293ce4115d Localisation updates from https://translatewiki.net.
Change-Id: I97d530ace146620eaf9eeeac4d53bc15819c1aef
2024-04-18 09:19:36 +02:00
Translation updater bot 31d58fb5cb Localisation updates from https://translatewiki.net.
Change-Id: I9c305d3a9daaf0898ffd0b51cd154376bda25f2c
2024-04-17 09:27:21 +02:00
Translation updater bot d654cdf804 Localisation updates from https://translatewiki.net.
Change-Id: I75d4c6fd3e5db58956d44327313bfd9e943214d6
2024-04-16 09:26:41 +02:00
Translation updater bot 9d66ffb4ba Localisation updates from https://translatewiki.net.
Change-Id: I4213f0519b69b98ea79d73924e6bd342274debf3
2024-04-15 09:27:06 +02:00
Translation updater bot 7560067181 Localisation updates from https://translatewiki.net.
Change-Id: Ie11f736705eb077feba1f13878600b87ef186b47
2024-04-12 09:41:03 +02:00
jenkins-bot 09db8e6bb9 Merge "Add new variable for last edit time" 2024-04-11 11:57:33 +00:00
Translation updater bot d51d4a014d Localisation updates from https://translatewiki.net.
Change-Id: I15d4293c9d3e0c49e57a34333505214b979570d0
2024-04-11 09:19:58 +02:00
Matěj Suchánek 68ff668543 Add new variable for last edit time
Bug: T269769
Change-Id: Ia41ecc2f8e6921ef3d5a16fec58202d584ad0727
2024-04-10 23:12:45 +00:00