Commit Graph
100 Commits
Author SHA1 Message Date
Niklas Laxström ca550e22cd Improve how "no search results" is handled
* Drop the ugly height: 100% hack and do it properly and remove TODO
* after( $suggestions.show() ) seems to not work as expected in recent
  jQuery versions. Changed it to manipulate the presence of 'hide'
  class properly.
* Consistency fix in a comment
* Fixed a bug where creating multiple ULS instances would break the
  "no search results" functionality. This is because we were appending
  a jQuery element wrapped in a $(). This is obviously a no-op and a
  regression when the template actually was a string and not jQuery.
  Fixed by using clone() on it.

https://phabricator.wikimedia.org/T175233
2017-09-07 11:22:26 +02:00
Niklas LaxströmandGitHub 2928b89ae2 Create CODE_OF_CONDUCT.md 2017-06-12 18:07:10 +03:00
Niklas LaxströmandGitHub 68de8e928f Merge pull request #256 from nemobis/master
Add four language codes for newly supported translatewiki.net languages
2017-05-20 16:42:51 +03:00
Niklas LaxströmandGitHub 1912897aed Merge pull request #255 from amire80/lag
Add the Rangi language (lag)
2017-05-03 21:24:39 +03:00
Niklas LaxströmandGitHub 949547a880 Merge pull request #254 from amire80/tw
Add five languages of Taiwan
2017-05-03 10:49:56 +03:00
Niklas LaxströmandGitHub fce1935c29 Merge pull request #253 from kartikm/spyc
Update Spyc.php from upstream
2017-05-03 09:30:00 +03:00
Niklas LaxströmandGitHub 51c07765ef Merge pull request #250 from kartikm/cldr-update
Update jquery.uls.data.js for #249
2017-02-20 10:26:48 +02:00
Niklas LaxströmandGitHub cc89e07d79 Merge pull request #249 from nemobis/master
Update language-territory information to CLDR 30
2017-02-20 09:39:39 +02:00
Niklas LaxströmandGitHub 631b96b2d2 Merge pull request #248 from kartikm/gom
Update data for gom
2017-01-30 16:49:54 +02:00
Niklas Laxström 253fc61a99 Localisation updates from https://translatewiki.net. 2016-12-29 08:34:45 +01:00
Niklas Laxström 1445c82b29 Localisation updates from https://translatewiki.net. 2016-12-19 07:44:17 +01:00
Niklas Laxström 6dc7d0720b Localisation updates from https://translatewiki.net. 2016-12-15 07:39:56 +01:00
Niklas Laxström da2df1c505 Localisation updates from https://translatewiki.net. 2016-11-24 08:30:57 +01:00
Niklas Laxström c835e87a96 Localisation updates from https://translatewiki.net. 2016-11-10 09:14:57 +01:00
Niklas Laxström b2098f42b2 Localisation updates from https://translatewiki.net. 2016-11-03 07:52:07 +01:00
Niklas Laxström ee97f753a1 Localisation updates from https://translatewiki.net. 2016-11-01 08:19:26 +01:00
Niklas Laxström f3a61bdeca Localisation updates from https://translatewiki.net. 2016-10-17 20:41:02 +02:00
Niklas Laxström d1e45cc75c Localisation updates from https://translatewiki.net. 2016-10-13 08:21:29 +02:00
Niklas Laxström 701b16d9ac Update language name for code 'olo'
https://phabricator.wikimedia.org/T146744#2706813
2016-10-12 09:04:13 +02:00
Niklas Laxström 0a2f79d044 Localisation updates from https://translatewiki.net. 2016-10-06 08:03:21 +02:00
Niklas Laxström ef4f2c981f Localisation updates from https://translatewiki.net. 2016-09-29 07:53:11 +02:00
Niklas Laxström 682eb37041 Localisation updates from https://translatewiki.net. 2016-09-27 14:18:29 +02:00
Niklas Laxström 3634f6ff39 Localisation updates from https://translatewiki.net. 2016-09-22 07:46:36 +02:00
Niklas Laxström 9f8b62a507 Localisation updates from https://translatewiki.net. 2016-09-15 08:37:20 +02:00
Niklas LaxströmandGitHub cc02dabe6e Merge pull request #239 from amire80/language-search
Change "Language search" to "Search for a language"
2016-09-13 10:58:38 +03:00
Niklas Laxström 8bba929ef0 Localisation updates from https://translatewiki.net. 2016-09-13 08:03:04 +02:00
Niklas Laxström 8b0c7c66e6 Localisation updates from https://translatewiki.net. 2016-09-08 10:26:38 +02:00
Niklas Laxström 05e3d8cfbd Localisation updates from https://translatewiki.net. 2016-09-05 07:32:40 +02:00
Niklas Laxström cb85cda10e Avoid showing suggested languages header if the list is empty 2016-09-02 15:45:14 +02:00
Niklas Laxström 0e253cb312 In narrow mode, print "All languages" heading if suggested languages are given
Also changed one instance of "Common languages" to "Suggested languages" in
the no-i18n fallback code.
2016-08-30 15:12:46 +02:00
Niklas Laxström 7a0b336010 Go back to 100 for threshold for wide
Also fixed one whitespace issue in previous commit.
2016-08-29 10:58:16 +02:00
Niklas Laxström 6ad0eb6c32 Localisation updates from https://translatewiki.net. 2016-08-25 07:51:47 +02:00
Niklas Laxström f5ff66eb63 Increase breakpoints for different number of columns
https://phabricator.wikimedia.org/T138235#2560677

