Translation updater bot
937529bfde
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia8a9ffd88099dbf7602eac25ebdc8b9d4553cb21
2021-05-11 09:04:54 +02:00
Translation updater bot
f308bc1914
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie055d17d0a229146222057d997c51dbb150bc8a7
2021-05-10 08:49:29 +02:00
libraryupgrader
d10647a532
build: Updating npm dependencies
...
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 2.8.8 → 2.8.9
* https://npmjs.com/advisories/1677 (CVE-2021-23362)
Change-Id: I51cdfe5e8af6540a6725163f6eeea6da863cef86
2021-05-07 20:33:48 +00:00
sahil
96706a53fd
Selenium: update README.md file
...
Bug: T282237
Change-Id: I93d7538bf191e42460e5d54532f6775a05dac661
2021-05-07 18:45:07 +05:30
libraryupgrader
5e2c99ca7c
build: Updating npm dependencies
...
* lodash: 4.17.20 → 4.17.21
* https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.8 → 3.0.8
* https://npmjs.com/advisories/1677 (CVE-2021-23362)
* ua-parser-js: 0.7.23 → 0.7.28
* https://npmjs.com/advisories/1679 (CVE-2021-27292)
Change-Id: I2bee341bc691234545676eaf5679be7fc909e6f2
2021-05-07 08:58:24 +00:00
Translation updater bot
5d4a6a1649
Localisation updates from https://translatewiki.net .
...
Change-Id: I027b5e8e2e5594726ee64de8c26e2efe0b4cc18c
2021-05-07 08:39:33 +02:00
jenkins-bot
45ae0752e5
Merge "Replace deprecated User::getEffectiveGroups"
2021-05-06 14:39:02 +00:00
Daimona Eaytoy
58ad3d1542
Replace deprecated User::getEffectiveGroups
...
Bug: T281824
Change-Id: I5487d143277a44742048668c920bbad57ebe6af1
2021-05-06 15:35:35 +02:00
Tim Starling
2c939e28a9
Move onUserMergeAccountFields to its own file
...
Sharing a handler class with UserRenameHandler means that attempting to
merge users fails due to a missing interface if AbuseFilter and MergeUser
are installed but Renameuser is not installed.
Change-Id: I1244ab1c446840ff2648248f943d7fc784b889a7
2021-05-06 11:33:24 +10:00
Translation updater bot
8780749798
Localisation updates from https://translatewiki.net .
...
Change-Id: I4db6666fff7e1af5df3a3544880e54175648257f
2021-05-04 08:50:41 +02:00
Translation updater bot
09394752d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I88d61fecf19081e1a160a92d376f58cc5b7fe619
2021-05-03 08:35:33 +02:00
libraryupgrader
06cdddc9d0
build: Updating composer dependencies
...
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0
Change-Id: I92d6f6d6f817765df24f845103a489624f4290f2
2021-05-02 06:41:54 +00:00
Umherirrender
1fa7a83f60
Use static closures where safe to use
...
Created by I25a17fb22b6b669e817317a0f45051ae9c608208
Change-Id: I533690311ca559685de8a4bf123348c9bcfa5931
2021-04-30 20:55:35 +02:00
mainframe98
a32d483ef4
Don't use p class="success" for success messages
...
These are part of legacy styles and aren't provided by all skins.
Using Html::successbox abstracts the classes away.
Internally that uses div class="successbox" instead.
Bug: T280766
Change-Id: I0cca59e2f391510095c2c6fb187ace5e91fdde8b
2021-04-30 18:19:31 +00:00
Ammarpad
6a799ec9c5
Check forcing of page_timestamp revision index
...
Bug: T270033
Change-Id: I16fc273b14e7f4b00e8c31ec1ed7712149aafe37
2021-04-30 13:06:43 +01:00
Translation updater bot
ccd12544f1
Localisation updates from https://translatewiki.net .
...
Change-Id: I486daa010ab0043e2feb253fe72f2c1ad2340c35
2021-04-28 08:46:54 +02:00
Translation updater bot
37601fb676
Localisation updates from https://translatewiki.net .
...
Change-Id: I289b9350fdeea61d1e3c19e80e8e370d970facbc
2021-04-27 08:37:07 +02:00
Translation updater bot
7124db88eb
Localisation updates from https://translatewiki.net .
...
Change-Id: I4186bd404c9ca22b669396d5fc5c968c7605a2ef
2021-04-26 09:09:24 +02:00
Daimona Eaytoy
c091a2f749
Fix MySQL db patches compatibility
...
Follow-up I574bda15f0f5c92a7d97a6e3150981b8f97ee7fc
Apologies for not noticing before:
If somebody hadn't already added the afl_filter_id column, the
rename-indexes patch would try to rename a non-existing index
(filter_timestamp_full and fail). So put rename-indexes after the other
patch.
Then, for the afl_filter_id patch, check the column and not the index.
We were checking the index because it's the last thing that the DB patch
does (so if the index is found, we can be certain that the patch was
fully applied). However, now that renaming the index happens afterwards,
if somebody had already added afl_filter_id (with the old index name),
running the updater would try adding it again, because the new index
name isn't found (as it's renamed later).
Change-Id: I0250a7c187202facd932c160ace57930db510f64
2021-04-25 11:28:35 +02:00
jenkins-bot
4e7e2f6c64
Merge "Give MySQL indexes explicit names, align MySQL and SQLite"
2021-04-25 08:50:08 +00:00
Func
351f9f02bc
Handle EditFilterMergedContent hook properly to break hook chains and display error message
...
Extensions are supposed to return false to break hook chains when failed, which can avoid unnecessary call of later handlers in other extensions and work around with problems caused by difference betwen multiple triggers.
On mediawiki version 1.36 and before, just returning false in this hook can't display error message by default.
Set $status->value manually still to provide backward compatibility.
Bug: T280312
Change-Id: I78888247063c726ebcd18ba54a21d6c7891481fc
2021-04-24 02:02:01 +00:00
Translation updater bot
d26e80f882
Localisation updates from https://translatewiki.net .
...
Change-Id: I33db6431c56f36dc0936a78e40a080a9a08edaff
2021-04-23 08:35:47 +02:00
Translation updater bot
db0110e22a
Localisation updates from https://translatewiki.net .
...
Change-Id: I25717b5a6ea8aa75c53889d8725c6e68891fe821
2021-04-22 09:30:24 +02:00
Translation updater bot
6151feb5fe
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd2249c27923a4178b9091b53315759cacf08f63
2021-04-21 08:51:35 +02:00
Translation updater bot
1ac9e1298c
Localisation updates from https://translatewiki.net .
...
Change-Id: I9ad95689f758c874f1effe951a8837ba005b7c80
2021-04-20 08:46:00 +02:00
jenkins-bot
ffe3b0cbc4
Merge "Clean up AbuseFilterViewHistory and AbuseFilterHistoryPager"
2021-04-19 14:37:00 +00:00
jenkins-bot
ec804600c6
Merge "Stop using legacy ActorMigration fields"
2021-04-19 14:36:58 +00:00
jenkins-bot
f786a438e2
Merge "QueryAbuseLog: remove duplicate setting $conds = []"
2021-04-19 08:32:36 +00:00
Translation updater bot
83fa287fb3
Localisation updates from https://translatewiki.net .
...
Change-Id: If0c6cd9df8450f20c62f0737c735c69b22ae7ca8
2021-04-19 08:49:13 +02:00
Tim Starling
04f298c82c
Stop using legacy ActorMigration fields
...
Migration was completed in MW 1.34, so it's no longer necessary to
call ActorMigration.
Bug: T278917
Change-Id: I26ad45b6d26756c3074c44f0192ceb04fb2698ae
2021-04-19 15:18:47 +10:00
DannyS712
0fa804ff3a
QueryAbuseLog: remove duplicate setting $conds = []
...
Change-Id: I50ffe91656c9c74111a3ecd4808b8a1d2cd79504
2021-04-19 01:22:57 +00:00
Matěj Suchánek
644b7aa288
Clean up AbuseFilterViewHistory and AbuseFilterHistoryPager
...
- Untangle circular dependency.
- Inject dependencies.
- Declare class properties as private.
Change-Id: I7b9892c85d168024d6b44d182af9443fdfee45cc
2021-04-18 18:31:17 +02:00
jenkins-bot
0dc93136d6
Merge "Improve test coverage of API modules"
2021-04-18 16:03:25 +00:00
jenkins-bot
4332a20c34
Merge "Clean up (Global)AbuseFilterPager"
2021-04-18 16:02:30 +00:00
jenkins-bot
19bc3dcf9b
Merge "Api: inject more abuse filter services"
2021-04-18 09:15:17 +00:00
Matěj Suchánek
a2ee8c41e2
Improve test coverage of API modules
...
Also solve one a TODO.
Change-Id: I61a38f3c741274f00ad0ad4789106a943daef222
2021-04-18 10:37:38 +02:00
Matěj Suchánek
7ed7b97369
Clean up (Global)AbuseFilterPager
...
- Inject dependencies.
- Make class variables private or protected and rename them.
Untangling the circular dependency is left for a future patch.
Change-Id: I5d625e30171bfbf60d9f5a94fa50475fdfe853dd
2021-04-17 21:02:07 +02:00
jenkins-bot
5cd39a51fa
Merge "Remove the old parser"
2021-04-17 15:21:54 +00:00
jenkins-bot
8a7511c5d2
Merge "Drop database patches for MW < 1.27"
2021-04-17 15:00:26 +00:00
jenkins-bot
f869c74bb6
Merge "Remove deprecated $wgAbuseFilterCustomActionsHandlers"
2021-04-17 14:58:53 +00:00
jenkins-bot
5f65899b55
Merge "SECURITY: Use an anonymous user as creator for autocreations"
2021-04-17 10:50:02 +00:00
Daimona Eaytoy
ddb06aa783
SECURITY: Use an anonymous user as creator for autocreations
...
This is saner, and allows consequences such as blocks to go through.
Bug: T272244
Change-Id: Ie1f4333d5b1c9d17fb2236fe38a31de427a4cc48
2021-04-16 14:34:16 -05:00
Daimona Eaytoy
25547c47ee
SECURITY: Don't leak IPs when blocking anon account creations
...
The block log entry will be automatically suppressed, until we can
implement a better solution.
Bug: T152394
Change-Id: I8bae477ad7e4d0190335363ac2decf28e4313da1
2021-04-16 14:26:14 -05:00
Daimona Eaytoy
91d9e2e0d3
Give MySQL indexes explicit names, align MySQL and SQLite
...
Bug: T251613
Change-Id: I574bda15f0f5c92a7d97a6e3150981b8f97ee7fc
2021-04-15 11:30:30 +02:00
Translation updater bot
6d2cf467fc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia88be6cd933134a6335a7360c8e4ff2e5079066d
2021-04-15 08:42:13 +02:00
Daimona Eaytoy
560d6fe7b5
Drop database patches for MW < 1.27
...
Bug: T280012
Change-Id: I4ba68f1c7784f7f8b4cf661fe5e0918103c9dc15
2021-04-13 14:12:05 +02:00
Translation updater bot
60e7d5a919
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieeb04e774f0502198254c5ad6d5b7a16c87e0ab7
2021-04-13 09:19:08 +02:00
James D. Forrester
6849817cf0
Make default wgAbuseFilterAflFilterMigrationStage SCHEMA_COMPAT_NEW
...
The only user we were worried about has now migrated to this; it auto-
ran in other installs just fine, so let's proceed.
Bug: T269712
Depends-On: I2b905f1e13ec13ec94d33527803c91c04b491eb2
Change-Id: Ie7d6bc95ebc871b0effee069e2146f2750d5f408
2021-04-12 15:29:00 -07:00
Translation updater bot
c2dd8bbbb0
Localisation updates from https://translatewiki.net .
...
Change-Id: I169a9ca615ff260252e658cd5fb7802fbefdffd1
2021-04-12 08:36:34 +02:00
Daimona Eaytoy
f67c2d5434
Remove deprecated $wgAbuseFilterCustomActionsHandlers
...
Extensions should now specify custom actions using the
AbuseFilterCustomActions hook.
Change-Id: Id21640d406b18c627eedff39d3f246cf21e042b3
2021-04-11 14:49:50 +00:00