Commit graph

6864 commits

Author SHA1 Message Date
Translation updater bot 049ba9101c Localisation updates from https://translatewiki.net.
Change-Id: I6d72f272a5b67a23f5383d0249c1bda3ced20c95
2022-11-21 08:14:53 +01:00
Translation updater bot 5392d4dcdc Localisation updates from https://translatewiki.net.
Change-Id: I67dd7a2140152ac1e4b6dfefb9930d09861771b7
2022-11-18 08:40:25 +00:00
jenkins-bot 6c34801068 Merge "Register AbuseFilter menu as standard tabs" 2022-11-17 17:45:26 +00:00
Jon Robson 62e96a46a8 Register AbuseFilter menu as standard tabs
Core now supports special pages registering sub menus
natively in skins. The menu is rendered when the skin
supports it, so at current time of writing this will
only work in Vector 2022 and MinervaNeue.

The existing menu that appears under the abuse filter
page title is converted into the new format. For other skins
no difference.

Bug: T315553
Change-Id: Ief51a9c60125c11e3b735fabee2a4544b7955f64
2022-11-17 16:35:34 +00:00
Translation updater bot 1781476fbf Localisation updates from https://translatewiki.net.
Change-Id: I21544640c6dcb035aef38e754e922730234e64ce
2022-11-17 08:26:13 +01:00
Reedy 4f4f01f96d EchoNotifierTest: Use namespaced Event class
Re-enables test

Depends-On: Ib57ea2db947285946f31fa9912b37181044df9d3
Change-Id: I082868f4759a5da14235803ebd8a80e794cfe41c
2022-11-12 06:28:33 +00:00
Translation updater bot 4473024899 Localisation updates from https://translatewiki.net.
Change-Id: I48c7fc7fcfeeef3e449544ee99206107b0248f55
2022-11-11 08:38:51 +01:00
libraryupgrader ffa85923c0 build: Updating grunt-stylelint to 0.18.0
Change-Id: I946aff31089712eb82e69012db7e12430a98b844
2022-11-11 00:31:57 +00:00
jenkins-bot 66a563ca09 Merge "EchoNotifierTest: Temporarily skip testNotifyForFilter" 2022-11-10 22:19:11 +00:00
jenkins-bot e26a863ad7 Merge "Fix missing null check for deprecated configuration" 2022-11-08 10:08:00 +00:00
Translation updater bot 6ec0fb8bf2 Localisation updates from https://translatewiki.net.
Change-Id: I5817bd809bf5f05cd9ab3e4fef5d9cee96471dee
2022-11-07 08:32:43 +01:00
thiemowmde 8f50f2a1a6 Fix missing null check for deprecated configuration
$wgAbuseFilterAnonBlockDuration is documented to be deprecated and
fall back to $wgAbuseFilterBlockDuration. This was just missing here.
This makes code fail in PHP 8.x where null is not allowed any more in
functions that expect a string.

