Commit Graph

658 Commits

Author SHA1 Message Date
Santhosh Thottingal
2e16e9b701 Remove the reference to map block
Change-Id: I141d468d352176f000a750d40b54b4dbf799ba05
2016-04-06 10:23:38 +05:30
Niklas Laxström
bd78c24be0 Merge pull request #208 from wikimedia/207
Support language codes that are redirects
2016-04-05 08:58:13 +03:00
Santhosh Thottingal
7780bfb17a Add left and right padding for search header of compact ULS
See https://phabricator.wikimedia.org/T130633

Change-Id: I59a632c312682a92cf8341dec9de2779a81bb298
2016-04-05 10:15:27 +05:30
Santhosh Thottingal
8b3d77dae1 Support language codes that are redirects
Addressing issue #207

Such language codes were not listed in ULS language list.

Root cause was $.uls.data.getLanguagesByScriptGroup was returning
a map of script groups, which contained only resolved language codes.
And later in append method of jquery.uls.lcd.js, there is a check if
that language code is part of languages list passed as option to uls()
call. This test fails and the language code does not get added to display.

Change-Id: Iec914a9694a46eef5750ef3af7346d66e052ab77
2016-04-05 09:17:09 +05:30
Niklas Laxström
1e8c2168f6 Localisation updates from https://translatewiki.net. 2016-03-03 08:27:54 +01:00
Niklas Laxström
35e3d30f58 Localisation updates from https://translatewiki.net. 2016-02-29 17:21:42 +01:00
Niklas Laxström
6ee1cb6eaa Localisation updates from https://translatewiki.net. 2016-02-25 09:21:57 +01:00
Niklas Laxström
3bdbc65b12 Localisation updates from https://translatewiki.net. 2016-02-08 11:48:35 +01:00
Niklas Laxström
49f5f1a6b8 Localisation updates from https://translatewiki.net. 2016-01-25 07:42:24 +01:00
Niklas Laxström
9a7d4d0576 Localisation updates from https://translatewiki.net. 2016-01-18 08:12:31 +01:00
Niklas Laxström
e019587901 Localisation updates from https://translatewiki.net. 2016-01-04 15:49:25 +01:00
Santhosh Thottingal
f2a27323b6 Merge pull request #205 from atlight/patch-1
Fix the cancel event function to prevent erroneous close
2016-01-02 10:09:06 +05:30
This, that and the other
f53de5469b Fix the cancel event function to prevent erroneous close
Changed the conditions for the cancel event function so that the ULS popup does not close when a descendant element of the trigger is clicked.

Was erroneously merged to gerrit as https://gerrit.wikimedia.org/r/#/c/261810/, I forgot that this was an upstream library.

https://phabricator.wikimedia.org/T122722
2016-01-02 02:25:23 +11:00
Niklas Laxström
e6f7672b75 Localisation updates from https://translatewiki.net. 2015-12-29 11:31:11 +01:00
Siebrand Mazeland
528ccdff52 Localisation updates from https://translatewiki.net. 2015-10-14 12:58:02 +02:00
Santhosh Thottingal
d4de09ffb9 Improve the hide-show logic of ULS
* The events are suppressed on click of ULS trigger, it is an anti
  pattern. It can cause other overlay dialogs, if any, to stay with
  ULS and causes UI glitch. This patch just propagates the events and not
  eats up.
* The show method was hiding all other ULS dialoges open using a
  global $('.uls-menu').hide(). This is again not a good pattern.
  A plugin instance should not interfere with other instance's state.
  More over, calling jQuery hide() method on menu instead of plugin's
  hide method leaves the other plugin instance in a corrupted state.
  The plugin hide method does more things than just hiding the menu.
  It has a 'shown' book keeping property to update. This kind of
  corrupted state was causing bugs like https://phabricator.wikimedia.org/T114123
* While avoiding the above two antipatterns, the way ULS was hidden when
  clicked on any 'other' part of body was improved. It now uses event.target
  to correctly handle the 'click-outside-hide' logic

All these above changes does not change any existing UX.

Change-Id: I40b355115cbda54a68e8d58d3750fb9f1c3b6920
2015-10-06 10:35:05 +05:30
Siebrand Mazeland
423b533b70 Localisation updates from https://translatewiki.net. 2015-09-25 16:09:49 +02:00
Siebrand Mazeland
69c9a4d459 Localisation updates from https://translatewiki.net. 2015-09-10 10:35:21 +02:00
Amir E. Aharoni
48501f7dca Merge pull request #201 from Mjbmr/master
Add Livvi-Karelian language
2015-08-31 21:30:59 +03:00
mjbmr
33c28416f5 Add Livvi-Karelian language 2015-08-27 06:38:20 +00:00
Kartik Mistry
a1416c467f Merge pull request #199 from amire80/az-arab
Update Azerbaijani varieties in langdb
2015-08-05 08:03:29 +05:30
Kartik Mistry
e49d67a996 Merge pull request #200 from amire80/containers-travis
Add 'sudo: false' to upgrade to new Travis infrastructure
2015-08-04 22:22:11 +05:30
Amir E. Aharoni
aeea1211fb Add 'sudo: false' to upgrade to new Travis infrastructure
This is done according to
http://docs.travis-ci.com/user/migrating-from-legacy/

