mediawiki-extensions-Visual.../modules/ve-mw
Thalia 9307fa7095 Add error element to MWLiveExtensionInspector
As part of the plan to render extension errors in the
inspector instead of the view, append an element to
contain the error. More specifically, the element is
a div that contains a LabelWidget (in which the error
message is displayed) and a ButtonWidget (to expand
and collapse the error).

Initially the error element is hidden, but if Parsoid
returns an error, the element will be shown. If the
error is longer than 1 line, it is truncated but can
be expanded. On closing the inspector, any remaining
error is collapsed and hidden.

Depends on I6002d9870d2b to work

Bug: T113172
Change-Id: Ie84130d4ac0da9a738bf98ad0a3677d47566d585
2015-10-05 00:22:22 +01:00
..
ce MWExtensionNode: Fix selector to find dimension-less images 2015-10-02 14:18:13 +01:00
dm MWExtenionNode: Ensure objects are deep copied when used in the hash 2015-10-01 15:57:49 +01:00
i18n Localisation updates from https://translatewiki.net. 2015-10-04 22:20:56 +02:00
init Hack to stop logging edit events for non-desktop targets 2015-10-01 23:48:10 +00:00
tests Localisation updates from https://translatewiki.net. 2015-10-04 22:20:56 +02:00
ui Add error element to MWLiveExtensionInspector 2015-10-05 00:22:22 +01:00