Commit Graph

702 Commits

Author SHA1 Message Date
Niklas Laxström
0927f4be0e Make the script generate formatted json file
Otherwise changes are almost impossible to review.
2016-05-26 15:18:28 +02:00
Niklas Laxström
f5eb37ba73 Update langdb
Someone forgot to update this in the past.
2016-05-26 15:17:24 +02:00
Niklas Laxström
ab3cd92ee9 Localisation updates from https://translatewiki.net. 2016-05-26 07:40:47 +02:00
Niklas Laxström
eeb49c6175 Merge pull request #224 from santhoshtr/loopsearch
Avoid calling searchAPI more than once
2016-05-25 15:52:04 +03:00
Santhosh Thottingal
0a06f4e986 Avoid calling searchAPI more than once
The calling code should not be in loop

Change-Id: Ib8433115bf9bf18827ad13bcfb3299a846ae98b3
2016-05-25 16:39:17 +05:30
Santhosh Thottingal
0d558ef7d5 Merge pull request #223 from wikimedia/Nikerabbit-patch-1
Some styling tweaks to search bar
2016-05-25 10:24:48 +05:30
Niklas Laxström
eaf350a20c Some styling tweaks to search bar
From https://gerrit.wikimedia.org/r/#/c/285593/6/resources/css/ext.uls.css
2016-05-23 18:10:30 +03:00
Niklas Laxström
6accb871d1 Localisation updates from https://translatewiki.net. 2016-05-23 08:11:15 +02:00
Niklas Laxström
3d47102351 Localisation updates from https://translatewiki.net. 2016-05-19 09:33:58 +02:00
Niklas Laxström
08969481e5 Merge pull request #218 from kartikm/license
Use SPDX license field in package.json
2016-05-18 16:50:25 +03:00
Niklas Laxström
79cbb8a5bb Merge pull request #222 from wikimedia/code_removal
Remove regionfilter related utility methods
2016-05-18 16:45:55 +03:00
Santhosh Thottingal
ed2427ba2d Remove regionfilter related utility methods
Change-Id: I1ab96280fa71cac3745eb7e7210b15a1e5bc78f8
2016-05-17 15:25:53 +05:30
Kartik Mistry
847a3aa7cf Update package.json 2016-05-17 12:08:45 +05:30
Niklas Laxström
7dcdab7f9c Localisation updates from https://translatewiki.net. 2016-05-16 07:34:58 +02:00
Niklas Laxström
e18aaece09 Localisation updates from https://translatewiki.net. 2016-05-12 09:37:35 +02:00
Santhosh Thottingal
9a8dc303a7 Update example files by removing js/css files not existing
Change-Id: I150a7c6c41fa65fd299b5838c8b80c810a0bb1cd
2016-05-11 12:02:07 +05:30
Niklas Laxström
3000287116 Merge pull request #221 from wikimedia/no-regionfilter
Remove the regionfilter module
2016-05-11 09:05:00 +03:00
Santhosh Thottingal
e9c0f3e4db Show "You may be interested in" section when no results found
This was broken long time back

Change-Id: I15f715067d82fb61959763824183a6813536e94e
2016-05-09 17:09:06 +05:30
Santhosh Thottingal
11b87cb5be Remove the regionfilter module
It has lot of redundant and unused code used when we had the map.
Removing it. No change in functionality is expected

Change-Id: I278ef63b7756b5061c0b6638ba4e7b7deebf5a0d
2016-05-09 17:03:37 +05:30
Santhosh Thottingal
29f28a1f50 Clean up code formatting, add .jsbeautifyrc
Change-Id: Iafcc8084d87d8f2323d97bb4446e031951820d41
2016-05-09 16:41:31 +05:30
Santhosh Thottingal
35cd1b5736 Remove unwanted comma
Change-Id: I9c09ef9cf25949b37035c58f7c8550e30fa3442b
2016-05-09 16:32:12 +05:30
Niklas Laxström
60668c6037 Merge pull request #220 from wikimedia/215
Call onCancel from hide
2016-05-03 14:11:15 +03:00
Niklas Laxström
9bc25b726f Merge pull request #219 from ricordisamoa/devDependencies
Bump devDependencies to latest and make pass
2016-05-03 11:44:58 +03:00
Santhosh Thottingal
0cc7f2f54b Call onCancel from hide
See issue #215

The cancel, hide methods are still confusing, may be in some other patch
we need clean up this. A grep shows ULS use onCancel only with compact
language links.

Change-Id: I0e08d169952945237efce9108d51cb68c4a29ad5
2016-05-02 17:27:18 +05:30
Ricordisamoa
0b8a4c9338 Bump devDependencies to latest and make pass
grunt                  ^0.4.5  →  ^1.0.1
 grunt-cli             ^0.1.13  →  ^1.2.0
 grunt-contrib-jshint   ^0.8.0  →  ^1.0.0
 grunt-contrib-qunit    ^0.5.2  →  ^1.2.0
