Commit Graph
100 Commits
Author SHA1 Message Date
Amir E. Aharoni da9a849b42 Show the Common language section only if the list is long enough 2015-03-14 00:48:18 +02:00
Amir E. Aharoni b6a30c3d44 Restore support for IE8
IE8 does not support Object.keys.

https://phabricator.wikimedia.org/T86516

Copying the patch from Gerrit:
https://gerrit.wikimedia.org/r/#/c/184316/
2015-02-26 10:46:35 +02:00
Amir E. AharoniandSanthosh Thottingal f44302106b For narrow ULS show one column without separators 2014-12-22 11:09:48 +05:30
Amir E. Aharoni 6d72638d6f A more explicit support for valid columns number
Only 1, 2 or 4.
2014-12-15 11:27:44 +02:00
Amir E. Aharoni f21f103de3 Simplify getMenuWidth() 2014-12-09 13:57:03 +02:00
Amir E. Aharoni 3c93da564c Select the menu width automatically
A follow-up to https://phabricator.wikimedia.org/T76196 .
2014-12-09 13:18:21 +02:00
Amir E. Aharoni dd59d4d0c8 CSS tweaks for narrow ULS 2014-12-04 00:39:57 +02:00
Amir E. Aharoni b55bc61dc7 Grid-compatible adjustable columns 2014-12-02 22:16:09 +02:00
Amir E. Aharoni 752a295ee2 Allow sending the number of lcd columns as a parameter
This is needed for https://phabricator.wikimedia.org/T76196
and may also nbe useful for many other features.
2014-12-02 13:23:22 +02:00
Amir E. Aharoni c6e26c4a4c Update the Arabic script autonym for aeb
This is consistent with
https://gerrit.wikimedia.org/r/175972
2014-11-26 12:40:25 +02:00
Amir E. Aharoni 987acc1996 Change smn back to lowercase like other Sami languages 2014-11-25 21:18:42 +02:00
Amir E. Aharoni 8cdb2262f9 Update langdb JSON with the latest yaml changes 2014-11-16 17:44:50 +02:00
Amir E. Aharoni 1007d94462 Add languages to langdb: Bari, Dinka, Songhay 2014-11-16 17:41:58 +02:00
Amir E. Aharoni abe3dd3a0d Merge pull request #163 from siebrand/mw2
Update langdb with codes and autonyms
2014-11-16 17:15:51 +02:00
Amir E. Aharoni a31872d729 Merge pull request #164 from siebrand/mw3
Update langdb with codes and autonyms used in translatewiki.net
2014-11-16 17:15:09 +02:00
Amir E. Aharoni b345da64af Change the autonym for Algerian Arabic
The incubator at https://incubator.wikimedia.org/wiki/Wp/arq uses
the Arabic script and this name.
2014-08-07 12:23:13 +01:00
Amir E. Aharoni 78589aef15 Adding Rutul language
Requested in the Russian Wikipedia for the Rutul incubator.

