Commit graph

6992 commits

Author SHA1 Message Date
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 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
libraryupgrader 50ec43bcdd build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0

Change-Id: I25ff6030a2d56ef343a16bfe8d4ff06d7b988635
2023-03-11 19:08:20 +00:00
xiplus a29520ad92 Re-add #mw-abusefilter-syntaxresult
It was accidentally removed in f3383dbea2.

Bug: T331787
Change-Id: Ia8aa40098029b34870afe5ae18cbca43404572c5
2023-03-11 23:36:54 +08:00
Jean-Luc Hassec b0a38cda68 Make Ace filter editor resizable
Bug: T294856
Change-Id: I9964440a0a1cf9a8ba0514c7db085efd791a3ce0
2023-03-10 23:07:08 +00:00
Translation updater bot b9cd2dabf8 Localisation updates from https://translatewiki.net.
Change-Id: I1f6d93fc2301f3f043d099050bf71bdedc91d2b1
2023-03-10 08:47:27 +01:00
Translation updater bot 01745f2774 Localisation updates from https://translatewiki.net.
Change-Id: I8dcde23a4e9eb2c57d19b7cc7cfbc16160ac869a
2023-03-09 09:03:26 +01:00
jenkins-bot 182e801a25 Merge "Clean up database access in non-deployed code" 2023-03-08 16:50:17 +00:00
Matěj Suchánek 8f6a428f02 Replace deprecated database object access methods
Use the very new getPrimaryDatabase and getReplicaDatabase.
We skip FilterLookup and CentralDBManager in this patch.

Change-Id: I22c6f8fa60be90599ee177a4ac4a97e1547f79be
2023-03-08 16:50:56 +01:00
Taavi Väänänen 7789ce1090
UserRenameHandler: Use core RenameUser classes
Bug: T27482
Change-Id: Ia36cd6d0ae8562101f8bcb0ddbf647097b6a8429
2023-03-08 12:53:43 +02:00
Translation updater bot e358840cb3 Localisation updates from https://translatewiki.net.
Change-Id: Iee88e95eb6d61322b47d74877443f91d59b7c834
2023-03-08 08:41:00 +01:00
Translation updater bot 15906e418b Localisation updates from https://translatewiki.net.
Change-Id: Ia8401b1676c00c8360695ace68762de44e25f7ab
2023-03-07 08:42:33 +01:00
Translation updater bot f0f370c688 Localisation updates from https://translatewiki.net.
Change-Id: I376219ccf42624ee5494964086703d7ad60705a7
2023-03-06 08:32:14 +01:00
MarcoAurelio f3383dbea2 Increase CSS specifity to override MonoBook .special li
Bug: T331211
Change-Id: I3ad44c830f8d1f59b798820a2cba1c7950115492
2023-03-04 21:02:48 +00:00
Matěj Suchánek 86ac5bdb40 Clean up database access in non-deployed code
Change-Id: Ibcc41c2dd7f60a806199eaa2c47628a28dadd143
2023-03-03 18:55:08 +01:00