Commit graph

7722 commits

Author SHA1 Message Date
Reedy f7339cdc82 SchemaChangesHandler: Document when some changes were added
Bug: T353921
Change-Id: Ibe7c0780a3d1eebe35d6a6bce451a48fd57b545f
2023-12-22 02:07:13 +00:00
Translation updater bot 42dcf89dad Localisation updates from https://translatewiki.net.
Change-Id: I5333a343a66e8220497074ac2114a2000bc82bf8
2023-12-21 19:44:13 +01:00
Translation updater bot a3e8b2eae9 Localisation updates from https://translatewiki.net.
Change-Id: I07c5bc4d106a5cdb9f45f21ddbf0608db6d1be93
2023-12-20 14:03:59 +01:00
Translation updater bot f42b3978ba Localisation updates from https://translatewiki.net.
Change-Id: I98391bdd9391aa2dfe34257ee96a17098e28d76a
2023-12-18 18:15:03 +01:00
Paladox f1feb6c456 Fix "PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated"
Change-Id: Ic5eff58389a66f56bd2a9585c476dcde5a93f4d1
2023-12-15 23:01:09 +00:00
Translation updater bot 61fd5db1e9 Localisation updates from https://translatewiki.net.
Change-Id: Ieb2390b24fd82c1dbeedc47c35002413819b5cd5
2023-12-14 08:26:42 +01:00
Translation updater bot 9df0825cd1 Localisation updates from https://translatewiki.net.
Change-Id: I95a387307c66d1fcf383f4d8608fc92a449eec7e
2023-12-11 10:42:13 +01:00
Umherirrender bd84a6514c Use namespaced classes
This requires 1.42 for some new names

Changes to the use statements done automatically via script
Addition of missing use statements and changes to docs done manually

Change-Id: Ic1e2c9a0c891382744e4792bba1effece48e53f3
2023-12-10 23:03:12 +01:00
Translation updater bot 26c0920e47 Localisation updates from https://translatewiki.net.
Change-Id: I987b03ca50627970898726cf1ad22651670404c5
2023-12-08 14:44:26 +01:00
Translation updater bot 728c5af899 Localisation updates from https://translatewiki.net.
Change-Id: I6a2a0b87d54e5f1366e1c6d7ebd61fb8f9ad12fe
2023-12-07 10:00:36 +01:00
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