Get the HtmlDocument in a different way that doesn't involve
ve.init.target.
For page (non-Flow) MW VE, I checked that it yields the same result.
Bug: T103176
Change-Id: I54bdf4f29f6acf4359be45b5b2ddfd23b5835c34
All link input/title input functionality has been moved to core, so
we can replace the link widget, redirect widget and template search
widget with it.
Depends on Ib463e60cad96 in MediaWiki core.
Change-Id: I452f3b86ead403307072cf904f0553c9771f4300
New changes:
a9bcaad Localisation updates from https://translatewiki.net.
1fc7638 Follow-up a9bcaad: Re-fix the build by adding the new 'luz' language
2b34805 Localisation updates from https://translatewiki.net.
b4dcdf8 Update OOjs UI to v0.11.6
Change-Id: Ibdff2d103b2795948cfa2f45a374b70620c71f93
New changes:
08f9fe5 Update OOjs UI to v0.11.5
7b7b3d8 Localisation updates from https://translatewiki.net.
Change-Id: I4cff595e24d29b0552848cd5fdc0ecb8b7d13fab
This module is required in order to alienate all extension blocks
by default. Otherwise they are interpreted as plain divs which
allow content editable.
Bug: T103455
Change-Id: I08f6b9a516ba6bee6ed18256222108116eceee1e
This is a hacky fix, we should find a better way of telling the
model registry that language annotation loses to certain RDFa types.
Bug: T101977
Change-Id: I8be3aa55cbbc2832b8a02a15de27289b3041967e
New changes:
05c0293 Allow DM-identical range changes to cause a rerender
409fb99 build: Add explicit dependency upon grunt-cli
f1fd489 build: Update grunt-banana-checker to 0.2.2
1441659 Language annotation fixes
395d402 Localisation updates from https://translatewiki.net.
b3582c4 demos: Fix fatal "Debounce undefined" error in eventLogger.html
a6b8aea build: Configure jsonlint
8c92404 Follow-up 8dc8b266761d: if whitespace stripping empties an annotation node, drop it
Change-Id: Icd9b31b51c2c5f043967257a218afff4886302ca
When loading VE by clicking Edit on a view url, this naturally
works (we temporarily append our query, and remove it when ready).
When loading VE from a permalink (e.g. Open in new tab) or any
other source linked from HTML pages, then we're not in control
over adding the query (it's already there); we're only in control
over restoring the view url afterwards.
Bug: T102363
Change-Id: I4912ff1c6b28ac987517760ffed481a4cd3bd1ca
In the MediaWiki API, booleans exist or don't exist (with an empty string),
you can't check "if (bool)..." since that will always be false. The API has
a newer formatversion=2 that fixes this but we're not using that yet.
Also update the defaultSource placeholder to match the API response. If one
would only update defaultSource without the 'if'-fix, one can reproduce T66822
on a local wiki (JSON-P request instead of JSON).
Bug: T66822
Change-Id: I5a8ab1136325c33c62982c0869fa14ca2fb26034
Previously, it failed in WCAG contrast ratio tests. To make
it pass, font size has been slightly increased and color
has been darkened.
Increased the line height to match increased font size
Bug: T100017
Change-Id: I073ca96c64d5e3af3c01936d34e9e83e9384b4b5
New changes:
3368c4c Remove some assumptions about the state of the context
79918af Move contexts to subfolder
820eaec Tests for some drag/drop functionality
e5f0e3e Convert CE surface tests to use a mock UI surface
c81dbcf Localisation updates from https://translatewiki.net.
7561ff3 Create a mock UI surface that only contains a model for model-only action tests
ad60333 Convert test timings on APIResultsQueue from seconds to milliseconds
b52d7df Table cursoring tests
3f8e821 Localisation updates from https://translatewiki.net.
9c737df Update OOjs UI to v0.11.4
5befc34 Stop using deprecated aliases for OO.ui.mixin.*
Change-Id: Ida6d4ba724686d8189975c55a18c4a6c2cfe4875
This change is for compatibility with Iee61e5b527 in MediaWiki.
This patch increases the minor minor version number due to said requirement.
Change-Id: I0ac775ca286e64825e31a9213b94648e41a5bc30