Commit graph

7205 commits

Author SHA1 Message Date
Matěj Suchánek f23ef62fc7 Fix MigrateActorsAF
Bug: T336224
Change-Id: I65115602032abbf29001d169855962607b8e4795
2023-05-09 19:44:14 +02:00
Translation updater bot edd63c2933 Localisation updates from https://translatewiki.net.
Change-Id: I8a789624236f8b868aef5871e3700ef2876c85a8
2023-05-08 10:30:01 +02:00
Translation updater bot 4119b0aac5 Localisation updates from https://translatewiki.net.
Change-Id: I6f1206a657a0d4bfc8d78e499f016304ca1d79d7
2023-05-05 09:48:19 +02:00
Translation updater bot 59ccd728c9 Localisation updates from https://translatewiki.net.
Change-Id: I88e828532a9f1784357bd3b7c1f78508cebb0657
2023-05-03 08:42:39 +02:00
Translation updater bot e0d814f512 Localisation updates from https://translatewiki.net.
Change-Id: Id0b68549e6d498f127f7da14812a4b30aa1a20ce
2023-05-01 09:56:42 +02:00
libraryupgrader 50a4308bbe build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I9741f4373b57840a3272ae3ea7c59f3ae7bc9479
2023-04-28 23:03:06 +00:00
Translation updater bot 0bf237473f Localisation updates from https://translatewiki.net.
Change-Id: I4092ee8eae758aa200558793f6be10beff998dc7
2023-04-28 08:54:38 +02:00
libraryupgrader ba5c1d6639 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Iac8a060065c88d020ce765b46c3d6f0790bdd69f
2023-04-26 22:41:38 +00:00
Bartosz Dziewoński 0364194d72 API tests: Assert error codes, not error messages
Depends-On: I752f82f29bf5f9405ea117ebf9e5cf70335464ad
Needed-By: Ie17987991d1e9a0d77da97e3a81fe0a21c6d7866
Change-Id: I06c89534be605557ee9b0d90d2748f806fa2ae9e
2023-04-26 13:21:53 +02:00
jenkins-bot 32e74d713a Merge "Update moved class WikiMap" 2023-04-26 08:15:34 +00:00
Translation updater bot af198dc362 Localisation updates from https://translatewiki.net.
Change-Id: Ie287d306ded3c6103790fe6e1d7fe6a7e059cbf8
2023-04-26 08:42:13 +02:00
gerritbot 3f7e5c9271 Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: I2c9a5dbde0080984dad1a23eba52504c4b7df4d1
2023-04-25 09:52:41 +00:00
Translation updater bot 7edc3aba7e Localisation updates from https://translatewiki.net.
Change-Id: I6b5750264a76e3b1669e4b3041c6d141aec47ef4
2023-04-25 08:46:45 +02:00
Amir Sarabadani 66f79695d4 Use core's externallinks lookup
Depends-On: I8ae9ef388957b0c04efa281f3bc3b5796bec17fe
Bug: T326251
Change-Id: I34b4a151f23f834b695b0abba2982681b79f68e7
2023-04-24 15:12:41 +02:00
jenkins-bot 98bcf77ed0 Merge "Use renamed CheckUserInsert*Hook interfaces" 2023-04-24 00:08:12 +00:00
Dreamy Jazz ee1996c244 Add missing CheckUser hooks to extension.json which have handlers
Add the CheckUser hooks CheckUserInsertPrivateEventRow and
CheckUserInsertLogEventRow to extension.json which were both added
to the CheckUser CheckUserHandler, but mistakenly not added to
extension.json in 8e4a1237f1.

Bug: T324907
Follow-Up: Id78417e9d95220946f110afbe1430df5b3bb4f4f
Change-Id: I7a53f1933a0dafa66973a773a551c497b2eb5b05
2023-04-22 19:22:08 +01:00
Umherirrender 6fabca14c8 Use renamed CheckUserInsert*Hook interfaces
Follow-Up: I8d632f2808fde57c977c0ed22531db7b3741beef
Change-Id: I88bee654f80d9c40996ebef75136f310520a496f
2023-04-22 20:06:24 +02:00
Translation updater bot 377ed68897 Localisation updates from https://translatewiki.net.
Change-Id: I6104a16eb4b55107399778b996ed20fd0ccf7799
2023-04-20 08:46:23 +02:00
jenkins-bot d3b5dbb092 Merge "Add tests for extension.json and services" 2023-04-20 00:48:30 +00:00
jenkins-bot b802466aba Merge "Drop obsolete reference from config description" 2023-04-19 20:23:18 +00:00
Translation updater bot ac68cbf744 Localisation updates from https://translatewiki.net.
Change-Id: I7eb606c1c8550ab742aadfeb8fc9aeeb7898177f
2023-04-19 08:25:50 +02:00
Translation updater bot b5f5dc3830 Localisation updates from https://translatewiki.net.
Change-Id: I0916866a38a1651d91ba558e9fce5c5d0868b75d
2023-04-18 08:59:52 +02:00
Translation updater bot 8a5b12d492 Localisation updates from https://translatewiki.net.
Change-Id: I70759393bdd4d94d3bb0e8130b39649ddccfdd38
2023-04-17 09:11:40 +02:00
Jean-Luc Hassec 9369d08773 When testing against a page creation in RC, set page_id to 0 as in the real filtering
Bug: T334617
Change-Id: Id4465cb36131b745d386168e7e158b6bb4d6418c
2023-04-13 08:55:35 +00:00
Jean-Luc Hassec 6c500f8ea9 Clean up unused DEMPTY data type
Bug: T334640
Change-Id: Ie20d760b6e31a9dc97083d3fe4008fb31c990076
2023-04-13 05:27:38 +00:00
Translation updater bot e89e094ffa Localisation updates from https://translatewiki.net.
Change-Id: I15da188331c7a759ae6869514d459456a0401ea6
2023-04-10 09:18:25 +02:00
Daimona Eaytoy f8bd8cfe27 Temporarily re-disable flaky selenium test
Sigh.

