New changes:
776e801 Delimit text nodes in debug observations
72643bc Remove debug bar hiding now it is handled by the surface
cf1e167 [BREAKING CHANGE] Multiple surface support and demo
Local changes:
Account for detachable toolbars in core being setup in a different order.
Change-Id: I29156948711d55ba5f6dd4f6c35ca0e4cca32373
This doesn't quite tell us about the user's first interaction with
VE (if they open a dialog, for instance, it could be minutes before
that results in a transaction), but it's a good start.
Bug: T76524
Change-Id: I6bac987332802d7363ed65a471b2b1ece67086d8
New changes:
26f44bc Refactor out trigger listening to allow target and document triggers
Local change to register the file for TriggerListener from VE core,
Change-Id: I16316b71d67b872358a8d7b685a33ce3dc066614
New changes:
fc4af20 Fix filibuster expansion bug
3feadb2 [BREAKING CHANGE] Refactor for multiple surfaces
Local changes:
* Use target.getSurface now that targets can have multiple surfaces
* Remove debug bar code now surfaces manage their own
* Remove import rules code now implemented in base target
Change-Id: I18d6f9f2f36431959d31347b4c1952a1aca1350e
Make sure all surface widgets have documents that are initialized
with the direction of the parent document, so the alignment is set up
correctly.
Bug: T71969
Change-Id: I6e5f003e18a9c5808d9a4b148eddf0d0f7e29e67
This API doesn't have the ability to track any other data
in addition to a name and a duration in milliseconds, so
we add the target name ('mwTarget' or 'mobile') to the
event name and discard all other data.
Change-Id: I25ae0243f8983142d7755b65b05c18d5df36a253
New changes:
3672954 Follow-up Ifa89a85e: Use '0' not '0px'
0cc0830 Normalize split text nodes correctly
c921dab Localisation updates from https://translatewiki.net.
3d1029b Trim whitespace when annotating
Change-Id: Ia5837dfb93b4eef76c32415462222bcfcfa6df3a
Instead of doing a whole new parse for displaytitle, just get it from
the same API action=parse internal request that is used for returning
the content HTML.
Also escape entities as in OutputPage::setPageTitle(). The format of
OutputPage::setPageTitle()/getPageTitle() is a bit confused -- it's
mostly treated as HTML, but Article::view() sets it to the unescaped
title text -- a historical error which was unfortunately wallpapered
over.
Change-Id: I387c1ccd9a75f9c6c6a006d83235c6c1c3d1ecb5
Move reference style hack to MWReferenceNode.css, and move
heading style hack to ve.init.mw.Target.css
Change-Id: Icbd53f8df998c9f7bcc701b7c29dc226dfc5c05f
* Move styles that apply to all targets to ve.init.mw.Target.css
* Move styles for MWPopupTool subclasses to ve.ui.MWPopupTool.css
Change-Id: I34c8a6200ee337debf00c4e432948f1b86f1b60a
It's good that we're not trying to close the save dialog
if it's not open, but we still need to release our reference
to it in that case, otherwise trying to open the save dialog
in a new incarnation of the editor will fail.
If you opened VE, opened the save dialog, closed it,
went back to read mode, opened VE again, and tried to open the
save dialog again, it would fail because it tried to open
the cached reference to the previous editor's save dialog.
Bonus: prevent JS errors in this case by only attaching an
onClose handler if the dialog actually opened successfully.
If opening the dialog failed, the callback parameter isn't
a promise but an OO.ui.Error, and calling .always() causes
a JS error.
Change-Id: I62d6d3e7cd3df2c29a0c99e2e23bf1aac5187a12
New changes:
c027917 Regular expression find and replace
50ca51f Fix the src attribute for non-debug chimeras
0f0ae08 ve.ce.TestRunner: Fix copypasta in JS documentation
c3a26f8 Localisation updates from https://translatewiki.net.
c477adf Track state properly at the end of an event loop
Change-Id: I4e38607d82b57063d05c0a275b0a15b0147bca6c
New changes:
9145f1a Use String#slice instead of discouraged String#substr
a3b7fe4 bin: Update update-unicodejs.sh to parity with update-oojs.sh
d475ba6 Localisation updates from https://translatewiki.net.
af4b395 Localisation updates from https://translatewiki.net.
Change-Id: Ie2615f54c4aa48aaab39229e6169953f721620dc
Aside from the confusion and differences between substr() and
substring() and IE8 bugs with substr(), substr() was removed from
the spec as of ECMAScript 5. It's been standardised in the
optional Annex B section of ES5.
Change-Id: I221ef6ae6956ce20dd9bb74510500f747d04c3b1
New changes:
5e60f12 Ensure clipboard key is removed from paste target
32397d8 Update OOjs UI to v0.4.0
Local changes to compensate for new OOUI version, and updated wfUseMW call.
Change-Id: I005f7b23a36e04f1305d4aa037c19a5c7db9a699
Use model HTMLDocument when parsing transclusion nodes and their link hrefs
As well as mobile, this also covers the issue I found in /w/index.php?veaction=edit
See also T76374
Bug: T76379
Change-Id: I07c9ba0adbcee32f7eb2ca280d3a1d46e963d28f
New changes:
c6e298f Localisation updates from https://translatewiki.net.
c5f083a Update IE detection to include Edge
aa026f0 Localisation updates from https://translatewiki.net.
543c929 Ignore enter key when no results.
8be322b Fix find and replace highlights in RTL
144c9ac ve.ce.Surface: Remove use of deprecated OO.ui.Element#onDOMEvent and #offDOMEvent
3ae9ba9 Update UnicodeJS to v0.1.2
b173384 navigator.appVersion -> navigator.userAgent
e9991c9 Papaparse update per https://github.com/edg2s/PapaParse/pull/2
461176e Localisation updates from https://translatewiki.net.
Change-Id: I7a3fed99a2559efe071ed515cb0b0d4ae627d05e
canonicalQueryValue can be null at this point, so let's not insert it
into an array that contains strings.
Bug: T76868
Change-Id: I8096a9c1017e883d28124bf807d2d375ae98452a
New changes:
f033911 Only run showSelection if one of the command successfully executed
381aee1 Remove ve.instances
df0f7e5 Rerender ContentBranchNodes when the selection anchor leaves
27d7517 Check the selection is in the correct surface
40101e4 Use a chimera instead of  in inline slugs
Change-Id: I6af416ccc99c42e0595f0a52dbb348c710ea7e73
New changes:
5eb7294 Find and replace
123a6ad Find and replace tool
557f70f Go backwards through find and replace results on shift enter
4a4ed81 Allow language widget to filter on available languages
Local changes to adjust.
Change-Id: I15e14d6d3c7ee60e465baf3a4df7572851cbca3e