Commit Graph

940 Commits

Author SHA1 Message Date
Santhosh Thottingal
2a77df6c41 Use eslint and stylelint, fix all errors (#282)
* Use eslint and stylelint, fix all errors

* Remove jshint, jsbeautify
* Use Object.keys directly since that is available in all major browsers
* Fixes for eslint, stylelint errors
* stylelint is not included in grunt test yet because jquery.uls.mobile.css
  has so many !important and need to figure out whether they are really needed
2018-01-04 15:58:35 +02:00
translatewiki.net
ddadf086c5 Localisation updates from https://translatewiki.net. 2017-12-21 08:37:38 +01:00
translatewiki.net
2601f8e1b6 Localisation updates from https://translatewiki.net. 2017-12-14 08:34:52 +01:00
Niklas Laxström
1c649d6f24 Merge pull request #281 from santhoshtr/languagedata-update-december07
Update language data
2017-12-07 13:03:26 +02:00
Santhosh Thottingal
63e1b06514 Update language data
* Make Spanish available under the Oceania region
* Add the Kumyk language
2017-12-07 16:05:33 +05:30
translatewiki.net
cafaf7ea93 Localisation updates from https://translatewiki.net. 2017-12-04 09:31:07 +01:00
Niklas Laxström
98fff1b5a2 Merge pull request #280 from santhoshtr/remove-autonym
Remove autonym font and example based on it
2017-11-29 13:24:25 +02:00
Santhosh Thottingal
0da69818b9 Remove autonym font and example based on it 2017-11-29 16:36:47 +05:30
James D. Forrester
f47692a390 Drop -webkit-linear-gradient image CSS fallback
This reduces the payload of CSS slightly (and in the few cases where these
were not just present but @embed'ed, significantly), at a cost of giving
those user agents which don't support the un-prefixed rule the icons as
PNGs rather than SVGs (i.e. Chrome < 25, Safari < 6.1, Android < 4.4).

We made this change for MediaWiki back in November 2015 in T118815. This
repo is not alone in not having noticed. :-)

Change-Id: I1469bce3dd6c6eed0d291a0cb8a19eceeaff4c10
2017-11-29 15:56:04 +05:30
Santhosh Thottingal
3a453ad545 Merge pull request #276 from wikimedia/search
Improve search code
2017-11-29 15:51:16 +05:30
Niklas Laxström
7119bdff5c Ensure autofillLabel is undefined if searchApi fails 2017-11-29 10:31:55 +02:00
Kartik Mistry
9a5b3d9c36 Merge pull request #279 from wikimedia/nodejs
Update nodejs to a newer, supported version
2017-11-29 12:30:12 +05:30
Niklas Laxström
08ff5a7e18 Update nodejs to a newer, supported version 2017-11-29 08:39:22 +02:00
Niklas Laxström
82eee93dbd Improve search code
* Always use searchAPI if provided
* Clean up code flow to be easier to follow

https://phabricator.wikimedia.org/T73891
2017-11-27 14:22:01 +01:00
translatewiki.net
2f459c6f36 Localisation updates from https://translatewiki.net. 2017-11-16 11:01:07 +01:00
translatewiki.net
333c58765b Localisation updates from https://translatewiki.net. 2017-11-13 09:16:31 +01:00
translatewiki.net
74834be582 Localisation updates from https://translatewiki.net. 2017-11-06 09:08:18 +01:00
Niklas Laxström
1dcb533b42 Fix "srpski" not finding results in Wikipedia compact links
See also https://phabricator.wikimedia.org/T178996
2017-10-27 12:12:49 +03:00
translatewiki.net
6f58e60ba8 Localisation updates from https://translatewiki.net. 2017-10-19 09:09:06 +02:00
translatewiki.net
bf8d0aa09a Localisation updates from https://translatewiki.net. 2017-10-16 10:39:31 +02:00
Niklas Laxström
aaee50ed1c Merge pull request #274 from Volker-E/master
Update `.uls-lcd-region-title` to conform to WCAG level AA
2017-10-13 10:07:51 +03:00
Niklas Laxström
2fd96dd684 Merge pull request #271 from santhoshtr/language-data-node-module
Use wikimedia/language-data node module for data
2017-10-12 14:48:27 +03:00
translatewiki.net
aefb46fe6f Localisation updates from https://translatewiki.net. 2017-10-12 08:43:04 +02:00
Santhosh Thottingal
74a4426778 Remove all tests that are already covered by language-data 2017-10-11 16:04:09 +05:30
Volker E
18a2006708 Update .uls-lcd-region-title to conform to WCAG level AA
Updating `.uls-lcd-region-title` to be on the safe side with color contrast, 
conforming to WCAG level AA no matter what `background-color` grey or `font-size`.
2017-10-09 19:45:07 -07:00
Volker E
06db9e0ff7 Merge pull request #1 from wikimedia/master
Update from origin master
2017-10-09 19:42:51 -07:00
translatewiki.net
2bcbd17e1c Localisation updates from https://translatewiki.net. 2017-10-05 07:53:45 +02:00
translatewiki.net
082ba26c47 Localisation updates from https://translatewiki.net. 2017-09-21 09:27:23 +02:00
translatewiki.net
c17d0417ae Localisation updates from https://translatewiki.net. 2017-09-18 13:25:20 +02:00
translatewiki.net
1c1dd1aa4d Localisation updates from https://translatewiki.net. 2017-09-14 07:23:49 +02:00
Santhosh Thottingal
34df56f650 Merge pull request #272 from wikimedia/fix-no-search-results
Improve how "no search results" is handled
2017-09-11 11:32:46 +05:30
translatewiki.net
0075ef59bc Localisation updates from https://translatewiki.net. 2017-09-11 07:22:31 +02:00
Niklas Laxström
4a0cca3820 Merge pull request #273 from Volker-E/master
Remove redundancy, increase contrast and improve code
2017-09-08 10:28:04 +03:00
Volker E
0ca0bd0e7b Improve CSS
Improving by merging same value selectors and aligning whitespace
2017-09-07 19:06:54 -07:00
Volker E
70eba564d8 Improve color values and CSS 2017-09-07 19:04:08 -07:00
Volker E
6c84980453 Remove redundancy, increase contrast
Removing redundancy by stripping out default values or using shorthands where applicable.
Also increasing color contrast to conform to WCAG level AA.
2017-09-07 19:01:12 -07:00
Niklas Laxström
ca550e22cd Improve how "no search results" is handled
* Drop the ugly height: 100% hack and do it properly and remove TODO
* after( $suggestions.show() ) seems to not work as expected in recent
  jQuery versions. Changed it to manipulate the presence of 'hide'
  class properly.
* Consistency fix in a comment
* Fixed a bug where creating multiple ULS instances would break the
  "no search results" functionality. This is because we were appending
  a jQuery element wrapped in a $(). This is obviously a no-op and a
  regression when the template actually was a string and not jQuery.
  Fixed by using clone() on it.

https://phabricator.wikimedia.org/T175233
2017-09-07 11:22:26 +02:00
Santhosh Thottingal
6d6a1326b5 Use wikimedia/language-data node module for data
Now that we have this node module, let us use that as upstream
for data
2017-08-28 17:46:09 +05:30
translatewiki.net
e20c81a899 Localisation updates from https://translatewiki.net. 2017-08-28 07:46:03 +02:00
translatewiki.net
581bfb2131 Localisation updates from https://translatewiki.net. 2017-08-14 08:24:13 +02:00
translatewiki.net
71959b6a7c Localisation updates from https://translatewiki.net. 2017-08-03 10:54:46 +02:00
translatewiki.net
6a59fd035a Localisation updates from https://translatewiki.net. 2017-07-27 10:16:23 +02:00
translatewiki.net
80a08de072 Localisation updates from https://translatewiki.net. 2017-07-22 13:12:11 +02:00
Kartik Mistry
61a874b705 Merge pull request #270 from amire80/skr
Redirect skr to skr-arab in langdb
2017-07-22 16:32:22 +05:30
Amire80
c6c08537f7 Redirect skr to skr-arab in langdb
This language is being added to MediaWiki, so we need to make
sure it will be identified.
2017-07-22 10:46:13 +03:00
Kartik Mistry
0d8744e6d1 Merge pull request #269 from amire80/cop
Add the Coptic language to langdb
2017-07-22 11:33:09 +05:30
Amire80
308ca1bea7 Add the Coptic language to langdb 2017-07-21 15:40:54 +03:00
Kartik Mistry
6e07d913bd Merge pull request #268 from amire80/ckb
Change ckb autonym to just "کوردی"
2017-07-11 09:11:59 +05:30
Amire80
9cd578cec6 Change ckb autonym to just "کوردی"
This was requested by the Wikipedia community,
and it is the practice on other websites, too.

More details at
https://phabricator.wikimedia.org/T116761
2017-07-09 18:16:42 +03:00
Kartik Mistry
22c37464fe Merge pull request #263 from amire80/hoc
Add the Ho language (hoc) and the Warang Citi script (Wara) to langdb
2017-07-09 16:44:00 +05:30