Commit graph

1179 commits

Author SHA1 Message Date
Reedy 4cbdb4fbc2 Add grepability comments
Collapse one nested if

Change-Id: I0d01239bc9ca3999688df2bb6d6360ccf563d956
2021-03-01 17:38:38 +00:00
Translation updater bot 66d656c6d7 Localisation updates from https://translatewiki.net.
Change-Id: Ida393a6e3dd3bd5336cad209e4751e5f784773f2
2021-03-01 08:53:31 +01:00
Translation updater bot ae2a4dc7ef Localisation updates from https://translatewiki.net.
Change-Id: I2e33d18629e1c13f0ed88b9048ae4c912c5ac2ec
2021-02-15 10:06:29 +01:00
Reedy c2e57657f4 Use updated CheckUser Hooks class
Depends-On: I3f66b660f9d59c0e88b182c9b06ee8cec994348e
Change-Id: I79e12fcd328bda203013a438b7f9a472b351dd48
2021-02-11 19:31:42 +00:00
Translation updater bot c35a9a51b0 Localisation updates from https://translatewiki.net.
Change-Id: I596e105d5f9b5afb1a1c8928576620a4aa3e8648
2021-02-08 08:45:00 +01:00
libraryupgrader 4d1d8ad72f build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: I9579b8c532cb211834783324995a5e115b844d00
2021-01-30 13:48:44 +00:00
Translation updater bot 4106112303 Localisation updates from https://translatewiki.net.
Change-Id: I9f01f3d88771f456767edc62b6279bcc5e3478d1
2021-01-21 08:32:47 +01:00
Translation updater bot df6d12616d Localisation updates from https://translatewiki.net.
Change-Id: I47bf4015c84f83aedad80808677a598109301738
2021-01-19 08:20:03 +01:00
Translation updater bot ce051f7890 Localisation updates from https://translatewiki.net.
Change-Id: Id628df2b57eb98fd5a87e80ff05b576fd05efb5d
2021-01-04 08:44:43 +01:00
Translation updater bot 53c35fa2c6 Localisation updates from https://translatewiki.net.
Change-Id: I5476562c43291ad0cc39e6465ba82471208e8162
2020-12-28 10:39:59 +01:00
Translation updater bot 7b8dd958d9 Localisation updates from https://translatewiki.net.
Change-Id: I13a9f347165cfc2d9d801434726961b80efc1a58
2020-12-22 08:32:44 +01:00
libraryupgrader 0bef16c88d build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: Idc4f777dc266e5a310320a430efb2878f28aeb2d
2020-12-20 02:59:51 +00:00
Translation updater bot bf8e2a7a10 Localisation updates from https://translatewiki.net.
Change-Id: I2ed1cfecf38f17686a6b11ff77abe31e178c4856
2020-12-14 08:43:23 +01:00
libraryupgrader bb8d3d4935 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: Ie2c1ad0b0d6c166d568b87027c9f8f2b276edb54
2020-12-11 08:55:46 +00:00
Translation updater bot af366f17fb Localisation updates from https://translatewiki.net.
Change-Id: If485867462f24517f77fb96d88f0347c92b56db2
2020-12-09 08:42:32 +01:00
Translation updater bot 9b4fd6df99 Localisation updates from https://translatewiki.net.
Change-Id: Ia8266bdfddeabf60a89b7bf3cda1184777f80c46
2020-12-07 08:47:28 +01:00
libraryupgrader a438de1e64 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I342eef5bc6a34cb4761c741febb58ef9177e580a
2020-12-07 02:19:57 +00:00
Translation updater bot 6867e9afb2 Localisation updates from https://translatewiki.net.
Change-Id: I2eccc454dd9b2d36bf76cc250b7f02b871598088
2020-11-30 08:47:51 +01:00
jenkins-bot e7e44e795d Merge "Localisation updates from https://translatewiki.net." 2020-11-24 07:45:06 +00:00
Translation updater bot 521552f277 Localisation updates from https://translatewiki.net.
Change-Id: Id85a6d08de87fcba9dbd5d15091a7d38e9490dbf
2020-11-24 08:40:31 +01:00
Daimona Eaytoy 6ad12a26dc Make User parameter required in BaseBlacklist::filter
Depends-On: Idf346b7d5952c1af1547d178a3634d1116d4f85b
Depends-On: I7fe28c67e5a95de870ac98b4f2571733f4a7d302
Change-Id: I62478bec3a284b7aa56ea94f49be30199a6be3e4
2020-11-24 06:16:42 +00:00
libraryupgrader 241b2220f3 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I96685059eac2deff5c0b863e565904602d56048d
2020-11-20 19:14:21 +00:00
Translation updater bot df97b5d4f6 Localisation updates from https://translatewiki.net.
Change-Id: I0877ab0529625e0a85ae28bdb89a65a65e1ab638
2020-11-19 09:10:38 +01:00
Translation updater bot 41a4e95d88 Localisation updates from https://translatewiki.net.
Change-Id: I379b98b3c546ba851e2cafd60538f12448a030d9
2020-11-18 08:57:01 +01:00
Translation updater bot 206920d904 Localisation updates from https://translatewiki.net.
Change-Id: I9843708686daca6d644940221eb0319bd97efe14
2020-11-16 08:38:02 +01:00
Translation updater bot 3fb3c6f094 Localisation updates from https://translatewiki.net.
Change-Id: Ia67ce85b927c78476e9ca5197d9d7f4871f9ce00
2020-11-12 08:22:40 +01:00
Daimona Eaytoy da1af447e2 Always pass a User object to SpamBlacklist::filter
There are some usages outside of SpamBlacklist that must be fixed. After
doing that, the signature should be updated to make the user
non-optional.

