Commit Graph

3431 Commits

Author SHA1 Message Date
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
Fomafix
71aefc8d4b Drop support for MediaWiki 1.31 and earlier
MediaWiki 1.33 is released. The next version MLEB 2019.07 will be
compatible with MediaWiki 1.32 and 1.33.

Change-Id: I9487706125fe84d02cb8d3fec0a10e1f10006e64
2019-07-08 22:51:08 +02:00
Niklas Laxström
ec20e81a37 Fix test failures by updating the failing test case
Change-Id: Ie0207d595f4c482e8d9b5ebbea641804bd3a55cc
2019-07-08 08:57:10 +02:00
Translation updater bot
82980dce9e Localisation updates from https://translatewiki.net.
Change-Id: Ic3789463c6b51d1652978aa4da8c90e032e2469a
2019-07-07 22:41:55 +02:00
Max Semenik
78d5e296b4 Don't use Maintenance::$mDescription directly
Change-Id: If28d9b7ee17ff559b35f3edc8b47ece298ea2c03
2019-06-14 17:48:30 -07:00
Volker E
78b30ddae7 Decrease opacity and add :hover transition
Follow-up to https://github.com/wikimedia/jquery.uls/pull/335.

Change-Id: I83f2e8b0fd23a6a989b16009d2c138383320067f
2019-06-12 05:16:51 +00:00
libraryupgrader
4413f2643d build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I1923a9b57c497faff1c342f861ff98e8de613723
2019-06-10 12:16:32 +00:00
libraryupgrader
304f26e7e2 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: Ia5236226f931240fc97c3912bc2043c4196b89d6
2019-06-09 02:48:54 +00:00
Translation updater bot
f99cfa11bb Localisation updates from https://translatewiki.net.
Change-Id: If777c8c49c559e6a510c88c21804c905011e51b7
2019-06-02 22:31:05 +02:00
Translation updater bot
520e9897cb Localisation updates from https://translatewiki.net.
Change-Id: I321a0b57477a3884482ee245d400c0b3d6f0b86b
2019-05-30 22:54:36 +02:00
Niklas Laxström
cd5f6724c7 Update language name search index using CLDR 35.1
Change-Id: Iced51611124c59d29f2d5cd7f62cf6941af88d51
2019-05-27 10:14:21 +02:00
Translation updater bot
0220f3df23 Localisation updates from https://translatewiki.net.
Change-Id: If3a185deeee103f21ce3e81483d9c11a320cc6a8
2019-05-22 22:32:17 +02:00
Niklas Laxström
6939354e16 Update language name search index
I noticed some language names are not searchable. I made it so
that autonyms from language-data are added to the search index.
Without this, languages not present in Names.php or in the CLDR
extension are not searchable via the API except by language code.

Change-Id: I51a9e2eb15fb40963e6edbf1db76133d84de7291
2019-05-21 17:21:21 +02:00
Amir Aharoni
ede9c683a9 Update jquery.ime from upstream
Add Afrikaans and N'Ko keyboards.

Updating to
d660b6ec5d

Change-Id: Ic2ee78eae9701e20e301011eb2a780cb32c7eacf
2019-05-21 14:45:50 +03:00
Amir Aharoni
0bf89d1934 Update jquery.uls from upstream
* Update icons
* Update autonyms: ban, gcr, hyw, jv
* Add languages: ksw, pov, rej, vai
* Localization updates

Updating to
6f6d72d575

Change-Id: I47c2c17ae8ad970c53ff1f75de31915616146e31
2019-05-21 13:24:08 +03:00
Translation updater bot
774d7e75fe Localisation updates from https://translatewiki.net.
Change-Id: I0576085361c130affa025f81dbd91cdda3197670
2019-05-20 22:31:19 +02:00
James D. Forrester
c705ac9ca1 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I256ddebe04eff341a255d1b04493fcc438df7160
2019-05-19 12:34:47 +00:00
Fomafix
760674d965 Add type hints to used objects and arrays in hooks
Also mark only local used functions as private function.

Change-Id: I5fa27d0be492a4a936e6b30b2a16655ed3746fdd
2019-05-17 04:27:56 +00:00
Translation updater bot
3626f06157 Localisation updates from https://translatewiki.net.
Change-Id: Ifa2fced4e0141c6a441a203f51a8c71b1ed91a2c
2019-05-16 09:10:35 +02:00
Amir Aharoni
85d8175e8e Update jquery.ime from master
Add a keyboard for the Vai syllabary

Updating to
b15f07fe33

Change-Id: I506789db0c0bd17a49681230716c5a13d62c8a0f
2019-05-15 10:43:00 +03:00
Umherirrender
974730a029 Add phan
Change-Id: I2215aa3ec232874ddb680f1f40607f89f9282aea
2019-05-11 21:29:04 +00:00
Amir Aharoni
4f5565033d Update jquery.ime from upstream
1. Adding new input methods for languages of Africa
without the need for replacement or key combinations:
* Akan (ak, tw)
* Bambara (bm)
* Dagbani (dag)
* Dinka (din)
* Fula (ff)
* Ga (gaa)
* Wolof (wo)

2. Fixing the combining character in Yoruba Alt method
from combining tone to combining accent, for better
Unicode compliance.

3. Minor fixes in existing layouts with replacements and
key combinations for Akan, Dagbani, Dinka, Fula, and Ga.

Updating to
1ff996f24b

Change-Id: I3bbc0ac46def6b4e00f6155c14da9a40e2749b27
2019-05-10 21:44:55 +03:00
Translation updater bot
3d18a0cc1f Localisation updates from https://translatewiki.net.
Change-Id: I0ee7c7272d0fc9deacf1e2a17e2ea030c4bd915b
2019-05-10 09:21:26 +02:00
James D. Forrester
be400fe751 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ie5c456ce74674194fd10b3e05a283f32bac60f2f
2019-05-07 11:19:24 -07:00
Kosta Harlan
96f3515eef Use getInstanceForUpdate when saving user settings
Bug: T222300
Change-Id: Ia5e292bea544e5415ebcbbdd75705ee3b547e034
2019-05-02 04:50:50 +00:00
Translation updater bot
0f4ce51591 Localisation updates from https://translatewiki.net.
Change-Id: I573677b4a48f9d8391529cfe93fa19d9280046b0
2019-04-29 22:16:27 +02:00
Fomafix
8366a0a029 ext.uls.eventlogger: Remove use of mw.eventLog.logEvent() promise
This change prevents a failure when clicking on the language revert
button.

This change is a follow-up to c578db020d.

Change-Id: Ic5da1b1dcdcc07de417a6eef0189940cb5a2392f
2019-04-26 21:26:51 +00:00
Kartik Mistry
17df646831 Update version before MLEB release
Bug: T221573
Change-Id: I38eb389c5100b7bcc5d128e3f02933c30da972a2
2019-04-24 12:50:32 +05:30
Timo Tijhof
6928b7ec8d Merge ext.uls.eventlogger into ext.uls.common
This could've been done longer ago (by defining ext.uls.common
in Hooks.php), but didn't notice it before.

The ext.uls.eventlogger was (if configured) loaded on all page
loads. Same as ext.uls.init (but without config condition).

ext.uls.ext is an empty shim around ext.uls.common, which is thus
also loaded on all pages. Merge this into there given has no
reason for being its own module. They are always loaded together.

Change-Id: Icdda6f27470a1d56a37275164c06541514a488a0
2019-04-17 10:52:04 +00:00