Commit Graph

3190 Commits

Author SHA1 Message Date
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
Translation updater bot
00ba839e46 Localisation updates from https://translatewiki.net.
Change-Id: I951e3a124756c91f633e1be4b9014f42f965ad0c
2019-03-02 22:42:48 +01:00
Reedy
f8e9ed1299 Move some more php files under includes
Change-Id: I55d536e05c50a90f0805a6dc4252cc003ee0c7bb
2019-03-02 20:11:49 +00:00
Reedy
e1c7ad82bd Use ExtensionRegistry rather than class_exists
Change-Id: I973768e0c1d87858f97ce3f1961850439672f638
2019-03-02 19:46:13 +00:00
Umherirrender
03bc19fab2 Use ::class for class name resolution
Available since php5.5

Change-Id: Ie71b7f9d289a34532f6e3e1f32ac25bf08b9903f
2019-03-02 20:11:12 +01:00
Translation updater bot
1ab40133d6 Localisation updates from https://translatewiki.net.
Change-Id: I8dfc81a9b8c8a33dd3ec238385285b8eec59ef6a
2019-02-28 22:25:21 +01:00
Timo Tijhof
1c99196ef8 ext.uls.eventlogger: Remove unused code
Follows-up e58be7c411, 1ad0c9c819.

* The mw.uls.eventlogger property does not appear to be
  used anywhere indexed by Codesearch. It was also undocumented.
  Removed without deprecation. Kept exposed for debugging purpopses
  via module.exports, which could be retreived in tests via require(),
  or via mw.loader.require() from the browser console.

* Remove redundant $.Deferred wrapper.

Change-Id: Id081038e5d4902c7e38967353c6f551c12517311
2019-02-19 08:44:36 +00:00
Translation updater bot
5cadad9ec1 Localisation updates from https://translatewiki.net.
Change-Id: Iccd6e18716e342f6d539867a54dbb357358da71f
2019-02-18 22:23:28 +01:00
Timo Tijhof
30894fb6c1 ext.uls.eventlogger: Avoid deprecated schema module on MW 1.33+
Bug: T209629
Change-Id: Ia77273e0a63dcd31e636ba3a52d188fb743bb2df
2019-02-16 22:59:41 +00:00
Translation updater bot
bd33db04a8 Localisation updates from https://translatewiki.net.
Change-Id: I65cdcfb9488946071de907ac78bfc0ec45261183
2019-02-11 22:28:26 +01:00
Translation updater bot
d71f413cf5 Localisation updates from https://translatewiki.net.
Change-Id: I6b697931bb28dc4dc4df49e482aff1942e821add
2019-02-05 22:38:01 +01:00
Fomafix
808e7cc8cd Get context from hook PersonalUrls
The hook PersonalUrls provides as third parameter an instance of the
SkinTemplate class. This provides the context.

Also fix the type of the $title parameter from string to Title in the
@param comment.

Change-Id: I35f4445292a4562718ab094bd62c0fa988abec19
2019-02-04 18:58:26 +00:00
Translation updater bot
cad808c722 Localisation updates from https://translatewiki.net.
Change-Id: I61b8a742b4e2e1388da2aafcbc5f6f9c8a874518
2019-02-03 22:38:55 +01:00
Translation updater bot
ecf2074bb4 Localisation updates from https://translatewiki.net.
Change-Id: I81a89c356f5e7fc3234558868e043e893bb1b786
2019-01-30 22:14:39 +01:00
Translation updater bot
69ad30b34a Localisation updates from https://translatewiki.net.
Change-Id: If7c228c0b231fa24448056d7337182da680ad74f
2019-01-28 22:27:23 +01:00
Translation updater bot
b5ba43b684 Localisation updates from https://translatewiki.net.
Change-Id: I3851098e4f653a44b33a4330feb40ef0618e57f6
2019-01-18 22:19:20 +01:00
Kartik Mistry
a79c1f5038 MLEB: Update version
Change-Id: I2a7814532bdb8c94ae6cf0c05228b67de38f45d1
2019-01-17 15:58:46 +00:00
Translation updater bot
053bdfe3be Localisation updates from https://translatewiki.net.
Change-Id: I643dfb421ffc652d9e538021e1d3a3eb00acf92f
2019-01-17 09:13:03 +01:00
Translation updater bot
a2c5a13648 Localisation updates from https://translatewiki.net.
Change-Id: Ib2d8f8054a91accb8eb28dc55b47d3bc4a1353e0
2019-01-09 22:19:00 +01:00