Commit graph

21170 commits

Author SHA1 Message Date
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
jenkins-bot 8f75500ef7 Merge "Fix media dialog layout." 2024-05-03 23:23:17 +00:00
Ed Sanders acd075a4d7 Fix displaying of "<Invalid>" when an language code isn't found
Bug: T361109
Depends-On: I1e85a9d41c017fc3e3897b8b69177f342c5a43ef
Change-Id: I2ef072c3265fa9477ca2be539a7084454a8d8cae
2024-05-03 17:38:14 +01:00
Ed Sanders eb757c4c9f Remove unnecessary context binding when using arrow functions
Change-Id: Ie25e90aeb0519b1e0f793348b27d4d4a6b686698
2024-05-03 12:47:47 +01:00
Translation updater bot 9fa475d66e Localisation updates from https://translatewiki.net.
Change-Id: I1780f8a639f94bd051f60d20c73481a8887e5635
2024-05-03 09:29:54 +02:00
jenkins-bot 8a35d3cf83 Merge "JSDoc: {Mixed} -> {any}" 2024-05-02 18:20:12 +00:00
Zoë f0cef27552 Fix media dialog layout.
Restored a selector lost in Ic9fad12f

Bug: T363992
Change-Id: I68b3052665db6ad09c594debbc593b11b7edebff
2024-05-02 18:59:29 +01:00
libraryupgrader c107fd0cd8 build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: I5473d3a5535044973edf4904a32e1df559d94e33
2024-05-02 15:06:18 +00:00
Ed Sanders 29e42695e4 Follow-up Ifdb15ea9: Restore deleted 'new' keyword
Change-Id: I6cd6a617ae63347df1a2b7de111cac6860950cf3
2024-05-02 12:28:51 +01:00
Ed Sanders 673dea4852 JSDoc: {Mixed} -> {any}
Change-Id: I457475a9c436c40a384675027c052294e6b1305d
2024-05-02 10:39:25 +01:00
Translation updater bot c05851aa4f Localisation updates from https://translatewiki.net.
Change-Id: I883d7f93aee32b044635d3072952284d7dbc1491
2024-05-02 09:20:26 +02:00
Timo Tijhof 6cbedbf9d2 tests: Adopt QUnit.test.each() and native async-await in a few places
* Remove need for manual hacking of sub groups via "msg" strings
  carefully prepended to every assertion.

* Improve CI details, by reporting the specific case that failed,
  and local dev via ability to re-run each case, and reporting names
  directly in the HTML Reporter and CLI summary.

* Reduce need for assert.async() and tracking of callbacks, especially
  to improve failure details in case of Promise rejection.
  Current logic was likely to cause a confusing timeout instead of a
  clear failure if the promise ends up rejected.

  QUnit propagates these as part of awaiting and asserting the test
  closure's promise value (as async fn) automatically.

  This approach also avoids the pitfal of a falsely passing test
  when an assertion inside a done() handler was never reached.

* Use modern for-of where possible to remove need for closures and
  arrow functions. Thus reducing complexity of test code, where
  complexity should be kept lowest to avoid false confidence.

* Use plain for-in instead of overly complex Object.keys().forEach().

