Commit Graph

261 Commits

Author SHA1 Message Date
Amir Aharoni
78884e87b2 Update jquery.uls from upstream
Return an empty array if there are no languages in territory.

Addresses T265158.

Updating to
9a1f5c0e5a

Bug: T265158
Change-Id: I36f69a2007791a4469eff6415eedbaecc3f60f70
2020-11-16 13:32:50 +02:00
jdlrobson
61e66598b5 Update jquery.uls
https://github.com/wikimedia/jquery.uls/commit/967eec093edb153f4fdd0e5e4

Updates:

1) Always send event when triggering onSelect
The $.uls function in jquery.uls.core in createLanguageFilter passes the
onSelect function to the $.fn.languagefilter so the onSelect there should be
made compatible.

2) Removal of png images no longer needed for old browsers.

Bug: T261973
Change-Id: Ie316cc627178dde15d22607b2099d0da96dd6fda
2020-11-05 17:06:23 +00:00
Amir Aharoni
c2ff179d5e Update jquery.uls from upstream
* Localization updates: az, mn, ti, tly, udm, yue, zgh
* New localizations: mnc, mni
* Update language-data: fixes autonyms for Altai languages, redirect for cbk

Updating to
5b615109ea

Bug: T263717
Change-Id: I039a9e629305bc930e772f69fb5350f34e202be9
2020-09-29 12:27:48 +03:00
Amir Aharoni
e5fbdb89b9 Update jquery.uls from upstream
* Localisation updates: bci, yue, awa, bs, kab, pt, ti, tly, tr
* Add languages:
** Altai (alt)
** Obolo (ann)
** Northern Altay (atv)
** Baoule (bci)
** Nuxalk (blc)
** Mara (mrh)
* Update autonym for Madurese

Updating to
d4b728ee12

Change-Id: I49b8795ecaa928001c7d3fee6c0cad9f8822616e
2020-07-25 16:04:57 +03:00
Amir Aharoni
28510ffa79 Update jquery.uls from upstream
* Add Vertical Mongolian (mvf) and Madurese (mad)
* Update Portuguese localization

Change-Id: Ie6affb9d1061557eda28661539c354e346043d51
2020-05-26 12:14:06 +03:00
Amir Aharoni
558f6dbb2e Update jquery.uls from upstream
* Localization updates
* Update language-data: https://github.com/wikimedia/jquery.uls/pull/362

Updating to
9d8b9cb69c

Change-Id: I05933fe0711075e9f3f54f10d09087115d38e0d7
2020-04-28 17:43:51 +03:00
Amir Aharoni
c9e9619826 Update jquery.uls from upstream
* Localization updates
* Update Kildin Sami autonym

Updating to
d97c2e9d8d

Change-Id: I5ce4a1d3ee5f67d13fe3c79da190dfde1e678d5f
2020-04-07 14:14:54 +00:00
Kartik Mistry
379fafb400 Update jquery.uls from upstream
Change-Id: I92fea922a6f8cabe4c4f6c74e87f393f0ec7f719
2020-03-09 11:57:14 +05:30
Amir Aharoni
ed42b4a6c3 Update jquery.uls from upstream
* Localization updates for af, ksw, nqo, ti

Updating to
186c342617

Change-Id: I32b987d87a6568d87ec012c6f49cc82509a532bc
2020-02-13 13:47:44 +02:00
Santhosh Thottingal
f39d684103 Update jquery.uls from upstream
* Localization updates
* Update language data
* Remove IE6/7 support

Updating to
9a0e73bc68

Change-Id: I18ae8fe756ba21b06e6292651889309924fa9ee8
2020-01-06 11:54:04 +05:30
Amir Aharoni
8f87957a91 Update jquery.uls from upstream
* Rename ais to szy
* Add shy-latn
* Localization updates

Updating to
783ee39251

