Commit Graph

50 Commits

Author SHA1 Message Date
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
Santhosh Thottingal
743665d9f6 Update jquery.uls from upstream
* Multiple bug fixes
* UI changes
* More i18n

Change-Id: I1efc702262ad64b4b37742b343c9ca31dd3c574a
2012-11-11 12:50:49 +05:30
Amir E. Aharoni
22c20f9dbb Update from GitHub
Utils refactoring
CSS lint
bug 39932: Clicking twice in a region moves the focus to the Worldwide region

Change-Id: I7853700a077db8de7dbe3c57fd71b829784f2fe6
2012-10-08 11:41:39 +02:00
Amir E. Aharoni
a0aae6d1b9 Update from GitHub
RTL and other bug fixes

Change-Id: I8d9040a1c140f0ff8f3dd430ff33f9602895f4fe
2012-10-07 17:19:20 +02: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
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
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
pginer
70b0dc79fb Fix to allow using the ULS when it is bigger than the viewport
Small fix that make global scrolling to affect the ULS (using absolute positioning instead of fixed).
It solves the problem behind bug 39414 without the need for making the window draggable.

Change-Id: Icc3ca81c4b48040b38a5efb42422bdb53e0e2422
2012-08-31 12:16:11 +02:00
pginer
7b15032626 CSS adjustments on color and sizes
Small adjustments on color to make it compliant with the Agora palette,
cross-browser gradient code added according to CSS WMF guidelines, and
adjustment of element sizes.

And whitespace and new line cleanups

Change-Id: I08890009eff9ed5edec77855467529eb07eaeb57
2012-08-17 17:23:39 +05:30
Santhosh
7ab6960645 Merge "Fix bug 39417 - Scrollbars appear for ULS regions" 2012-08-16 09:27:44 +00:00
Niklas Laxström
ea47df33e0 Two RTL fixes
* WW can flip sides, other regions not
* Display settings icon now changes side and doesn't overlap with text

Change-Id: I35a6c93448a8dd178e657ba25093cf77199227c8
2012-08-16 08:57:16 +00:00
pginer
eb9ea46496 Fix bug 39417 - Scrollbars appear for ULS regions
Modified overflow property to avoid vertical scrollbars.

Change-Id: I93fdb98207348e8b105c223f3d4518b8bbed9bee
2012-08-16 10:46:37 +02:00
Siebrand Mazeland
72d2519c4d Fix some issues pointed out by IDE.
* Update .gitignore to ignore .idea.
* Removed unused local variables.
* use local context and Message class instead of deprecated wfMsg* methods.
* Remove redundant px in CSS where possible.
* Combine CSS statements where possible.
* Replace b by strong.

Change-Id: I9d5ed7b7ce585a1c101044254bcbdfc33d42afc1
2012-08-15 17:32:49 +02:00
pginer
a4ee53b827 CSS fixes for colors and size consistency
Small CSS adjustments to:
* Reduce ULS vertical size to adapt to the 8-row layout.
* Use more contrast in colors to better comply with WCAG.
* Add overflow properties to regions in map to avoidlong texts to overlap.

Change-Id: I0498f68e32b978f2e1d8c2d4c5e788c71483590d
2012-08-15 14:24:53 +02:00
Santhosh Thottingal
1a10318acb Implement visual language grouping in ULS
Added a utility callback function to sort languages by autonym.
Added CSS fix for group separatos.

Change-Id: I73c7c6518a85e4ea7999be3ef92a121e877610e8
2012-08-07 13:42:20 +05:30
Niklas Laxström
13403af261 Fix the map in RTL, again
Change-Id: Idde206fd968757cacf778ba41140b99e7f322cc7
2012-08-07 06:41:14 +00:00
Santhosh Thottingal
878313d2ec Rearranging Files
* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.

Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
2012-08-03 12:24:04 +05:30