2016-04-30 09:52:55 +02:00
Niklas Laxström
2924e68dce Merge pull request #203 from kartikm/bh
Use same format for bh/bho
2016-04-22 15:33:24 +05:30
Kartik Mistry
aee209878f Use SPDX license field in package.json 2016-04-22 14:39:59 +05:30
Santhosh Thottingal
ff8051a5c6 Update the screenshot 2016-04-22 11:17:55 +05:30
Santhosh Thottingal
d61eb1ffd4 Merge pull request #216 from wikimedia/drop-compact
Remove compact mode
2016-04-22 11:12:07 +05:30
Santhosh Thottingal
5ceba61905 Merge pull request #217 from wikimedia/icon
Update search icon
2016-04-21 17:12:13 +05:30
Niklas Laxström
2f2f814738 Compress images 2016-04-21 12:27:11 +02:00
Niklas Laxström
c103030cc3 Replace search icon with a new one
Also removed the smallening of the search icon narrow mode.
2016-04-21 15:50:50 +05:30
Niklas Laxström
2a538b78e1 Remove compact mode
Make the regular mode look like compact mode
2016-04-21 15:27:49 +05:30
Niklas Laxström
19e670153e Merge pull request #214 from kartikm/kbp
Update jquery.uls.data.js for #213
2016-04-12 11:46:15 +03:00
Kartik Mistry
73462b3de1 Update jquery.uls.data.js for #213 2016-04-12 14:14:32 +05:30
Kartik Mistry
87024ee575 Merge pull request #213 from wikimedia/Nikerabbit-patch-1
Add [kbp] Kabɩyɛ
2016-04-12 14:07:21 +05:30
Niklas Laxström
1e096ab6d2 Add [kbp] Kabɩyɛ
https://translatewiki.net/wiki/Thread:Support/Translating_the_500_most_used_messages_into_Kabiy%C3%A8
2016-04-12 11:34:56 +03:00
Santhosh Thottingal
5568fb491c Merge pull request #212 from wikimedia/heatter
Some cleanup to the language filter
2016-04-11 11:27:36 +05:30
Niklas Laxström
40e67f5da2 Localisation updates from https://translatewiki.net. 2016-04-07 08:07:30 +02:00
Niklas Laxström
20d5e431a3 Some cleanup to the language filter
No longer using grid to position the icon, but nested divs instead.

Tweaked some padding etc. related cleanup.
2016-04-06 17:26:44 +03:00
Niklas Laxström
30d86fb8ba Merge pull request #210 from wikimedia/209
Remove unwanted script related code in search method
2016-04-06 15:03:03 +03:00
Santhosh Thottingal
bf0c555b8c Remove unwanted script related code in search method
Fixes issue #209

Change-Id: I33345fe553abcc9bfd6288fe579878a2cf307e8f
2016-04-06 16:38:44 +05:30
Santhosh Thottingal
7b3cd3d885 Fix: search using API does not respect the passed language list
If there is a search api configured, ULS list all languages that
pass the search irrespective of whether a language is present in
options.languages

Change-Id: I0be80397bb5b4071bc7bc5e787fe107c98e3d912
2016-04-06 15:21:33 +05:30
Santhosh Thottingal
2e16e9b701 Remove the reference to map block
Change-Id: I141d468d352176f000a750d40b54b4dbf799ba05
2016-04-06 10:23:38 +05:30
Niklas Laxström
bd78c24be0 Merge pull request #208 from wikimedia/207
Support language codes that are redirects
2016-04-05 08:58:13 +03:00
Santhosh Thottingal
7780bfb17a Add left and right padding for search header of compact ULS
See https://phabricator.wikimedia.org/T130633

Change-Id: I59a632c312682a92cf8341dec9de2779a81bb298
2016-04-05 10:15:27 +05:30
Santhosh Thottingal
8b3d77dae1 Support language codes that are redirects
Addressing issue #207

Such language codes were not listed in ULS language list.

Root cause was $.uls.data.getLanguagesByScriptGroup was returning
a map of script groups, which contained only resolved language codes.
And later in append method of jquery.uls.lcd.js, there is a check if
that language code is part of languages list passed as option to uls()
call. This test fails and the language code does not get added to display.

Change-Id: Iec914a9694a46eef5750ef3af7346d66e052ab77
2016-04-05 09:17:09 +05:30
Niklas Laxström
1e8c2168f6 Localisation updates from https://translatewiki.net. 2016-03-03 08:27:54 +01:00
Niklas Laxström
35e3d30f58 Localisation updates from https://translatewiki.net. 2016-02-29 17:21:42 +01:00
Niklas Laxström
6ee1cb6eaa Localisation updates from https://translatewiki.net. 2016-02-25 09:21:57 +01:00