Commit graph

7712 commits

Author SHA1 Message Date
Translation updater bot dcc1847a7e Localisation updates from https://translatewiki.net.
Change-Id: Ia0a730508add48fb54bb3b846068eccabdc1fcda
2023-12-06 09:58:12 +01:00
Translation updater bot 03ff0b2028 Localisation updates from https://translatewiki.net.
Change-Id: I57d9d3a498b3df1c3c1292c59975856fda6fee1c
2023-12-05 09:13:54 +01:00
Translation updater bot 06b99ba61f Localisation updates from https://translatewiki.net.
Change-Id: I86a86a72dfe65000e684a12c68d396b17a2dba80
2023-12-04 09:02:15 +01:00
Translation updater bot 38f2e20292 Localisation updates from https://translatewiki.net.
Change-Id: I73e5dcd50780dfa7fed4ed502cf1db483eda668b
2023-12-01 09:37:49 +01:00
Translation updater bot 9fc902af99 Localisation updates from https://translatewiki.net.
Change-Id: I9bf74e41d41b0dd22953e64b646549bfeb7dcf5b
2023-11-30 09:37:13 +01:00
Translation updater bot 56475602a2 Localisation updates from https://translatewiki.net.
Change-Id: I5800ed2cc664bd36b0ee9fa1f0cb5ac3b0d5155e
2023-11-29 08:29:27 +01:00
Umherirrender 3e8c0d7813 build: Run stylelint for less file
Since 7db0e05a a less file exists

Change-Id: Ia0248b1243842c6220e998bef17e2aeaf5f34e92
2023-11-28 20:06:41 +01:00
Translation updater bot 644202a89a Localisation updates from https://translatewiki.net.
Change-Id: I4e4eac112a7cec4713aae0f7598846b156124799
2023-11-27 08:31:11 +01:00
Translation updater bot 79dfe9893f Localisation updates from https://translatewiki.net.
Change-Id: Ibfaeb9671e83bdf5b3a7d77d752e93396d999a78
2023-11-22 08:19:12 +01:00
Translation updater bot f56e0921f2 Localisation updates from https://translatewiki.net.
Change-Id: I479f6352d109b50c4be5d0db9f74e91f32b9ee7f
2023-11-21 08:28:20 +01:00
Translation updater bot 9f51a95ae4 Localisation updates from https://translatewiki.net.
Change-Id: Ib9d1a4dff2496ff83b2040223c1066f47bc1c117
2023-11-20 08:49:29 +01:00
jenkins-bot 22435fe600 Merge "Replace BadMethodCallException with LogicException" 2023-11-19 13:03:56 +00:00
jenkins-bot 5af833f0a8 Merge "Improve PHPDocs in SpecialAbuseFilter" 2023-11-19 13:03:54 +00:00
Translation updater bot f1c4e61677 Localisation updates from https://translatewiki.net.
Change-Id: Id0514675fcf7a4fd209038298bb16dfe1565a62c
2023-11-17 08:51:15 +01:00
jenkins-bot 8bde48f00e Merge "Move var declarations inline" 2023-11-16 21:03:24 +00:00
jenkins-bot 3906112737 Merge "Document more generated messages" 2023-11-16 21:02:16 +00:00
jenkins-bot 38e6e7064e Merge "build: Update linters" 2023-11-16 21:02:13 +00:00
thiemowmde 2def63118e Replace BadMethodCallException with LogicException
The BadMethodCallException is documented as "thrown if a callback
refers to an undefined method or if some arguments are missing".
This is not what happens in these places.

Change-Id: Ic95b67acc2e17eea1dd0fa1d72f9ac94a86bcf17
2023-11-16 19:10:50 +00:00
thiemowmde 71170d6db1 Fix typo "Builer" → "Builder"
This luckily doesn't appear anywhere else:
https://codesearch.wmcloud.org/search/?q=EditBoxBuiler

Change-Id: I8238015b10cc729a2df7b56be7e3eb5140f8a070
2023-11-16 20:00:41 +01:00
thiemowmde 5f0f61de5d Improve PHPDocs in SpecialAbuseFilter
Change-Id: I5364650dc31b69ab406fe1c12b6fb2ca66f02da1
2023-11-16 19:55:40 +01:00
Translation updater bot 7ec0212baf Localisation updates from https://translatewiki.net.
Change-Id: Ic41da1c9e7c90c765259c3c8eba79163b0ae2a65
2023-11-16 09:08:02 +01:00
Translation updater bot ac03f57a7e Localisation updates from https://translatewiki.net.
Change-Id: Id08825015d38bf675cffd9c4092270269297c2a3
2023-11-15 15:42:57 +01:00
Translation updater bot 1ce02e0fd7 Localisation updates from https://translatewiki.net.
Change-Id: I125f221482afe77e831688db66819463d71d6cd2
2023-11-13 08:39:24 +01:00
Ed Sanders e405992015 Move var declarations inline
Change-Id: Ie8046d24268be2d22ab115a466422e7e3dd9a8e2
2023-11-10 18:27:55 +00:00
Translation updater bot bfcf3a9432 Localisation updates from https://translatewiki.net.
Change-Id: I44c27352c8fbc467633d64c14bc3ecddbc113502
2023-11-09 10:39:51 +01:00
Ed Sanders 34bb759cd8 Document more generated messages
Change-Id: I255235b03a060199e9577aa669227742efa7ff07
2023-11-08 16:34:08 +00:00
Ed Sanders 3d23de9893 build: Update linters
Change-Id: Ieb7a2999a7f75697cc866ff29ec9707bdc9618db
2023-11-08 14:05:03 +00:00
Translation updater bot 0430a5b97e Localisation updates from https://translatewiki.net.
Change-Id: Ie8379aa6f17fbe70b7e13be0169b2d68284db2a3
2023-11-08 13:07:01 +01:00
Translation updater bot 3958956bcc Localisation updates from https://translatewiki.net.
Change-Id: Ic3f8c108fe1dce0d6bb9e8bd06ea69d4052453b0
2023-11-07 09:07:03 +01:00
Translation updater bot 130cb3dc74 Localisation updates from https://translatewiki.net.
Change-Id: I952ded8a6335275b330308594256685834efa845
2023-11-06 08:54:53 +01:00
Translation updater bot 56bef976cf Localisation updates from https://translatewiki.net.
Change-Id: I41ae6e1fe50e5adeae0d23bbe2b3577cad5db3b6
2023-11-03 08:58:02 +01:00
Translation updater bot b4118ba4cb Localisation updates from https://translatewiki.net.
Change-Id: I93767cc55021e015d117f35c86adf797bc5e9b8f
2023-11-02 09:57:32 +01:00
Translation updater bot 7a066dfe9a Localisation updates from https://translatewiki.net.
Change-Id: If9757c40184154600f5085d4c39469a37eb10971
2023-11-01 09:07:09 +01:00
MusikAnimal 7db0e05aeb Show notification when editor links to a blocked domain
This leverages the new BlockedExternalDomains system that is now part of
AbuseFilter. It notifies editors in realtime if a link they add is
blocked. See https://w.wiki/7ZsF for more information.