Change-Id: I934a266e75e64371081f104cfb867fb2c282c84a
2024-05-01 19:01:19 +01:00
jenkins-bot a85e1f44e4 Merge "Use forEach loops for cases" 2024-05-01 15:22:39 +00:00
Ed Sanders 4db99d7a27 Use more arrow functions
Change-Id: Ifdb15ea9e5ca606e02ddaf822bfd6397c3ce639e
2024-05-01 14:11:55 +01:00
Ed Sanders 33db46e6fa Use arrow callbacks with OO.ui.Process
Change-Id: I9bf32a382ffc2c0f1915f70bd8909668722cfb16
2024-05-01 14:11:55 +01:00
Ed Sanders e3659d4846 Prefer arrow callbacks
Change-Id: Ia05b27f7c71c33580ffd0718e3bbc673dd8b3d63
2024-05-01 14:11:54 +01:00
Ed Sanders c360e550de Fix incorrect uses of context
Change-Id: Ib8b2dd12db567e9373b633c5c7a0b2990c638d97
2024-05-01 14:10:32 +01:00
Ed Sanders e382d3af0a Use forEach loops for cases
Change-Id: Ica8773f54572bd90d4ee1ecde43254331fd2e313
2024-05-01 14:02:29 +01:00
jenkins-bot 92b82c67fe Merge "docs: Escape __magicwords__ to avoid bold formatting by markdown" 2024-05-01 07:45:35 +00:00
jenkins-bot a8a19e9975 Merge "Readme: Mark links, as JSDoc doesn't autolink" 2024-05-01 07:44:09 +00:00
Translation updater bot 43c0ac58a6 Localisation updates from https://translatewiki.net.
Change-Id: I36167ac379fe1789c15b9f9fff0b08b5ad1c2e8e
2024-05-01 09:23:00 +02:00
Ed Sanders 41cce182fe docs: Escape __magicwords__ to avoid bold formatting by markdown
Change-Id: Ic4660b12091429dd3f34d241b326350049a0019a
2024-04-30 22:32:03 +01:00
jenkins-bot 5c929ab457 Merge "Rename isModified to isSaveable and deprecate the old name." 2024-04-30 17:14:58 +00:00
jenkins-bot 3fec1cf55c Merge "Confirm abort if saving would make a change to the underlying document" 2024-04-30 17:14:47 +00:00
jenkins-bot ff6ea23256 Merge "Remove unused files" 2024-04-30 16:48:50 +00:00
Zoë 2df1b00f18 Rename isModified to isSaveable and deprecate the old name.
Bug: T334513
Change-Id: I9f639dae88787774cf362c15cd134d50bd73abee
2024-04-30 16:43:01 +01:00
Zoë a6f826e989 Confirm abort if saving would make a change to the underlying document
Bug: T334513
Change-Id: Ia8935b5b1acb87a351fd02d07f72875e4d7a005c
2024-04-30 16:20:45 +01:00
Ed Sanders 5e519f5191 Readme: Mark links, as JSDoc doesn't autolink
Change-Id: Iee4c6edc7f1e0819f55a797d87368771ba560a08
2024-04-30 13:29:26 +01:00
Ed Sanders 5eb040c882 JSDoc: Load all plugins from theme
Change-Id: I5f0febe08ca51aa0b5681ede143a54c42fb803d2
2024-04-30 13:03:12 +01:00
Ed Sanders 8093aa43c1 JSDoc: Update jsdoc-wmf-theme to 1.0.0
Change-Id: Ibca8da2015bdbcc08817c9852c5cda7c72e07b38
2024-04-30 12:32:58 +01:00
Ed Sanders 373538d206 JSDoc: Add namespaces
Change-Id: Id9a5e2633667786d3bd1c900893007f0ec71a8a5
2024-04-30 12:24:10 +01:00
Ed Sanders 97955431aa JSDoc: Fix some more documentation warnings
Change-Id: Ib5cf7fd8a544d45274935e77b6c64f868e25ac85
2024-04-30 12:00:19 +01:00
jenkins-bot e2f3082466 Merge "JSDoc: Fix event documentation and complex return types" 2024-04-30 09:04:23 +00:00
jenkins-bot bc5fc1b8f7 Merge "JSDoc: Generate external class links automatically" 2024-04-30 09:00:29 +00:00
Translation updater bot aa3c490953 Localisation updates from https://translatewiki.net.
Change-Id: Iccf51107869175a00ef94ec7a29d0c68168ecf58
2024-04-30 09:21:29 +02:00
Ed Sanders 4da1329c02 JSDoc: Generate external class links automatically
Change-Id: I868007533d7042658a1241d777518ecb7e5dcd04
Depends-On: Iae57a314e07bccfeeec11f4a54a9e76252f2f70e
2024-04-29 20:28:13 +00:00
jenkins-bot dd0c173c39 Merge "Update VE core submodule to master (9d641c0f4)" 2024-04-29 19:29:57 +00:00
James D. Forrester fc51a44169 Update VE core submodule to master (9d641c0f4)
New changes:
f654f54a4 Localisation updates from https://translatewiki.net.
dab6ad7d7 General external links for OO/OOJS dynamically
a27e99c9d JSDoc externals: Load config correctly
511dba52e JSDoc externals: Support prefixMapIgnore
9d641c0f4 JSDoc externals: Parse complex types

Added files:
- build/jsdoc-externals.js

Change-Id: Ia62089f656ccf808e9109c130be63ac5004043f5
2024-04-29 19:21:53 +01:00
Ed Sanders afbed7c5b3 JSDoc: Fix event documentation and complex return types
Change-Id: I5dbce39294a34a999303ccfec88261d8c92b17ca
2024-04-29 19:14:26 +01:00
Ed Sanders fd122da6fd JSDoc: @mixins -> @mixes
Change-Id: Ic06b8e058b387f8d683db6273f689694cf416ce6
2024-04-29 18:51:41 +01:00
jenkins-bot f4c7a5418a Merge "Load diff modules in onTextSlotDiffRendererTablePrefix as well" 2024-04-29 17:02:05 +00:00
Bartosz Dziewoński 95edc6010e Remove unused files
Accidentally added in d42a0772bb.
I noticed when one of them appeared in Codesearch results.

