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
Instead of just assuming we're in /wiki/. That might be OK for VE core
and external links, but not for internal MW links.
Bug: T85619
Change-Id: I53d7fed63a66e3c72d4c8fd66cd1f85fb10a2e55
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