Amir E. Aharoni
da9a849b42
Show the Common language section only if the list is long enough
2015-03-14 00:48:18 +02:00
Amir E. Aharoni
b6a30c3d44
Restore support for IE8
...
IE8 does not support Object.keys.
https://phabricator.wikimedia.org/T86516
Copying the patch from Gerrit:
https://gerrit.wikimedia.org/r/#/c/184316/
2015-02-26 10:46:35 +02:00
thiemowmde
5e1a17c78c
Make magnifying glass icon clickable
...
This makes the magnifying glass icon (search.svg) clickable. Clicking focuses the input field next to the icon, which is the expected, helpful behaviour in my opinion. This is especially helpful with the "compact links" beta feature where the input box is completely invisible and the only remaining indicator that the user can type something is the blinking cursor. If the focus is lost for some reason, this patch allows the user to click the magnifying icon and re-focus the input field again.
2015-01-30 12:05:35 +01:00
Prateek Saxena
0973ddf299
Construct DOM using jQuery instead of an HTML String
2015-01-26 09:26:57 -08:00
Santhosh Thottingal
3469f31235
Remove a dangling comment line
...
Change-Id: I7106f64b553e167554424e9a3d8687d22d8e4f82
2014-12-23 15:23:45 +05:30
Santhosh Thottingal
10777bb25e
Remove unused region filter reference
...
Change-Id: I130e03bb7ea8bf24e6681fdd8a329c25941ca035
2014-12-22 16:40:20 +05:30
Santhosh Thottingal
107621319d
Reduce the title height by moving close button to same row
...
Change-Id: Id5af0c0bc5654f4ef7decf4712d8eb46ef70933c
2014-12-22 16:39:44 +05:30
Santhosh Thottingal
f417707d67
Remove the unused code to sync region highlight on scroll
...
Change-Id: Id779c25237584f90ab9132fe24f6cbade1b58da7
2014-12-22 16:38:03 +05:30
Santhosh Thottingal
499c30d0ea
Merge branch 'uls-remove-map' of https://github.com/santhoshtr/jquery.uls into santhoshtr-uls-remove-map
...
Change-Id: Ie59e2a59225873b5cf432df526cbfc135e539d32
2014-12-22 14:51:46 +05:30
Santhosh Thottingal
b0d8d0ae6a
Merge pull request #170 from amire80/auto-width
...
Select the menu width automatically
2014-12-22 11:16:53 +05:30
Amir E. Aharoni
f44302106b
For narrow ULS show one column without separators
2014-12-22 11:09:48 +05:30
Amir E. Aharoni
6d72638d6f
A more explicit support for valid columns number
...
Only 1, 2 or 4.
2014-12-15 11:27:44 +02:00
Amir E. Aharoni
f21f103de3
Simplify getMenuWidth()
2014-12-09 13:57:03 +02:00
Amir E. Aharoni
3c93da564c
Select the menu width automatically
...
A follow-up to https://phabricator.wikimedia.org/T76196 .
2014-12-09 13:18:21 +02:00
Amir E. Aharoni
dd59d4d0c8
CSS tweaks for narrow ULS
2014-12-04 00:39:57 +02:00
Amir E. Aharoni
b55bc61dc7
Grid-compatible adjustable columns
2014-12-02 22:16:09 +02:00
Amir E. Aharoni
752a295ee2
Allow sending the number of lcd columns as a parameter
...
This is needed for https://phabricator.wikimedia.org/T76196
and may also nbe useful for many other features.
2014-12-02 13:23:22 +02:00
Amir E. Aharoni
c6e26c4a4c
Update the Arabic script autonym for aeb
...
This is consistent with
https://gerrit.wikimedia.org/r/175972
2014-11-26 12:40:25 +02:00
Amir E. Aharoni
987acc1996
Change smn back to lowercase like other Sami languages
2014-11-25 21:18:42 +02:00
Amir E. Aharoni
8cdb2262f9
Update langdb JSON with the latest yaml changes
2014-11-16 17:44:50 +02:00
Niklas Laxström
982e2c32e7
Merge pull request #159 from santhoshtr/decorator
...
Add decorator option for language links
2014-09-25 10:30:15 +03:00
Santhosh Thottingal
022efabf38
Minor formatting changes
...
Change-Id: I3ffd7029165ff614c13000b333ed30d3874fba28
2014-09-23 16:16:44 +05:30
Santhosh Thottingal
a8afed3972
Update ULS data with latest supplementalData.xml from CLDR
...
Change-Id: I30d302374c784b7baeb99150a1c53d14bab4123c
2014-09-22 14:01:36 +05:30
Santhosh Thottingal
7346469e20
Add decorator option for language links
...
Callback function to be called when a language link is prepared
Can be used for custom decoration.
Arguments:
(a) the $language - the language link jQuery object
(b) languageCode
The function can do any styling, changing properites etc on the passed link.
See examples/decorator.html for example usage.
Change-Id: I5a67654440a07cf7dfac683e22dcb5000ded0bfe
2014-09-22 12:32:05 +05:30
Amir E. Aharoni
b345da64af
Change the autonym for Algerian Arabic
...
The incubator at https://incubator.wikimedia.org/wiki/Wp/arq uses
the Arabic script and this name.
2014-08-07 12:23:13 +01:00
Santhosh Thottingal
c2b68e8cbc
Remove the region selector feature
...
* Maps removed from UI
* From no-results UI, removed the links to navigate by clicking region names
* Removed the $.fn.regionSelctor plugin, Retained the RegionSelector class
* Removed all related css for the removed UI parts
* Reduced the padding for main ULS title so that the top header takes less height
* And a dozen of related changes
Change-Id: I8ac89ebe380047ca267e5c7720c2eaa3da080e9d
2014-07-27 20:29:01 +05:30
Amir E. Aharoni
78589aef15
Adding Rutul language
...
Requested in the Russian Wikipedia for the Rutul incubator.
https://ru.wikipedia.org/wiki/Обсуждение_проекта:Разделы_Википедии_на_региональных_языках_России
2014-06-16 15:06:39 +03:00
Amir E. Aharoni
1b41a31dc6
Add the Khakas language (kjh)
2014-06-09 16:55:54 +03:00
Santhosh Thottingal
abc82945c1
Bring back the clear icon for clearing the search
...
Caused by a class rename
Change-Id: If4fa0bc14ca890e43182993f8bdd5ddb9de62417
2014-06-03 09:28:43 +05:30
Santhosh Thottingal
36478fa55a
Fix css class names in the template
...
Somehow missed in previous merges
Change-Id: I700f53b6d9d78f7b5db88d880c151139bfb7e4dc
2014-05-22 09:33:12 +05:30
Santhosh Thottingal
7d38ed9bde
Merge branch 'master' of github.com:wikimedia/jquery.uls
2014-05-18 10:21:39 +05:30
Santhosh Thottingal
9599ed7d26
Fix the jQuery migration warnings
...
Remove the spaces in the beginning of html template strings.
$( html ) require html to start with '<'
See https://bugzilla.wikimedia.org/show_bug.cgi?id=65400
Change-Id: I93eaf41390ab72fcae1b8d4015585bc4f82e6f8a
2014-05-18 10:20:07 +05:30
Santhosh Thottingal
d352b73c37
Merge pull request #145 from edg2s/patch-3
...
Consistently use this when scope allows it
2014-04-29 09:16:10 +05:30
Santhosh Thottingal
c7c938cf4c
Merge pull request #143 from edg2s/patch-1
...
Always close with 'cancel' method
2014-04-26 16:59:26 +05:30
Santhosh Thottingal
04d11ea53f
Remove the unused option menu
...
Fixes issue #140
Change-Id: Idc04a45b97837c5f9bd1f975b6668b6539df0752
2014-04-26 16:57:23 +05:30
Amir E. Aharoni
bdbff7919e
Changing the writing system and the autonym for Ottoman Turkish
2014-04-25 17:07:27 +03:00
Ed S
f0be8b5425
Consistently use this when scope allows it
...
We have uls = this for scoping, but then we randomly switch between the two, even when 'this' is allowed. We only need to used the local variable in un-proxied anonymous functions.
2014-04-22 14:59:46 -07:00
Ed S
2c0f4e1114
Only use default pos if top/left are undefined
...
Allows 0 (which is falsey) to be passed as an offsets. Fixes #141
2014-04-22 00:23:38 -07:00
Ed S
ad1be8c0af
Always close with 'cancel' method
...
So that the onCancel callback is useful. Fixes #142
2014-04-22 00:14:39 -07:00
Niklas Laxström
4354079ff4
Regenerate jquery.uls.data
2014-04-12 15:29:13 +03:00
Santhosh Thottingal
000727d935
Merge branch 'master' of github.com:jcrowgey/jquery.uls into jcrowgey-master
...
Change-Id: If567281d5eebbbcd47ecf48788a7385ad8e01463
2014-03-09 09:52:28 +05:30
J Crowgey
91f39063f2
updated jason file after modifications to langdb.yaml
2014-03-08 16:35:54 -08:00
Niklas Laxström
5b6862745b
Add rmf to langdb
2014-03-05 13:44:27 +00:00
Santhosh Thottingal
fd81a809a7
Merge branch 'master' of github.com:wikimedia/jquery.uls
...
Change-Id: I8270730779a194796ded1c1c82fe48686866c075
2014-03-03 15:07:06 +05:30
Niklas Laxström
6676222ab0
Lojban to lower case
...
Reported by Evropi on IRC
http://www.lojban.org/publications/level0/brochure-utf/overview.html
2014-03-03 09:04:32 +02:00
J Crowgey
38b3780fa5
added dxʷəlušucid [ISO:639-3:lut] to langdb.yaml and updated jquery.uls.data.js wuth ulsdata2json.php
2014-03-02 21:26:29 -08:00
Kartik Mistry
83bd524b63
Add EU too for ota.
2014-02-05 10:36:42 +05:30
Kartik Mistry
40e3a946d8
Updated jquery.uls.data.js file
2014-02-05 10:20:41 +05:30
Amir E. Aharoni
d8fc3d4b9e
Remove double scrollTop call
2014-01-06 13:30:53 +02:00
Amir E. Aharoni
2d93a37019
When clicking a region, scroll only the list and not the whole page
...
Downstream bug:
https://bugzilla.wikimedia.org/show_bug.cgi?id=59175
2014-01-06 11:45:29 +02:00