Change-Id: I06e3a8802314b6547267293b3d4236a2272fbfce
2024-04-29 18:52:36 +02:00
James D. Forrester b518e55ef9 docs: Replace JSDuck with JSDoc (and pull-through VE with said change)
This is not great, but it's a start (and unblocks other pull-throughs).

New changes:
c401efc98 build: Replace jsduck with jsdoc for documentation
16ba162a0 JSDoc: @mixins -> @mixes
9e0a1f53b JSDoc: Fix complex return types
449b6cc0f Prefer arrow function callbacks
1539af2c8 Remove 'this' bindings in arrow functions
b760f3b14 Use arrow functions in OO.ui.Process steps
57c24109e Use arrow functions in jQuery callbacks
9622ccef9 Convert some remaining functions callbacks to arrow functions
f6c885021 Remove useless local variable
1cd800020 Clear branch node cache when rebuilding tree

Bug: T250843
Bug: T363329
Change-Id: I0f4878ca84b95e3f388b358b943f105637e455f9
2024-04-29 16:16:50 +01:00
James D. Forrester f97b812fb2 Update VE core submodule to f428c59fadb27b0cdd79830eb3db79ccd30b2d82
New changes:
841103234 Localisation updates from https://translatewiki.net.
ed71cf839 Fix rebaser demo to work with LESS
d5b32df6b Use LESS functions for color calculations
3e06b9f21 Localisation updates from https://translatewiki.net.
ea99cd9b3 Use LESS variables for dimension calculations
e34322127 ve.dm.ProtocolServer#welcomeClient: Fix rebaser demo
976c3861b CommandHelpDialog: Remove unused clear:right
f32ab7c9c Remove group property from FindAndReplaceDialog
ff915550d HelpCompletionAction: Allow character skipping in input
40b53053e Localisation updates from https://translatewiki.net.
1cd1b89ef Add langauge->language to typos.json
570674754 Use fast-glob to improve CI performance
e822cc23f LanguageInputWidget: Document that lang and dir can be null
37c482ee4 Fix cursoring off focused block nodes with shift
707da5208 Localisation updates from https://translatewiki.net.
231787a06 Localisation updates from https://translatewiki.net.
0c7642e9f Update OOUI to v0.49.1
9590d6bbc Localisation updates from https://translatewiki.net.
440e63473 Localisation updates from https://translatewiki.net.
c2d7ce249 ve.init.platform: Add #hasLanguageCode
62238cca1 Instruct developers to set FIREFOX_BIN in their environment during setup
836dae588 Use transitionend events instead of hard coding animation time
f52df2ca0 ve.ce.Surface: Use transitionend events
76e93fd07 Make slug animation skin-agnostic
d7fe7b56b Localisation updates from https://translatewiki.net.
e0d43475c Use mutation observer to detect structural deletions
0414276bc build: Updating eslint-config-wikimedia to 0.27.0
0f4edf247 Localisation updates from https://translatewiki.net.
f428c59fa Localisation updates from https://translatewiki.net.

Bug: T131361
Bug: T230323
Bug: T361490
Bug: T362333
Change-Id: Ie74d580fbc7da40a8b8252fbc7f6404a7d57a1a5
2024-04-29 13:05:42 +01:00
Translation updater bot 1cbb6f4a0b Localisation updates from https://translatewiki.net.
Change-Id: I33271eda64265f6d18f146e9bb581dd55c5e27e5
2024-04-29 09:24:31 +02:00
Translation updater bot 2f2bcd85f4 Localisation updates from https://translatewiki.net.
Change-Id: I82f6f6b7dc7266b3d44573708ee6b8b7855c518a
2024-04-26 09:49:22 +02:00
Translation updater bot 0a48bee8db Localisation updates from https://translatewiki.net.
Change-Id: Iddc509b544cf1e6cd73ad556ae818b2dd6cdccbd
2024-04-25 09:18:24 +02:00
Translation updater bot 866b04c1ad Localisation updates from https://translatewiki.net.
Change-Id: I8575e232bca0204888a984ed296da869ec6a5a6b
2024-04-23 09:29:14 +02:00
Translation updater bot 1210543fca Localisation updates from https://translatewiki.net.
Change-Id: I9c7d830c1ec3284d9c3e26c8b544f5cab5380df4
2024-04-22 09:30:14 +02:00