Commit graph

7316 commits

Author SHA1 Message Date
libraryupgrader ed21eb407c build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I5c2eb1325cf0f7d4b01c74720f93595c4b899202
2023-05-20 22:38:40 +00:00
Umherirrender faaa5126eb tests: Make some PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I892127a7cf794c52b1106d0239d273476a6113c3
2023-05-20 21:44:55 +02:00
Umherirrender 0c513ba63e tests: Use static provider in AbuseFilterHookRunnerTest
Shows up a deprecation message

Follow-Up: I5ff35ad0e894f0a27beae00257dc1fc599ad518d
Change-Id: I2e74ca48374f1ab5901ae3adf891ea29cd322251
2023-05-19 22:19:48 +02:00
jenkins-bot f30e7e5198 Merge "Update moved class RawMessage" 2023-05-19 14:33:58 +00:00
gerritbot 66c00defac Update moved class RawMessage
See T321882. Moved in I195cf4c67bd514

Bug: T321681
Change-Id: Ia5479b083c9c086b0fa11be6b1c8358ce9b920bf
2023-05-19 10:30:17 +00:00
gerritbot 142e4be136 Update moved class FauxRequest
See T321882. Moved in I832b133aaf61ee

Bug: T321681
Change-Id: I0ab062426628bb33d2bbfc686e4befc66ee43f38
2023-05-19 10:23:42 +00:00
Translation updater bot b3b4495ea7 Localisation updates from https://translatewiki.net.
Change-Id: I7e06757ae4af75790fe4eee7417ef5a3fc6e76a2
2023-05-19 10:42:20 +02:00
Translation updater bot f37d87e599 Localisation updates from https://translatewiki.net.
Change-Id: I1c09a0d3fb7dca2ed68804368244477d99c7b887
2023-05-15 08:31:16 +02:00
Translation updater bot 2ea7d6a8ea Localisation updates from https://translatewiki.net.
Change-Id: I313cfd436590b342c1932af9e805e7b07099638c
2023-05-11 09:11:07 +02:00
Translation updater bot db3c16403c Localisation updates from https://translatewiki.net.
Change-Id: I6e485da3e24f6cad8627d34bd5190a0f7bd654ad
2023-05-10 08:39:51 +02:00
jenkins-bot 8dabad118e Merge "Fix MigrateActorsAF" 2023-05-09 18:19:30 +00:00
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