Commit Graph

66 Commits

Author SHA1 Message Date
bwang
330853765d Remove padding-left from .uls-trigger
This padding appears to be unnecessary. It's overridden in Vector 2022 & legacy Vector, and doesn't seem useful in Monobook as well.
It would be helpful to remove because it overlaps with the Codex button styles

Bug: T336526
Change-Id: I6a991600f8826fbeb09c7afb0c4cea4ebfd5cdd5
2023-06-14 11:25:10 +00:00
Wangombe
0f9fa2154a Update jquery.uls from upstream
Updating to
940228e2db

Bug: T318633
Change-Id: I36afd49b310fadbf5a5a8e84cf9dc7b33702f241
2023-03-16 04:55:05 +00:00
Abijeet
742d0d9241 Update jQuery.uls to add support for up/down navigation of languages
Some localisation changes are also included.

Bug: T187964
Change-Id: I7d9554c9a4e2b18c805c9ef9b916c3961ae9c32c
2023-01-18 12:17:05 +00:00
Amir E. Aharoni
5ed3c44512 Update jquery.ime and jquery.uls from upstream
ime:
* Add keyboards for Bura (bwr) and Kanuri (kr)
* Change internal names for mul-cm and mul-bf.
Updating to
c2086d2a83

uls:
* For language links, use full space in <li> elements
  (resolves bug T308688)
* language-data update: add bwr and kr, change kr autonym,
  remove tg-cyrl from Pakistan.
Updating to:
9584756187

Bug: T308688
Change-Id: I58badc067e9789173103378f7eaf38189315df70
2022-06-13 10:38:35 +03:00
Amir E. Aharoni
a682cd3f59 Update jquery.uls and .ime from upstream
jquery.uls:
* Localisation updates.
* Change font-size unit from px to em
  See https://github.com/wikimedia/jquery.uls/pull/408
* Update language-data:
  See https://github.com/wikimedia/jquery.uls/pull/412
* Minor internal JS code cleanup for eslint.
Updating to
fe46a2f7ce

jquery.ime
* In API calls, accept langCodes that have no input methods
  See https://github.com/wikimedia/jquery.ime/pull/460
* Add a layout for the General Alphabet of Cameroon Languages
Updating to
ac21ea1b4a

Change-Id: I2be4ee30f649f6a906e776c37afa0ebdf2dc454f
2022-02-08 17:05:09 +02:00
Niklas Laxström
6ac655fa9f Update jquery.uls to 835947c
* Remove explicit widths from dialogs
* Updated search icon

Change-Id: I8be38f4854b1f7f9181e974fbb10247d89f64153
2021-03-18 10:03:53 +00: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
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
95912d438c Update jquery.uls from upstream
* Update linters

Updating to
d53beca719

Change-Id: Ia7886a13fc17e27344280449d0377e0fa5d0d9f5
2019-11-21 11:33:28 +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
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
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
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
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
Niklas Laxström
2a6b4d0fc2 Show badges in ULS language list
Update jquery.uls to ae9dda23b71aa76fbbc13f5650

Bug: T131233
Change-Id: I7c7bafccc7d63c0a97c98b81a5b53b48c9afa527
2016-06-09 15:12:39 +05:30
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
02f87ff4ec Update jquery.uls to 5ceba61
New search icon + image compression

Bug: T132424
Change-Id: Ibf32682e46978484ec3967ec71385b523e38c076
2016-05-03 10:29:23 +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
Santhosh Thottingal
4f4e0a2427 Update jquery.uls to 7b3cd3d885
* Fix: search using API does not respect the passed language list
* Remove the reference to map block

Change-Id: Id777102a7c8e0575599b27c64839faf170dde003
2016-04-06 15:41:38 +05:30
Santhosh Thottingal
74de11e73d Update jquery.uls to bd78c24
* Add left and right padding for search header of compact ULS
* Support language codes that are redirects
* Localisation updates

Change-Id: I52215676f20b2ce87178a73d071a209f0e4e323c
2016-04-06 09:42:09 +05:30
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
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
f67b21bd85 Update jquery.uls from upstream
* German localization update.
* Removed redundant prefixed CSS rules.

Change-Id: I1fe46b7d37d4809d5dd2748d9003a4db40e53364
2014-03-31 20:56:32 +03:00
Kartik Mistry
80a8a465e9 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Optimize all SVGs.
* Bug 60815: Add rwr and ota to the languages supported by ULS.
* Drop -moz-linear-gradient for images.
* Localisation updates from https://translatewiki.net.

Change-Id: I3455db4ec0b9ffd8f0a29d41e8ef56309e9c59d2
2014-02-20 17:59:20 +05:30
Ori Livneh
f7066d4d2a Apply /* @embed */ pragma to every image, not just the topmost in each block
/* @embed */ is scoped to the rule immediately below it, not the entire block.