As far as I know we don't need sudo of any kind,
and the performance advantages listed there sound good.
2015-08-04 17:29:53 +03:00
Amir E. Aharoni
b4f87fb011 Update Azerbaijani varieties in langdb
CLDR now uses only az-arab and az-latn,
so they must both appear in langdb.
2015-08-02 20:36:20 +03:00
Amir E. Aharoni
5f35b1805e Merge pull request #198 from Mjbmr/patch-1
Update Southern Luri name from MediaWiki
2015-08-02 18:15:36 +03:00
mjbmr
e325783f12 Update Southern Luri name from MediaWiki 2015-08-02 15:08:01 +00:00
Kartik Mistry
33fa1b5e4a Merge pull request #197 from Mjbmr/patch-1
Update various names from MediaWiki and translatewiki
2015-07-29 13:00:59 +05:30
mjbmr
7541c3b4d7 Update various names from MediaWiki and translatewiki 2015-07-25 10:30:02 +00:00
Kartik Mistry
01edb7beff Merge pull request #195 from amire80/ady
Change the autonym of ady
2015-07-10 19:39:36 +05:30
Amir E. Aharoni
d81867a7fb Change the autonym of ady
Similar to https://gerrit.wikimedia.org/r/#/c/223783/

This was pointed out to me at translatewiki.net,
and I verified it in a dictionary.
2015-07-10 16:24:18 +03:00
Amir E. Aharoni
ae30317d7e Merge pull request #194 from wikimedia/Mjbmr-patch-1
Mjbmr patch 1
2015-07-10 16:21:48 +03:00
Amir E. Aharoni
54ec06e40d Merge branch 'patch-1' of https://github.com/Mjbmr/jquery.uls into Mjbmr-patch-1 2015-07-10 16:18:45 +03:00
Amir E. Aharoni
f4b9bcf8ea Merge pull request #193 from Mjbmr/patch-2
Add Tunisian variants
2015-07-10 16:16:11 +03:00
Siebrand Mazeland
90ce4badb6 Localisation updates from https://translatewiki.net. 2015-07-08 08:22:53 +02:00
Siebrand Mazeland
3ee6c5fa17 Localisation updates from https://translatewiki.net. 2015-06-22 11:56:17 +02:00
Siebrand Mazeland
f20abaffb1 Localisation updates from https://translatewiki.net. 2015-06-18 13:30:51 +02:00
mjbmr
eccd3372ff Add Tunisian variants 2015-06-17 05:24:13 +00:00
mjbmr
542edd8c4a Fix Goan Konkani variants 2015-06-17 05:07:13 +00:00
Siebrand Mazeland
e84063789a Localisation updates from https://translatewiki.net. 2015-06-08 16:19:38 +02:00
Kartik Mistry
69f3a91261 Merge pull request #191 from Mjbmr/patch-1
Fix the name of Central Kurdish
2015-06-02 09:12:06 +05:30
mjbmr
ec0a1465e3 Fix the name of Central Kurdish 2015-06-01 14:46:32 +00:00
Siebrand Mazeland
9386f1cf94 Localisation updates from https://translatewiki.net. 2015-05-25 13:04:19 +02:00
Kartik Mistry
5a87aa1954 Merge pull request #189 from Mjbmr/master
Fix the name of Bakhtiari language
2015-05-25 09:16:07 +05:30
mjbmr
358d989e08 Fix the name of Bakhtiari language 2015-05-24 18:27:45 +00:00
Siebrand Mazeland
3f62aa3454 Localisation updates from https://translatewiki.net. 2015-05-16 18:59:48 +02:00
Kartik Mistry
e2797a05f5 Merge pull request #188 from Mjbmr/patch-1
Fix name of Northern Luri language
2015-05-12 12:32:10 +05:30
mjbmr
1072e8fd9a Fix name of Northern Luri language 2015-05-11 17:36:45 +00:00
Kartik Mistry
2f254389db Merge pull request #187 from Mjbmr/patch-1
Add name of South Azerbaijani (azb)
2015-05-09 11:59:24 +05:30
mjbmr
33250d4ebc Add name of South Azerbaijani (azb)
CLDR only uses Latn and Cyrl variant for Azerbaijani
South Azerbaijani uses azb and there is no az-arab
2015-05-08 06:05:34 +00:00
Siebrand Mazeland
fc986abbf2 Localisation updates from https://translatewiki.net. 2015-05-04 10:57:08 +02:00