Bug: T334001
Change-Id: Ia21c14f72631e607e0d626408557eacb83529a03
2023-04-04 22:30:06 +02:00
jenkins-bot 45492ee34c Merge "tests: Improve selenium tests" 2023-04-04 15:12:08 +00:00
Translation updater bot ed6f57547b Localisation updates from https://translatewiki.net.
Change-Id: Id99dfc9ad94de9bcf4558db57b37762c486e80ee
2023-04-04 09:16:09 +02:00
Translation updater bot 29b934eb9d Localisation updates from https://translatewiki.net.
Change-Id: I37cb9c7ec4f47d4423413fcdcfd21b1863adad45
2023-04-03 09:15:47 +02:00
Daimona Eaytoy dd48840019 tests: Improve selenium tests
- Do not try to switch the editor if CodeEditor is not installed
- Make sure that the state before the test runs is known
- Add more specific assertion on error message
- Add missing await to async function call
- Re-enable test disabled in I47b4794c4098a25696ffe42c42d00fd767971b5d.
  Selenium tests were run 100 times in CI in PS2 and they always passed.

Bug: T300790
Change-Id: Id9ca618dcc59396980b1ee38819677583107738c
2023-03-31 17:05:47 +02:00
Translation updater bot 2571e36d77 Localisation updates from https://translatewiki.net.
Change-Id: If83f374ef508dbfd9c068d46f0a63ea56f146639
2023-03-31 09:56:45 +02:00
Kosta Harlan bdebcf4e58
selenium: Disable flaky test
Error in CI:

```
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'' !== 'null\n'
```

Change-Id: I47b4794c4098a25696ffe42c42d00fd767971b5d
2023-03-30 12:16:36 +02:00
Translation updater bot f18c0613d7 Localisation updates from https://translatewiki.net.
Change-Id: I55f53a836bb806076936c2fc43bec7feb1558db4
2023-03-30 09:00:49 +02:00
Matěj Suchánek dcd07fddc2 Drop obsolete reference from config description
The other migration was done meanwhile.

Change-Id: I7f3867dfa746ace26836677a7cbc2b4d9cf1d314
Follows-Up: Ic755526d5f989c4a66b1d37527cda235f61cb437
2023-03-29 09:45:12 +02:00
jenkins-bot 9c0a285155 Merge "selenium: Refactor WebdriverIO tests from sync to async mode" 2023-03-28 15:36:38 +00:00
Peter Wangai 00ac95decd selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T300790
Change-Id: Ifcc95a8c7e47ba4513f6910620ecce83e1ead15a
2023-03-28 17:50:18 +03:00
Matěj Suchánek 0628dbdab6 Add tests for extension.json and services
Change-Id: Ie83e4a85a408e1ba1d2cc827c4bf353bdd5500df
2023-03-28 09:35:02 +02:00
jenkins-bot 290dd70bb2 Merge "Replace deprecated database object access methods" 2023-03-27 09:11:46 +00:00
Translation updater bot eacc209268 Localisation updates from https://translatewiki.net.
Change-Id: I9fa0b5a80df65312667d1540e876b3f60eb24303
2023-03-27 08:39:20 +02:00
jenkins-bot 9fcf5d92d1 Merge "Use actor table in AbuseFilter" 2023-03-26 00:25:50 +00:00
Translation updater bot 0d491e64b5 Localisation updates from https://translatewiki.net.
Change-Id: I3414e3d285d3fde19da77b7a3a6c289fa5c2677a
2023-03-23 09:23:45 +01:00
Matěj Suchánek bb78cb0a56 Use actor table in AbuseFilter
This patch migrates abuse_filter and abuse_filter_history tables
to new actor schema.

MigrateActorsAF was copy-pasted from core's
maintenance/includes/MigrateActors.php before removal (ba3155214).

Bug: T188180
Change-Id: Ic755526d5f989c4a66b1d37527cda235f61cb437
2023-03-22 14:01:29 +01:00
Translation updater bot 231f512416 Localisation updates from https://translatewiki.net.
Change-Id: I709ac1b34728e246e0825813095400546af25c4b
2023-03-22 09:14:11 +01:00
Translation updater bot 2e5d4c5e7f Localisation updates from https://translatewiki.net.
Change-Id: I8e0750e5885c286fe4329c9d90444c7e3b329afd
2023-03-20 08:59:31 +01:00
Translation updater bot 206d01d449 Localisation updates from https://translatewiki.net.
Change-Id: I1d13ef5a722242a69162e195e5bba2e5eeadd770
2023-03-16 09:26:36 +01:00
jenkins-bot 25b1820f4c Merge "abusefilter.css: Increase the default abusefilter editor width" 2023-03-15 14:00:30 +00:00
Translation updater bot 009ed2aa02 Localisation updates from https://translatewiki.net.
Change-Id: I0723aabd3541279428b90a19c0970a2a651f79f8
2023-03-15 08:48:43 +01:00
Daimona Eaytoy 31210e66f5 Re-add BC alias for the VariableHolder class
Looks like it's needed for the UpdateVarDumps script, so add a note
about that. Also add a type check to the script so that it produces a
clearer error message if it finds an entity with unexpected type.

Bug: T331861
Change-Id: I68f8f954ed754c4282e13599ce06118e2336ecbb
2023-03-13 13:46:09 +01:00
Translation updater bot 4d3fc5aa9d Localisation updates from https://translatewiki.net.
Change-Id: I5a60336a5351348720f67487cac138d83d159ba5
2023-03-13 08:37:51 +01:00