https://ru.wikipedia.org/wiki/Обсуждение_проекта:Разделы_Википедии_на_региональных_языках_России
2014-06-16 15:06:39 +03:00
Amir E. Aharoni 1b41a31dc6 Add the Khakas language (kjh) 2014-06-09 16:55:54 +03:00
Amir E. Aharoni bdbff7919e Changing the writing system and the autonym for Ottoman Turkish 2014-04-25 17:07:27 +03:00
Amir E. Aharoni d8fc3d4b9e Remove double scrollTop call 2014-01-06 13:30:53 +02:00
Amir E. Aharoni 2d93a37019 When clicking a region, scroll only the list and not the whole page
Downstream bug:
https://bugzilla.wikimedia.org/show_bug.cgi?id=59175
2014-01-06 11:45:29 +02:00
Amir E. Aharoni 09aeb8e29a Update the Autonym for 'cu'
Reported downstream in the Autonym repository:
https://github.com/santhoshtr/AutonymFont/issues/44
2013-12-03 20:19:21 +02:00
Amir E. Aharoni d8fdcd4baf Corrected the Unicode character in the Arab Kazakh autonym 2013-10-02 21:57:15 -07:00
Amir E. Aharoni 601a5256b8 Add missing semicolon 2013-07-08 00:23:54 +03:00
Amir E. Aharoni 0e0098fc3b Redirect fil language (Filipino) to tl (Tagalog) 2013-06-19 11:30:29 -07:00
Amir E. Aharoni 452994efa5 Added the Syriac language 2013-05-21 10:00:52 +03: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
Amir E. Aharoni 64cc7969a7 Use the supplied position values instead of hardcoded 2013-04-26 16:11:12 +03:00
Amir E. Aharoni 986831b124 Add Zyyy for an undetermined script and use it accordingly 2013-04-25 18:10:45 +03:00
Amir E. Aharoni 6309d1889b Comments format 2013-04-25 14:48:37 +03:00
Amir E. Aharoni a568b3244e Rename the hook to "visible" and add documentation 2013-04-25 13:29:25 +03:00
Amir E. Aharoni b28bed9bb5 Add an afterShowing hook
A hook that can optionally run after the ULS menu is shown.
There are things that cannot be done in ready(), because
the style may not have been initialized yet.
2013-04-23 22:43:14 +03:00
Amir E. Aharoni 851e2e84bc Remove an extra var statement 2013-04-23 17:56:59 +03:00
Amir E. Aharoni e9c425265b Merge pull request #85 from siebrand/jquery
Use jQuery 1.9.1 for example
2013-04-22 04:44:49 -07:00
Amir E. Aharoni 62cab27eb2 Leave only one var statement per scope 2013-04-22 14:40:12 +03:00
Amir E. Aharoni d410338c93 Don't ignore backspace in the search box 2013-04-10 18:57:20 +03:00
Amir E. Aharoni 49f623c61f Fix Pali language name 2013-02-19 00:15:20 +05:30
Amir E. Aharoni 4d313a2d5f Whitespace 2013-02-08 10:23:02 +05:30
Amir E. Aharoni e40ca2e885 Whitespace, JSHint, removed unused function 2013-01-13 23:32:40 +02:00
Amir E. Aharoni 9147af93d7 JSHint, whitespace, quotes 2013-01-13 23:24:47 +02:00
Amir E. Aharoni 31cd276019 JSHint cleanup 2013-01-13 23:20:05 +02:00
Amir E. Aharoni 1112f423a7 Suppress "dot notation" warnings in JSHint 2013-01-13 23:13:04 +02:00
Amir E. Aharoni 9695cc1b68 Better adherence to coding conventions 2013-01-13 23:05:40 +02:00
Amir E. Aharoni bbc7190384 Add 'frc' to AM region test 2013-01-09 13:16:02 +02:00
Amir E. Aharoni 44ed95ccdb Merge branch 'use_strict_data' into 2013-01-09-fixes 2013-01-09 13:14:50 +02:00
Amir E. Aharoni 30165c19c7 Merge branch 'prevent_dupes' into 2013-01-09-fixes 2013-01-09 13:14:09 +02:00
Amir E. Aharoni 8b4c5444b8 Merge branch 'no-norsk' into 2013-01-09-fixes 2013-01-09 13:13:19 +02:00
Amir E. Aharoni 66a50931a5 Prevent appearance of redirects in the rendered list
utils.getLanguagesByScriptGroup() runs on the object's languages
property and not on all the langdb languages. This caused
the redirects to be counted as languages. I fixed this,
and added a test to prevent it.