Note: I've changed the signature because external callers only pass the
first two parameters. Hence, it's easier to change it now, add a
User parameter to the callers and then make it non-optional, than having
to pass $preserveLog and $mode in all callers and then swapping the
order (as that would break the world).

Change-Id: I0714eb9dbc6af3c775ab7a81cb4b59e687183f77
2020-11-10 19:13:01 +00:00
libraryupgrader 3ee5d0ade1 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Additional changes:
* Removed global `OO`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Icc44517603f0b81b828b222c0935337545c7fd79
2020-11-04 11:27:20 +00:00
Ammar Abdulhamid 4c8c7bbb51 Remove manual passing of $this to closures
For a long time (since PHP 5.4.0) this indirection is unnecessary.

Change-Id: I1bf83f24e9b8762e929520bc94845b77ead511e6
2020-10-26 06:58:12 +00:00
Translation updater bot d7b281b779 Localisation updates from https://translatewiki.net.
Change-Id: Ia572b8da9763e867345d041b66353dbd5af4915b
2020-10-20 08:31:22 +02:00
daniel 5b0da2baf3 Ensure instance cache does not interfere with tests.
Tests need a way to rest BaseBlacklist::instances, so they can be sure
they operate on a clean slate. This is also needed to ensure they do not
operate on real settings, targetting a real remote host.

Bug: T262443
Change-Id: Ic320f7a72da7f26e0931ce3d393fc5a61d43d4fc
2020-09-29 17:20:44 +00:00
libraryupgrader 814dd5b538 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: Ic0bdd893b4d776e26a2b8f6ba885375865e0d606
2020-09-25 10:03:49 +00:00
Translation updater bot 540ae8a10e Localisation updates from https://translatewiki.net.
Change-Id: I6327278b2d22a25eb5de87ed1ec232155fd95b76
2020-09-14 09:16:23 +02:00
Translation updater bot 7d11fefc42 Localisation updates from https://translatewiki.net.
Change-Id: I0c6cdc47a07c8fddf8bf14d586405a32bd9c43bc
2020-09-11 09:40:32 +02:00
Translation updater bot 1b0fcb9113 Localisation updates from https://translatewiki.net.
Change-Id: I422521f922cdd6fa36cb3312fb4be9c0c3c9f62a
2020-09-09 09:55:03 +02:00
Translation updater bot a750cf760d Localisation updates from https://translatewiki.net.
Change-Id: Ifa3624093596a7c996deb156535035660400ea5d
2020-09-06 20:56:45 +02:00
libraryupgrader a92ce425b5 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: I27850761c8c89cb96ab0aa97347c03c1e2aa69a7
2020-09-04 21:55:26 +00:00
Translation updater bot 6bdab2efb0 Localisation updates from https://translatewiki.net.
Change-Id: Ie50c60c27ec67194316de7a3788c6c380001b7dc
2020-07-27 08:38:27 +02:00
Translation updater bot 047354d3b6 Localisation updates from https://translatewiki.net.
Change-Id: I3ad060a3fa904b40347ac736f788eb6277f971cd
2020-07-21 09:13:32 +02:00
libraryupgrader 909c754dc9 build: Updating grunt to 1.2.1
Change-Id: I106514555d449923db84730705d92b8a3a9db037
2020-07-19 00:57:23 +00:00
libraryupgrader fd40323148 build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: I4127254c8594ecb511e6cd73c3164f33db60def2
2020-07-17 04:42:52 +00:00
Translation updater bot 5cd37c5517 Localisation updates from https://translatewiki.net.
Change-Id: Ibd7abb0d5551348c394aad2e89c5f42033d0812a
2020-07-15 09:04:59 +02:00
libraryupgrader 8985313fef build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: I9a15164176e0e38b984beb02a0853c65b05a1bb6
2020-07-11 04:10:09 +00:00
Translation updater bot ee2770aa9c Localisation updates from https://translatewiki.net.
Change-Id: If3f9171192c1002a610c9c113d01b4bdf3f24c9d
2020-07-09 08:25:34 +02:00
Translation updater bot 53b30c85b4 Localisation updates from https://translatewiki.net.
Change-Id: I7aeacd24073efb2406ec10b9f3e67b184ec1c722
2020-07-07 09:31:45 +02:00
Translation updater bot 3bb83b1a7c Localisation updates from https://translatewiki.net.
Change-Id: Ibeeecf66e8da945466eab13fb1926efdf64b5887
2020-07-03 08:34:04 +02:00
jenkins-bot 7b155b981c Merge "VE: Add explicit dependency on targetLoader" 2020-07-02 11:55:11 +00:00
Translation updater bot ec28c36110 Localisation updates from https://translatewiki.net.
Change-Id: I18df0caeb92007b54e1324db34489cad945253e8
2020-07-01 08:44:10 +02:00
Ed Sanders 6f12ed377f VE: Add explicit dependency on targetLoader
Change-Id: Ib61e5ae5f2bc28a02851d78cfa368438860bf871
2020-06-30 22:47:28 +01:00
Translation updater bot ac40a52c9c Localisation updates from https://translatewiki.net.
Change-Id: I21d21fde7adfbd5f7b890ec021b5d6320487be44
2020-06-26 09:20:52 +02:00