* Don't insert/update/remove nodes on cancel in MWExtensionInspector
* Don't forget to popStaging on cancel in MWLiveExtensionInspector
Bug: T110992
Change-Id: I1e30206595e304eb502c7e745bf5e00d145d12d7
Implement a special node type, context item, and inspector for
ISBN/PMID/RFC magic links. Add buttons to the link inspectors
to convert back and forth between "simple" links, and magic links.
Depends on I5d000d8b63dafdfe0a2753069d3f0ac5b03b8829 in Parsoid
for clean round-tripping of localized ISBN magic links.
Bug: T63558
Change-Id: Id5b7a2ae3c80b0e5eed598f0bd024d3e94f7e9aa
New changes:
62cf769 Store find and replace toggle states in user config
Local changes:
* Register new visualeditor-findAndReplace-* options
Change-Id: I5934882f25614bd79488fff7e8fa0af5ede0af38
New changes:
fdf0756 Localisation updates from https://translatewiki.net.
686f1cc tests: Use model-only surface in ListAction test
4b5ede7 tests: Reuse test view in paste tests
14a0f11 tests: Re-use example surface across surface view tests
94105a7 Localisation updates from https://translatewiki.net.
b505daf Follow-up 94105a7: Fix build for added language 'en-ca'
83c5ca4 Platform: Add user config methods
Change-Id: Ic24413beac9bc0f454ba1e077e5f4f1ef210640d
New changes:
138a7f8 Fix focusable mouseout
e09bf84 AnnotationInspector: Only show 'insert' when content is to be inserted
56aba4b Clear query when regex is invalid
9a96112 Localisation updates from https://translatewiki.net.
284cadf Check surface is visible before trying to render fragments
ff259df Localisation updates from https://translatewiki.net.
Change-Id: I870f100b537992a690e9da8dc3b01b16aafe0f68
This requires https://gerrit.wikimedia.org/r/214351 in core, which adds
support for emulating the RESTBase v1 API to the
ParsoidVirtualRESTService.
$wgVisualEditorPrefix is now deprecated. Parsoid is configured using
VRS (preferred) or $wgVisualEditorDomain, which defaults to
$wgCanonicalServer.
This bumps our MW-core dependency to 1.26wmf21.
Bug: T110780
Change-Id: I9175ac8db8310f0c9574c8272b5e39932557d57e
Add a parentDoc parameter to the MWImageModel constructor and use
it to inherit language, direction and HTML document. Remove
getLang(), setLang(), getDir() and setDir() whose only purpose
was to propagate the language and direction from the parent document
in a hacky way.
Also add a parentDoc parameter to newFromImageAttributes(), replacing
the lang and dir parameters. Remove the unused and ill-conceived
caption parameter.
This causes caption documents to always have an HTML document
for URL resolution. Previously, this worked when editing existing
images because a document generated by cloneFromRange() (which
propagates the HTML document) was passed into setCaptionDocument(),
but it didn't work when creating new images.
Bug: T109599
Change-Id: Ida36862092cd779ffc2f04c0ecbc1164f8d71453
Add a parentDoc parameter to the MWReferenceModel constructor and use
it to inherit language, direction and HTML document. Remove
getLang(), setLang(), getDir() and setDir() whose only purpose
was to propagate the language and direction from the parent document
in a hacky way.
This causes ReferenceModel documents to always have an HTML document
for URL resolution. Previously, this worked when editing existing
references because the newFromReferenceNode() code path calls
cloneFromRange() which propagates the HTML document, but it didn't work
when creating new references.
Bug: T109599
Change-Id: I5d9d34d4343be8428318fa0b795fa54c110e34f4
New changes:
39bde8f Localisation updates from https://translatewiki.net.
1594ab6 Update OOjs to v1.1.9
e35bb54 Update OOjs UI to v0.12.6
6140eb6 Don't using start selection to position context for focusable nodes
81e5876 Localisation updates from https://translatewiki.net.
9123d3b [BREAKING CHANGE] Remove ve.selectEnd()
Change-Id: Icd1899b9e28bb12ab789f727a3f428b09a05fffb
New changes:
4344098 Increase width of desktop context, inspectors to 400px
0970f8a Refactor surface config compilation
58c0491 Put spaces between multiple links when pasting
9d13857 Localisation updates from https://translatewiki.net.
bf76dd7 LanguageInspector: Make the widget use one line for language
Change-Id: I79688eaf55547af8749230f589427df7ded5bcb0