Commit graph

1075 commits

Author SHA1 Message Date
Translation updater bot 36b9492ced Localisation updates from https://translatewiki.net.
Change-Id: Ia33b3c9b598b181424e9b7385efa735cb997390c
2023-08-29 08:27:59 +02:00
jenkins-bot 2738060873 Merge "Convert applicable ResourceLoader modules to use packageFiles" 2023-08-24 22:21:10 +00:00
MusikAnimal 46b7208d13 Convert applicable ResourceLoader modules to use packageFiles
Move WikiEditor-specific code to ext.CodeMirror.WikiEditor, leaivng only
CodeMirror-specific things in ext.CodeMirror, including the logUsage
method which was duplicated in the VE plugin and now refactored.

Add .env to .gitignore so that selenium tests can be ran more easily

This patch leaves the other non-mediawiki modes still using the
'scripts' system instead of 'packageFiles'. These are not used in
MediaWiki directly but by some extensions (i.e. PhpTags) and using
packageFiles will break that integration.

Bug: T272035
Change-Id: I3bafef196c1f713443d7b8e9cb7dc2891b379f5d
2023-08-24 11:55:13 -04:00
gerritbot e1fb56e38e Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I4ac93c24d2c90d51532fc3c39e60efbb4f8f8bfb
2023-08-19 13:12:12 +00:00
James D. Forrester 2e46dcf630 build: Update MediaWiki requirement to 1.41
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I1898175817b67e3255376e4817ffca3d4a739d62
2023-08-19 13:10:57 +08:00
WMDE-Fisch 7a49382bdf Add Database group to tests
Tests that create a user account actually use the database and
most be marked as such or they will thow an exception.

See Ic4a72fbfaee730b8417848ae0603443d4995fefc

Change-Id: I827b536006130c9813a2a079eab01be112e691be
2023-08-09 10:51:58 +02:00
Sam Wilson 7d48f2d8bb Use editRecovery.loadEnd JS hook to add change handler
Add core's change handler for CodeMirror changes as well, to
save in-progress edit data.

Depends-On: I32c13c1eeec55dc442b0a00ede9cb74422b0307e
Bug: T342882
Change-Id: I352470752130c7b9b2dfc55a066cecf785d40067
2023-07-31 10:44:08 +08:00
Translation updater bot 1cff0e3f3e Localisation updates from https://translatewiki.net.
Change-Id: Ied0dc3d61d547e35b56f0d67d9f54d58361d8e1f
2023-07-24 09:36:52 +02:00
Translation updater bot c0efed8f61 Localisation updates from https://translatewiki.net.
Change-Id: I44184dd189129b86a7047bd326c530c4be493c40
2023-07-10 09:37:14 +02:00
Func a19cd9b94a ve.ui: Set the CM wrapper to the appropriate language
Bug: T341342
Change-Id: Ibdac3d360527429e396b0c124b57d1531b959a76
2023-07-07 20:54:00 +08:00
Translation updater bot 87ef023efd Localisation updates from https://translatewiki.net.
Change-Id: Ie9a76b8c035681721e6e47b1ddc0e3d6d87583eb
2023-07-06 10:11:29 +02:00
jenkins-bot c82ea859c3 Merge "selenium: run tests concurrently" 2023-06-30 11:39:21 +00:00
WMDE-Fisch 4bb409887d selenium: run tests concurrently
Includes a bit untangling of the setup. Concurrent tests should not
overwrite each others user settings so one of the tests gets it's
own user.

Bug: T337862
Change-Id: Iae245063932d4c5d9e6b61c1fe102505d70c1039
2023-06-30 11:29:32 +02:00
Ed Sanders 9520546e09 Add tool to VE toolbar automatically using 'utility' group
This removes the need for the init module.

