Commit Graph

395 Commits

Author SHA1 Message Date
Siebrand Mazeland
16bf7d7a16 Localisation updates from http://translatewiki.net. 2013-10-05 22:07:33 +00: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
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
Siebrand Mazeland
adfc76aa7e Localisation updates from http://translatewiki.net. 2013-05-26 09:37:48 +00:00
Santhosh Thottingal
9a98249d2e Merge branch 'master' of github.com:wikimedia/jquery.uls 2013-05-24 17:16:40 +05:30
Santhosh Thottingal
dceb664b04 Clear the search once a search and selection is done
See https://bugzilla.wikimedia.org/show_bug.cgi?id=48151

Change-Id: I7b354835c7ff438bb665ca6f9b62da6ff5059e1c
2013-05-24 17:12:54 +05:30
Niklas Laxström
96c3a1f797 Merge pull request #94 from amire80/syc
Added the Syriac language
2013-05-21 00:28:06 -07:00
Amir E. Aharoni
452994efa5 Added the Syriac language 2013-05-21 10:00:52 +03:00
Siebrand Mazeland
243758fad5 Localisation updates from http://translatewiki.net. 2013-05-20 09:33:02 +00:00
Siebrand Mazeland
3b2ec13adf Localisation updates from http://translatewiki.net. 2013-05-12 18:41:47 +00:00
Siebrand Mazeland
b1a2260350 Localisation updates from http://translatewiki.net. 2013-05-09 13:40:07 +00:00
Siebrand Mazeland
af0cd64f8c Localisation updates from http://translatewiki.net. 2013-04-28 17:49:21 +00:00
Amir E. Aharoni
482d1beacd Merge pull request #92 from siebrand/jshint
Add .jshintrc, .jshintignore and update .gitignore
2013-04-28 03:42:38 -07:00
Siebrand Mazeland
92ea6a08f8 Merge pull request #91 from amire80/master
Use the supplied position values instead of hardcoded
2013-04-26 07:40:35 -07:00
Siebrand Mazeland
12c1290deb Add .jshintrc, .jshintignore and update .gitignore 2013-04-26 16:39:06 +02:00
Amir E. Aharoni
64cc7969a7 Use the supplied position values instead of hardcoded 2013-04-26 16:11:12 +03:00
Siebrand Mazeland
387ca09455 Merge pull request #90 from liangent/master
wuu (吴语) should AS (Asia) instead of EU (Europe)
2013-04-26 00:31:45 -07:00