Commit Graph

3874 Commits

Author SHA1 Message Date
Niklas Laxström
6c773eb3f5 Update language name search data
Change-Id: Ib3c7c4d59ea15d1f9e3060b2eeb5bc54c9f0d739
2021-11-15 08:57:06 +00:00
Translation updater bot
e7393becd7 Localisation updates from https://translatewiki.net.
Change-Id: Id6aafd6a0b004af0d90d708af7f32848e2771ece
2021-11-15 08:13:02 +01:00
Translation updater bot
ea14d38fe6 Localisation updates from https://translatewiki.net.
Change-Id: Idaf1475a0ba452402444b2e88882dca80f5cf7b2
2021-11-11 10:03:08 +01:00
Amir E. Aharoni
6a68fd98b0 Update jquery.ime and jquery.uls from upstream
jquery.ime:
* Add Nawdm tilde keyboard.
Updating to
e81108e70c

jquery.uls:
* Add languages: agq, gpe, mcn, nmz
* Split nod to nod (Tai Tham) and nod-thai, and add Tai Tham support
* Change Cyrillic-alphabet languages to lowercase
* Update autonym: ksw
Updating to
bc2f80a811

Change-Id: If5efad6835b5550ffabe58e624177cbe80906557
2021-11-10 12:31:33 +02:00
Fomafix
10e15cf0f8 Use .parseDom() instead of .parse()
Use

  $( ... ).append( mw.message( ... ).parseDom() )

instead of

  $( ... ).html( mw.message( ... ).parse() )

Add dependency on 'mediawiki.jqueryMsg' to 'ext.uls.setlang'.

Change-Id: I23897ab16a84a1732286921a8153b9a5e57c9462
2021-11-09 21:12:01 +00:00
Reedy
7617fda424 Update OpenDyslexic
Change-Id: I148f31b71b28c954e788719f321c11e463d5d724
2021-11-09 11:35:37 +00:00
Translation updater bot
b9c0a2fef3 Localisation updates from https://translatewiki.net.
Change-Id: I2f40eba5064d3e5e0c8eeef0206f1cc145d28521
2021-11-09 07:29:57 +01:00
Translation updater bot
92575f52e8 Localisation updates from https://translatewiki.net.
Change-Id: I6ab5593f026bd484bceeb8d1070cb99cfb3d364c
2021-11-08 08:17:37 +01:00
Fomafix
f0c6bec1ac Use HookHandlers and inject services
This change also replaces the calls of deprecated functions from class
Language and replaces the global variables by the MainConfig.

Change-Id: Ice7273481a736cb138e263a9300bfd90fdcbb401
2021-11-04 14:00:31 +00:00
Translation updater bot
c482541ef7 Localisation updates from https://translatewiki.net.
Change-Id: Ib33b69ce7c386fd8aa23b1a5ccc898b0fbca5ec5
2021-11-03 08:21:30 +01:00
Translation updater bot
37a8797a93 Localisation updates from https://translatewiki.net.
Change-Id: I093a5690d8687916993b6578c65f7f5392c3295c
2021-11-02 08:07:41 +01:00
Translation updater bot
aeb758e60f Localisation updates from https://translatewiki.net.
Change-Id: I2c228690e90c9cf54d0135e88d1e172f6d265a41
2021-11-01 09:34:47 +01:00
Fomafix
183bb97f74 ApiULSLocalization: Inject LanguageNameUtils
Replace deprecated Language::isValidCode by
LanguageNameUtils::isValidCode.

Change-Id: I2adef21fb37e78c163674008a4f9b1e5a74aa6a1
2021-10-29 13:14:31 +00:00
Translation updater bot
006ae60eb7 Localisation updates from https://translatewiki.net.
Change-Id: I1b86c58a801ef86476e00697fa4dc348773e3c46
2021-10-29 08:22:30 +02:00
Abijeet
4d8131af10 MW 1.35: Re-add class attribute for ULS
Without the class attribute, the ULS does not open on MW <= 1.35.
This was changed in Ie9e30af5468aea9803d77c9a36e480ba2b2e86a0