Also update JS langdb, because it went out of sync in of
the previous commits.
2013-01-09 12:59:58 +02:00
Amir E. Aharoni 989c079ad6 Change region of frc to America
This is Cajun French, which is only spoken in America and not Europe.
2013-01-08 22:45:09 +02:00
Amir E. Aharoni 5828dc2374 Add autonym to code 'no' 2013-01-08 22:37:50 +02:00
Amir E. Aharoni df2c40dc92 'use strict' in JavaScript langdb
JSHint can complain about this in build checks, and it shouldn't
hurt anything. But correct me if I'm wrong.
2013-01-08 22:34:16 +02:00
Amir E. Aharoni 90a095a6cf Merge branch 'add_brx' into add_brx_rebase 2013-01-07 00:15:07 +02:00
Amir E. Aharoni e97827bb83 Add the Bodo language (brx) 2013-01-07 00:01:48 +02:00
Amir E. Aharoni b35d2ebc3b Add redirect bat-smg -> sgs 2013-01-06 20:29:30 +02:00
Amir E. Aharoni 98874233c1 Some more fixes in redirects and code
* Redirect fiu-vro to vro.
* Redirect roa-rup to rup.
* Redirect zh-yue to yue.
* Remove pru. Only prg is the right code for Prussian.
  pru is a code of a language in Indonesia, about which
  there's very little information, so it's better to remove it.
2013-01-04 21:33:43 +02:00
Amir E. Aharoni f822331b8b Redirect zh-min-nan to nan
Fixes bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=43569
2013-01-04 18:54:50 +02:00
Amir E. Aharoni 13473c9f7a Render every region only once
Fixes bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=43568
2013-01-04 08:31:20 +02:00
Amir E. Aharoni d4ef33d4f8 Merge pull request #58 from amire80/whitespace
Whitespace
2013-01-02 23:09:40 -08:00
Amir E. Aharoni 49436026d8 Whitespace 2013-01-02 18:48:02 +02:00
Amir E. Aharoni 1f91a4c40c Whitespace 2013-01-02 18:28:14 +02:00
Amir E. Aharoni 829c827483 Adding a special region
This is supposed to allow adding special languages.

This region's section is hidden by default and can be enabled by
passing different options to the lcd object.
2013-01-02 12:58:29 +02:00
Amir E. Aharoni 5455000f38 Fixed test title 2012-12-30 21:18:04 +02:00
Amir E. Aharoni a7f90c69d3 Add test for Zulu
Just to make sure that the last language in the list
is processed.

Also fixed a comment.
2012-12-30 21:12:21 +02:00
Amir E. Aharoni 2eb696d28c Comments 2012-12-30 21:04:47 +02:00
Amir E. Aharoni 2b4eb1ca19 Spelling 2012-12-30 20:48:46 +02:00
Amir E. Aharoni e78a2507d7 Whitespace 2012-12-30 20:34:32 +02:00
Amir E. Aharoni 2ce57b37fe Test for double redirects 2012-12-30 19:27:36 +02:00
Amir E. Aharoni 683ad727e1 Add aliases to the languages that need them 2012-12-30 19:14:51 +02:00
Amir E. Aharoni 200efaf9f2 Merge branch 'langdb_aliases_cleanup' of github.com:amire80/jquery.uls into langdb_aliases_cleanup 2012-12-17 10:48:58 +02:00
Amir E. Aharoni 22112fefbf Add missing semicolon 2012-12-17 10:45:30 +02:00
Amir E. Aharoni c127247178 Test that all redirects have valid targets 2012-12-17 10:45:30 +02:00
Amir E. Aharoni 13e249907a Skip redirects in util functions 2012-12-17 10:45:30 +02:00
Amir E. Aharoni 8f75d69997 Add aliases and tests for isRedirect 2012-12-17 10:45:30 +02:00
Amir E. Aharoni bdb1ef3b47 Add isRedirect (from an old Gerrit commit) 2012-12-17 10:45:30 +02:00
Amir E. Aharoni 5f9a0c4a17 Double quotes -> single quotes 2012-12-17 10:45:30 +02:00
Amir E. Aharoni 33819e6d16 Aliases cleanup. 2012-12-17 10:45:30 +02:00
amire80 36671284fd Add jv-java for support in web fonts
There is no content or localization in that language, but it will be
useful for web fonts.
2012-12-17 10:45:30 +02:00
amire80 593f8452f1 Update some codes with multiple scripts
This is a temporary measure on the way to implementing
language code aliasing.