Also, update the default position to be centered on the page. The
original 25% was pretty close to this for the wide option, but now
that shorter lists are more common, it is no longer sufficient and
replaced with a better code.
2016-08-17 16:29:08 +02:00
Niklas Laxström 8a8f502de7 Style changes to lcd
This change is larger than it should because I came across lots of
unused CSS which I removed or simplified.

https://phabricator.wikimedia.org/T138235
2016-08-17 16:29:08 +02:00
Niklas Laxström d873fbc186 Localisation updates from https://translatewiki.net. 2016-08-15 08:26:25 +02:00
Niklas Laxström 8acc63684f Localisation updates from https://translatewiki.net. 2016-08-11 09:11:02 +02:00
Niklas Laxström c6440449ad Localisation updates from https://translatewiki.net. 2016-08-08 08:26:46 +02:00
Niklas Laxström c8c30d5868 Localisation updates from https://translatewiki.net. 2016-08-04 08:15:20 +02:00
Niklas Laxström e1de7942bf Localisation updates from https://translatewiki.net. 2016-08-01 08:27:21 +02:00
Niklas Laxström 6d81effc11 Localisation updates from https://translatewiki.net. 2016-07-28 08:17:24 +02:00
Niklas LaxströmandGitHub 8b52247b22 Remove incorrect comment 2016-07-26 16:19:40 +03:00
Niklas LaxströmandGitHub 0f2e74dbfa Merge pull request #234 from santhoshtr/T137868
List the languages in Worldwide in their respective regions too
2016-07-26 10:27:49 +03:00
Niklas Laxström 649f554091 Localisation updates from https://translatewiki.net. 2016-07-25 08:13:47 +02:00
Niklas Laxström 6ed7f0b683 Localisation updates from https://translatewiki.net. 2016-07-21 08:15:08 +02:00
Niklas LaxströmandGitHub 008a9f67ce Merge pull request #233 from amire80/chm
Add a redirect from chm to mhr
2016-07-19 16:42:20 +03:00
Niklas Laxström d8e29b0efe Localisation updates from https://translatewiki.net. 2016-07-18 14:52:17 +02:00
Niklas Laxström 99bd0cccd4 Localisation updates from https://translatewiki.net. 2016-07-14 08:12:29 +02:00
Niklas Laxström 416a7bb0c7 Rename common languages to suggested languages
Did not rename message key because new term is compatible.

I have updated qqq on translatewiki.net to cross-reference mobile
frontend message.

https://phabricator.wikimedia.org/T137867
2016-07-13 11:06:48 +02:00
Niklas Laxström c9368515d0 Localisation updates from https://translatewiki.net. 2016-07-07 08:13:51 +02:00
Niklas Laxström 3f1f5af7c0 Add bft
https://translatewiki.net/wiki/Thread:Support/request_for_new_language
2016-06-22 14:30:23 +02:00
Niklas Laxström c312838ea7 Add fax
https://translatewiki.net/wiki/Thread:Support/Request_for_Fala_language_(fax)
2016-06-22 14:16:59 +02:00
Niklas Laxström bf1d977aab Localisation updates from https://translatewiki.net. 2016-06-20 08:09:47 +02:00
Niklas Laxström 122c3de2b3 Localisation updates from https://translatewiki.net. 2016-06-16 08:28:43 +02:00
Niklas Laxström 9b9634647a Merge pull request #228 from dereckson/lang-add-atj
Add Atikamekw language
2016-06-09 14:34:33 +03:00
Niklas LaxströmandSanthosh Thottingal 25775dd147 Adjust styles and code to support custom list bullets
Tweak specificty of the rule that hides bullets so that it is easy
to override.

Move dir and lang attributes from <li> to <a> so that the bullets
appear on the correct side for reverse directionality scripts.