Bug: T340751
Depends-On: Ibcc81c90bc9ba6c5fd012c512daf861973b03b2e
Change-Id: Iec3a4c6b00288aee376af47e778c4aa67a98d29b
2023-06-29 14:40:43 +00:00
Ed Sanders 5b69b2380c Always use the strict equality flag when using in_array
Change-Id: Ieb7dc53cbd5b45b6064e05fe5df0401918bbb36d
2023-06-06 13:37:54 +01:00
James D. Forrester 9e9a38d6fc Refactor CodeMirror WebdriverIO tests from sync to async mode
Bug: T300205
Change-Id: Idfcfc984833ca6ca6c09500cd4715a4e5504f84e
2023-06-06 10:49:22 +02:00
libraryupgrader c898ddf371 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I952b7bd8671bd684446b90d92d2b0ba2837b3cc8
2023-06-01 02:55:40 +00:00
Translation updater bot b6dbb27177 Localisation updates from https://translatewiki.net.
Change-Id: I725e26f0262bda7b89f871f9c28441f359ceda56
2023-05-31 08:19:57 +02:00
Translation updater bot 3e046ad947 Localisation updates from https://translatewiki.net.
Change-Id: I187b33194cb6736382471d69a61e0d7920781e75
2023-05-29 09:58:50 +02:00
WMDE-Fisch 6744545c61 Skip user setting for unnamed users
Bug: T329771
Change-Id: I0066c2411bf12fedb1e29cde8306b107c3ab95ba
2023-05-20 15:36:29 +03:00
Volker E ba64a52368 styles: Replace mentioning of WikimediaUI Base and add skin variables
It makes no difference to directly assign Codex Design System for
Wikimedia colors as values instead of re-assigning the outdated
`@wmui-color-*` variables.

Bump to required MediaWiki core version >= v1.41.0.

Also put stylelint-disable before the block it's actually needed.

Bug: T334934
Change-Id: I5696f160d39ef4edec7a1b966fe7e73608c86bdc
2023-05-16 17:58:24 +02:00
jenkins-bot 413adcf654 Merge "Migrate ResourceLoaderCodeMirrorModule to a virtual file callback" 2023-05-10 02:27:00 +00:00
gerritbot b704455012 Update moved class EditPage
See T321882. Moved in Ibefc44eb64aed

Bug: T321681
Change-Id: I2c9bf1c8289f3e45be6f88e685b52371291d66e9
2023-05-06 22:48:02 +00:00
Translation updater bot 49ca50fd1f Localisation updates from https://translatewiki.net.
Change-Id: I4a5e81349bccb7c5452fbf67c1f46937cc8bb733
2023-05-05 10:38:16 +02:00
Tim Starling 7a3f46b490 Migrate ResourceLoaderCodeMirrorModule to a virtual file callback
Bug: T47514
Depends-On: I97d61b5793159cea365740e0563f7b733e0f16de
Change-Id: I31b80fc1c7701fc1075d655270706e341942415d
2023-05-05 16:26:09 +10:00
libraryupgrader 025910fccd build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I1eab6254c50272e4b794eb60721cc52eae319ad9
2023-05-04 01:35:40 +00:00
Translation updater bot a1c5aeb6e7 Localisation updates from https://translatewiki.net.
Change-Id: I49d0b8a41f048bfb93f0e5f7a2e9e025b3c53cb0
2023-05-02 08:59:28 +02:00
libraryupgrader fc5ad37762 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: I6a871fed872d8314e82cd083db2ab98ba683d63a
2023-04-29 01:27:19 +00:00
Translation updater bot 44a94a856d Localisation updates from https://translatewiki.net.
Change-Id: If8dbda21fd42581218bba7c9ab5f1ad29e02a562
2023-04-25 08:47:33 +02:00
Translation updater bot 2d89fb5e3b Localisation updates from https://translatewiki.net.
Change-Id: I0493371e6733a6ed51af0c603977f13d7c493597
2023-04-11 09:13:33 +02:00
s-mukuti af8302a46b extension.json: remove unnecessary target definitions
Bug: T329643
Change-Id: I109514e959fb3189282a0715874c09b9fbd00501
2023-03-31 10:25:19 +03:00
libraryupgrader d4d29ace60 build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0

