Commit Graph

571 Commits

Author SHA1 Message Date
Santhosh Thottingal
94e867f62e Merge pull request #173 from amire80/columns-number
A more explicit support for valid columns number
2014-12-15 15:27:26 +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
Santhosh Thottingal
08044f8aef Merge pull request #168 from amire80/columns
Allow sending the number of lcd columns as a parameter
2014-12-04 14:31:26 +05:30
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
Santhosh Thottingal
03a1baa4ed Merge pull request #167 from amire80/aeb-autonym
Update the Arabic script autonym for aeb
2014-11-26 16:27:07 +05:30
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
Kartik Mistry
f7743a8ae0 Merge pull request #166 from amire80/smn
Change smn back to lowercase like other Sami languages
2014-11-26 11:01:08 +05:30
Amir E. Aharoni
987acc1996 Change smn back to lowercase like other Sami languages 2014-11-25 21:18:42 +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
3a7840f937 Merge pull request #165 from amire80/langdbjson
Add languages to langdb: Bari, Dinka, Songhay
2014-11-17 09:47:02 +05:30
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
Siebrand Mazeland
6650db2860 Update langdb with codes and autonyms used in translatewiki.net
Add support for language codes that are currently only supported in translatewiki.net.
There was a two year or so backlog.
2014-11-16 15:48:04 +01:00
Siebrand Mazeland
e16f7f69ba Update langdb with codes and autonyms
This removes inconsistencies with MediaWiki's Names.php's changes in the
past 8 months, where it comes to languages codes present in MediaWiki but
not in langdb, and inconsistencies in autonyms.
2014-11-16 15:11:37 +01:00
Siebrand Mazeland
9c2969b24b Localisation updates from https://translatewiki.net. 2014-11-14 13:45:49 +01:00
Kartik Mistry
c10af894ea Merge pull request #162 from jdforrester/master
Note MIT dual-licensing in the CREDITS file
2014-11-13 21:01:16 +05:30
James Forrester
e486594614 Note MIT dual-licensing in the CREDITS file 2014-11-13 07:19:57 -08:00
Siebrand Mazeland
8482c2f55a Localisation updates from https://translatewiki.net. 2014-10-20 19:00:48 +02:00
Timo Tijhof
e6ba739b1b examples: Consistent markup and no protocol-relative urls
To ensure these work locally over the file:/// protocol, simply
use https instead.

Straighten out inconsistencies in the markup (closing slash). Made
to match the test/index.html file.

Also:
* index-mobile.html: Re-use jQuery object instead of executing
  the same query three times.
* test: Remove unused qunit-fixture element.
2014-10-09 06:55:24 +02:00
Timo Tijhof
89d64b7e93 build: Clean up Gruntfile
* Sort jshintrc a-z and section it.

* Remove grunt.js from jshintignore (file no longer exists).

* Simplify jshint config by using globstar. The jshintignore
  file still applies (to skip jquery.uls.data.js).

* Update jshint config to also validate Gruntfile.js

* Update listed dependency on 'grunt' and 'grunt-cli' to the
  versions they currently expand to already. We don't know if
  we're compatible with older versions. '^x.y' means, equal or
  higher (within the same major release). Similar to '~x.y',
  except that tilde tolerates older versions.

* Update grunt-contrib-jshint and grunt-contrib-qunit to their
  latest versions.

* Remove obsolete jshintrc parsing hack, use built-in 'jshintrc'
  option as of v0.8.0.

* Remove unused 'pgk' property in grunt config.

* Remove unused grunt-contrib-jasmine and grunt-contrib-copy
  from devDependencies (unused as of ab9b01444f).
2014-10-09 05:59:54 +02:00
Timo Tijhof
e34349cf96 test: Use https:// instead of protocol-relative urls
Protocol-relative urls don't work when using the file from the
file system directly in a browser (they require the file being
served from a http web server).

This is why the Grunt run has been broken since 426ccf0131, as
can be seen on https://travis-ci.org/wikimedia/jquery.uls/builds.
2014-10-09 05:59:49 +02:00
Timo Tijhof
940c779b59 build: Remove jquery from package.json dependencies (unused)
Follows-up 2ce74db801.

This is not a node.js project. There are no references to
node_modules/jquery in file paths anywhere, and also no usage
of "require('jquery')".

