Commit Graph

409 Commits

Author SHA1 Message Date
Santhosh Thottingal
0340e609a0 Expose compact mode as an option
* some minor space cleanup
* Also close the ULS window when clicked outside

Change-Id: I06b465926196f79e47990e80e3b23f5a16474ba3
2013-03-15 14:57:19 +05:30
Siebrand Mazeland
356a074fd6 Make code analyzer ignore the unused assignment
It is used, as the comment above explains.
2013-03-15 03:26:07 +01:00
Amir E. Aharoni
49f623c61f Fix Pali language name 2013-02-19 00:15:20 +05:30
Siebrand Mazeland
66d84936f9 Merge pull request #74 from amire80/coding_conventions
Coding conventions, cleanup
2013-02-07 21:01:24 -08:00
Pau Giner
7e800eb836 Settings at the bottom of the ULS
Moves the settings block at the bottom of the ULS dialog in order
to distinguish more clearly the selection and configuration regions.
2013-02-06 10:35:48 +01:00
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
9695cc1b68 Better adherence to coding conventions 2013-01-13 23:05:40 +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
Santhosh Thottingal
ca18edd0dd Merge pull request #63 from amire80/bug_43568
Render every region only once
2013-01-07 06:44:04 -08:00
Santhosh Thottingal
0e61876af5 Merge branch 'extra_languages' of git://github.com/amire80/jquery.uls into amire80-extra_languages
Conflicts:
	src/jquery.uls.data.js
	src/jquery.uls.data.utils.js

Change-Id: I9c321891707b0d68328f4e4c8be1bd451794072d
2013-01-07 15:45:48 +05:30
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
e78a2507d7 Whitespace 2012-12-30 20:34:32 +02:00
Amir E. Aharoni
683ad727e1 Add aliases to the languages that need them 2012-12-30 19:14:51 +02:00
Siebrand Mazeland
d2d287fbc4 Update docs 2012-12-27 21:58:54 +01:00
Siebrand Mazeland
f9111d5e39 Simplify if statement 2012-12-27 21:45:35 +01:00
Santhosh Thottingal
8c54381e58 Change double quotes to single quotes
Change-Id: I4684a4bc4ac26fffba7310891106d254e893dd63
2012-12-24 16:29:14 +05:30
Santhosh Thottingal
38d5826b72 Remove all deprecated methods
Change-Id: I8f6507f264ace851483d317af38733be46c51091
2012-12-24 16:18:26 +05:30
Amir E. Aharoni
22112fefbf Add missing semicolon 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
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
7a04c3c6e0 Rename "that = this" to meaningful names 2012-11-29 10:40:24 +02:00
Santhosh Thottingal
b34cbbe9d2 Limit the grid to 'grid' class
Change-Id: I60dd826ddee0861c05bc6b0cadc8bdc1eb3a6488
2012-11-28 14:59:56 +05:30
Santhosh Thottingal
d0ef38c1e2 Donot close when clicked outside
Change-Id: Ib94423e8c26f69cdba460e21e9bcaee1a436e187
2012-11-21 17:33:16 +05:30
Santhosh Thottingal
b3a3f48c3b On show hide any other ULS menus visible 2012-11-21 17:09:12 +05:30
Amir E. Aharoni
025e452560 Remove superfluous element names where ID is specified 2012-11-19 18:56:35 +02:00
pginer
27039e1141 Fixes CSSLint issues for jquery.uls.css
CSS adjustments and JS modifications (adding classes to HTML elemnts)
to solve issues reported by CSS Lint when validating jquery.uls.css
2012-11-19 17:26:34 +01:00
pginer
6fa03963f1 Fixes CSSLint issues for jquery.uls.lcd.css
CSS adjustments and JS modifications (adding classes to HTML elements)
to solve issues reported by CSS Lint when validating jquery.uls.lcd.css

Change-Id: Ic604984b1a677f0e18796d6ce131736d6b9d6c3a
2012-11-19 20:13:12 +05:30
Santhosh Thottingal
04edfa90c8 Ignore control characters in typeahead
Fix https://bugzilla.wikimedia.org/show_bug.cgi?id=40171
2012-11-19 12:12:25 +05:30
Santhosh Thottingal
5626a4cf92 Some minor changes for code readability 2012-11-19 11:15:44 +05:30
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