[BREAKING CHANGE] Merge RelocatableNode into FocusableNode

Because everything that is focusable should be relocatable.

Breaking change: RelocatableNode mixin no longer exists.

Change-Id: Ib51741e14619222b5b3e8f80ae542fbf69e58bb5
Don't refocus the document in onModelSelect

If the document needs to be focused it will already be. The extra
focus call can cause unnecessary scrolling.

Bug: 65882
Change-Id: I53963ccf903488a81e7965a12cdcc1cc35d50956
Better measurement of focusable node for context menu

Measure the first visible shield instead of the $focusable
element to filter out zero-height wrappers.

Move all measurement functions to the focusable node for
consistency.

Change-Id: I837997618c46e9f780a22255cf97777b1a0da5a3
Special case for shielding of generated content wrappers

Only shield GC wrappers if they wrap content which can't be shielded,
i.e. text nodes or void nodes (childless nodes such as img or hr).

When we do skip GC wrappers, ensure all the child nodes are wrapped.

Add ve.isVoidElement in the same style as ve.isBlockElement.
Remove ve.isBlockElementType and replace with overloading of ve.isBlockElement.

Bug: 51933
Change-Id: I8a532b20c96dbca77a005aab2f98531365058107
Centre callout on context menu for small focusable nodes

Now that we have long text in the context menu this looks better.

Change-Id: I9ae0850212e4e4c1e0be514543a362231d7577db
Make highlighting of context widget items less loud

Given that prior to switching to the context widget our only hover effect was a change in icon opacity, it seems safe to return to that, given the issues of the alternative.

Change-Id: I01fc44d4f9fd49d69a1fa797f38da72057cc791f
Merge "Make highlighting of context widget items less loud"
Localisation updates from https://translatewiki.net.

Change-Id: If586eb6a74179ffa4805bbb687354dbe48c85e56
Check language's direction rather than global direction in LanguageAnnotation description

We were showing things like "العربية (RTL)" even though Arabic's default direction is RTL.

Change-Id: I4c105fcc6dfb63bb12b05bc8b05b45fc419e6ada
toLowerCase language code when searching for autonym

User may (correctly) type 'en-GB' but autonym indexes on lower case.

Change-Id: I029f50f66a96a407a1102b19ed4cada9580eaa9a
Merge "Special case for shielding of generated content wrappers"
Re-enable apply button in action dialog on close

Instead of on push/pop pending, which allowed a double-click to double-apply.

Bug: 66389
Change-Id: I7612c2d956eaa635d6b97828fc2429ea7c2ea8f8
Merge "Re-enable apply button in action dialog on close"
[BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (9f4f250f88) for window process cleanup

* Change the timing of link inspector setup to work better with changes in
  window process
* Don't open link inspector suggestions on open anymore
* Use window isOpening() and isClosing() methods instead of tracking
  opening/closing status in WindowSet
* Remove fading effect in context menu
* Pre-calculate and use moving state for updating inspector with animation
  only when needed
* Increase inspector ready process delay to be just a little longer than
  the CSS transition, instead of 50 ms short of it
* Update use of closing/closed/opening/open events to use
  setup/ready/teardown events instead

New changes:
bf4ba74 Localisation updates from https://translatewiki.net.
a99acae Remove use of imaginary config option in OutlineControlsWidget
8db7499 Localisation updates from https://translatewiki.net.
7d7b9ce [BREAKING CHANGE] Window process cleanup

Bug: 66016
Change-Id: I2adcdcfb5b4435dfc77b6eadaa0481c8a1fb2699
Rebuild .html files for ContextWidget addition

Change-Id: Ia3d2e75b7cc158b2474534e9ffa915a98ce6bec7
Merge "Don't refocus the document in onModelSelect"
Update OOjs UI to v0.1.0-pre (c5ae888f67)

New changes:
9eec766 Create 'next' and 'previous' indicators

Change-Id: I6fb6e1a121c66d26cd779f351392c0a3d5a140c6
Improved layout of language input widget

* Put 'Find language' in a layout
* Switch out text of button with autonym, give it a fixed
  width and ellipsis overflow for this purpose.
* Given button an indicator to show that it launches a
  select widget.

Change-Id: Icd1eae3a3006b1516f410c4000461ec66b33bcb1
Fix alien demo

mw:Alien no longer works in core, add ve:Alien.

Change-Id: Idfe9c678016b34c8514c469fcf11dc1199cf0e4f
Alien node styling

Set highlight opacity on the $highlights group so it can be changed
for different highlights.

Give aliens the 50% focussed opacity when blurred, and a blue fill
when focussed.

Change-Id: I20c88c8545177f0a70ebc09aa54f845b14874038