Commit Graph

3709 Commits

Author SHA1 Message Date
Translation updater bot
1f6a7aff28 Localisation updates from https://translatewiki.net.
Change-Id: I922e7c7e0098dd79ed533e910056e3ef840a4fa6
2021-12-24 09:10:04 +01:00
bwang
c95e8e70c5 Handle "Enter" keyboard event for checkbox hack selectors
"Enter" key support for Vector ULS button was previously handled by the core checkbox hack. With the upcoming changes to the checkbox hack implementation, it needs to be handled separately.
Context: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/747877/10/resources/src/mediawiki.page.ready/checkboxHack.js#b275

Change-Id: Id74a80cda6cf460cc2b579269b8d5b2ce81c8ca5
2021-12-21 22:17:34 +00:00
Translation updater bot
79eb26fafd Localisation updates from https://translatewiki.net.
Change-Id: I834ed24cf30374ad2c2ccef795c9c8312d0785ce
2021-12-21 08:12:28 +01:00
Translation updater bot
1d2dacc2c0 Localisation updates from https://translatewiki.net.
Change-Id: I13b1b071b5463b0a91f2a2dd16525c3bfa6abbf2
2021-12-20 08:21:49 +01:00
Translation updater bot
f35f4463ea Localisation updates from https://translatewiki.net.
Change-Id: I95e602a2d1ced576361e726e8b4defb45cfd1d4d
2021-12-16 08:30:20 +01:00
Translation updater bot
a6c7690623 Localisation updates from https://translatewiki.net.
Change-Id: I104cb97120f2f006bc7ea29b1ac31aefe1bd7969
2021-12-13 08:22:20 +01:00
Translation updater bot
357e68b884 Localisation updates from https://translatewiki.net.
Change-Id: I0082af7555f92b5998fbc1fd607448ba09cf6948
2021-12-10 08:25:12 +01:00
Translation updater bot
0cf64b54b7 Localisation updates from https://translatewiki.net.
Change-Id: I573d906140a52f3f283be3e225ecd7a9dfa8864c
2021-12-07 08:12:35 +01:00
Translation updater bot
1158e2b0b0 Localisation updates from https://translatewiki.net.
Change-Id: I549cd0464e35a7a27398f4745d1e53ed8f6e1549
2021-12-03 08:43:11 +01:00
Translation updater bot
adb707f90f Localisation updates from https://translatewiki.net.
Change-Id: I444ea8be3a37b69feada3ff7bda2f681c53820bb
2021-12-02 08:42:16 +01:00
Translation updater bot
1b80b31ec4 Localisation updates from https://translatewiki.net.
Change-Id: I337ecdcb7f308a37a462e53182b9b62f0d4ca496
2021-12-01 08:15:43 +01:00
Ed Sanders
2b16bb0ad8 Upstream WMF config to disable ULS in Ace editor widgets
This rule was applied to all WMF wikis in T55300 / I0cc1e92a8f,
but for some reason was not set here.

Change-Id: I908aac19b648de550659aad85bca115f26f43fb4
2021-11-30 12:19:08 +00:00
jdlrobson
5890cf27f1 Disable language button background color on modern Vector
Limit this style to sidebar buttons. When skins are not placing it
inside the sidebar (e.g. modern Vector), we should defer to them for
all styling matters. This rule clashes with modern Vector's mw-ui-button
class.

Bug: T296323
Change-Id: I16bdbf8882e37b8727fbf693c904b9c9d1d8820c
2021-11-29 23:28:35 +00:00
Jan Drewniak
2d9279a1f1 Accommodate Vector sticky header in menu positioning
Adds special logic to accommodate the ULS trigger being placed inside
modern Vector's sticky header, which has a fixed position and requires
the ULS menu to remain pinned to the page when scrolling.

Bug: T295391
Change-Id: Ic531dd2ae213f8221157386f79edb95bc61a8119
2021-11-29 17:26:28 +00:00
Reedy
c3bdd26c7a Add Awami Nastaliq font
Bug: T290510
Change-Id: I37403b6ff61af63f54e4277acbb436bf2d93db6d
2021-11-29 14:02:36 +00:00
Reedy
b7e881be0a LanguageNameSearch.php: Minor cleanup
Change-Id: If031c59fee64ad6e51dedd3328aec7eca6ed0019
2021-11-29 13:59:32 +00:00
Umherirrender
72c8cdb40b Use User object in UserGetLanguageObject hook only when safe to load
In case of error formatting the context language may set up before the
Setup.php is ended.

