The user isn't supposed to type when a focusable node
is selected, and the overlay renders in the top left
corner of the screen.
Change-Id: I52a7947175b4be235f77eaf0e02cebd542f8e500
The ext.uls.eventlogger module is now registered depending on
the configuration variable $wgULSEventLogging. This will prevent
the Structuretest Resourcetest to fail, if EventLogging isn't
installed on the test system (like on my jenkins environment :P).
Change-Id: I1e2545492ec04fb043638765ac42f09da89813e9
The compositionstart trigger in ContentEditableEntry#replaceTextAtSelection
causes ve.ce.Surface#handleInsertion to run, and this appears to be all the
VisualEditor integration we need. But if we later decide we need custom
TextEntry class, see the earlier revision at
https://gerrit.wikimedia.org/r/#/c/264577/3 .
Change-Id: Iad6a6eccccdf2ec9822cf7df0f0ace7a95b6bea8
Per discussion on Gerrit about previous patch-sets in this change, only use
jQuery.tipsy for the undo popover. This means that in the common case (i.e.,
the user has not just changed languages), the ULS tooltip will be system native
tooltip.
Change-Id: I9206a79d59687930c26b7ef86d29bfba050691fe
The default value of ULSMobileWebfontsEnabled is supposed to be false
as per I488e411232a1192.
And it is false in UniversalLanguageSelector.php. But in extension.json
it is true by mistake. Must be a mistake from c3322ba830
Bug: T113983
Change-Id: Ia817b0550ae1777417ef646939810c879e87608d
This allows other extensions to use this too, without needing a hack to detect
ULS's existence and work around it by not loading their copies of j/i18n code.
Preserves backwards-compatibility for archaïc versions of MediaWiki.
Bug: T95666
Change-Id: I25b33437ceddb60570322b9aa51844acc42a3e32
Retaining the UniversalLanguageSelector.php and Resources.php
to avoid breaking support for old MW versions. At some point,
we can validate how many old MW versions we need to support.
Bug: T87987
Change-Id: I006e968b70298b54013177aa792a4dfdf5b6aae2