Commit Graph
100 Commits
Author SHA1 Message Date
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
Amir E. Aharoni 1dd303d50e Merge pull request #37 from pauginer/master
CSS fix to avoid style clash with link color on map labels
2012-11-16 04:32:24 -08:00
Amir E. Aharoni 05d003531f Merge pull request #36 from siebrand/master
Update to jQuery 1.8.2.
2012-11-16 04:13:51 -08:00
Amir E. Aharoni ba6a1e5eec Spelling of event name 2012-11-16 14:09:45 +02:00
Amir E. Aharoni 15d98ee586 Whitespace 2012-11-16 14:08:03 +02:00
Amir E. Aharoni 05e4de4020 Renamed 'that' to 'uls' 2012-11-16 14:00:25 +02:00
Amir E. Aharoni da2244279e Whitespace and quotes 2012-11-16 13:52:32 +02:00
Amir E. Aharoni 9aa9f3ee01 Replaced the deprecated languagesInScripts function 2012-10-15 16:26:51 +02:00
Amir E. Aharoni 77e62c99a5 Changed $( this ) into meaningful variables 2012-10-08 17:34:35 +02:00
Amir E. Aharoni f14073a21a Rename the variable that to lcd 2012-10-08 17:22:01 +02:00
Amir E. Aharoni 2e22c5c550 Initial whitespace cleanup 2012-10-08 17:04:05 +02:00
Amir E. Aharoni 9d38d9bd64 Fix a few trivial CSS lint issues 2012-10-08 08:35:14 +02:00
Amir E. Aharoni e35a18eb0d Merge branch '2012/bug_39963/cleanup_function_names' of github.com:amire80/jquery.uls into 2012/bug_39963/cleanup_function_names
Conflicts:
	src/jquery.uls.data.utils.js
2012-10-08 08:32:06 +02:00
Amir E. Aharoni c40caf4a29 Update the remaining calls to deprecated functions 2012-10-08 08:27:50 +02:00
Amir E. Aharoni faeac72491 .languagesByScript* -> .getLanguagesByScript* 2012-10-08 08:13:34 +02:00
Amir E. Aharoni bd355b249d .allRegions -> .getAllRegions 2012-10-08 08:13:34 +02:00
Amir E. Aharoni d74d9b003b .autonyms -> .getAutonyms 2012-10-08 08:13:34 +02:00
Amir E. Aharoni 5e16abf26d .autonym -> .getAutonym 2012-10-08 08:13:34 +02:00
Amir E. Aharoni 7d48ec230b .regions -> .getRegions 2012-10-08 08:13:34 +02:00
Amir E. Aharoni 17f525f510 Replace .script with .getScript 2012-10-08 08:13:34 +02:00