Change-Id: I23f43a7204a18c5a3b4a77f7ca1e8dbccc8071ab
2019-11-26 22:20:37 +01:00
Amir Aharoni
95912d438c Update jquery.uls from upstream
* Update linters

Updating to
d53beca719

Change-Id: Ia7886a13fc17e27344280449d0377e0fa5d0d9f5
2019-11-21 11:33:28 +02:00
Amir Aharoni
5425ac76aa Update jquery.uls from upstream
* Add languages: Bajau (bdr), Cakma (ccp), Jeju (jje)
* Add Aragonese as a language of Spain
* Localization updates for bg, fa, fit, sd, tt-cyrl
* Rename code ais to szy

Updating to
c4f0fdab15

Change-Id: I2972dacee47c7a89fc9109c44c1cc7d268a3bde2
2019-11-12 16:10:08 +00:00
Amir Aharoni
a1ad81ad1c Update jquery.uls
* Localisation updates
* Add Osing
* Change autonyms for Banjar and Sunda

Updating to
e79ea4b4e6

Change-Id: I3b96680fbf3abde65a94700d959b7381c2ba385c
2019-09-03 15:35:05 +03:00
Amir Aharoni
86d39b0f54 Updating jquery.uls from upstream
* Localisation updates.
* Updating language-data:
** add awa, mrv
** update min, mni, sju
** Add support for the Meitei script

Updating to
0d0bd11860

Change-Id: Ibb837101d28a317cbdc560e05a6e03188e15e125
2019-08-29 14:36:09 +03:00
MarcoAurelio
2b1d17ac9a Update jquery.uls from upstream
Summary of changes:
 - Added Khakas (kjh) language.
 - Localisation updates.

Upstream commit: f959eb2730

Change-Id: Ia58894c64fa06a46e256eece4a001e4544466920
2019-07-10 11:54:45 +02:00
Amir Aharoni
0bf89d1934 Update jquery.uls from upstream
* Update icons
* Update autonyms: ban, gcr, hyw, jv
* Add languages: ksw, pov, rej, vai
* Localization updates

Updating to
6f6d72d575

Change-Id: I47c2c17ae8ad970c53ff1f75de31915616146e31
2019-05-21 13:24:08 +03:00
Amir Aharoni
6c9f718058 Update jquery.webfonts and jquery.uls from upstream
* Minor spelling corrections in jquery.webfonts code.
* Localisation updates for cop and gcr in jquery.uls.

Updating jquery.webfonts to
e00b689399

Updating jquery.uls to
db3a8b3703

Bug: T212075
Change-Id: I47737da480334986e6fdde9e930242b8e05f64c1
2018-12-17 07:45:03 +00:00
Amir Aharoni
ec3241f5ea Update jquery.uls from upstream
* Localisation updates for many languages.
* Don't cut-off language names vertically (by Volker Eckl).
* Fix eslint issues (by Kartik Mistry).

Updating to
d9fece1a15

Change-Id: I186fa19c91323a20d86c7881191022f48b2deb7f
2018-12-04 16:20:49 +02:00
Amir Aharoni
2e0eaca6de Update jquery.uls from upstream
Updating to https://github.com/wikimedia/jquery.uls/commit/248e43a7
* Localization update for nap, tly, zgh
* Update language-data

Change-Id: I877298d03394d3dea21235a67a311538a1fe849b
2018-09-03 11:13:20 +00:00
jhsoby
fb01a543ef Update jquery.uls from upstream
* Localisation update for gcr, my
* Add Bunun (bnn)
* Add Fang (fan)
* Add Garhwali (gbm)

Updating to
c4323800df

Change-Id: Ib798aeaa3982a86f106aa03f2d9eaf5ddc2ed23c
2018-08-07 14:21:38 +02:00
Amire80
a71c0b528c Update jquery.uls from upstream
* Localisation update for gcr, gn, km, ps, sd
* Update spelling of Latin American Spanish and Fon autonyms
* Add Kaqchikel

Updating to
37651ed7c1