Currently it just delays 'npm install'.
2014-10-09 05:59:49 +02:00
Timo Tijhof
ff100e271b travis: Switch to Node.js 0.10
This repository is mainly about client-side javascript, the version
of Node.js used for the build scripts doesn't really matter.

One of the dependencies in package.json uses the '^x.x' syntax in
its sub-dependencies and isn't supporteed on Node.js 0.8, which
is why the Travis CI build is currently erroring on the install step.
2014-10-09 05:41:35 +02:00
Siebrand Mazeland
4a681a269a Localisation updates from https://translatewiki.net. 2014-10-06 12:02:49 +02:00
Niklas Laxström
982e2c32e7 Merge pull request #159 from santhoshtr/decorator
Add decorator option for language links
2014-09-25 10:30:15 +03:00
Santhosh Thottingal
022efabf38 Minor formatting changes
Change-Id: I3ffd7029165ff614c13000b333ed30d3874fba28
2014-09-23 16:16:44 +05:30
Santhosh Thottingal
a8afed3972 Update ULS data with latest supplementalData.xml from CLDR
Change-Id: I30d302374c784b7baeb99150a1c53d14bab4123c
2014-09-22 14:01:36 +05:30
Santhosh Thottingal
7346469e20 Add decorator option for language links
Callback function to be called when a language link is prepared
Can be used for custom decoration.
Arguments:
(a) the $language - the language link jQuery object
(b) languageCode

The function can do any styling, changing properites etc on the passed link.
See examples/decorator.html for example usage.

Change-Id: I5a67654440a07cf7dfac683e22dcb5000ded0bfe
2014-09-22 12:32:05 +05:30
Kartik Mistry
f2e00432ce Merge pull request #157 from amire80/arq
Change the autonym for Algerian Arabic
2014-08-07 18:23:49 +05:30
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
Siebrand Mazeland
79295e25c4 Localisation updates from https://translatewiki.net. 2014-08-06 16:50:06 +02:00
Santhosh Thottingal
18f11eda58 Merge pull request #154 from kartikm/jqueryname
Use jquery instead of deprecated jQuery in package.json
2014-07-27 20:15:19 +05:30
Siebrand Mazeland
fb61cd99a6 Localisation updates from https://translatewiki.net. 2014-06-17 11:55:23 +00:00
Kartik Mistry
59d1370631 Merge pull request #156 from amire80/rut
Adding Rutul language
2014-06-16 17:41:40 +05:30
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
Santhosh Thottingal
9f9366e29b Merge pull request #155 from kartikm/travis
Fix .travis.yml
2014-06-10 15:02:42 +05:30
Kartik Mistry
a2d7b4e4fd Fix .travis.yml
git submodule no longer exists.
2014-06-10 14:06:17 +05:30
Kartik Mistry
df54fbb245 Merge pull request #153 from amire80/kjh
Add the Khakas language (kjh)
2014-06-10 12:59:18 +05:30
Kartik Mistry
a460358ae1 Use jquery instead of jQuery in package.json 2014-06-09 20:07:10 +05:30
Amir E. Aharoni
1b41a31dc6 Add the Khakas language (kjh) 2014-06-09 16:55:54 +03:00
Santhosh Thottingal
abc82945c1 Bring back the clear icon for clearing the search
Caused by a class rename

Change-Id: If4fa0bc14ca890e43182993f8bdd5ddb9de62417
2014-06-03 09:28:43 +05:30
Santhosh Thottingal
36478fa55a Fix css class names in the template
Somehow missed in previous merges

Change-Id: I700f53b6d9d78f7b5db88d880c151139bfb7e4dc
2014-05-22 09:33:12 +05:30
Santhosh Thottingal
afb99eb09d Merge branch 'edg2s-css' 2014-05-18 14:14:15 +05:30
Santhosh Thottingal
b3c5c44efa Merge branch 'css' of github.com:edg2s/jquery.uls into edg2s-css
Change-Id: I04d52aa78bb99762dbc1982f8b1515e9cb9d7e67
2014-05-18 14:08:09 +05:30
Santhosh Thottingal
e59b5233b1 Merge pull request #150 from thiemowmde/master
Hide misplaced borders in the compact design
2014-05-18 10:44:12 +05:30
Santhosh Thottingal
7d38ed9bde Merge branch 'master' of github.com:wikimedia/jquery.uls 2014-05-18 10:21:39 +05:30