Commit Graph

3259 Commits

Author SHA1 Message Date
Volker E
f6e5d24941 Put overhauled icon on baseline and unify code with Vector's
Putting icon on link label baseline as good as possible cross-browser
and unify code with Vector skin's code. With one improvement,
putting icon in `:before` selector in order to be able to specifically
change icon independent from link, which opens up `opacity` or state
changes.
Also cleaning up CSS by
- reducing specificity
- changing to `stylelint-disable-line` only on specific selectors
- removing initial value `transparent`

Bug: T207075
Change-Id: Ib5d446434263441eb85aa2e96a0e4dbde1034c1c
Depends-on: I92acb9851a3c0acdbc40a4a4528a91c7332c9293
2019-11-13 23:02:23 +00:00
Amir Aharoni
5425ac76aa Update jquery.uls from upstream
* Add languages: Bajau (bdr), Cakma (ccp), Jeju (jje)
* Add Aragonese as a language of Spain
* Localization updates for bg, fa, fit, sd, tt-cyrl
* Rename code ais to szy

Updating to
c4f0fdab15

Change-Id: I2972dacee47c7a89fc9109c44c1cc7d268a3bde2
2019-11-12 16:10:08 +00:00
Ed Sanders
b105c2cadc build: Update linters
Change-Id: Ib83952a64224ab550f64975285e60713225b23b7
2019-11-12 14:45:01 +00:00
Translation updater bot
df3df8feb3 Localisation updates from https://translatewiki.net.
Change-Id: Ibf8ba90d131b9a24f3470b42f3af70b093959962
2019-11-12 09:33:01 +01:00
Translation updater bot
1b7b1c012a Localisation updates from https://translatewiki.net.
Change-Id: Ie4da92ad0e8e1754df7bb7c88bc4705cf886c852
2019-11-11 15:34:34 +01:00
Translation updater bot
6f0a84bb7c Localisation updates from https://translatewiki.net.
Change-Id: Id32faa7f0cda95f0fc1ec114d14ad0b20164b9f6
2019-11-08 09:49:06 +01:00
Translation updater bot
ea8d12ee98 Localisation updates from https://translatewiki.net.
Change-Id: I02c97f583ae5f79cbc4ca36e8e8904ff669bd3a1
2019-11-07 09:45:36 +01:00
Translation updater bot
04d14beb52 Localisation updates from https://translatewiki.net.
Change-Id: I36e79a6f718ffdfb1568fc8673cd10f2136cb257
2019-11-05 09:47:01 +01:00
Translation updater bot
085ffd78f9 Localisation updates from https://translatewiki.net.
Change-Id: Ie9ec2b6bb8de3c71dc850ef853840d6143f2a483
2019-11-04 10:18:00 +01:00
Umherirrender
af5ed767f4 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I76701f507f709642bba63aa72909434d4787bb0a
2019-11-02 12:39:26 +01:00
Fomafix
e7ab5faf2f Use type hints for TypeError exception
This change allows to replace the Assert::parameterType by a type hint
in Ie215179b4631fd9071b257772c5cb193547cb7d7.

Change-Id: I399a92d3fac0e0849fe3a403c703fe7d32f51257
2019-10-31 19:12:09 +00:00
Kartik Mistry
2c0be6be46 Update version before MLEB release
Change-Id: I80f13f3164cb4b100e747cfc2ea40f94ba3b9ac1
2019-10-31 13:25:12 +05:30
Translation updater bot
8e173ee2c5 Localisation updates from https://translatewiki.net.
Change-Id: Ic32d5f5bfc8ccc13f0a954c2c040806c01210d3d
2019-10-24 10:48:26 +02:00
Translation updater bot
ee2cec86fc Localisation updates from https://translatewiki.net.
Change-Id: I9650b6b2ce4d308a190cdf4469db678b9ad945d3
2019-10-23 09:53:56 +02:00
Translation updater bot
f139ad913a Localisation updates from https://translatewiki.net.
Change-Id: I4f86ca9bde3fa6b445ebcb4723d954d24703109a
2019-10-22 09:15:24 +02:00
Translation updater bot
980f8957a6 Localisation updates from https://translatewiki.net.
Change-Id: I2c3da1b665bb0e40e5498015e7a0ad710233b470
2019-10-21 10:01:09 +02:00
Translation updater bot
c7c81e4923 Localisation updates from https://translatewiki.net.
Change-Id: I876ec943175bbd4a613900523bfcf5a329b034dc
2019-10-16 20:42:51 +02:00
Translation updater bot
cc6c4e4fcb Localisation updates from https://translatewiki.net.
Change-Id: I75812c47787535726854fb36a282ba82ffd146e6
2019-10-16 10:41:32 +02:00
James D. Forrester
9647474e5e build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I87cca3ebf32c87ef1cf163e3c7ca3f8337e54c8d
2019-10-11 12:35:39 -07:00
Translation updater bot
d243d22d46 Localisation updates from https://translatewiki.net.
Change-Id: Ia491757d30f85a2b0a7297c12c3aa39e266a87bb
2019-10-10 09:33:51 +02:00
Translation updater bot
b27b2e13bf Localisation updates from https://translatewiki.net.
Change-Id: I3731436158ba2a0862567a84b1012c4cf1514b59
2019-10-08 09:34:41 +02:00
Timo Tijhof
372ab5301e ext.uls: remove redundant -webkit gradient/svg reference
To match how MediaWiki core expands the .background-image-svg() mixin
function. According to Codesearch, this is the only repo with a match
for `-webkit-linear-gradient.*url\(`.