Bug: T294021
Change-Id: I1bcf4e442e85f8848c5e4ff5609204602265b949
2021-10-28 08:08:29 +00:00
Translation updater bot
265886394c Localisation updates from https://translatewiki.net.
Change-Id: If302e9f0c282a2e72fec9f686d65253e654416ca
2021-10-28 08:29:12 +02:00
Daimona Eaytoy
005f7199ba Suppress taint-check false positive blocking CI
Bug: T294441
Change-Id: I8e060fa8cb7d90b742673a93a52f449920e1d6e9
2021-10-27 17:45:53 +02:00
Translation updater bot
4948b105d8 Localisation updates from https://translatewiki.net.
Change-Id: Icb32f4bce3b71324655d8879974e73eccff29569
2021-10-26 08:18:14 +02:00
Niklas Laxström
caeb7f17bd LanguageNameSearch: Fix typo in a comment
Change-Id: If69eda608eb6a6c9f131448ef3092684bf4af413
2021-10-26 03:45:00 +00:00
Niklas Laxström
fba3bf019e Update language name search data
Change-Id: If2bd2366e04c51a7454c7056ed5cdef955587e86
2021-10-25 14:25:10 +00:00
Abijeet
770b0dfe50 Update version for MLEB 2021.10
Bug: T294021
Change-Id: I252fffcde7d0c401cb8a460c3b162c71948ec018
2021-10-25 13:29:03 +05:30
Santhosh Thottingal
613b8ae5ba Language name search: Avoid searching for very long search keys
Such searches are not useful and unnecessarily creates processing load.

The length limit 100 should cover the longest language names.

Bug: T293749
Change-Id: Ide32704cca578b9aecbce34bdcc0ac25c2a09a4d
2021-10-25 07:35:50 +00:00
Translation updater bot
a31ad3e783 Localisation updates from https://translatewiki.net.
Change-Id: I2460a4748ec863bb6238827f740a7d2f75810642
2021-10-25 08:52:47 +02:00
libraryupgrader
6d8a4084c8 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Idf9f7e08fe13aefeab5dd3a38cd8869528928413
2021-10-24 15:19:32 +00:00
Translation updater bot
6999b2fb15 Localisation updates from https://translatewiki.net.
Change-Id: I0d6ac3e26e3a152bc8bda17360ecbdc38bcd35a5
2021-10-21 08:22:51 +02:00
DannyS712
e17f5c0b39 Merge jquery.webfonts into ext.uls.webfonts.repository
The two modules are always loaded together and don't need
separate entry points.

Additionally, this makes the ext.uls.webfonts.fonts
just depend on the ext.uls.webfonts.repository module
and not do anything else, so remove it in favor of
referencing ext.uls.webfonts.repository directly where
needed.

Bug: T292042
Change-Id: I067b9eda923fcb0d5da0ed80030356f1f747259b
2021-10-19 09:07:11 +00:00
Translation updater bot
a01bf88f9e Localisation updates from https://translatewiki.net.
Change-Id: I2f00d09e0eafc9b1bb4ba59caed8226372d0739b
2021-10-18 15:21:39 +02:00
Amir E. Aharoni
23396f2016 Update jquery.ime and jquery.uls from upstream
Updating jquery.ime to
b8e2488a1f

Updating jquery.uls to
1b3e4265e6

Change-Id: Ie3083acd3f2e70fe7898231ed0328d88f88576cd
2021-10-11 12:03:12 +03:00
libraryupgrader
b3c18c5f8e build: Updating npm dependencies
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1002423 (CVE-2021-3803)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I0336deaf8fda090113d87846ef32e1768c6858a3
2021-10-09 08:36:51 +00:00
Reedy
6f8763b3b2 Remove out of date comment in UniversalLanguageSelectorHooks::setVersionConstant()
PHP entry point is gone

Change-Id: I3f2093336a78fa081b4aee862788c793f586fb63
2021-10-07 02:46:33 +00:00
Translation updater bot
1af4817b92 Localisation updates from https://translatewiki.net.
Change-Id: I982e419867be3660f46572247bb1272e386a6d93
2021-10-06 09:29:00 +02:00
Reedy
b5ec74dc14 Use namespaced BetaFeatures class
Change-Id: I155ca6aa87160be29af1ee57bdd905314410bcf8
2021-10-01 14:38:47 +01:00
Translation updater bot
9545287070 Localisation updates from https://translatewiki.net.
Change-Id: Ie926bcda680b437d457aa7ba5078aca3443f908d
2021-09-30 08:58:00 +02:00
Abijeet
30ba18e86d Update jquery.uls from upstream
Contains Localisation updates and a fix for T187553