BlockedExternalDomains is slated to have its own API tantamount to the
action=spamblacklist endpoint, after which case this code will need to be
updated. In the meantime, it's meant to serve as a minimal viable product
for the CWS 2023 wish <https://w.wiki/7ZsE> for wikitext users.

The new $wgAbuseFilterBlockedExternalDomainsNotification configuration
setting controls the availability of this feature.

A similar feature for VisaulEditor is tracked at T276857

Bug: T347435
Change-Id: I7eae55f12da9ee58be5786bfc153e549b09598e7
2023-10-31 15:32:02 +00:00
Translation updater bot 968359fe75 Localisation updates from https://translatewiki.net.
Change-Id: Ib5da08461645581e6c14750820affbafb5e02b80
2023-10-30 17:58:29 +01:00
Translation updater bot 8af420bd6a Localisation updates from https://translatewiki.net.
Change-Id: I5a15e217f69fcdf3a104b7ad56b2559ec739aef0
2023-10-27 09:18:49 +02:00
Translation updater bot 5813b6deb5 Localisation updates from https://translatewiki.net.
Change-Id: I07432cfcd566b73784698bcd68667d85fa15ebb2
2023-10-26 11:02:21 +02:00
Translation updater bot 86dec8b0be Localisation updates from https://translatewiki.net.
Change-Id: I5310a6e3ef8b59fa9ce06d8dca9ce14ab9c3bcf2
2023-10-24 09:36:06 +02:00
Translation updater bot bbe861a765 Localisation updates from https://translatewiki.net.
Change-Id: I8ffe3d3d188895cd997cd626788047af725e8a28
2023-10-23 09:49:54 +02:00
Umherirrender 97a8f0ae6c Replace empty() with a null compare
empty() should only be used to suppress errors
Found by a new phan plugin (T234237)

Change-Id: I5428b4bfe17b5d3a3aca6f07795a1b84af2eaf37
2023-10-21 20:27:31 +02:00
jenkins-bot 04b3165ed0 Merge "phpunit: Avoid hardcoding exact mw-parser-output class attribute" 2023-10-20 16:03:00 +00:00
Translation updater bot c4389870e0 Localisation updates from https://translatewiki.net.
Change-Id: I79d5e93ea491eb783c13f61f4e63841812bdfd6e
2023-10-20 09:18:50 +02:00
Timo Tijhof 09438fd015 phpunit: Avoid hardcoding exact mw-parser-output class attribute
Needed by Ib130a055e46764544af0f1a46d2bc2b3a7ee85b7.

Bug: T341244
Change-Id: Icd9c079f5896ee83d86b9c2699636dc81d25a14c
2023-10-19 19:02:21 -07:00
Translation updater bot 5144912045 Localisation updates from https://translatewiki.net.
Change-Id: Ia42d4c867679a27f705148027d28b78bec555a06
2023-10-19 08:39:54 +02:00
Translation updater bot 20f8436260 Localisation updates from https://translatewiki.net.
Change-Id: Ide616426913cf22035152f0f0a02486db6353045
2023-10-17 09:33:30 +02:00
Translation updater bot b43bff2653 Localisation updates from https://translatewiki.net.
Change-Id: Ie5f5a066556e0edfdbea607de78c53aea1edd3c5
2023-10-16 09:14:57 +02:00
Umherirrender a7f0b7971a Use the expression assignment operator to simplify code
Suggested by phan, available since php7.4

Change-Id: Ibcc1742bd16a16e6518b4851046ad62d85de559e
2023-10-14 00:42:34 +02:00
Translation updater bot a8ef0d166a Localisation updates from https://translatewiki.net.
Change-Id: I647a0086c89ad5ffe5730993f528cfd503e5e1ca
2023-10-12 09:28:40 +02:00
Translation updater bot e6beacd73c Localisation updates from https://translatewiki.net.
Change-Id: Ia39e3062b841efc35ce4f8d5fd0d46c3efc1a775
2023-10-11 08:44:34 +02:00
Translation updater bot 2c1217ec40 Localisation updates from https://translatewiki.net.
Change-Id: Ic3c2478ae2f531a6c2f51629355b6fbc3c6d73dd
2023-10-09 08:54:59 +02:00