Commit graph

21015 commits

Author SHA1 Message Date
Ed Sanders cb657e0bdf ESLint: Re-enable prefer-const and fix
Change-Id: I9dbc12335016a326f00bf5b9a960551f828c685d
2024-05-21 17:50:12 +01:00
Ed Sanders dbc696124f ESLint: Enforce no-var and autofix
Temporarily disable prefer-const as this requires
manual fixing.

Change-Id: I477b69a57e8d33535c6fc71dba196a8605780725
2024-05-21 17:40:52 +01:00
Translation updater bot 1be5baf2ee Localisation updates from https://translatewiki.net.
Change-Id: I5f14905d40a0878e01b30bf2581cdc8681b6267c
2024-05-21 09:29:07 +02:00
Translation updater bot b3b30bb4a5 Localisation updates from https://translatewiki.net.
Change-Id: I464cad219aa2f71ec6b2688a2cc2a91ea950c90f
2024-05-20 09:26:33 +02:00
C. Scott Ananian b91c47b1c0 Remove unused reference to ParsoidOutputAccess
Change-Id: I543a6e9da4fc473a2ac54ac635286453f2aff96a
2024-05-17 12:44:36 -04:00
Translation updater bot 2aa6decc27 Localisation updates from https://translatewiki.net.
Change-Id: Icdf52e217e6a2cf23a746ff36c8e78d06c08a723
2024-05-17 09:50:05 +02:00
libraryupgrader fd1344b319 build: Updating grunt-banana-checker to 0.13.0
Change-Id: Ie76534426f8a03dc2bcf8d602ccb5131589e88bc
2024-05-17 03:15:17 +00:00
jenkins-bot aeb32aa223 Merge "Update VE core submodule to master (27296e0e3)" 2024-05-16 19:17:18 +00:00
Ed Sanders d5f9b15e39 Update VE core submodule to master (27296e0e3)
New changes:
8a1eda8af build: Updating jsdoc-wmf-theme to 1.0.1
7e2e7ebaa JSDoc: Fix generated documentation of Storage objects
2a0229ea1 JSDoc: Fix more warnings
227a38f79 JSDoc: Use upstream version of externals plugin
e1b2cbc3b Localisation updates from https://translatewiki.net.
a588efb7c Convert inline functions to arrow functions so context variables can be removed
2a12cfd15 Localisation updates from https://translatewiki.net.
27296e0e3 Disable MutationObserver in ve.ce.Surface

Deleted files:
- build/jsdoc-externals.js

Bug: T230323
Bug: T365052
Change-Id: Ia9710a52cf407c1b1cc11216ed9e54cf89e3478d
2024-05-16 18:34:25 +01:00
jenkins-bot cec87f4ba1 Merge "Use codex tokens for .mw-editsection-bracket" 2024-05-16 15:54:15 +00:00
jenkins-bot 22e6758092 Merge "tests: Adopt QUnit.test.each() and native async-await in a few places" 2024-05-16 11:32:29 +00:00
Translation updater bot bf5921ffc1 Localisation updates from https://translatewiki.net.
Change-Id: Iea5af57ebfab0425d87d4ded9d1f98a591dc809d
2024-05-16 09:27:46 +02:00
Sohom 22d25a48d2 Use codex tokens for .mw-editsection-bracket
Bug: T365089
Change-Id: I21ab4016dd38811501684867a41c3de3b9a342df
2024-05-16 00:54:42 -04:00
Novem Linguae 3d96eedbee eslint: remove redundant ruleset wikimedia/jsdoc
The ruleset wikimedia/client-es6 already contains
the ruleset wikimedia/jsdoc. So wikimedia/jsdoc
doesn't need to be declared.

