New changes:
c5df99d3a Remove remaining assert.expect's
593b09992 Localisation updates from https://translatewiki.net.
14a29056c Follow-up 593b099: Add 'lfn' language to build to unbreak the repo
faba29bde Fix cursor position when adjacent to a nail
9854cc88c Sanitize message body in standalone using DOMPurify
52bd0592b ve.dm.Change: Store DOM node arrays as single strings
Local changes:
Add sanitize module
Bug: T197723
Bug: T197894
Change-Id: I572f5bcc80175cc50ef176efb961c9b10b38c7f0
New changes:
71baf1c02 Create an 'htmlMsg' function for HTML messages with HTML or DOM arguments
9a7af223e Use ve.htmlMsg to highlight values in attribute changes
a1fd90540 DiffElement: Refactor describeChanges tests
Local changes:
Implement getHtmlMessage in mw.Platform and use for DiffElement
Bug: T195243
Depends-On: Ib4ad16858e4241d33d018830dbcfded63ff703af
Change-Id: Ib5fa39e4f2f529948354b03a141542e23d169fe0
New changes:
a7c0f6474 Ignore meta items when computing slug positions
1bce430b6 Prevent null being treated as "object" with typeof operator
437892531 ce.FocusableNode: suppress left clicks within the focusable element
00a559a16 Replace assert.deepEqual's with more appropriate tests
Bug: T196921
Bug: T197139
Bug: T197659
Change-Id: Ia3c02961e86a1051245467ed9115c41c4d4cbc1f
Not checking this results in handlers blocking click actions for "read" after
the teardown of the target.
Bug: T197445
Change-Id: I3a962c66c82a0e48ca54bf2f0b822a9a005da54c
New changes:
e29c854d2 Localisation updates from https://translatewiki.net.
cb61bb674 Remove description of 'style' attribute change on a 'span'
625548143 Move ToolbarDialog's open/close triggering of updateState to ve.ui.Toolbar
a4608fe53 Debounce toolbar update
Bug: T197569
Change-Id: Ifda0a53e35e1314d1a792fd49635e3bf1f990ff0
Previously, we changed it on every load, which also occurs when
switching editor modes. That caused it to not be restored when editor
was closed.
Bug: T197490
Change-Id: Icb20c38309fd440553d5245d865b05145542313f
Besides redirects, API can return from-to title pairs for normalized and
converted titles, as well.
Currently, doing an API query on eswiki for page info (prop='info' in params)
with titles='User:Title' returns normalized title 'Usuario:Title'.
processResult() method in ve.init.mw.ApiResponseCache.prototype.processQueue
sets page.title ('Usuario:Title') in cached results, and the promise for
actual queried title ('User:Title') gets rejected in rejectSubqueue() method.
Change-Id: I33fd4640b6eac8018e35c6fe21234f4c469dd97d
New changes:
c414d3b44 Localisation updates from https://translatewiki.net.
fccd20b10 Converter: Don't try to apply attributes to non-node elements
d40a2d7ff FindAndReplace: Use the same tab index of items that are in correct DOM order
9401ddc3e TabIndexScope: ignore aria-hidden outside the tab scope root
fb5c6337a Use 'title' config option instead of 'iconTitle'
bb49c6fee bin/update-oojs.sh: Update for upstream movement of /dist files
30865fcfe Update OOjs to v2.2.2
Bug: T197185
Bug: T197250
Change-Id: I75880efe33ca69b7e0596ecb4c732cf09c9cd5dd
This way the tooltip is shown on the entire button, rather than only
on the icon. One should only use 'iconTitle' to display a different
tooltip on the icon than on the rest of the widget.
I think this was caused by bad documentation in OOUI, which I'm fixing
in I967d9b78014b3754720e80da9c4785124fffc2ba.
Change-Id: I8cc99bcfca56b80a8c8aff609ba48eb3f9c5ed7f
New changes:
fea37bcd2 SourceSurfaceFragment: Use own insertContent function inside insertDocument
Bug: T197091
Change-Id: I43d21731f974ed63a71a52b2b87ea7cd9aec742e
This adds in missing functionality, such as deactivating
the surface selection while the dialog is open.
Change-Id: I0d8652a989504a35e5c235224b0ef924b6dcbeed
New changes:
a52e2ee1f Never store ve.debounce in prototype
eebbbfb30 DiffElement: Add test for full list replacement
443a8df59 Separate out list, leaf and tree diffs
8667e76ea DiffElement: Tests for new list diff functionality
5d9dd0391 Don't compare images with different src's
2723de16a Follow-up I125969a: Replace $.closest with $.parents + $.addBack
835442985 VisualDiff: Add test for add-simliar-and-indent
Bug: T184977
Bug: T187632
Bug: T196753
Bug: T196914
Change-Id: Iadea61960dfc91bceedef85087701978fa5028c4
This essentially creates a static debouncer, so if you have
multiple instances calling that method at the same time, only
one of them will fire.
Change-Id: I4c257b557e87f5638b459811655a14b8625de2e3
New changes:
d1b8a4141 Simplify conversion of images
e614bc70d Update OOUI to v0.27.3
b88f42a59 Refactor document drag/drop to use copy/paste methods
89220c69e Change image diff tests to use 'alt' instead of 'src'
bbb82023d deepEqual->strictEqual in modelRegistry tests
b6524e7a2 ModelRegistry: Prevent double registration
Change-Id: I1d7304091be256323f081810fe4e13cf8495dc0e
New changes:
24e35e428 Factor out synchronous part of updateInvisibleIcon
7be1fc898 FocusableNode: Move getModel teardown check to updateInvisibleIconSync
6fe97c9f1 Performance improvements to compareElementsUnannotated
dfa42c223 Demos: Use SVG with well defined natural size
c2886b57b eslint: Enable qunit/no-assert-equal,no-early-return,no-negated-ok and enforce
4ca5a4088 eslint: Move qunit/resolve-async exceptions inline
eda91bd38 eslint: Move qunit env flag to test config
ce2983e52 Update OOUI to v0.27.2
e333fe327 Localisation updates from https://translatewiki.net.
3cb400800 ce.Surface: afterPaste should always remove ve-attributes
Bug: T196254
Bug: T196380
Bug: T196479
Change-Id: Ie7ce1fefdcede8eb61b722d8308ec9ee9b3bd1e3