Commit Graph

25 Commits

Author SHA1 Message Date
Robin van der Vliet
2a0911ef10 Fixes unit test by adding "tzl". 2015-04-20 14:38:38 +02:00
Amir E. Aharoni
eb4f8ff251 Make language count calculation only in core.js 2015-03-31 10:20:34 +03:00
Amir E. Aharoni
c81561b3fc Refactor the object keys counter function 2015-03-14 23:20:09 +02:00
Santhosh Thottingal
d1e0b30e5f Fix broken tests while adding more languages
Change-Id: I8c180e96bc2fb40582e0fedfd9c8eab430961c59
2014-11-17 10:32:24 +05:30
Santhosh Thottingal
859bccd589 Test: Add lut to the list of languages in AM region
Change-Id: Ic21bf47945e5501880bc221b47d128f6bd0fbbf6
2014-03-03 15:09:45 +05:30
Siebrand Mazeland
84d763620f Use a single var statement 2013-12-03 13:56:54 +01: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
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
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
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
Siebrand Mazeland
c109c46962 Merge pull request #60 from amire80/small_test_improvements
Test for Zulu
2013-01-04 09:40:06 -08: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
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
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
c40caf4a29 Update the remaining calls to deprecated functions 2012-10-08 08:27:50 +02:00
Amir E. Aharoni
427c3bf39d Added RTL tests from Gerrit and fixed another test 2012-10-08 07:43:41 +02:00
Santhosh Thottingal
fc28cfeb3b Add qunit tests
Importing the tests from MediaWiki gerrit

Change-Id: I2aec075b5ea04f927e2ee0a0e747334ba9efb4a0
2012-10-08 07:43:41 +02:00