Commit Graph

164 Commits

Author SHA1 Message Date
Kartik Mistry
4dfbcdc1f1 Update version before MLEB release
Change-Id: I17115957cf975bda2d2f7c5716d2941d84710616
2016-04-06 13:07:04 +05:30
Fomafix
cd58ac2f18 Use mw.Api.plugin.options to set user options
This requires MediaWiki version 1.25+.

Change-Id: I3a76b0b4ec403b3acdc29e64b0c750a3b57e252a
2016-02-15 14:13:13 +00:00
Ed Sanders
ce3f9e5358 Disable ULS on VE focusable nodes
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
2016-02-07 19:56:18 +00:00
Kartik Mistry
6e28dd3485 Update version before MLEB release
Change-Id: I5d87945a163c79df7f4a31b3e69def69aa57e8d9
2016-01-29 10:45:29 +05:30
Ed Sanders
b745fe4f6c Use background-image-svg mixin for SVG/PNG fallbacks
Change-Id: I00266b088b16fa749f3ee59d9ce4890ed025c887
2016-01-25 18:35:39 +00:00
Florian
00349ab0eb Register ext.uls.eventlogger conditionally
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
2016-01-25 14:53:32 +00:00
David Chan
c68cc74f39 Remove disablement of jQuery.IME on VisualEditor surfaces
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
2016-01-24 08:43:04 +00:00
Ori Livneh
02fe8719dc Only use jQuery.tipsy for undo popover
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
2015-11-11 13:46:35 -08:00
Niklas Laxström
46f75c2cee Sync resource loader deps in extension.json and Resources.php
Added missing mediawiki.Uri to ext.uls.displaysettings, exposed
by the desync.

Change-Id: I1556ad7488ff76b89c20a8f784dd519e12e29dc4
2015-10-27 15:51:00 +01:00
Santhosh Thottingal
9fed40b83b Set default value of ULSMobileWebfontsEnabled to false
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
2015-09-29 10:57:47 +05:30
James D. Forrester
9afbea2914 Use jQuery.i18n from MediaWiki core if available.
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
2015-07-23 15:33:42 -07:00
Santhosh Thottingal
71e8c91d3e Add two hooks entries missed in extension.json
Bug: T105795
Change-Id: Ic53d79f7d8f7277e0768c1e461ae5d33c997a444
2015-07-14 14:32:33 +00:00
Niklas Laxström
8a7bccc5ce Set ULS_VERSION when using extension registration
This unbreaks Translate and CleanChanges who depend on the constant.

Change-Id: I8bfb9e2aaeb77351beefb130f71daeee4e07afae
2015-07-07 21:28:09 +02:00
Santhosh Thottingal
c3322ba830 Migrate to JSON configuration based extension registration
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
2015-07-06 16:42:51 +00:00