Bug: T267445
Change-Id: I4f07b30f75922884867bd14d654effc0e26a47f4
2021-11-29 13:59:30 +00:00
Translation updater bot
ff1d37481a Localisation updates from https://translatewiki.net.
Change-Id: I4f9b192f8c0e05413a2cb39d5987a5a1c73631a3
2021-11-29 08:12:41 +01:00
Reedy
80444e8be6 Fix indenting of LanguageNameSearchData.php
Bug: T296506
Change-Id: I6f6cfb53abeb42d75e876d9e2d481291265f0466
2021-11-25 23:40:02 +00:00
Jan Drewniak
7805386fcb Lower .uls-menu z-index for Vector skin
To avoid overlapping with the Vector sticky header, the z-index
should be lowered so that the sticky header is always
above it.

Bug: T295794
Change-Id: I9d3f45d56204bedc98d1994ed984b43f01c29fd5
2021-11-24 17:13:06 +00:00
Translation updater bot
5658423fa6 Localisation updates from https://translatewiki.net.
Change-Id: Ic1eabefd21974c888acd12fb140eba394d599569
2021-11-24 08:22:40 +01:00
Translation updater bot
126936f41f Localisation updates from https://translatewiki.net.
Change-Id: I65c3d2f59f89371bba887eed534c1c935a0a735f
2021-11-22 09:03:56 +01:00
Fomafix
bd4a6f20a3 Update comment from addConfig to onResourceLoaderGetConfigVars
In f0c6bec1ac the function addConfig was
renamed to onResourceLoaderGetConfigVars.

Change-Id: I1fd7242b676e90366fbe5bfb95e6e0e3497b917f
2021-11-22 05:54:42 +00:00
Fomafix
6ee366a2c8 Reuse userCanChangeLanguage()
Change-Id: I52893ca8e2579520d21579bd7fdcb9af858a52b9
2021-11-21 19:39:25 +00:00
Fomafix
c1a36d3490 Don't call isCompactLinksEnabled() twice in the same function
Store the result in a local variable.

Change-Id: Ie45c22c3af370b0cdcbe614497691b0bd849393f
2021-11-21 19:00:08 +00:00
Translation updater bot
7e34cf604b Localisation updates from https://translatewiki.net.
Change-Id: I9b2d982151701c01b7cb7b3c751b4acc66162117
2021-11-19 08:28:45 +01:00
Translation updater bot
4f7b57fc30 Localisation updates from https://translatewiki.net.
Change-Id: I62936986f9438a6881425b1c637bea4db6628dbb
2021-11-18 08:42:36 +01:00
Niklas Laxström
9cf8ca3305 Add apioutput to unsupported skins
There is nothing ULS can do here: there is no entry point to change
language or access settings, there is nothing to type.

One exception would be loading web fonts. But I would argue that
that is a small set of users, who can use Special:ApiSandbox or
the wiki help pages.

Bug: T145186
Change-Id: I71de2a58f007ff03b01c9edc5ed6bed0e6524c4e
2021-11-17 13:14:05 +00:00
Translation updater bot
04d0819d7d Localisation updates from https://translatewiki.net.
Change-Id: If339f4c6936bed7392c9be06c5580fc8e54dacd4
2021-11-17 08:31:08 +01:00
Abijeet
defc3d416d ApiULSSetLanguage: Use LanguageNameUtils
Change-Id: I00e814894db4ba84f1d08c52db2993b59fbccf55
2021-11-16 18:36:23 +00:00
Abijeet
98252ee386 LanguageNameSearch: Remove usage of deprecated Language functions
Change-Id: Ia8f2961550ccb4e0032cd7e24d36628c675873a9
2021-11-16 13:57:36 +00:00
Abijeet
da4d965739 Replace usage of ApiBase::PARAM_* with ParamValidator::PARAM_*
Change-Id: I4c7c16f8b3380cdaf32fbedc9d33f12b14050774
2021-11-16 13:56:49 +00:00
Translation updater bot
1c3098189f Localisation updates from https://translatewiki.net.
Change-Id: I733725eda2d2cda1c9e88e9af9b76bc28a76b669
2021-11-16 07:18:51 +00:00
Niklas Laxström
9075dc7eea Update LanguageNameSearchData
Change-Id: I9a9360da306c31905ca8be3fc88661bfaa3c5365
2021-11-15 15:36:43 +02:00
Amir E. Aharoni
95b35715ff Update jquery.ime and jquery.uls from upstream
jquery.ime:
* Add Aja tilde and Mon Simplified Anonta
* Remove unnecessary Alt combinations from Burmese XKB.
Updating to
9bb9ec5b3a

jquery.uls
* Add Aja (ajg) and Logooli.
Updating to
09c410877d

Change-Id: Ib4ee4fa3cd123f0ca872c6afe1c3b1108bc23dbe
2021-11-15 13:59:57 +02:00
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