Commit Graph

3208 Commits

Author SHA1 Message Date
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
Timo Tijhof
49ed2a5ac4 ULSJsonMessageModule: Remove language code validation
The ResourceLoaderContext class already performs a stricter
version of this.

Change-Id: I46b920cbc0f9024e5ed2027ff30c40400a73fef3
2019-04-17 04:37:46 +00:00
Fomafix
6fadfa783b Remove addModules( 'ext.uls.init' )
The modules 'ext.uls.init'/'ext.uls.common' provides only a library and
no own funtionality. The modules get automatically loaded through
dependencies by other modules when needed as library. An explicit
loading on all page is not necessary. For example the MediaWiki API
help page does not have any ULS elements.

Bug: T145186
Change-Id: Ida99704ca2846e6adf154255bee3148e80c957d8
2019-04-17 04:37:44 +00:00
Timo Tijhof
ea671b1f24 ext.uls.eventlogger: Use mw.track() and remove EventLogging dep
Given the code no longer uses any EventLogging methods directly,
but rather mw.track(), this means it also doesn't need to declare
any dependencies, including for older MediaWiki versions this
will work as-is.

Change-Id: I8cdcef54321d0887c509fc3683acf132c113e628
2019-04-17 04:04:01 +00:00
Timo Tijhof
c578db020d ext.uls.eventlogger: Remove use of mw.eventLog.logEvent() promise
I guess the expectation was that for browsers that don't support
Navigator.sendBeacon, the promise would wait for the 'new Image'
fallback to complete.

However, EventLogging never did that. In browsers where the Beacon API
is not supported, 'new Image' starts asynchronously and either
way the returned promise is immediately resolved.

The only purpose of the returned promise was to detect errors
in the format of the event (e.g. missing properties), which this
code is not concerned with (given that it uses "always",
not "done"). And besides, for that you'd probably want to use
the EventLogging debug mode [1] instead.

This is the last step before ULS can switch to a soft EL dependency
by using mw.track instead, which I'll do in the next commit.

Change-Id: If016b73dcd7320ddf1478c1678d2cc6371fe0fa1
2019-04-17 04:03:47 +00:00
Translation updater bot
5fb1804872 Localisation updates from https://translatewiki.net.
Change-Id: I012316ac3b2636718f1ef42966eed64ae5425a02
2019-04-15 22:54:38 +02:00
Ed Sanders
aec4604b76 Disable ULS in VE readOnly mode
Bug: T217740
Change-Id: I217cf957f853bf0ed701f997f36bdbcc58f4a23d
2019-04-12 22:03:34 +01:00
Translation updater bot
56e01064d3 Localisation updates from https://translatewiki.net.
Change-Id: I2c5fa55374ca7e662c3fc38e615668d8250729b9
2019-04-12 08:32:40 +02:00
Translation updater bot
0e4002a4df Localisation updates from https://translatewiki.net.
Change-Id: I664ce0c0a5e8acc8f65f58a16610c7a96d2d459b
2019-04-09 09:03:27 +02:00
Translation updater bot
43cdff5b68 Localisation updates from https://translatewiki.net.
Change-Id: I5f9f5bf557a5ac75b676f798a1629be3d9f123da
2019-04-04 14:55:06 +02:00
Kartik Mistry
092182786d Update package.json
Fixes security issue detected by `npm install`.

Change-Id: I53a67f564b73a19837c880ae3c3401f3e4f86a7d
2019-04-01 15:12:42 -07:00
Santhosh Thottingal
da0aad3e03 Add fonts for Church Slavonic
Adding Ponomar, Fedorovs, Menaion and Monomakh restaurant.

Bug: T156843
Change-Id: I8f7c4861fc667bba3dfd4359f2c59633fa6f83ff
2019-04-01 12:39:33 -07:00
Translation updater bot
22cb63ad7c Localisation updates from https://translatewiki.net.
Change-Id: Ib9810547bdc41f723e5b96cf5fc4cd4fdc0c4366
2019-03-31 22:17:21 +02:00
Amir Aharoni
a85bc8171c Major update of jquery.ime from upstream
Changes:
* New tilde-based layouts for several languages of Africa:
  Kabyle, Kabiye, Kikuyu, Luganda, Lingala, Malagasy,
  Northern Sotho, Koyraboro Senni, Sango, Sotho, Venda
* Latin Pinyin transliteration keyboard
  https://github.com/wikimedia/jquery.ime/pull/545
* CSS and JS cleanup, to switch to stylelint and eslint.

Updating to
22407cf992

Bug: T212637
Change-Id: I167e572a6cc0f7c1c727e87e8ff361d88f87b40f
2019-03-29 15:02:33 -07:00
Fomafix
ce063ac705 ULSJsonMessageLoaderTest: Expect a generic Exception
This allows to change from MWException to
Wikimedia\Assert\ParameterTypeException by
I8287118cf8ec01326ead9c90a38f7b4134c3eba9.

Change-Id: Ib0cb388958cf720052ca6df73d5145b7ab3f9529
2019-03-14 10:05:59 +00:00
Ed Sanders
c080452013 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: Ic59891fab5f8e35420bddbed34072841883fa543
2019-03-13 23:41:14 +00:00
Translation updater bot
595693a3f5 Localisation updates from https://translatewiki.net.
Change-Id: I6007780862fc401fb03e81ff6b703f0349b7c02f
2019-03-13 22:16:29 +01:00
Timo Tijhof
232b6a8a58 ext.uls.eventlogger: Remove unused class
* Simplify as pure functions.
* Remove unused 'schema' parameter to log().
* Remove unused 'module.exports'.

Change-Id: I900303f29cc425cc579acc7379a88ef4f0e882af
2019-03-13 18:11:57 +00:00
Amir Aharoni
7d46d19e0c Update jquery.ime from upstream
Updates the title for the Danish layout.
Requested at https://www.mediawiki.org/wiki/Topic:Uv1x6fv5fi0yipe0

Updating to
930e6ba05d

Change-Id: I9d9f84265a99398687bd058df8322ff6762af6b8
2019-03-13 15:06:16 +00:00
Translation updater bot
5e2edaa3bd Localisation updates from https://translatewiki.net.
Change-Id: Iabf16060aede705368bbbc3480d09e84b90c5c4c
2019-03-12 22:29:35 +01:00
Umherirrender
fbf3f3b214 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
MLEB extensions now supporting php7

Change-Id: I582418eb4038114d0e751797bc17929ca4633867
2019-03-11 22:36:40 +01:00
Translation updater bot
c7de323ee6 Localisation updates from https://translatewiki.net.
Change-Id: If0904897b9b254b8c5bd2058968315000b3e4da6
2019-03-07 22:41:06 +01:00
Translation updater bot
1ab81a9a93 Localisation updates from https://translatewiki.net.
Change-Id: I18ebf0aae99b36d26d073e51b13afd5873369cdb
2019-03-04 22:16:24 +01:00
Umherirrender
df2aa345a3 Use ::class for class name resolution
Available since php5.5

Change-Id: I31f5157146f5977feecbd9537f8b4a1c292b0d22
2019-03-03 15:17:57 +01:00