Commit Graph

409 Commits

Author SHA1 Message Date
Kartik Mistry
6107318712 Merge pull request #113 from wikimedia/autonymfont
Autonym font
2013-10-17 21:42:48 -07:00
Santhosh Thottingal
e83494cab1 Formatting fixes
Change-Id: I75173f09527f84419d1b807e9e33ff673e0f5d1c
2013-10-17 14:50:09 +05:30
Siebrand Mazeland
45c3f5d991 Localisation updates from http://translatewiki.net. 2013-10-14 09:00:47 +00:00
Santhosh Thottingal
1b5520432f Merge branch 'bug-39925' of github.com:MatmaRex/jquery.uls into MatmaRex-bug-39925 2013-10-11 20:45:36 +05:30
Santhosh Thottingal
9dddc411e9 Updated Autonym font
Change-Id: I6f18b97682b88c90d2362ebf954d614ea695ce78
2013-10-11 12:00:05 +05:30
Kartik Mistry
5577b5cdd7 Merge pull request #112 from siebrand/5
Update code formatting
2013-10-08 19:41:51 -07:00
Siebrand Mazeland
658914a984 Update code formatting 2013-10-08 23:59:40 +02:00
Siebrand Mazeland
c18a57d7c9 Merge pull request #111 from kartikm/uls.data.updates
Updated uls.data.js
2013-10-07 05:12:11 -07:00
Kartik Mistry
0e0cb89c75 Updated uls.data.js 2013-10-07 17:31:13 +05:30
Santhosh Thottingal
b1d01d913e Updated Autonym font
Change-Id: I8a2f58283f0063693181c8e13f56cc7758a80c47
2013-10-07 17:02:37 +05:30
Kartik Mistry
7419d14302 Merge pull request #110 from siebrand/4
Add lrc and ses
2013-10-07 04:29:26 -07:00
Siebrand Mazeland
7b8e43e90e Add lrc and ses 2013-10-07 12:43:40 +02:00
Siebrand Mazeland
16bf7d7a16 Localisation updates from http://translatewiki.net. 2013-10-05 22:07:33 +00:00
Santhosh Thottingal
e54d85a124 Use Autonym font for autonyms
Change-Id: I5224cd020a6c6ba4f52f2be3a318216111b39394
2013-09-15 14:48:36 -07:00
Siebrand Mazeland
585ce23a3f Localisation updates from http://translatewiki.net. 2013-09-02 18:52:58 +00:00
Santhosh Thottingal
33ec9285e3 Use events instead of callbacks for success or no results
Allows extension users to bind for this event, also reduces callbacks

Change-Id: I14cc6d51ad23432956e3ea3275c72db26d71a8c8
2013-08-15 12:16:12 +05:30
Santhosh Thottingal
d40c160cf6 Merge pull request #107 from kartikm/master
Fix spelling mistakes
2013-08-04 23:41:36 -07:00
Kartik Mistry
adcc1ad574 Fix spelling mistakes 2013-08-05 11:41:07 +05:30
Santhosh Thottingal
ab9b01444f Update to latest grunt
Change-Id: I69701a230426af9fa22d3cd312cb24bdc6cf5072
2013-08-01 15:13:00 +05:30
Santhosh Thottingal
6d92fa3a36 Update README.md 2013-08-01 10:38:45 +05:30
Siebrand Mazeland
13fe12dce0 Localisation updates from http://translatewiki.net. 2013-07-22 15:46:06 +00:00
Siebrand Mazeland
728f112ffc Localisation updates from http://translatewiki.net. 2013-07-14 21:25:38 +00:00
MatmaRex
5c6c24d314 RegionSelector: Scroll to appropriate area instead of rebuilding the list
This has been suggested on bug 39925.
2013-07-09 17:07:02 +02:00
Siebrand Mazeland
3fd9ddba9e Merge pull request #104 from siebrand/1
Update jQuery version in examples to 1.10.1
2013-07-08 04:59:10 -07:00
Siebrand Mazeland
3571e77dc7 Update jQuery version in examples to 1.10.1 2013-07-08 13:56:04 +02:00
Santhosh Thottingal
31888278ca Merge pull request #103 from siebrand/jquery-1.10.1
Update to use jQuery 1.10.1
2013-07-08 02:16:56 -07:00
Siebrand Mazeland
f404bc9f7c Update to use jQuery 1.10.1 2013-07-08 10:51:30 +02:00
Santhosh Thottingal
8ea5e8d2a3 Merge pull request #102 from amire80/semicolon
Add missing semicolon
2013-07-08 00:56:10 -07:00
Siebrand Mazeland
9c748553f6 Localisation updates from http://translatewiki.net. 2013-07-08 07:38:46 +00:00
Amir E. Aharoni
601a5256b8 Add missing semicolon 2013-07-08 00:23:54 +03:00
Siebrand Mazeland
fd7fe6d562 Localisation updates from http://translatewiki.net. 2013-06-30 16:54:29 +00:00
MatmaRex
c78371ff68 Use .detach() to keep jQuery events and data associated with elements
.remove() helpfully kills them all.
2013-06-27 16:35:02 +05:30
MatmaRex
148d43bf44 Restore the events jQuery helpfully removes 2013-06-27 16:34:49 +05:30
MatmaRex
8a1e3eb18e Remove lazyload functionality entirely
It was merely a stopgap solution to the problem of the dialog taking
forever to load. With that problem solved all of this awful code is no
longer needed.
2013-06-27 16:31:50 +05:30
MatmaRex
8341bb8e21 Disable lazyload for language list
The loading should be fast enough now after Id9397631 is merged,
taking no more than a second or two to render entirely. We could
consider showing a spinner while it's loading, but it doesn't seem
necessary.

