Commit Graph

561 Commits

Author SHA1 Message Date
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
Santhosh Thottingal
9599ed7d26 Fix the jQuery migration warnings
Remove the spaces in the beginning of html template strings.
$( html ) require html to start with  '<'

See https://bugzilla.wikimedia.org/show_bug.cgi?id=65400

Change-Id: I93eaf41390ab72fcae1b8d4015585bc4f82e6f8a
2014-05-18 10:20:07 +05:30
Santhosh Thottingal
cc37ec225d Upgrade to jQuery 1.11.1
Change-Id: I3eaf9c56fe18bad51ce22b1292d6d7308ec20690
2014-05-18 10:18:30 +05:30
thiemowmde
951a485878 Hide misplaced borders in the compact design
The border on top is white and therefore not visible. It's simply the wrong element hidden.

The border at the bottom was gray and visible. It looked like a misplaced 2px border.
2014-05-15 21:44:24 +02:00
Siebrand Mazeland
257233c18e Localisation updates from https://translatewiki.net. 2014-05-12 13:43:03 +00:00
Ed Sanders
d26b5f8d2e Rename settings-block to uls-settings-block 2014-05-02 14:46:41 +01:00
Ed Sanders
3c924396fe Rename languagefilter to uls-languagefilter 2014-05-02 14:45:20 +01:00
Ed Sanders
6e8a736863 Rename languagefilter-clear to uls-languagefilter-clear 2014-05-02 14:42:29 +01:00
Ed Sanders
e4ac600fc5 Rename filtersuggestion to uls-filtersuggestion 2014-05-02 14:41:17 +01:00
Ed Sanders
90dae4cfcd Rename filterinput to uls-filterinput 2014-05-02 14:39:16 +01:00
Ed Sanders
b31254396e Rename search-input-block to uls-search-input-block 2014-05-02 14:37:22 +01:00