Updating to e3a9a11840

Change-Id: I3bd3ec67fb0b1b7a487ccd5568e99f96636d7a88
2021-09-29 09:16:18 +00:00
Translation updater bot
01297ce566 Localisation updates from https://translatewiki.net.
Change-Id: I9cf58824eaeb3b2916d9766b3f27a1acb581abf1
2021-09-29 09:02:22 +02:00
Translation updater bot
7374540038 Localisation updates from https://translatewiki.net.
Change-Id: Id74baebae9ef6a00183f55ffebefb5c66f96475d
2021-09-28 08:19:18 +02:00
Translation updater bot
00bebadd25 Localisation updates from https://translatewiki.net.
Change-Id: I9ac108922faf33104ddfa96ba2ddd3ffc9deee4d
2021-09-27 08:35:48 +02:00
Translation updater bot
d45d96342e Localisation updates from https://translatewiki.net.
Change-Id: Idc469379d471aa6f463a8f70432576792e27548c
2021-09-23 12:28:06 +02:00
Abijeet
065018ef00 Update jquery.uls from upstream
Contains Localisation updates.

Updating to 082092e81d

Change-Id: If66f3edb7cf318ee4fc4aee7cb9481df50ae573f
2021-09-22 08:49:18 +00:00
Translation updater bot
ac49199142 Localisation updates from https://translatewiki.net.
Change-Id: I581843e255029b4b7369d13ec6353850c449c1ac
2021-09-20 08:19:47 +02:00
Translation updater bot
7c6a4ad98c Localisation updates from https://translatewiki.net.
Change-Id: Ic3d41e1f15b4391d4ae59d0eeec86ed516a6a806
2021-09-17 08:45:56 +02:00
Translation updater bot
4ace09357d Localisation updates from https://translatewiki.net.
Change-Id: I5dc28dacb9ea17530537376ff935a7bfc4e32b49
2021-09-14 08:33:23 +02:00
jdlrobson
869c721e91 Language button should prevent default click behavior
In Vector the language button is a checkbox. It uses the checkbox
hack to provide non-JS dropdown behaviour.

When the JS upgrades such a button, the checkbox behavior continues
to work. An unsatisfying hack in Vector workarounds this problem.

This provides a neater way to disable that behavior
in Vector once the button is clicked by adding support for the
well documented checkbox hack.

Bug: T283757
Change-Id: I97a69c30b27cb1ded06451389e086229561c3589
2021-09-13 07:04:33 +00:00
libraryupgrader
a445ddfe19 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I84c0d7aed3b5488ac2914a57beb8a713a5c11dfb
2021-09-09 09:27:05 +00:00
Translation updater bot
8ccda3f0a0 Localisation updates from https://translatewiki.net.
Change-Id: I81dc12df9c44e74e6474bb1defe6b9bf2180cbd2
2021-09-08 08:10:43 +02:00
bwang
efb6aab4ad Update .gitignore to ignore DS_Store
Change-Id: I9dec5b8677460a67bd8ca87cafc365b334f599aa
2021-09-08 02:58:12 +00:00
bwang
9e952f28af Add support for multiple ULS buttons
- Update document click handler for loading ULS
- Use data attributes to ensure ULS isnt loaded multiple times for an element

Bug: T289815
Change-Id: Iba6cbbd6c6e48a1abfda342421822e3ff2715362
2021-09-07 15:21:26 -05:00
jdlrobson
a55369e0e2 Pull out Vector personal tools styles into skinStyle
Most of the skin styles are no longer needed for modern
Vector. This refactors them so that they only apply
to legacy vector, reducing the overrides needed inside
Vector.

Depends-On: I1edee874a42b070bc319648496ae80a01b6365fb
Bug: T289630
Change-Id: Ic5ab5172d881c48caae6bb3691ccc95515dcdcdb
2021-09-07 06:58:22 +00:00
Translation updater bot
4d1ae715ab Localisation updates from https://translatewiki.net.
Change-Id: I31ff8a85fd1595a4e99aef8636ed4a3f762efc87
2021-09-07 08:11:16 +02:00
Translation updater bot
b70e2f59cd Localisation updates from https://translatewiki.net.
Change-Id: I454c81422e97fccb8a8a7d02a414a720c37befd4
2021-09-06 08:21:25 +02:00