Change-Id: Ic0d0c5220b0b374c2a3a19023c40d81f3e20007c
2016-06-09 15:08:15 +05:30
Niklas Laxström fb12b5e25d Avoid scrollbars in RTL 2016-06-02 10:55:51 +03:00
Niklas Laxström 8e4a35bb66 Add base language codes as well
In some cases CLDR provides only a script variant we might not use.
2016-05-26 15:34:20 +02:00
Niklas Laxström 35ce36a611 Rewrite ULS aliases in the territories 2016-05-26 15:32:16 +02:00
Niklas Laxström 0faa9bbd4d Remove unknown language codes from territories
Since they are not used, they only waste space.
2016-05-26 15:22:26 +02:00
Niklas Laxström 0927f4be0e Make the script generate formatted json file
Otherwise changes are almost impossible to review.
2016-05-26 15:18:28 +02:00
Niklas Laxström f5eb37ba73 Update langdb
Someone forgot to update this in the past.
2016-05-26 15:17:24 +02:00
Niklas Laxström ab3cd92ee9 Localisation updates from https://translatewiki.net. 2016-05-26 07:40:47 +02:00
Niklas Laxström eeb49c6175 Merge pull request #224 from santhoshtr/loopsearch
Avoid calling searchAPI more than once
2016-05-25 15:52:04 +03:00
Niklas Laxström eaf350a20c Some styling tweaks to search bar
From https://gerrit.wikimedia.org/r/#/c/285593/6/resources/css/ext.uls.css
2016-05-23 18:10:30 +03:00
Niklas Laxström 6accb871d1 Localisation updates from https://translatewiki.net. 2016-05-23 08:11:15 +02:00
Niklas Laxström 3d47102351 Localisation updates from https://translatewiki.net. 2016-05-19 09:33:58 +02:00
Niklas Laxström 08969481e5 Merge pull request #218 from kartikm/license
Use SPDX license field in package.json
2016-05-18 16:50:25 +03:00
Niklas Laxström 79cbb8a5bb Merge pull request #222 from wikimedia/code_removal
Remove regionfilter related utility methods
2016-05-18 16:45:55 +03:00
Niklas Laxström 7dcdab7f9c Localisation updates from https://translatewiki.net. 2016-05-16 07:34:58 +02:00
Niklas Laxström e18aaece09 Localisation updates from https://translatewiki.net. 2016-05-12 09:37:35 +02:00
Niklas Laxström 3000287116 Merge pull request #221 from wikimedia/no-regionfilter
Remove the regionfilter module
2016-05-11 09:05:00 +03:00
Niklas Laxström 60668c6037 Merge pull request #220 from wikimedia/215
Call onCancel from hide
2016-05-03 14:11:15 +03:00
Niklas Laxström 9bc25b726f Merge pull request #219 from ricordisamoa/devDependencies
Bump devDependencies to latest and make pass
2016-05-03 11:44:58 +03:00
Niklas Laxström 2924e68dce Merge pull request #203 from kartikm/bh
Use same format for bh/bho
2016-04-22 15:33:24 +05:30
Niklas Laxström 2f2f814738 Compress images 2016-04-21 12:27:11 +02:00
Niklas Laxström c103030cc3 Replace search icon with a new one
Also removed the smallening of the search icon narrow mode.
2016-04-21 15:50:50 +05:30
Niklas Laxström 2a538b78e1 Remove compact mode
Make the regular mode look like compact mode
2016-04-21 15:27:49 +05:30
Niklas Laxström 19e670153e Merge pull request #214 from kartikm/kbp
Update jquery.uls.data.js for #213
2016-04-12 11:46:15 +03:00
Niklas Laxström 1e096ab6d2 Add [kbp] Kabɩyɛ
https://translatewiki.net/wiki/Thread:Support/Translating_the_500_most_used_messages_into_Kabiy%C3%A8
2016-04-12 11:34:56 +03:00
Niklas Laxström 40e67f5da2 Localisation updates from https://translatewiki.net. 2016-04-07 08:07:30 +02:00
Niklas Laxström 20d5e431a3 Some cleanup to the language filter
No longer using grid to position the icon, but nested divs instead.

Tweaked some padding etc. related cleanup.
2016-04-06 17:26:44 +03:00
Niklas Laxström 30d86fb8ba Merge pull request #210 from wikimedia/209
Remove unwanted script related code in search method
2016-04-06 15:03:03 +03:00
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
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
Niklas Laxström e6f7672b75 Localisation updates from https://translatewiki.net. 2015-12-29 11:31:11 +01:00
Niklas Laxström ffcfdf1905 Merge pull request #180 from amire80/object-keys
Restore support for IE8
2015-02-26 10:50:25 +02:00
Niklas Laxström 91069c36be Remove empty translation from de-formal 2015-01-06 14:37:38 +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
Niklas Laxström 0d34e864c6 Merge pull request #144 from edg2s/patch-2
Only use default pos if top/left are undefined
2014-04-22 10:41:05 +03:00
Niklas Laxström 4354079ff4 Regenerate jquery.uls.data 2014-04-12 15:29:13 +03:00
Niklas Laxström e6f3aea1ae Add Ludian 2014-04-12 15:18:22 +03:00
Niklas Laxström 42733b5856 Remove prefixed border-radius rules 2014-03-22 18:03:01 +00:00
Niklas Laxström 5b6862745b Add rmf to langdb 2014-03-05 13:44:27 +00:00
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