Change-Id: Ib5ce0735dfac337882d65155b767adc773f0691b
2023-03-27 19:38:31 +00:00
jenkins-bot f072ad828b Merge "build: Updating npm dependencies" 2023-03-27 07:13:52 +00:00
Translation updater bot 0012826e46 Localisation updates from https://translatewiki.net.
Change-Id: I24aa53174fc3af89e0b7c29b95f0ea9a337455df
2023-03-27 08:40:43 +02:00
Umherirrender 818245a30f build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Change-Id: I576c1693596280e56b05ea6f485c1a995167112c
2023-03-25 22:37:01 +01:00
libraryupgrader 35c9009b5b build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I689c4ad4408c6ca3029fd5b08e2a9212f12cb05f
2023-03-11 23:25:49 +00:00
Translation updater bot 7be2b3432c Localisation updates from https://translatewiki.net.
Change-Id: I7f389a3fb0ca9e7766d0079ea8153752f2b2f7b1
2023-02-28 08:28:37 +01:00
Translation updater bot 0305140ea1 Localisation updates from https://translatewiki.net.
Change-Id: I6c56ae17fc94579f656ec817132b7b422798e95a
2023-02-20 09:46:11 +01:00
jenkins-bot 775de7751a Merge "Search for toolbar place in toolbarConfig as well as actionConfig" 2023-02-16 00:00:25 +00:00
Ed Sanders 47e42bc61b Search for toolbar place in toolbarConfig as well as actionConfig
The actionToolbar is deprecated and will be going away soon.

Change-Id: I475e987959a037eaa536986cba063ab3ccc0083e
2023-02-14 17:30:33 -08:00
Ed Sanders 2f5366dab9 CSS: Remove unused browser prefixes
Change-Id: I91dcffc7a05e6a12dd0ae006bd4195d5c5751704
2023-02-14 17:23:32 -08:00
Translation updater bot 2d3e528e1d Localisation updates from https://translatewiki.net.
Change-Id: Ic4cde98fd59d6148f3a37aa63c95a3e90fa3a26b
2023-02-09 10:11:09 +01:00
libraryupgrader 381a119559 build: Updating http-cache-semantics to 4.1.1
* https://github.com/advisories/GHSA-rc47-6667-2j5j

Change-Id: I414aadd53d2ec5228b77ccb70e97d934f2d50419
2023-02-02 23:45:16 +00:00
libraryupgrader 9f6de44d25 build: Updating ua-parser-js to 0.7.33
* https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: Ib87b1e8e4a6835fa47f4330e518cd239f29183b3
2023-01-26 10:09:13 +00:00
jenkins-bot 46b930ff28 Merge "Use @coversDefaultClass in test case" 2023-01-18 19:05:50 +00:00
jenkins-bot 19359a15c6 Merge "Use HookHandlers and inject services" 2023-01-18 19:04:59 +00:00
jenkins-bot f20163f08a Merge "Enable CodeMirror code on mobile domain" 2023-01-18 18:49:51 +00:00
Jon Robson ed5a12fad2 Enable CodeMirror code on mobile domain
Bug: T324723
Depends-On: Ifa355f3821c72935c74650fa635a6ab863c70d39
Depends-On: I271e99c777b638bd4c4bae642f8c7c87fc0ae5cd
Change-Id: Ia6195a0771cf36ca739577687a6c1e8f64c78ac8
2023-01-18 18:41:39 +00:00
jenkins-bot c20d8ea44e Merge "selenium: Remove webdriverio npm package from the CodeMirror extension" 2023-01-17 21:03:29 +00:00
Func f233363636 Bump the required version of MediaWiki to 1.39
The master branch is not compatible with 1.38 since commit 3a0c4b1.

Depends-On: I2a86a37fe2853890742bea2e7180f7d6c5f9304c
Change-Id: Ic767cd476d504c1020c6ef8481b3cdee39f31bc7
2023-01-12 06:30:41 +00:00