Commit Graph

1078 Commits

Author SHA1 Message Date
Volker E c127858025 Don't cut-off language names vertically (#328)
Bug: [T210111](https://phabricator.wikimedia.org/T210111)
2018-11-22 10:22:17 +05:30
translatewiki.net e788d62043 Localisation updates from https://translatewiki.net. 2018-11-15 08:17:42 +01:00
translatewiki.net f5c371a8f4 Localisation updates from https://translatewiki.net. 2018-11-05 08:47:51 +01:00
translatewiki.net 33b83934d5 Localisation updates from https://translatewiki.net. 2018-10-15 09:30:51 +02:00
translatewiki.net 2b62c269e1 Localisation updates from https://translatewiki.net. 2018-10-09 10:24:15 +02:00
translatewiki.net 2557105296 Localisation updates from https://translatewiki.net. 2018-10-03 22:11:13 +02:00
translatewiki.net 5703e66df6 Localisation updates from https://translatewiki.net. 2018-09-20 11:11:42 +02:00
translatewiki.net 8abc4a1c5a Localisation updates from https://translatewiki.net. 2018-09-10 08:25:13 +02:00
Kartik Mistry 27c21219b4 Update package.json and fix eslint issues (#322) 2018-09-06 15:41:27 +05:30
Amir Aharoni 9ab4deeb4e Update language-data from upstream
Add Montenegrin (cnr).
2018-09-05 17:05:18 +03:00
Amir Aharoni 248e43a76a Update language-data from upstream
* Remove capital letter from the  Armenian autonym
* Update Santali autonym to the Ol Chiki script
* Add Eastern Pwo (kjp)
* Add Fula language to several countris in regions data

Updating to
5e8bf8b95f6123ab7522ec7876c8399ffd3f6e04
2018-09-03 09:07:53 +03:00
Niklas Laxström 9ff574c8cf Update language data to 9384a83
Add cak
2018-08-29 18:40:12 +05:30
translatewiki.net c0f92967e1 Localisation updates from https://translatewiki.net. 2018-08-23 08:21:48 +02:00
translatewiki.net 2d2bf175b4 Localisation updates from https://translatewiki.net. 2018-08-09 09:29:02 +02:00
Amir E. Aharoni c4323800df Merge pull request #320 from jhsoby/master
Update language-data from upstream
2018-08-07 15:10:49 +03:00
jhsoby 61fa235e84 Update language-data from upstream
* Adding Fang (fan)
* Adding Bunun (bnn)
* Adding Garhwali (gbm)

Updating to
wikimedia/language-data@9e30563
2018-08-07 11:45:11 +02:00
translatewiki.net e211420b03 Localisation updates from https://translatewiki.net. 2018-08-06 07:22:33 +02:00
translatewiki.net a6d6495319 Localisation updates from https://translatewiki.net. 2018-06-28 07:27:22 +02:00
Amire80 37651ed7c1 Update language-data from upstream
* Fixing the Fon autonym
* Adding Kaqchikel
* Fixing es-419 spelling

Updating to
https://github.com/wikimedia/language-data/commit/d52eb59fd8149a345b43f4323ec87e927b43e174
2018-06-24 21:54:53 +03:00
translatewiki.net 0f3b6860ba Localisation updates from https://translatewiki.net. 2018-06-21 08:21:54 +02:00
translatewiki.net 56c79e0e99 Localisation updates from https://translatewiki.net. 2018-06-14 12:30:37 +02:00
translatewiki.net 8e834cc61f Localisation updates from https://translatewiki.net. 2018-06-04 08:00:39 +02:00
Pl217 44bd07f038 Fix onInputChange being called twice
ULS input element had onInputChange() handler attached to
change, textInput and input events.

That caused onInputChange() to be called twice when there is user
input and ULS gets closed, since 'change' event fires when
<input type="text"> element loses focus.

Registering handler only for 'input' is sufficient for the intent.
2018-05-29 15:21:11 +03:00
Pl217 5dfca5fd8a Replace jQuery.proxy() with Function.prototype.bind() 2018-05-28 12:06:38 +03:00
Amire80 2c1b2dd1b8 Group languages in each region by script group
sortByScriptGroup and getLanguagesByScriptGroup are updated from language-data.
(jquery.uls.data.utils should be merged to language-data.)

This resolves downstream bug
https://phabricator.wikimedia.org/T189090
2018-05-22 17:50:44 +03:00
Amire80 4088411430 Update language-data with the Fon language 2018-05-18 20:03:10 +03:00
translatewiki.net edddf724b3 Localisation updates from https://translatewiki.net. 2018-05-14 08:20:29 +02:00
Amire80 f4f2808f49 Update language-data from upstream
* Add gor and btm
* Update autonym for brx

Updating to
https://github.com/wikimedia/language-data/commit/057affa5a121b2d74e75264fbd45ce885402ae69
2018-04-30 13:51:03 +05:30
translatewiki.net e5d8884216 Localisation updates from https://translatewiki.net. 2018-04-23 08:57:18 +02:00
translatewiki.net 666c17b7cb Localisation updates from https://translatewiki.net. 2018-04-05 09:25:28 +02:00
Amire80 78a0b4bf78 Add language-data updating instructions to README 2018-04-02 15:54:10 +05:30
Amir E. Aharoni e5ec92f35c Update language-data from upstream (#311)
Add the following languages:
* Northern Ndebele (nd)
* Okanagan (oka)

Update autonyms for the following languages:
* Kurdish (ku)
* Korean (DPRK variant, ko-kp)

Updating to
https://github.com/wikimedia/language-data/commit/aab40a4f6f805261f1afeeda60fc273db26ee464
2018-04-02 14:25:37 +05:30
Amire80 31696b4074 Add maxlength to the languagefilter input
This input field is only for language names. There's no reason for it
to have something longer. Looking at the logs of searches,
people sometimes write very long things there: gibberish,
URLs, inappropriate search strings, mistaken pastes from other places,
and so on.

So it should be limited by maxlength.

It's practically never useful after 20 characters, but setting at 40
just to be on the safe side. The longest language name in langdb is 34.
2018-03-26 15:13:15 +03:00
Amire80 274f7b15a1 Add documentation for the event argument 2018-03-26 11:41:54 +03:00
Amire80 119f3565f1 Pass the event to ULS core select()
Follow up to #305.
2018-03-26 11:41:54 +03:00
Niklas Laxström b9d400d167 Merge pull request #308 from amire80/ulsPurpose-doc
Update options defaults and documentation
2018-03-21 11:46:04 +02:00
Amire80 99c979edcf Update options defaults and documentation
* Add ulsPurpose to README
* Add default undefined for noResultsTemplate
* Reorder options in the README according to defaults in jquery.uls.core.js
2018-03-21 11:04:43 +02:00
translatewiki.net 862f0483dd Localisation updates from https://translatewiki.net. 2018-03-19 21:02:49 +01:00
Kunal Mehta 515d52793d Update CREDITS (#304) 2018-03-16 14:30:16 +05:30
Niklas Laxström 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 5ac63fc2f1 Merge pull request #307 from amire80/noResults-param
Update the argument for noResults in lcd
2018-03-15 17:39:52 +02:00
Amire80 1120ab276c Update the argument for noResults in lcd
Follow up to #306.
2018-03-15 17:05:01 +02:00
Niklas Laxström ce33de0b9b Merge pull request #306 from amire80/ulsPurposeObject
Send a data object in $.trigger
2018-03-15 16:00:16 +02:00
Amire80 970d073efa Send a data object in $.trigger
There was a mistake in #299: the $.trigger() must take only one argument
for extraParameters. Sending another parameter causes NULL to be logged in
EventLogging for ulsPurpose.
2018-03-15 11:57:02 +02:00
Amire80 f11634e6d3 Pass the event object when calling the click handler
This will allow distinguishing Click and Ctrl/Command-Click.
See downstream bug https://phabricator.wikimedia.org/T189582
2018-03-13 14:34:11 +02:00
translatewiki.net 9019b7742f Localisation updates from https://translatewiki.net. 2018-03-12 09:05:15 +01:00
Kartik Mistry 60ad4af102 Add /vendor to .gitignore (#300) 2018-03-06 11:38:13 +05:30
Niklas Laxström c9c2056d04 Update language-data to 9a506b9 2018-03-05 18:56:02 +05:30
Niklas Laxström 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 438c59cc65 fetch-language-data.sh: Improve and made CWD-independent 2018-03-05 18:25:57 +05:30