Change-Id: I51ddcd90343a9555af571c6e326ad685d4475cf1
2018-06-24 22:12:09 +03:00
petarpetkovic
fa5e448b17 Update jquery.uls from upstream
* Replace jQuery.proxy() with Function.prototype.bind()
5dfca5fd8a
* Fix onInputChange being called twice
44bd07f038

Change-Id: I1de1c95d31cd8f5f8500d5f175cc54573cb0763f
2018-05-30 09:18:48 +00:00
Amire80
4270e993ea Updates jquery.uls to upstream
This makes the functional change of grouping languages in each
region by script group.

Updating to
2c1b2dd1b8

Bug: T189090
Change-Id: Ia0947e2ac6601ddc2da2448bff3a47af12f2fcac
2018-05-22 17:56:35 +03:00
Amire80
220e340df0 Update jquery.uls from upstream
* Add the Fon language to language-data
* Update localization for gcr

Updating to
4088411430

Change-Id: Ic6291c7c5d14c31a650d43c1a179fb6f57c88491
2018-05-18 19:05:51 +02:00
Amire80
b8243c5d27 Updating jquery.uls from upstream
Updating language-data:
* Add gor and btm
* Update autonym for brx

Updating to
f4f2808f49

Change-Id: I8200f53998f2fcb0e922284ab02317c5d4a9366c
2018-04-30 11:28:18 +03:00
Amire80
2bf4ad7217 Update jquery.uls from upstream
Updating localization for gcr and nn.

Change-Id: Id7befe76260ebc151cc79bd1690ce7823c3c079b
2018-04-25 14:15:36 +03:00
Amire80
8e4411a98c Update jquery.uls from upstream
Updating language-data.

Add the following languages:

* Northern Ndebele (nd)
* Okanagan (oka)

Update autonyms for the following languages:

* Kurdish (ku)
* Korean (DPRK variant, ko-kp)

Updating to
78a0b4bf78

Change-Id: I849ba68d099735ab12fc23a890265603d60955c3
2018-04-02 13:35:49 +03:00
Amire80
18b99ee358 Update jquery.uls from upstream
Updating to
31696b4074

Changes:
* Set maximum length of the search box to 40.
* Fix event object passing in language selection (Bug T189582).
* West Armenian localization.
* Credits update.

Change-Id: I1a5c70fea849a7e217b02cdf740ada0050a9f822
2018-03-26 18:09:51 +03:00
Amire80
b36b70826f Update jquery.uls from upstream
Changes:
* Hebrew localization update
* Send full event for lcd click events (to allow Ctrl-Click, etc., in CLL)
* Send a single argument for no resuts event trigger

Updating to
798e200b56

Bug: T179402
Bug: T189582
Change-Id: Ib86fd5c6ae77f4f69ba1f7dc43143a77fe399fad
2018-03-15 18:24:04 +02:00
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
Santhosh Thottingal
8706925f5f Update jquery.uls to 8c32f06
* i18n for the noResultsTemplate

Bug: T187390
Change-Id: I557555e83b06b48e071b5b59c9dcd73c5dbeee21
2018-02-16 13:49:55 +05:30
petarpetkovic
e4f6b4e3b6 Update jquery.uls to 4cb4fe2
* Fix search for languages with redirects
* Use Array.prototype.indexOf instead of $.inArray

Bug: T178996
Change-Id: Id0ac6233544f827ca69c5ebd4965532d6dbf3227
2018-02-08 16:48:07 +01:00
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
453a4458e6 Update jquery.uls to 3161b34
* language-data update: Add Western Armenian to known languages
* Stop rendering languages twice on initial display
* Style adjustments for no-results
* package.json: maintenance updates
* Localisation updates

In addition to the jquery.uls update, this patch contains local
style customization for no-results view as specified in T175235.

