Commit graph

20949 commits

Author SHA1 Message Date
Ed Sanders c360e550de Fix incorrect uses of context
Change-Id: Ib8b2dd12db567e9373b633c5c7a0b2990c638d97
2024-05-01 14:10:32 +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
Translation updater bot 47ba4af5b5 Localisation updates from https://translatewiki.net.
Change-Id: I91a54fe86fe8555efe24d56dee3623f79542ed38
2024-04-19 09:48:05 +02:00
jenkins-bot 18bda66e98 Merge "Drop support for ES5" 2024-04-18 15:20:31 +00:00
Ed Sanders 906380212a Drop support for ES5
This was done to VE-core last year in Iedfac56c1.

Change-Id: Ic439cfafc772136cabec10b0b3bb6aaa51e28b91
2024-04-18 15:09:49 +01:00
Translation updater bot 03541b55b5 Localisation updates from https://translatewiki.net.
Change-Id: I78f9762700dd081f5b0c53cdb0755ae5d6699aed
2024-04-18 09:21:40 +02:00
Ed Sanders a913f2fc5c Fix selector for TemplateStyles exclusion
The <style> tags can also have data-mw-deduplicate instead
of just data-mw.

Bug: T298147
Change-Id: I63adf1f9bda3f299bba846cd65338a6f0d6c4288
2024-04-17 14:19:12 +01:00
Translation updater bot d002633861 Localisation updates from https://translatewiki.net.
Change-Id: Ie7fc0ceb0617c24829714e0a0a25b9f8860fc09e
2024-04-17 09:29:03 +02:00
Ed Sanders 58f56c0418 Delete MWConfirmationDialog
Despite its generic name, this class exists just for the
template dialog and does 3 things:

1. Provides generic accept/reject override messages
2. Provides a new function signature when the prompt
   and success callback are passed
3. Focuses the delete button

(1) and (2) can be provided by a local helper function.
(3) should be implemented upstream, although given this
was done to prevent users taking destructive actions
accidentally I'm not sure why this should be overridden
here.

Change-Id: Id5aa018310eded7a3552a182d19ca16b040abcbd
2024-04-16 14:46:23 +01:00
Translation updater bot 8046b5e766 Localisation updates from https://translatewiki.net.
Change-Id: I153f64686d567e252a683cf34957527abdb04b4f
2024-04-16 09:29:14 +02:00
Translation updater bot 3953e0d85c Localisation updates from https://translatewiki.net.
Change-Id: I9e06480f75e7c79b8dd3b3d1f89dab7fa2876bf6
2024-04-15 09:29:07 +02:00
Translation updater bot 132a8845a4 Localisation updates from https://translatewiki.net.
Change-Id: Ic24b36676c1e122aff5dd51904bafd8ccd5c1a8e
2024-04-12 09:43:05 +02:00
Translation updater bot 0a524fc59a Localisation updates from https://translatewiki.net.
Change-Id: Id22d74d3e935195accc5cc6f933726a1cb412663
2024-04-11 09:22:22 +02:00
Translation updater bot 6501c27ee2 Localisation updates from https://translatewiki.net.
Change-Id: Id2eaf3976cd4345a0fc91e814b8bc7731472bda6
2024-04-10 09:21:46 +02:00
Translation updater bot e49b10bcef Localisation updates from https://translatewiki.net.
Change-Id: Id58f10846d84883a8b50bc991f1e8833a26a11f0
2024-04-09 09:28:30 +02:00
Translation updater bot cec6316af9 Localisation updates from https://translatewiki.net.
Change-Id: I8804a6da34578a671c6549a0f2dfc4cc08ad381f
2024-04-08 09:27:29 +02:00
Ed Sanders 2de778b053 Load diff modules in onTextSlotDiffRendererTablePrefix as well
onDifferenceEngineViewHeader doesn't always run.

Bug: T361775
Change-Id: I4723155f05b23e1c1e35c6f19ab209e5a2b20d74
2024-04-05 13:12:48 +01:00
jenkins-bot 2d8b8f8c84 Merge "Revert "[DNM] Add …-toolbar-open class after toolbarSetupDeferred resolved"" 2024-04-05 08:39:40 +00:00
Thiemo Kreuz (WMDE) 835a8aff6d Revert "[DNM] Add …-toolbar-open class after toolbarSetupDeferred resolved"
This reverts commit 5a54315fc2.

Reason for revert: Merged by mistake. Probably doesn't hurt, but
doesn't help either.

Change-Id: Ic38f1f0b0628968888763f15c85ef3a2f4a9890f
2024-04-05 08:19:00 +00:00
Translation updater bot 9f2595bf92 Localisation updates from https://translatewiki.net.
Change-Id: I84a9ff0a0e5f5285eca9df665984c174d531b9be
2024-04-05 09:39:14 +02:00