Change-Id: I0edb0f14630aed88635aa564a11d6f42e470c29f
2022-11-04 15:36:13 +00:00
Translation updater bot 98edbc2f37 Localisation updates from https://translatewiki.net.
Change-Id: I68a17e87b9786f5c4183382bd5a368dbf3e1f916
2022-11-04 09:01:11 +01:00
Translation updater bot 998e0bd3f9 Localisation updates from https://translatewiki.net.
Change-Id: I114d3b87a30b3ce46656033a3f621f2ecf71f228
2022-11-03 08:23:41 +01:00
Reedy 97e0f30155 EchoNotifierTest: Temporarily skip testNotifyForFilter
Depends-On: Iddb4a5d4057f9c6ed00f754d2e3cd79cd873f212
Change-Id: Id28792658de950b99a8786f881563476def59eba
2022-11-03 00:28:15 +00:00
Translation updater bot 7b9b33c2c9 Localisation updates from https://translatewiki.net.
Change-Id: Ia9bea0baad35df84e0261f15f5c9e545695d906e
2022-11-02 08:37:17 +01:00
libraryupgrader 9d9c94826e build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: I5e530f12d42ed137031aa01dad688df127ae2e56
2022-11-02 00:42:03 +00:00
Translation updater bot 5f1233f5e0 Localisation updates from https://translatewiki.net.
Change-Id: I21208a45bd30ae9e2c7fcfd66695a510fdc6b5fb
2022-11-01 08:49:49 +01:00
Translation updater bot 4934b98a0d Localisation updates from https://translatewiki.net.
Change-Id: I2c84b85c56d0d9865daa7d08e240e67e67625ef9
2022-10-31 09:44:52 +01:00
Translation updater bot aef0bf7260 Localisation updates from https://translatewiki.net.
Change-Id: I710438280a6803a1a3cc2025ee6b9121c05cd005
2022-10-27 08:54:05 +02:00
libraryupgrader 7201002047 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I084310437a8b6c179554304059df5218e03c6158
2022-10-27 00:59:28 +00:00
Translation updater bot 9c0c0db1e8 Localisation updates from https://translatewiki.net.
Change-Id: I04ed12be2c9f863edb0c33dce5a29324afd00c44
2022-10-26 08:18:14 +02:00
libraryupgrader ff68482292 build: Updating npm dependencies
* mocha: 9.2.0 → 9.2.2
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I9753da06dc8ba67d3635c65a4d4cc1da10030ca1
2022-10-26 00:32:04 +00:00
Translation updater bot e842170007 Localisation updates from https://translatewiki.net.
Change-Id: I1810c2f5f0c4b2d1f5a6428784b24433baa59b11
2022-10-24 08:21:26 +02:00
samtar e9e45cd225 AbuseFilterPermissionManager: Add sitewide block check
Add sitewide block check to `canViewPrivateFilters`

Bug: T296137
Change-Id: I2e4bceb8e35424d5c0c5ea902ed8f682bd33b6dc
2022-10-21 17:34:01 +00:00
Translation updater bot 297844ca11 Localisation updates from https://translatewiki.net.
Change-Id: I718012bdc08160fe2e97eccc0f9f4363a89761ef
2022-10-20 08:30:27 +02:00
Translation updater bot 66c0e96ce4 Localisation updates from https://translatewiki.net.
Change-Id: I906544626ce15acf4bf20707de3f10ee34a4dc28
2022-10-19 08:18:49 +02:00
Translation updater bot 8344607741 Localisation updates from https://translatewiki.net.
Change-Id: If8f1dbc64fe1dd3c5508975387daaa5cd90404bc
2022-10-17 08:19:44 +02:00
Translation updater bot 81275dc5eb Localisation updates from https://translatewiki.net.
Change-Id: Ib2bbcfaaede87a3677193e397cdf3b053a8e7fb5
2022-10-14 08:39:45 +02:00
Translation updater bot 007e68809a Localisation updates from https://translatewiki.net.
Change-Id: I0da71a01d6a8f0d30f930c39d473ade4e0b6e28a
2022-10-13 08:07:24 +02:00
jenkins-bot 34421d25b7 Merge "Localisation updates from https://translatewiki.net." 2022-10-10 08:23:45 +00:00
Translation updater bot 37a62a57c1 Localisation updates from https://translatewiki.net.
Change-Id: I72e8e529aef3b6f87bd5ed01acc38607bf35f5a2
2022-10-10 10:19:06 +02:00
Translation updater bot 851a588fe3 Localisation updates from https://translatewiki.net.
Change-Id: I399099a7b6d80532335be49c84d85ed91fa7be7d
2022-10-10 08:56:54 +02:00
Daimona Eaytoy 6a48423861 Avoid phan suppression
Document the parameter as non-empty instead.

Change-Id: Ia0f6b231fd05da82c1967e6b4e22bdd258435bba
2022-10-09 13:57:39 +02:00
jenkins-bot 02a733ac17 Merge "build: Updating dependencies" 2022-10-07 18:44:26 +00:00
libraryupgrader 380f7b010a
build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: I424244de96b2da894d781047a1e336514cb7707c
2022-10-07 21:05:41 +03:00
Daimona Eaytoy 9f78933426 tests: Replace assertNotRegExp with assertDoesNotMatchRegularExpression
The method was renamed in PHPUnit 9.