Bug: T121730
Change-Id: Ide4fc6eef81de76b4b0043cd88ecdf8ed2e3e736
2019-10-06 16:38:21 +00:00
Amir Sarabadani
f1e9eedb96 Clean up most of b/c for phpunit4
We don't support phpunit4 anymore:
https://w.wiki/9UT

Change-Id: Id7ad0e139f454becfac87bedca75b271250d387c
2019-10-05 19:44:54 +02:00
Timo Tijhof
21100ebb78 Remove @embed where it needlesslay delays the page load
>>! Performance Inspector
> Source: ext.uls.common
> Used selectors: 0.00% (0 of 10)
> Used embeds: 0.00% (0 of 1)
> ----
>   .uls-icon-back {
>     background-image: .., url("data:image/svg+xml..

It seems the entire module isn't used, but that can be fixed
separately. The icon is used by ext.uls.inputsettings and
ext.uls.displaysettings as part of a click-triggered dialog,
which means it can never appear on a page directly.

Bug: T121730
Change-Id: I36831beeb764e6893c331b20b90102a5ceb0d21a
2019-09-27 16:19:34 +00:00
Translation updater bot
3267de88cb Localisation updates from https://translatewiki.net.
Change-Id: Ib37beed27487f063dfe9bfabf1746ac9578f2584
2019-09-26 09:15:28 +02:00
Translation updater bot
dd91e06753 Localisation updates from https://translatewiki.net.
Change-Id: Ie3456a48b0f8b7d37923cb833dd1c04911d28935
2019-09-24 09:59:29 +02:00
Ed Sanders
dae53b628c build: Update linters
Change-Id: Ib513d9fe879fb0c848cdfefaaaa753cc7279e242
2019-09-17 14:55:46 +01:00
Translation updater bot
512b597a9d Localisation updates from https://translatewiki.net.
Change-Id: I09802b322bd56b30b64140ef88be2ee068c91963
2019-09-16 09:57:52 +02:00
Isarra
3ef282de00 Set a relative size for the pt-uls icon and padding so it scales properly
Instead of background-size:containing to the relative font size, but with
fixed horizontal space for it due to the padding, set both the padding and
background-size to use ems instead of px so both scale properly.

Tested in modern, cologneblue, monobook, and vector with no visible issues.
Resolves issue with icon being too large on timeless. Does not appear to
affect minerva, as that just handles it all another way.

Change-Id: Ibcea827fe15ee50c947e9c0de1e6cf053e299033
2019-09-07 11:36:34 +00:00
Niklas Laxström
d4786e5797 Update language name search index
Change-Id: I81fd17aa8d66a77b077f436c308702563b2b6693
2019-09-04 14:49:28 +00:00
Translation updater bot
bcfbeeb603 Localisation updates from https://translatewiki.net.
Change-Id: Ia695b40153a38c2548a42e40238c9b7545adcd05
2019-09-04 10:16:09 +02:00
Amir Aharoni
a1ad81ad1c Update jquery.uls
* Localisation updates
* Add Osing
* Change autonyms for Banjar and Sunda

Updating to
e79ea4b4e6

Change-Id: I3b96680fbf3abde65a94700d959b7381c2ba385c
2019-09-03 15:35:05 +03:00
Translation updater bot
ede3ecaf5a Localisation updates from https://translatewiki.net.
Change-Id: I18cb2bdb751e3095da0a009807afbf5db968faef
2019-09-02 10:20:57 +02:00
Translation updater bot
fbfc03602f Localisation updates from https://translatewiki.net.
Change-Id: I91a19d0651173fc8e2949b6fe0e6d5341a12e6f5
2019-08-31 15:58:13 +02:00
Amir Aharoni
86d39b0f54 Updating jquery.uls from upstream
* Localisation updates.
* Updating language-data:
** add awa, mrv
** update min, mni, sju
** Add support for the Meitei script

Updating to
0d0bd11860

Change-Id: Ibb837101d28a317cbdc560e05a6e03188e15e125
2019-08-29 14:36:09 +03:00
Translation updater bot
ee48ec57da Localisation updates from https://translatewiki.net.
Change-Id: I79696b966619173784402fddb8808d6abf0244b4
2019-08-27 11:05:45 +02:00
Niklas Laxström
379f4e940a Update language name search index
Change-Id: I621dcbe7ec2b60543d6842834c2d8419c4512875
2019-08-26 07:15:24 +00:00
Ladsgroup
32b36828fd Revert "Return target of redirect languages in mw.uls.getFrequentLanguageList"
This reverts commit 76551ed4a7.

Reason for revert: It seems it's breaking Serbian editing Wikidata

Bug: T217770
Bug: T121747
Change-Id: If69156400ff665a8c488a24f70d6a100e26761da
2019-08-25 22:11:57 +00:00
libraryupgrader
d10bdaa88f build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ib7ae333324456d7bb8ef4181cb25f0416c432896
2019-08-23 07:47:45 +00:00
Translation updater bot
c480926edf Localisation updates from https://translatewiki.net.
Change-Id: Ia46d5aa16a304d45fa44275ea5cd9b48299b67d6
2019-08-22 10:10:25 +02:00
Translation updater bot
7c54cbe6b9 Localisation updates from https://translatewiki.net.
Change-Id: I01fe44c71226d3944bd2662f52a0ae55882fe116
2019-08-20 10:28:02 +02:00
Translation updater bot
01a982a227 Localisation updates from https://translatewiki.net.
Change-Id: I9a17ab861f96ce35200046ce7ebb516f03589471
2019-08-15 09:17:02 +02:00
Translation updater bot
abefb33da1 Localisation updates from https://translatewiki.net.
Change-Id: I259e9d9ae36e3d7667a0d62e6a3f6b6f85b15a3c
2019-08-12 09:07:41 +02:00
Translation updater bot
43451c1809 Localisation updates from https://translatewiki.net.
Change-Id: I4ff82fa09e3bba8b7f3b0793fbd627ff29d93221
2019-08-06 09:12:00 +02:00
Translation updater bot
c24c3d19d4 Localisation updates from https://translatewiki.net.
Change-Id: I75dbc9f356d005f8ea9562b7505409ba58d3ef16
2019-07-27 09:31:43 +02:00
Kartik Mistry
0f4b9f34b6 Update version before MLEB release
Bug: T227078
Change-Id: I95d986837e0605e00707312199a638256ef56129
2019-07-22 18:15:14 +05:30
Amir Sarabadani
76551ed4a7 Return target of redirect languages in mw.uls.getFrequentLanguageList
When mw.uls.getFrequentLanguageList() is requested sometimes
the language that is a redirect returned causing other codebases (like Wikibase)
to show an invalid language to the user.

Bug: T217770
Change-Id: I49c802d584081aa5992dd0ba76144059bcac56c8
2019-07-18 09:23:34 +00:00
libraryupgrader
cc4c09ed67 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: I98190995df2543a99201583131c7777ab1c75817
2019-07-16 04:05:21 +00:00
MarcoAurelio
2b1d17ac9a Update jquery.uls from upstream
Summary of changes:
 - Added Khakas (kjh) language.
 - Localisation updates.

Upstream commit: f959eb2730

Change-Id: Ia58894c64fa06a46e256eece4a001e4544466920
2019-07-10 11:54:45 +02:00
James D. Forrester
b08de1c007 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I2c0f8670f548658aa7c5d3c6af0577dc481ebec3
2019-07-09 14:20:17 -07:00