Commit Graph

66 Commits

Author SHA1 Message Date
Kartik Mistry
6226f80b81 Update jquery.uls to c9c2056
Changes:
* Localization updates.
* Update language-data to 9a506b9.
* Allow identifying the context of the different ULS panels within one
 app.
* Convert ulsPurpose from a data attribute to an languagefilter option.

Change-Id: I7805ce226b0f8db8545b126c331e2a5915021a3c
2018-03-05 19:00:14 +05:30
petarpetkovic
4425d05455 Update jquery.uls to 9f9327a
* Make ULS more responsive; Take screen size into account when
determining ULS size
* Localisation updates

Change-Id: Ie600559767a18ea2c1c9ee8af7560f8fe1c52f44
2018-02-08 12:08:32 +01:00
Santhosh Thottingal
0c2c273c93 Update jquery.uls to 54a466e
* Change the language icon color to gray and optimize
* Simplify key press event handlers

Bug: T175769
Change-Id: I05cfaf699ed5ddccc781344143886831929cbb72
2018-02-06 10:34:29 +00:00
Santhosh Thottingal
fd7b9ec652 Update jquery.uls to d122f37
* Do not group search results by region
* Replace ULS trigger icon with monochromatic one
* Custom no-results message support
* Upgrade jquery in the example to 3.2.1
* Use .siblings to locate the suggestions, clear elements for efficiency
* Removing assigned ids to elements that are not guaranteed to be unique
* Use eslint and stylelint, fix all errors

Update the language icon in ext.uls.pt module with new monochromatic one
Also use custom style for monobook skin.

Bug: T182539
Bug: T175769
Change-Id: I7341064cd0de367d933048c4800f951568747d11
2018-01-30 15:10:01 +05:30
Niklas Laxström
546d0cd3d9 Update jquery.uls to 34df56f
* Translation updates, including new languages
* Improved styling to match WikimediaUI style guide
* Improved handling of "no search results"

Change-Id: Ic74025dad4b81f0377af217ed6ba2f88264dca2f
2017-09-12 08:23:29 +02:00
Amire80
11b9f07d08 Change "Language search" to "Search for a language"
This is update from jquery.uls to
cc02dabe6e

This brings desktop ULS in line with language search on MobileFrontend.

See https://github.com/wikimedia/jquery.uls/pull/239