Bug: T175235
Bug: T185086
Change-Id: I51645554413dbaa80e02fec8f9115f4de409fb06
2018-02-06 08:17:20 +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
Kartik Mistry
0eb9c20fa0 Update jquery.uls to 2601f8e
Changes:
* Localisation updates.
* Update language data:
  ** Make Spanish available under the Oceania region
  ** Add the Kumyk language

Change-Id: I53a27dcd3a9ef57a4a7b7b989df6c2bb556c0d2c
2017-12-20 12:37:07 +05:30
Kartik Mistry
a8cb31a937 Update jquery.uls from upstream
* Localisation updates only.

Change-Id: I77d7f5aa907f4498ddcf5f890a826e51fcee3d76
2017-12-05 16:48:09 +05:30
Niklas Laxström
c2f0e297f5 Update jquery.uls to 98fff1b
* Translation updates
* Change for SVG background image styles
* Use searchAPI always when provided

Change-Id: I5a90d76d5acc1939cc7b670df43c4ea3347dfcb3
2017-11-29 14:11:17 +01:00
Amire80
766873cf23 Update from upstream
* Add localisation for hoc
* Update localisation for af, de, kab, ne, ur
* Update langdb

Updating to
bf8d0aa09a

Change-Id: I8f011dac6cde53f85c90790534c0947e779abf94
2017-10-16 12:19:19 +03:00
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
49e64de4d2 Update jquery.uls from upstream
* Localisation update for ro, sc
* Redirect skr to skr-arab in langdb
* Add the Coptic language

Updating to
80a08de072

Change-Id: Ib79cf2e79afa4ae5a5139b619a827294b78142e7
2017-07-22 14:29:37 +03:00
Amire80
a541083b93 Update jquery.ime and jquery.uls from upstream
* Change ckb autonym to "کوردی" in ime and in uls langdb.
* Add Ho language (hoc) and Warang Citi script to uls langdb.
* Localization update for ca.

Updating uls to
6e07d913bd

Updating ime to
f59576143f

Change-Id: If55e4834849312df20fefbea4b193ad89dc96268
2017-07-11 09:13:16 +03:00
Amire80
4d759868f9 Update jquery.uls from upstream
Updating bs localization.

Updating to
68e3f6682d

Change-Id: I4e8c23b685b2a2500f86fa7c7e172b6066fd1e28
2017-07-03 13:26:45 +03:00
Amire80
32bc02f2ac Update jquery.ime and jquery.uls from upstream
jquery.ime:
* Add Gothic keyboard
Updating to
d96604c208

jquery.uls
* Update localization for English (UK)
Updating to
056ff3f5b3

Change-Id: Ied0f1c56590e0e669dcbfc56f5e592c57190155e
2017-06-21 18:32:31 +03:00
Amire80
aeabe06c97 Update jquery.uls from upstream
* Localization update for Chechen
* Made all autonyms unique. See https://github.com/wikimedia/jquery.uls/pull/265
* Fix tkr autonym

Change-Id: I6c80b28dacaeb26cc158e6c8e715d1f04122b9f9
2017-06-13 08:25:02 +03:00
Amire80
6e06729a16 Update jquery.uls from upstream
Add the Xibe language (sjo).

Updating to
b8ebc26bac

Change-Id: I725b2daa05aa79de6f81ca4a9d70a5be37e259ce
2017-06-05 14:33:51 +03:00
Amire80
b0c34752b0 Update jquery.uls from upstream
Add languages byn, dag, doi, gaa, tig to langdb.

Updating to
841aedb7a9

Change-Id: I19f4dcbc4d4a43d243b23ab18e098db57a6305b7
2017-06-01 13:23:59 +03:00
Amire80
d4b3c9e7b8 Update jquery.uls from upstream
* Localisation update for af and yi
* Added for languages: es-ni, nod, ovd, skr-arab

Updating to
68de8e928f

Change-Id: I9898f3f8015139293326c3e5ba6e4fb218c162d4
2017-05-29 22:39:01 +03:00