This makes bug 39923 invalid.
2013-06-27 16:30:17 +05:30
MatmaRex
e1d65006dd RegionSelector: Avoid reflows when generating the list
Every time an item is added to the list - 387 times for me - we
shuffle elements around and add at least one new one. This causes
browsers to trigger style recalculation (to figure out which styles
apply to elements with such and such classes) and content reflows
(how the text and elements are wrapped to fit available width).

We can avoid this by simply detaching the parent element from the DOM
tree and attaching it back once we're done - this make it only trigger
one recalculation and one reflow.

In my profiling on Opera on a Thinkpad T60 (with lazy-loading
disabled), these two steps took respectively around 600ms and 400ms.
Now they're down to around 50ms each.
2013-06-27 16:28:04 +05:30
Siebrand Mazeland
e4b39c3b7c Localisation updates from http://translatewiki.net. 2013-06-24 13:47:08 +00:00
Siebrand Mazeland
df12c91f67 Localisation updates from http://translatewiki.net. 2013-06-21 11:27:41 +00:00
Niklas Laxström
f1a1f6d018 Merge pull request #99 from amire80/fil-tl
Redirect fil language (Filipino) to tl (Tagalog)
2013-06-20 03:10:01 -07:00
Amir E. Aharoni
0e0098fc3b Redirect fil language (Filipino) to tl (Tagalog) 2013-06-19 11:30:29 -07:00
Siebrand Mazeland
49446cbb6f Localisation updates from http://translatewiki.net. 2013-06-17 11:29:29 +00:00
Santhosh Thottingal
7c47112ae6 Fix: IE 8 not displaying the section titles for language lists
Changed the way those elements were constructed using jQuery

Change-Id: Ib2b7f454dd0cc1ff38342cf7cc2c6c73a4796c6c
2013-06-12 10:55:32 +05:30
Santhosh Thottingal
fa667f0c14 Improve the scroll to view port logic
Do minimal scroll when top of the window is out of view

Change-Id: I8a2eb01451961655b651d53763356bd7e0aa5abf
2013-06-12 09:02:09 +05:30
Santhosh Thottingal
5f2b646c42 Do not propagate enter event to parent page elements from ULS search box
Change-Id: I18b8b746ed8bff2b0e06a8b05a2c6e69c7899293
2013-06-10 14:34:08 +05:30
Santhosh Thottingal
05e34d5dfa Fix two js error possibilities
Change-Id: I92ed487e7b5c70ef7851575eec676276e1ea905b
2013-06-10 14:33:17 +05:30
Siebrand Mazeland
f3a5321b72 Localisation updates from http://translatewiki.net. 2013-06-10 08:46:22 +00:00
Santhosh Thottingal
5541608278 Smooth scrolling for ULS window to viewport
provide a jquery plugin function $.fn.scrollIntoView

Change-Id: Id0e5d3b385a13ab38089f8ae82e886c29a35e27a
2013-06-05 17:54:41 +05:30
Santhosh Thottingal
db87f74096 Scroll the window to view
Change-Id: I13afd396007f951c105156373ea0c961ec4e712d
2013-05-31 14:38:08 +05:30
Santhosh Thottingal
2507438b29 Merge pull request #96 from pauginer/adjust-height
Adjusted language list height
2013-05-30 23:33:33 -07:00
Pau Giner
ddcf725ca6 Adjusted language list height
The language list height has been reduced in order to
avoid overflow on small screens.
2013-05-30 16:19:00 +02:00