Change-Id: I862b01e6bb70a53904b8264872f08d1bc1b073c1
2014-01-17 19:21:52 -08:00
Santhosh Thottingal
01acd4cc94 Avoid grid overrides in jquery.uls
Updates jquery.uls from upstream

Change-Id: I0009039aa9a71bb61f5f62ed4de10d83838d9abf
2013-11-06 07:11:14 +00:00
Santhosh Thottingal
5aa1198417 Remove the Autonym font from the lib/jquery.uls
Followup I10b8658e29c03b136b4475c4c69ace33e5628a98

Change-Id: I25992159fd5b999cfa0e4861196850d36eb5890e
2013-11-04 20:02:16 +05:30
Santhosh Thottingal
c197309810 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Reduce data size of uls language data a bit by using unescaped unicode
* Move the autonym font to example instead of making part of jquery.uls
* Use attr and prop consistently in jquery.uls.lcd.js
* Remove unnecessary object instance from jquery.uls.lcd.js
* Avoid 'recalculate style' by changing classes conditionally while
scrolling the language list
* Remove non-existing "-ms-linear-gradient"
* Localisation updates

Change-Id: I10b8658e29c03b136b4475c4c69ace33e5628a98
2013-11-01 09:57:48 +00:00
Santhosh Thottingal
63a0dd5666 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls/

Changes:

* Update Autonym font
* Code formatting fixes
* Localization updates
* Language autonym correction and language additions
* Performance fix for region selector

Change-Id: I1da30aa31ad8a4fe430a12fef05c4e6b54fc6648
2013-10-23 20:33:14 +05:30
Santhosh Thottingal
007d7358c5 Update Autonym font
Downstreaming a48123ef1e

Change-Id: Iad60bfda7fea2c228754b3eb619dda16b8cfdfa5
2013-10-20 11:28:37 +05:30
Santhosh Thottingal
52ead2aa41 Use Autonym font for language autonyms
Updates jquery.uls from upstream autonymfont branch

Also contains an example html page which can be used
for testing the font

Change-Id: Ia702ba1df91701df67160d973a0caaa72511c743
2013-10-17 14:40:40 +05:30
Santhosh Thottingal
a4c0534e7e Update jquery.uls from upstream
Bug: 47821
Change-Id: Iee1af1341accf8af5a0ec44d7ad8f07c331656ab
2013-06-02 04:59:30 +00:00
Amir E. Aharoni
943ac6bc6a Update from upstream
Change-Id: I7675edf85004272d63d0129c3a29034e6015ad16
2013-04-12 17:46:54 +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
fc7578abb1 Update jquery.uls from upstream
* Compact mode
* Close ULS when clicked outside

Change-Id: I9cece8cde025ff2816ac8f908c425347c15f7490
2013-03-15 14:58:10 +05:30
Santhosh Thottingal
9acff7e9b7 Update jquery.uls from upstream
Change-Id: I3d9cfad170afe09ae78ca2f739606a0e23d7b3fb
2013-03-06 15:58:32 +05:30
Santhosh Thottingal
3a46fb9da1 Update jquery.uls from upstream
Change-Id: Ib965e43f987436ddaa398b43c71e1ad25183f1d5
2013-02-18 06:35:09 +00:00
Santhosh Thottingal
34f5104cb7 Update from upstream
* Use svg icons when possible.

Change-Id: I87f89678f48d50ab9a214726f957a50cfeef670c
2013-02-08 10:15:38 +05:30
Santhosh Thottingal
067deaf42f Update jquery.uls from upstream
* Move settings to the bottom of language selector
* more locallization

Change-Id: I4bb17692469f4c19703b8d90b30ce1c002a81310
2013-02-06 16:30:33 +05:30
Santhosh Thottingal
4701f930c9 update jquery.uls from upstream
Change-Id: I5d043ab57eb05ee061ef5508cd5180d1dade19f2
2013-01-07 16:17:30 +05:30
Santhosh Thottingal
ff54d8ac13 Update jquery.uls from upstream
Contains CSS grid changes

Change-Id: I064304d0727c9a050935793c44588c6eb93c00b4
2012-12-04 11:07:28 +05:30
Santhosh Thottingal
9a6f1cfd93 Update jquery.uls from upstream
* UX fixes
* More localization

Change-Id: I9f0345cbd4b785f4293ab02fe0006df5c7377cd1
2012-11-21 17:34:51 +05:30
pginer
73bb7015c8 CSS fixes to match the style modifications of jquery.uls
The style rearrangements of jquery.uls (to avoid CSSLint warnings)
requires some fixes on the extension.

Also update the changes from jquery.uls

Change-Id: I607f7778e620a398ce8648c21c594a3505ec0816
2012-11-20 16:33:32 +05:30