Removed double scripts and indications of script names in parentheses.
2012-12-17 10:45:30 +02:00
Amir E. Aharoni b85e09db27 Add missing semicolon 2012-12-17 10:14:17 +02:00
Amir E. Aharoni 25d119be19 Test that all redirects have valid targets 2012-12-16 22:41:14 +02:00
Amir E. Aharoni 2b7fdbf379 Skip redirects in util functions 2012-12-16 22:21:45 +02:00
Amir E. Aharoni 0ee5d0f7b5 Add aliases and tests for isRedirect 2012-12-16 21:34:37 +02:00
Amir E. Aharoni 4433658486 Add isRedirect (from an old Gerrit commit) 2012-12-16 21:34:37 +02:00
Amir E. Aharoni 48240015f0 Double quotes -> single quotes 2012-12-16 21:34:37 +02:00
Amir E. Aharoni 9084c57dcb Aliases cleanup. 2012-12-16 21:34:37 +02:00
amire80 27f89cbc61 Add jv-java for support in web fonts
There is no content or localization in that language, but it will be
useful for web fonts.
2012-12-16 21:34:37 +02:00
amire80 63260821ae Update some codes with multiple scripts
This is a temporary measure on the way to implementing
language code aliasing.

Removed double scripts and indications of script names in parentheses.
2012-12-16 21:34:37 +02:00
Amir E. Aharoni dd4b8afe9c Merge pull request #54 from amire80/master
Whitespace cleanup
2012-12-13 23:50:38 -08:00
Amir E. Aharoni 2bafab8414 Whitespace 2012-12-14 09:46:03 +02:00
Amir E. Aharoni 17b6d77ac2 Merge pull request #52 from pauginer/mobile-classes
Make ULS ready for mobile
2012-12-13 23:39:14 -08:00
Amir E. Aharoni 38dcb5873d Merge pull request #51 from amire80/cleanup/2012/11/29
Rename "that = this" to meaningful names
2012-12-10 11:24:42 -08:00
Amir E. Aharoni 7a04c3c6e0 Rename "that = this" to meaningful names 2012-11-29 10:40:24 +02:00
Amir E. Aharoni 4f37bd2f1e Merge pull request #45 from pauginer/transition-fix
Avoid transition for all properties of search bar
2012-11-19 12:06:07 -08:00
Amir E. Aharoni bb94197328 Merge pull request #40 from amire80/clean_IDs
Remove superfluous element names where ID is specified

Reviewed by Pau.
2012-11-19 10:55:30 -08:00
Amir E. Aharoni e219ff6cbd Merge branch 'clean_IDs' of github.com:amire80/jquery.uls into clean_IDs
Conflicts:
	css/jquery.uls.css
2012-11-19 18:59:13 +02:00
Amir E. Aharoni 025e452560 Remove superfluous element names where ID is specified 2012-11-19 18:56:35 +02:00
Amir E. Aharoni e9081f014b Merge pull request #44 from pauginer/lint-fixes
Lint fixes for jquery.uls.css and jquery.uls.lcd.css
2012-11-19 08:54:49 -08:00
Amir E. Aharoni 83db5460b2 Remove superfluous element names where ID is specified 2012-11-16 19:46:42 +02:00
Amir E. Aharoni c9a072934c Make clicking the trigger show and hide the ULS
Bugzilla:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41768
2012-11-16 19:17:54 +02:00
Amir E. Aharoni f80683b1d8 Make clicking outside the ULS close the ULS
Reported in Bugzilla:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41768
2012-11-16 18:52:30 +02:00