Add 'clone' and make 'getDimensionsFromValue' static in ve.dm.Scalable

This is the first step to making sure that editing images is done
without affecting actual dm nodes. Make sure the scalable can be
properly cloned; also, make getDimensionsFromValue a static method
that can be called for calculations without having a scalable instance.

Change-Id: Icd5c37f0df5d6c89a9befcbfdeaf26ce15ab7108
Switch to 'custom' when MediaSizeWidget updates

When the user changes the dimensions in the MediaSizeWidget make
sure the 'custom' option is invoked for validation and event
propogation.

Bug: 67684
Change-Id: I88c3f3dcc7667b3ffdd2a8a8433cb47b82ba1531
Prevent deletion of focusable nodes by typing

Bug: 67177
Change-Id: I2d6dbe7a544717f1a643db7cfc853bdb4bbe9d7d
Localisation updates from https://translatewiki.net.

Change-Id: Ic340eec579a7f901b3ee8b3a7e63c453b28c97d7
Remove lies from documentation

Change-Id: I28d57afba967f58a7a8beff561acf42b2b77f1c7
Safely ignore requests to open unrecognized windows

Change-Id: I892f7ff43a7fd7c78be071986ccf3a7119dd1ace
Merge "Remove lies from documentation"
Merge "Add 'clone' and make 'getDimensionsFromValue' static in ve.dm.Scalable"
Merge "Switch to 'custom' when MediaSizeWidget updates"
Update OOjs UI to v0.1.0-pre (97dbb50137)

New changes:
54460ce Prevent disabled tools from stealing focus
436ac66 MenuWidget: Add option to specify an extra widget for mouse events
e67bb70 Localisation updates from https://translatewiki.net.
a2ba412 Mellow out the shadows being applied to dialog content
085d3a5 Split toolbar demo in two and add action button demo, with labels
dfd5100 Allow FieldLayouts to have help text
5f30488 Localisation updates from https://translatewiki.net.
d544ffe Remove useless documentation, add more useful documentation
e93e7cd Get OOUI working with mobile again
eb6c68b demos: Add LTR/RTL switcher to icons demo
4b874d4 Use SVG check icon

Change-Id: Ifbfe396f6154cdc0f1946977a8cab3f2312768b4
Merge "Prevent deletion of focusable nodes by typing"
Bring back global/local specific CSS classes

This way we can target them individually.

Change-Id: I26782282d172d5ec3f484932157f4c67e3a19a91
Fix-up mobile context and surface

* No longer adding context to local overlay (will be added to toolbar in vemw commit)
* Pass overlays into window managers
* Construct overlay in the correct frame (top-level one)
* Remove animation of context (for now anyway)

Change-Id: Iafe64a6f4e5c83554be27a60b3b7b2536bf3298d
Add special case for up/down arrow key on focusable node

Previously we just ignored these keystrokes, but we can use the
same temporary cursor fix we use for backwards IE selections.

Change-Id: I2a0bf8672fa2201e98a740a9b2141a9d1bd56755
Fix for cursoring into focusable nodes with up/down

Due to Chromium issue 394728 it is possible to end up inside a
focusable node by cursoring up/down, and possibly in IE too.

Change-Id: Ife00f839d1e88a670d15c4251e4c26968ad00b78
Localisation updates from https://translatewiki.net.

Change-Id: Ifba7119ae6649955ed57826ac74691b93ab33fab
Update context menu according to stricter rules

* Connect to onContextChange instead of onModelUpdate
* Never emit context changes while staging

Change-Id: Id5d1dbb367d6e4e34d70bc8dd668b08bf928e4cd
Ignore staging events in CE surface

This prevents the document from stealing focus while live
editing a node.

Bug: 67326
Change-Id: If03a200ceadf16adffea497ca511d49bc687c31f
Round up height of language inspector widget

Change-Id: If47c66b93af16f65d177d4578d4f0676427b3394
Localisation updates from https://translatewiki.net.

Change-Id: I7d18b05f35da4a513229b8eb52c262031776b288