Bug: T138235
Change-Id: Iee06898acf9745a3450b1a87d5b67637d34ce1ed
2016-09-13 11:07:29 +03:00
Amire80
f03f973093 Update jquery.uls from upstream
Like Iecec180ca01a40f0333e5b75914dcdb0c390f6b8
but includes also the unbreak fix by Hoo man
( https://github.com/wikimedia/jquery.uls/pull/238 ).

Updating to
d77da03dbf

Bug: T144871
Bug: T138235
Bug: T137870
Change-Id: I0bafd39385148fd09e7793805f698a43a237e204
2016-09-07 13:09:26 +03:00
Catrope
1400354f43 Revert "Update jquery.uls to a9dc11b"
Breaks VisualEditor by throwing exceptions on most key
presses and selection changes, which causes Enter and Tab
to behave very badly in VE.

This reverts commit 3499b0a1b9.

Bug: T144871
Change-Id: I0518b056e6946341cf29eb3f16378702d37086a5
2016-09-07 00:47:01 +00:00
Niklas Laxström
3499b0a1b9 Update jquery.uls to a9dc11b
* Brings new design improvements.
* Also removed some local style overrides in the extension that are
  no longer needed and added new ones.
* Localisation updates

Bug: T138235
Bug: T137870
Change-Id: Iecec180ca01a40f0333e5b75914dcdb0c390f6b8
2016-09-06 11:27:07 +00:00
Santhosh Thottingal
f3b984e4e1 Update jquery.uls to ab3cd92
Important changes:

* Remove region filter module
* Remove jquery.uls.compact.css
* Remove unused methods from jquery.uls.data.utils module
* Localisation updates

Change-Id: If87bd21e19780fa5d90cedb4235854816c4adfba
2016-05-26 13:39:23 +02:00
Niklas Laxström
a19e8c0dba Update jquery.uls and adapt styling
jquery.uls.compact module is kept for now as some other
extensions depend on it. But it does not do anything
anymore.

There are some styles which should be in jquery.uls
upstream, but given the current state that is easiest
done in a follow-up later.

The main change is that language selection is now
compact by default: no heading etc.

Includes style changes for the dialogs, and especially
for the new position of the callout caret.

Bug: T85519
Change-Id: Iade8005439b4f58ab241752f69a5365d8bb88d2c
2016-05-18 11:40:58 +02:00
Niklas Laxström
7ac7b6dde4 Update jquery.uls from upstream to 40e67f5
* 20d5e4 Some cleanup to the language filter
* bf0c55 Remove unwanted script related code in search method

And l10n updates.

Change-Id: Iad1bcf4dca611e2004d9fdec776dce14a5f669b2
2016-04-11 14:34:19 +02:00
victorbarbu
c3078239dd Fix the cancel event function to prevent erroneous close
Changed the conditions for the cancel event function so
that the ULS popup does not close when a descendant element
of the trigger is clicked.

Bug: T122722
Change-Id: I4575804c991b5b597b9eed60f6f0bd6112753e0c
2016-01-01 17:01:57 +02:00
Santhosh Thottingal
bd78bdc996 Update jquery.uls to d4de09ffb94dd9682
* Improve the hide-show logic of ULS

Bug: T114123
Change-Id: If7a23b035edf3117520a9c313997a26c7b6c4857
2015-10-06 10:43:46 +05:30
Amir E. Aharoni
e65202b434 Update jquery.uls from upstream
To github version:
345097a8bd

Show the Common language section only if the list is long enough

Bug: T76196
Change-Id: I6aa0d951657962103c356f6254ab4102e5ee765d
2015-04-08 11:57:23 +00:00
Kartik Mistry
b5db283b39 Update jquery.uls to ffcfdf1
Changes:
* Restore compatibility with IE8.
* Localisation updates.

Bug: T86516
Change-Id: Ia7005416ec769f035b3d6ceb676ec6797bbbc103
2015-02-26 10:20:20 +00:00
Kartik Mistry
e85e70e029 Update jquery.uls to ef6f73b
Changes:
* Construct DOM using jQuery instead of an HTML String.
* Remove empty translation from de-formal.
* Update localisations.
* Make magnifying glass icon clickable.

Change-Id: I32a54589453039504b1cf89a2b88ef39ef9218fb
2015-02-02 01:11:35 +05:30
Amir E. Aharoni
3a124421c5 Revert "Restore support for IE8"
This reverts commit c33ac5fdb4.

This must be fixed upstream.

Merged by mistake.

Change-Id: I0ebf6a80c693e01bdb6eba971f44b9fb402a8f32
2015-01-12 14:13:56 +02:00
Fomafix
c33ac5fdb4 Restore support for IE8
IE8 does not support Object.keys.

Bug: T86516
Change-Id: Ib1a5df6c1660bc30f7b33f1b794a9229ce31cba6
2015-01-12 10:54:22 +00:00
Amir E. Aharoni
ab75302151 Update jquery.uls from upstream
* Added translations to Baluchi, Kurdish and Urdu.
* Localization update for other languages.

Change-Id: Ie674230cff18df79135953bbee2044ec404e47fc
2015-01-06 08:11:58 +02:00
Amir E. Aharoni
1acaf1515f Update upstream jquery.uls to 10777bb
* Don't show region headings in narrow mode.
* Remove the map.

GitHub link: 10777bb25e

Change-Id: I4fcfba5a6ef46d0bda34331c6ea111cdedd157a7
2014-12-22 13:40:18 +00:00
Amir E. Aharoni
dff15dbb5a Update from upstream jquery.uls
Allow configurable panel width instead of
hardcoded 4 columns of languages.

Change-Id: I163d7501598bdf6098a00432f53d56babe10a1a9
2014-12-15 13:37:39 +02:00
eranroz
7865a65bb0 Compact links: Set href for langugage links in ULS panel
Based on jquery.uls upstream version 982e2c32e7b3
https://github.com/wikimedia/jquery.uls/commit/982e2c32e7b3

Bug: 64797
Change-Id: Ia8b2ad22913693d2f88693091d288ca74d7d8c87
2014-09-25 13:40:41 +05:30
Amir E. Aharoni
77fd46e914 Update jquery.uls from upstream
* Add Khakas language
* Fix id for the search box

Change-Id: I331fb7bbbe5ef47f1ae77a1cf600d13004b9c193
2014-06-10 09:52:15 +00:00
Santhosh Thottingal
9ce9fa68b8 Update jquery.uls to 36478fa55a0
* Multiple css selector renaming
* Hide misplaced borders in the compact design
* Fix the jQuery migration warnings for jQuery 1.11.1

Bug: 65400
Change-Id: I4a2542b3b745b8b749845a7e8dbb926dd5c4f0e4
2014-05-22 11:14:55 +00:00
Amir E. Aharoni
771c6cff6a Update jquery.uls from upstream
* Localization added for Belarusian
* Code cleanup in jquery.uls.core.js
* Call proper cancel function on pressing the cancel button
* Remove the unused option menu

Change-Id: I4482c6c63d93bdbc520bf3d505288b4b88c66eab
2014-05-14 12:15:41 +00:00
Amir E. Aharoni
a1cbd5074a Update jquery.uls from upstream
* Fix ota writing system and autonym
* Clean up conditions code in uls.core
* Localisation updates

Bug: 60815
Change-Id: I2c7bfa55e495fcac6d9e2cf747004ee4a0e46475
2014-04-25 18:02:59 +03:00
Amir E. Aharoni
d309b344ea Update uls core from upstream
Change-Id: I8e89431ce1f33da2b46826e9e6669cc214c92a4b
2013-12-01 19:28:19 +02:00
Amir E. Aharoni
21fedbb2cb Update jquery.uls from upstream
Change-Id: I2591f5f8e761f08ef07085f3a73001ec3f84ae36
2013-08-19 10:58:39 +03:00
Santhosh Thottingal
ebdc446a73 Update jquery.uls from upstream
Change-Id: Id8ac99b0ae473272a83c083ac9da0fd25919b0a8
2013-07-08 15:28:09 +05:30
Santhosh Thottingal
44c6b50d84 Update jquery.uls from upstream
Performance improvements by matmarex

Change-Id: Ie89bd56702dec231a8c27f9cf8eeb7bbffe9b251
2013-07-04 16:20:35 +05:30
Santhosh Thottingal
ddd425eb9b Update jquery.uls from upstream
* Improve the scroll to viewport feature
* Fixes Bug 49447

Bug: 49447
Change-Id: Ided6ffdc431ad7278acd501a91cef4a472df1b6f
2013-06-12 06:49:17 +00:00
Santhosh Thottingal
b057531602 Update jquery.uls from upstream
Change-Id: Id91d0551ec329fb6645d3e6c3610ca5f3e8670b4
2013-06-07 14:26:11 +00:00
Santhosh Thottingal
a4c0534e7e Update jquery.uls from upstream
Bug: 47821
Change-Id: Iee1af1341accf8af5a0ec44d7ad8f07c331656ab
2013-06-02 04:59:30 +00:00
Santhosh Thottingal
1248d24fb2 Update jquery.uls from upstream
* i18n update
* Fixes Bug 48151
* Adds Syriac language

Change-Id: I9b77b3eb74ce0050bc854c85e62060855c1268cb
2013-05-24 17:45:37 +05:30
Siebrand Mazeland
0bbdabd5ab Update from upstream
Change-Id: If0e2a166c50b1e6c104cb81f01c42e4f22d43c21
2013-04-26 17:31:21 +02:00
Amir E. Aharoni
2b2477c36c Update ULS from upstream
Change-Id: Ic1bcfb82ad433600ebb4896e303f3cf205d384e1
2013-04-25 15:17:44 +03:00
Amir E. Aharoni
552cd25ae6 Update from upstream
Change-Id: I8affdf79e5a2f33c88f7661082d2cbd7777240fb
2013-04-23 16:03:28 +03:00
Santhosh Thottingal
d4cea039b4 Update jquery.uls and make it more modular
jquery.uls RL module split to
* jquery.uls (language selector UI/UX)
* jquery.uls.grid (Foundation grid framework)
* jquery.uls.data (language database)
* jquery.uls.compact (compact mode ULS)

This contains updates from jquery.uls upstream

Change-Id: Iaddb1228c076f698498d3b0554061624b6e433c6
2013-03-26 07:17:58 +00:00
Santhosh Thottingal
a13f9b739d Internationalize ULS
* Integrate jquery.i18n
* Update jquery.uls from upstream and use the build version

Change-Id: I523444b1f6b177f14a4799a455a16a14649b0e1b
2012-09-23 13:12:45 -07:00
Santhosh Thottingal
5b728ec413 User region names instead of region codes
* Till i18n is in place, use a workaround to show region names in
  English

Change-Id: I6e14ab67600ad32263f04eb0aa6b931177425e5a
2012-09-09 07:50:16 +00:00
Santhosh Thottingal
df34d47723 Fix Bug 39096 - Narayam compatibility with ULS
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
 background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime

Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30
Santhosh Thottingal
b7d61c3607 Fix Bug 39930 - Common languages not always shown in the Worldwide region
Change-Id: I764af7ad88cf79e9e07b96f899f352ad3082df45
2012-09-06 14:15:05 +05:30
Santhosh Thottingal
bad1394c6a Fix the broken region links in 'noresults' screen.
It was commented out in some previous commits.
Also correct the region code of America from NA to AM

Change-Id: I6cec2560393134de1190291e1f49bc0ac4280af0
2012-09-05 18:15:45 +05:30
Santhosh Thottingal
dd3d214cb5 Misc jshint fixes
* Move the invocation into the parens that contain the function.
* unescaped regex
* Do not wrap function literals in parens unless they are to be
  immediately invoked.

Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487
2012-09-04 16:02:28 +05:30
Siebrand
65f63a143b Merge "Fix Bug 39926 - Australia region inconsistent visibility" 2012-09-03 16:39:54 +00:00
Santhosh Thottingal
97cbd51b49 Fix Bug 39922 - The "No results found" view lacks suggested languages
noresultsview is part of uls.lcd now, moved the html template too.

Change-Id: I9aee0ab1b62e61c3ec0e2c89f7d07b7a4432ef33
2012-09-03 19:31:41 +05:30
Santhosh Thottingal
9354d197d3 Fix Bug 39926 - Australia region inconsistent visibility
Removed AU region, using PA instead.

Change-Id: I088baf7de6d0c0d52a0cf42a159b6d3339793dcc
2012-09-03 18:44:25 +05:30
Niklas Laxström
64c26ad137 Initial version of geolocation support
Change-Id: Ia1a18ac336131520bbc67f52194f4aa9c547ea67
2012-08-30 15:36:51 +03:00
Santhosh Thottingal
fde6b18e40 Lazy loading of regions
Also adds landing page feature. But candidate list is hardcoded
for now. Example html file updated.

show method of lcd renamed to render.

Introduced a trigger searchclear
Introduced mw.uls.changeLanguage, setPreviousLanguages
getPreviousLanguages and getBrowserLanguage methods

Region groups re-numbered - from [4, 1, 2, 3] to [1, 2, 3, 4].

Change-Id: Iac1edf628708e6f40e41578df70d40c42f15289a
2012-08-30 14:26:57 +03:00