Bug: T365047
Change-Id: Ibc13c9bf4bbbe36d5c8296372f59cc13a0c0940b
2024-05-15 18:38:53 +00:00
Translation updater bot 7ff70b7fdf Localisation updates from https://translatewiki.net.
Change-Id: Ib42551cb801467a78459d7ff133605f9fd305761
2024-05-14 09:27:37 +02:00
Ed Sanders 2615070b42 Convert function to arrow function to fix context
Bug: T364783
Change-Id: I02100e193554fa359b7be2c52d1ee67f63734a2d
2024-05-13 22:31:00 +01:00
Translation updater bot bc73596aca Localisation updates from https://translatewiki.net.
Change-Id: I6642078b72c4d947d7b6959695f6b9de2a2556e2
2024-05-13 09:28:17 +02:00
jenkins-bot 6f307830af Merge "ArticleTarget: Fix return of getVisualDiffGeneratorPromise" 2024-05-10 20:34:01 +00:00
Ed Sanders b247c70a22 ArticleTarget: Fix return of getVisualDiffGeneratorPromise
The promise is supposed to return a function that can be used
to lazily generate the visual diff, not the visual diff itself.
This was broken when switching to arrow functions.

Bug: T364635
Change-Id: Ifa971333aa22af346bb62d031dc20afc8979992c
2024-05-10 20:09:09 +00:00
jenkins-bot bd1c1593a7 Merge "Fixes incorrect transition from searched image preview to upload panel" 2024-05-10 14:06:04 +00:00
Zoë 220088e13e Fixes incorrect transition from searched image preview to upload panel
This line was introduced by If59979f.

This action is only invoked from the 'safe' action when the dialog mode
is 'info' - uploads are under 'upload-info' instead - so I believe we
shouldn't end up here from an upload and whatever condition this was
guarding against is no longer a concern.

Bug: T362015
Change-Id: I6a6551eab3fb698a6ae781be4623b48e4b4c7edb
2024-05-10 10:57:11 +01:00
Translation updater bot ee05f4fb9e Localisation updates from https://translatewiki.net.
Change-Id: Id2459aff3f36498288f04ee116bee0021e6d19ca
2024-05-10 09:30:34 +02:00
jenkins-bot f95f6768fc Merge "Disable eslint security regexp warnings" 2024-05-09 16:33:35 +00:00
jenkins-bot 2bda8c5d19 Merge "checkModules.js: Warn about unused ignore paths, and remove currently unused ones" 2024-05-09 12:24:58 +00:00
jenkins-bot 98cbaf651a Merge "checkModules.js: Run as part of CI" 2024-05-09 11:36:41 +00:00
jenkins-bot b8160ee1be Merge "checkModules.js: Move out of build/tasks" 2024-05-09 11:36:39 +00:00
jenkins-bot 51d89e53bc Merge "Use arrow callbacks in other modules" 2024-05-09 11:19:08 +00:00
jenkins-bot c53bdb8407 Merge "Convert local functions to arrow functions and remove this bindings" 2024-05-09 11:17:01 +00:00
Ed Sanders 72048d59b0 checkModules.js: Warn about unused ignore paths, and remove currently unused ones
Change-Id: Icaffa37d540cab11fb7344a8e0d6371d6a3be0ac
2024-05-09 11:16:39 +01:00
jenkins-bot c24d3e02f6 Merge "checkModules.js: Use require to load JSON" 2024-05-09 10:11:59 +00:00
Ed Sanders 2eafc3ddc2 checkModules.js: Run as part of CI
* Add to npm run test, and exit with error code
* Improve output message, with instructions on
  how to add to ignore list.

Change-Id: Id4ed56673e84073ac06468bdc429c138466e2501
2024-05-09 11:07:37 +01:00
Ed Sanders fc9c8bed20 checkModules.js: Move out of build/tasks
All scripts in build/tasks get loaded by grunt, which
we don't need this script to do.

Change-Id: If4b97e5d3f31214e160d35bf0e72bffe5c3ecd04
2024-05-09 10:53:25 +01:00
Ed Sanders 28f14321b6 checkModules.js: Use require to load JSON
Change-Id: Id91314272f7170b6e66746bc63fce2d3df9e4bbd
2024-05-09 10:49:34 +01:00
Ed Sanders 1980827aec Use arrow callbacks in other modules
Change-Id: Ib07720923de6657ae55ac29a07c5cc85b088a70d
2024-05-09 10:33:44 +01:00
Ed Sanders a5de8d5653 Convert local functions to arrow functions and remove this bindings
Change-Id: I7987de8737103a1fc568944496c4d707dde60bc3
2024-05-09 10:33:44 +01:00
Ed Sanders d8e803818d Remove trailing whitespace breaking CI
Change-Id: I56e688edb2bc8eb26d9a91a4be5e03bd7816e549
2024-05-09 10:33:20 +01:00
Translation updater bot 7622d72592 Localisation updates from https://translatewiki.net.
Change-Id: I70f34840a4085c36779f01991d6cf28fb3de5357
2024-05-09 09:41:06 +02:00
Translation updater bot 78abaa7ee6 Localisation updates from https://translatewiki.net.
Change-Id: Ie14f7e6a53bf09b10840496f7c056fbdb012302a
2024-05-08 09:24:31 +02:00
Bartosz Dziewoński 12613a6ad0 Disable eslint security regexp warnings
They generate a lot of false positives in this extension.

