Niklas Laxström
e43746f77d
Switch from Travis to Github Actions
...
Split lint and qunit tests into different workflows
2020-12-23 10:48:18 +02:00
Niklas Laxström
670585033e
Update language-data
...
"Fixed" the build script by using a known working version.
Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
2020-12-09 11:40:32 +02:00
Niklas Laxström and Kartik Mistry
9ff574c8cf
Update language data to 9384a83
...
Add cak
2018-08-29 18:40:12 +05:30
Niklas Laxström and GitHub
b9d400d167
Merge pull request #308 from amire80/ulsPurpose-doc
...
Update options defaults and documentation
2018-03-21 11:46:04 +02:00
Niklas Laxström and GitHub
798e200b56
Merge pull request #305 from amire80/T189582
...
Pass the event object when calling the click handler
2018-03-15 18:15:50 +02:00
Niklas Laxström and GitHub
5ac63fc2f1
Merge pull request #307 from amire80/noResults-param
...
Update the argument for noResults in lcd
2018-03-15 17:39:52 +02:00
Niklas Laxström and GitHub
ce33de0b9b
Merge pull request #306 from amire80/ulsPurposeObject
...
Send a data object in $.trigger
2018-03-15 16:00:16 +02:00
Niklas Laxström and Kartik Mistry
c9c2056d04
Update language-data to 9a506b9
2018-03-05 18:56:02 +05:30
Niklas Laxström and GitHub
4151ab4a8e
Merge pull request #299 from amire80/ulsPurpose
...
Allow identifying the context of the different ULS panels within one app
2018-03-05 15:24:47 +02:00
Niklas Laxström and Kartik Mistry
438c59cc65
fetch-language-data.sh: Improve and made CWD-independent
2018-03-05 18:25:57 +05:30
Niklas Laxström and GitHub
3707da24e0
Merge pull request #301 from kartikm/unbreak-npm-install
...
Update package.json
2018-03-05 11:48:45 +02:00
Niklas Laxström and GitHub
8c32f060a1
Merge pull request #298 from santhoshtr/no-results-i18n
...
i18n for the noResultsTemplate
2018-02-16 09:55:31 +02:00
Niklas Laxström
eccd0e1945
Change code structure a bit per code review comments
2018-02-08 15:26:15 +02:00
Niklas Laxström
0352b3df0d
Fix to avoid displaying duplicate results caused by redirects
2018-02-07 15:24:15 +02:00
Niklas Laxström
9fba3ab728
Fix my broken merge conflict result
2018-02-06 16:41:26 +02:00
Niklas Laxström and GitHub
2b1cc8678f
Merge branch 'master' into srpski
2018-02-06 16:31:46 +02:00
Niklas Laxström and Santhosh Thottingal
bb8b48aa38
Stop rendering languages twice on initial display
...
The resultHandler is responsible for updating the `LanguageCategoryDisplay`, so we should not call `render` separately in `search` when there is no search query.
https://phabricator.wikimedia.org/T185086
2018-01-31 16:52:23 +05:30
Niklas Laxström and GitHub
104bf1c026
Merge pull request #293 from santhoshtr/no-results-styling
...
Style adjustments for no-results
2018-01-30 12:25:42 +02:00
Niklas Laxström and Santhosh Thottingal
d349937772
Do not group search results by region
...
* Documentation updates
* Do not group search results by region
* Disable grouping by script when region grouping is disabled
* Add docs, clarify names per code review
* Fix bool -> boolean for consistency
2018-01-16 17:04:29 +05:30
Niklas Laxström and GitHub
1c649d6f24
Merge pull request #281 from santhoshtr/languagedata-update-december07
...
Update language data
2017-12-07 13:03:26 +02:00
Niklas Laxström and GitHub
98fff1b5a2
Merge pull request #280 from santhoshtr/remove-autonym
...
Remove autonym font and example based on it
2017-11-29 13:24:25 +02:00
Niklas Laxström and GitHub
7119bdff5c
Ensure autofillLabel is undefined if searchApi fails
2017-11-29 10:31:55 +02:00
Niklas Laxström and GitHub
08ff5a7e18
Update nodejs to a newer, supported version
2017-11-29 08:39:22 +02:00
Niklas Laxström
82eee93dbd
Improve search code
...
* Always use searchAPI if provided
* Clean up code flow to be easier to follow
https://phabricator.wikimedia.org/T73891
2017-11-27 14:22:01 +01:00
Niklas Laxström and GitHub
1dcb533b42
Fix "srpski" not finding results in Wikipedia compact links
...
See also https://phabricator.wikimedia.org/T178996
2017-10-27 12:12:49 +03:00
Niklas Laxström and GitHub
aaee50ed1c
Merge pull request #274 from Volker-E/master
...
Update `.uls-lcd-region-title` to conform to WCAG level AA
2017-10-13 10:07:51 +03:00
Niklas Laxström and GitHub
2fd96dd684
Merge pull request #271 from santhoshtr/language-data-node-module
...
Use wikimedia/language-data node module for data
2017-10-12 14:48:27 +03:00
Niklas Laxström and GitHub
4a0cca3820
Merge pull request #273 from Volker-E/master
...
Remove redundancy, increase contrast and improve code
2017-09-08 10:28:04 +03:00
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öm and GitHub
2928b89ae2
Create CODE_OF_CONDUCT.md
2017-06-12 18:07:10 +03:00
Niklas Laxström and GitHub
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öm and GitHub
1912897aed
Merge pull request #255 from amire80/lag
...
Add the Rangi language (lag)
2017-05-03 21:24:39 +03:00
Niklas Laxström and GitHub
949547a880
Merge pull request #254 from amire80/tw
...
Add five languages of Taiwan
2017-05-03 10:49:56 +03:00
Niklas Laxström and GitHub
fce1935c29
Merge pull request #253 from kartikm/spyc
...
Update Spyc.php from upstream
2017-05-03 09:30:00 +03:00
Niklas Laxström and GitHub
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öm and GitHub
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öm and GitHub
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öm and GitHub
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öm and GitHub
8b52247b22
Remove incorrect comment
2016-07-26 16:19:40 +03:00
Niklas Laxström and GitHub
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öm and GitHub
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öm and Santhosh 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