Commit Graph

593 Commits

Author SHA1 Message Date
Santhosh Thottingal
ef6f73bb06 Merge pull request #179 from thiemowmde/patch-1
Make magnifying glass icon clickable
2015-01-30 07:40:11 -08:00
thiemowmde
5e1a17c78c Make magnifying glass icon clickable
This makes the magnifying glass icon (search.svg) clickable. Clicking focuses the input field next to the icon, which is the expected, helpful behaviour in my opinion. This is especially helpful with the "compact links" beta feature where the input box is completely invisible and the only remaining indicator that the user can type something is the blinking cursor. If the focus is lost for some reason, this patch allows the user to click the magnifying icon and re-focus the input field again.
2015-01-30 12:05:35 +01:00
Santhosh Thottingal
0a627fb531 Merge pull request #177 from prtksxna/dom
Construct DOM using jQuery instead of an HTML String
2015-01-26 21:02:26 -08:00
Siebrand Mazeland
51a71d21e7 Localisation updates from https://translatewiki.net. 2015-01-26 23:00:21 +01:00
Prateek Saxena
0973ddf299 Construct DOM using jQuery instead of an HTML String 2015-01-26 09:26:57 -08:00
Siebrand Mazeland
062e0c04a0 Localisation updates from https://translatewiki.net. 2015-01-19 09:31:45 +01:00
Kartik Mistry
911391e42d Merge pull request #176 from Nikerabbit/empty
Remove empty translation from de-formal
2015-01-06 18:12:44 +05:30
Niklas Laxström
91069c36be Remove empty translation from de-formal 2015-01-06 14:37:38 +02:00
Siebrand Mazeland
d8ddee1212 Localisation updates from https://translatewiki.net. 2015-01-02 11:01:06 +01:00
Santhosh Thottingal
3469f31235 Remove a dangling comment line
Change-Id: I7106f64b553e167554424e9a3d8687d22d8e4f82
2014-12-23 15:23:45 +05:30
Santhosh Thottingal
10777bb25e Remove unused region filter reference
Change-Id: I130e03bb7ea8bf24e6681fdd8a329c25941ca035
2014-12-22 16:40:20 +05:30
Santhosh Thottingal
107621319d Reduce the title height by moving close button to same row
Change-Id: Id5af0c0bc5654f4ef7decf4712d8eb46ef70933c
2014-12-22 16:39:44 +05:30
Santhosh Thottingal
f417707d67 Remove the unused code to sync region highlight on scroll
Change-Id: Id779c25237584f90ab9132fe24f6cbade1b58da7
2014-12-22 16:38:03 +05:30
Santhosh Thottingal
63a0af6142 Merge branch 'santhoshtr-uls-remove-map' 2014-12-22 14:54:16 +05:30
Santhosh Thottingal
499c30d0ea Merge branch 'uls-remove-map' of https://github.com/santhoshtr/jquery.uls into santhoshtr-uls-remove-map
Change-Id: Ie59e2a59225873b5cf432df526cbfc135e539d32
2014-12-22 14:51:46 +05:30
Santhosh Thottingal
b0d8d0ae6a Merge pull request #170 from amire80/auto-width
Select the menu width automatically
2014-12-22 11:16:53 +05:30
Amir E. Aharoni
f44302106b For narrow ULS show one column without separators 2014-12-22 11:09:48 +05:30
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
Amir E. Aharoni
f21f103de3 Simplify getMenuWidth() 2014-12-09 13:57:03 +02:00
Amir E. Aharoni
3c93da564c Select the menu width automatically
A follow-up to https://phabricator.wikimedia.org/T76196 .
2014-12-09 13:18:21 +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