Since this is client-side code, the worst that could happen is a
browser tab hanging, not any real security issues.

Change-Id: I177cfa7e57a6b7b528d558d2cba076e85fd0271f
2024-05-07 20:54:42 +02:00
jenkins-bot ebfd3299c7 Merge "Parse a message correctly" 2024-05-07 18:45:05 +00:00
libraryupgrader 70c2179025 build: Updating npm dependencies
* grunt-banana-checker: 0.11.1 → 0.12.0
* jsdoc-wmf-theme: 1.0.0 → 1.0.1

Change-Id: I18e09b6afbefa39fd79d1315dd435d763be63812
2024-05-07 13:08:22 +00:00
James D. Forrester 73f31545cc Update VE core submodule to master (273812741)
New changes:
7f2382ade Convert local functions to arrow functions and remove `this` bindings
273812741 build: Update grunt-banana-checker to 0.12.0

Change-Id: I816e212d3d83da464e83620a02e4eb39dd1b7d4f
2024-05-07 14:07:59 +01:00
Amir E. Aharoni 3ab0128bfd Parse a message correctly
Follow-up to
I2495fe32c2d540be50450d715b049173f2f8727d

Done with the help of Matma Rex at Wikimedia Hackathon 2024.

Bug: T361103
Change-Id: Ica328233cb6172277e66d2341cfb53f87f8aff67
2024-05-07 12:06:37 +00:00
Translation updater bot c6499e166a Localisation updates from https://translatewiki.net.
Change-Id: Ib82c353d3ed2323d5167d5932396cc1770e5a21a
2024-05-07 09:23:53 +02:00
Translation updater bot f049c5f76a Localisation updates from https://translatewiki.net.
Change-Id: I0ee0490814fad24dd0f2296713e5f83bf52117b3
2024-05-06 09:26:50 +02:00
jenkins-bot 4fa86e99f8 Merge "Update minus-x to 1.1.3" 2024-05-04 17:17:20 +00:00
Alexander Vorwerk 63deb35205 Update minus-x to 1.1.3
this repo is a libup canary

Change-Id: Ic89fd967fae36eb252a7635f209bbe30de0467e4
2024-05-04 18:38:03 +02:00
James D. Forrester 0d48df9927 Update VE core submodule to master (55a4050b9)
New changes:
14e855b40 README.md: Update doc link; add coverage; drop live demo
074cc8bde README.md: Fix Coverage/Code coverage link name split
f94cae724 JSDoc: Load all theme plugins
608c8194c README.md: Mark [[mw:VisualEditor/Setup]] link, as JSDoc doesn't autolink
9e65bfde3 eslint: Switch all code from jsduck to jsdoc mode
fdc0addee Prefer short arrow functions
5bbdc2f3e JSDoc: Fix some missing complex returns types
00b5bcdc4 Use ES6 variadic arguments
0a4a7e3a7 JSDoc: {Mixed} -> {any}
419162782 LanguageInputWidget: Fix logic for checking if language exists
2bc827327 Use more variadic args

Change-Id: I40fdc33b7b46fb38c597308e2615a37c89406378
2024-05-04 18:33:44 +03:00
jenkins-bot 6bdd8e21a3 Merge "Fix displaying of "<Invalid>" when an language code isn't found" 2024-05-04 14:48:12 +00:00
Amir E. Aharoni c1386d615f Replace <> with <em> in a message
Bug: T361103
Change-Id: I2495fe32c2d540be50450d715b049173f2f8727d
2024-05-04 08:36:49 +00:00