Done automatically with:
  grep -rl assertNotRegExp tests/ | xargs sed -r -i "s/>assertNotRegExp\(/>assertDoesNotMatchRegularExpression\(/"

Bug: T243600
Change-Id: If0a7775cb96b3c4eb90b6dfe52d8647c12194ccc
2022-10-07 19:06:21 +02:00
James D. Forrester 94034ad727 build: Upgrade eslint-config-wikimedia from 0.22.1 to 0.23.0
Manually fixed as there's no fixer (and we're likely to bin this
rule upstream anyway as it has too many false positives).

Change-Id: Ia00113afa56af57c851ee8730760a60d6f858e7c
2022-10-07 11:09:55 -04:00
James D. Forrester 2d958ad093 build: Drop PHP dependency, irrelevant given MediaWiki version
Change-Id: I98f695971390bc0c836e7aac853f399436443dab
2022-10-07 10:44:59 -04:00
Translation updater bot 89cafddaaf Localisation updates from https://translatewiki.net.
Change-Id: Id95283ac620093e8a3bed2b6f549f9a7b9465bfc
2022-10-06 08:15:01 +02:00
Translation updater bot b99741c1a4 Localisation updates from https://translatewiki.net.
Change-Id: Id302f16f7c5e441b19a1940875f2217215930bbd
2022-10-04 08:28:37 +02:00
Brian Wolff c6d3e6638c Explicitly cast mod (%) operhands to ints.
PHP does this automatically, however in PHP8 this causes an
E_DEPRECATED warning.

This fixes a phpunit test

Change-Id: Ie2b2dbf4a1c0ff500ba251ee43a37823432e3047
2022-10-03 08:30:45 -07:00
Translation updater bot 4fe1057c58 Localisation updates from https://translatewiki.net.
Change-Id: I08281d929dfee8451e1bae58de1ca0dbfc04d24a
2022-10-03 09:44:26 +02:00
Translation updater bot a42ce5eea9 Localisation updates from https://translatewiki.net.
Change-Id: Ied6c61d029b6d224e34ef3738121e36a60f7d44d
2022-09-30 08:52:38 +02:00
Timo Tijhof d2fc2ff8bb maintenance,includes: Clean up file headers
Follows-up Iaa1b4683c5c856.

* Match $IP pattern verbatim from most other WMF extensions.

* Improve descriptions a bit, and move/merge any meaningful
  information from file docblock into class docblock. The file blocks
  are visually ignored and identical in each file, and often out of
  date or duplicated when given text separately from the class block.

  See also similar changes in core:
  https://gerrit.wikimedia.org/r/q/message:ingroup+owner:Krinkle

* Use `@internal` instead of `@private` as per Stable interface
  policy.

Change-Id: I8bed9a625af003446c7e25f6b794931164767b5a
2022-09-29 17:56:49 +01:00
Translation updater bot 61f40d7d06 Localisation updates from https://translatewiki.net.
Change-Id: I67663ccfb3c4680693e543bb6dad9d3fa8f958ba
2022-09-29 08:26:29 +02:00
Translation updater bot d311b4a09d Localisation updates from https://translatewiki.net.
Change-Id: I410373d85a0e0b9103e94fce5fb431a7e8cab0a2
2022-09-28 08:20:11 +02:00
jenkins-bot 1744abb0c7 Merge "PurgeOldLogIPData.php: Minor doc and code clean up" 2022-09-27 14:09:32 +00:00
Translation updater bot afee2e436c Localisation updates from https://translatewiki.net.
Change-Id: I8d35d9fb7810d879a743d2457a0d9b8586b73788
2022-09-27 08:31:32 +02:00
Translation updater bot 0478e9337e Localisation updates from https://translatewiki.net.
Change-Id: I75bb983329e7bcfcae013550ff14feced1fe56c1
2022-09-26 08:14:06 +02:00