Commit graph

1628 commits

Author SHA1 Message Date
Translation updater bot de6c926beb Localisation updates from https://translatewiki.net.
Change-Id: I48c2c6b6b7545f1d82ce062674f878c610d4aaba
2023-12-25 08:17:35 +01:00
Translation updater bot 455bf86343 Localisation updates from https://translatewiki.net.
Change-Id: Idd54c5e964d259675d1d9c885b9509e0d3ba5de9
2023-12-04 08:14:36 +01:00
Translation updater bot f06b5f97e3 Localisation updates from https://translatewiki.net.
Change-Id: I0c7e50c4175274617a6cfeff7db1a1bb415fc03b
2023-11-27 07:56:59 +01:00
Translation updater bot a6fa1de7c7 Localisation updates from https://translatewiki.net.
Change-Id: I6be4e8ddbe17fc2b432441e0dbbc43a84059122f
2023-10-30 08:10:51 +01:00
Translation updater bot 8f251b1911 Localisation updates from https://translatewiki.net.
Change-Id: Ifd10fbd82269cbd9cb60f5a08c2f8724cf414c71
2023-10-02 07:46:42 +02:00
Translation updater bot 4291623a17 Localisation updates from https://translatewiki.net.
Change-Id: Ida5ca012dc43418c04dca458d8dfc8fb50efba59
2023-09-25 07:57:36 +02:00
Translation updater bot 6ac501e71d Localisation updates from https://translatewiki.net.
Change-Id: Ide3c77699e7ecac55126946c271a6670984d1224
2023-09-04 07:53:43 +02:00
Translation updater bot dc3b8cdfab Localisation updates from https://translatewiki.net.
Change-Id: Iddf873306e6b0562180780ca8c04cef3ce939775
2023-08-07 07:47:52 +02:00
Translation updater bot 16235931a9 Localisation updates from https://translatewiki.net.
Change-Id: I0e86771fcf7b6d723bc834fb830c598602e65d7a
2023-07-31 07:59:45 +02:00
Translation updater bot cd75ea245c Localisation updates from https://translatewiki.net.
Change-Id: I73d01575a76013a066db35ba9890b6b11b362cfe
2023-07-24 08:43:58 +02:00
Translation updater bot a706d8c315 Localisation updates from https://translatewiki.net.
Change-Id: I41462813a65473ae125fcf1d03272628e54e9d80
2023-06-26 09:02:01 +02:00
Translation updater bot 9d57f3aa1e Localisation updates from https://translatewiki.net.
Change-Id: Ic25dd957bf85995ac29d445252d34ec8be4ec035
2023-06-05 07:52:19 +02:00
Translation updater bot de48c9585d Localisation updates from https://translatewiki.net.
Change-Id: I874359c2e9aa8bc245444c1e476672fa313af3f4
2023-05-22 08:11:53 +02:00
Translation updater bot a144333271 Localisation updates from https://translatewiki.net.
Change-Id: I8527c385ebafd47e4271d898ee5238575a6afa86
2023-05-08 09:24:57 +02:00
Translation updater bot 65ff198916 Localisation updates from https://translatewiki.net.
Change-Id: I6cc72e02552efc8c6908109715158a430877535d
2023-05-01 08:52:24 +02:00
Translation updater bot 4dde6a3171 Localisation updates from https://translatewiki.net.
Change-Id: Ib785e7d14c34a6f3a3d3f6ed09456c24a5368d15
2023-03-27 07:57:41 +02:00
Translation updater bot 5c3e885f22 Localisation updates from https://translatewiki.net.
Change-Id: I485268661c38e5842b9093198243b90c1a98ac1a
2023-03-20 07:59:36 +01:00
Translation updater bot 04dd5d7dfb Localisation updates from https://translatewiki.net.
Change-Id: I9ad515981ef0b6cfe8fbfc1349e2f1e5f75c46da
2023-03-13 08:04:40 +01:00
Translation updater bot e0b5f67965 Localisation updates from https://translatewiki.net.
Change-Id: I256df6a0f051061401d0d908406635055ef6d4c3
2023-02-27 07:43:06 +01:00
Reedy efbd6ffcd9 ScribuntoException: Use value property not dynamic property
Bug: T330524
Change-Id: I69a102497fffb939c849d2836302068ac9eff3d0
(cherry picked from commit 033c69cfab)
2023-02-25 14:08:58 +00:00
Umherirrender 1f6ba6904f tests: Fix i18n part of test data to match new translation
https://translatewiki.net/w/i.php?title=MediaWiki:Duration-minutes/kaa&oldid=11412949

Follow-Up: Ibc5e8cee9e076c8952eb24839d5e97d4eca4ccf4
Change-Id: If352609c5ad7d9a52a94c737cac3f0f1a47de2e0
(cherry picked from commit f15b30cdb7)
2023-02-25 14:08:53 +00:00
Translation updater bot 143a517211 Localisation updates from https://translatewiki.net.
Change-Id: I056dcc5da71b342e32a37e058ddf47daa7a471e0
2023-01-16 07:40:29 +01:00
libraryupgrader ea71ba5f99 build: Updating json5 to 2.2.2
* https://github.com/advisories/GHSA-9c47-m6qq-7p4h

Change-Id: I579da918a8607a2d3d0dd271d88fa2cf9dc09afd
2022-12-29 12:32:38 +00:00
Translation updater bot 619a644ca1 Localisation updates from https://translatewiki.net.
Change-Id: I4076187d56b9bf83c2b8aa09c937c6366cc5cd87
2022-12-26 08:13:09 +01:00
Translation updater bot feab919d65 Localisation updates from https://translatewiki.net.
Change-Id: I0ec6dda8b892d9646c3d3976f1f6e2b7655fdf58
2022-12-19 07:41:07 +01:00
Translation updater bot cf8ce26609 Localisation updates from https://translatewiki.net.
Change-Id: I8eef5c8d2faf47cdf79cd3ce4da485a582e8aef5
2022-12-12 07:23:39 +01:00
Translation updater bot d9460ee834 Localisation updates from https://translatewiki.net.
Change-Id: Ie20649802faa3b253d94601f0863a840b9b85a6c
2022-11-21 07:29:56 +01:00
Translation updater bot 80f5665c06 Localisation updates from https://translatewiki.net.
Change-Id: I2d80fd95afbdcf4bb2b5bb2f26efb939a3801c52
2022-11-14 07:12:11 +01:00
Translation updater bot ea7804c9fd Localisation updates from https://translatewiki.net.
Change-Id: Ibd9f2b5f6102bb55a3dac43997daeb43fbe0aea9
2022-11-07 07:27:55 +01:00
Kunal Mehta d433cae33a Add strict.lua to replace "Module:No globals"
This is being backported because many users copy lua modules from
Wikipedia, and thus benefit from forwards-compatibility.

For the most part, it is a good idea to avoid global variables and use
`local` variables instead. Quoting from the ScopeTutorial[1], "The
general rule is to always use local variables, unless it's necessary for
every part of your program to be able to access the variable (which is
very rare)."

Wikimedia module authors have written "Module:No globals", which errors
on the use of any global variable. On the English Wikipedia, this is
used on 32% of pages (18 million). Wikidata[2] indicates that it's been
copied to 334 other wikis.

Lua itself distributes an extra named "strict.lua"[3], which is what
this is based off of. Similar to bit32.lua, this is a pure-Lua library
that can be imported/enabled with `require( "strict" )` at the top of a
module.

The two changes I made from Lua's strict is to exempt the `arg` key,
which is used internally by Scribunto, and remove `what()`, since we
don't enable access to `debug.getinfo()` for security reasons.

[1] https://lua-users.org/wiki/ScopeTutorial
[2] https://www.wikidata.org/wiki/Q16748603
[3] http://www.lua.org/extras/5.1/strict.lua

(Cherry-picked from 829c53ef05)

Bug: T209310
Change-Id: I46ee6f630ac6b26c68c31becd1f3b9d961bcab29
2022-11-07 06:04:50 +00:00
Translation updater bot c2ce1c631a Localisation updates from https://translatewiki.net.
Change-Id: I0a0ebd0d213fea6509745e04b49570d99954afbe
2022-10-31 07:37:54 +01:00
Translation updater bot 5205b2b70f Localisation updates from https://translatewiki.net.
Change-Id: If68bd48fe887b639347922d46474dfecbc5a6949
2022-10-24 07:56:23 +02:00
libraryupgrader 8f6b0ec39f build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I5902d581bc36821da101631bdde3563bcbedc075
2022-10-24 03:56:55 +00:00
Translation updater bot ea878837e2 Localisation updates from https://translatewiki.net.
Change-Id: I2f93be13314e2a73c906e01b889d8679a93a7e30
2022-10-17 07:37:57 +02:00
Translation updater bot ea4dedb15b Localisation updates from https://translatewiki.net.
Change-Id: Ib11cfee1d8252109eab0b7f3b324b5e6362e5aff
2022-10-03 07:25:11 +02:00
Translation updater bot 476efbd071 Localisation updates from https://translatewiki.net.
Change-Id: If28182ee3fc90d8992e7659cc1b0298226ff51e2
2022-09-26 07:13:51 +02:00
Translation updater bot 1c229c60f3 Localisation updates from https://translatewiki.net.
Change-Id: I56a5d40a706543f51aca5db0f6e6d3bda5c2d7b0
2022-09-12 07:12:54 +02:00
Translation updater bot 28e2fc2872 Localisation updates from https://translatewiki.net.
Change-Id: Ib38def2e7bb54597eda7d35b2630658f8213c0be
2022-09-05 07:17:59 +02:00
Translation updater bot c4261d3e14 Localisation updates from https://translatewiki.net.
Change-Id: Iae3fb8c9ac6964ba5347a55a83fe91447acd33ec
2022-08-15 07:08:17 +02:00
Translation updater bot 557c175d38 Localisation updates from https://translatewiki.net.
Change-Id: I5b136117dcdc0ca573c4b24ae8c3fb27a6385ab1
2022-07-18 07:26:53 +02:00
Translation updater bot cc20d47d3a Localisation updates from https://translatewiki.net.
Change-Id: If6ba631e6e13e516d7a20a043bf43d75c4913bdb
2022-07-04 07:18:56 +02:00
Translation updater bot db46d7ca53 Localisation updates from https://translatewiki.net.
Change-Id: Ied831191c967ed01298d5d5c86e7dece61bc90b0
2022-06-20 07:25:03 +02:00
Translation updater bot 4514ee4a76 Localisation updates from https://translatewiki.net.
Change-Id: I0caa1971805b03c5da04b2455d71e409f784f66a
2022-06-06 07:18:13 +02:00
libraryupgrader 07050e70ad build: Updating grunt to 1.5.3
Change-Id: Ib7e8202951f67dc65af7716c57827b039e595c2d
2022-05-24 00:45:35 +00:00
Translation updater bot 7aeb02d917 Localisation updates from https://translatewiki.net.
Change-Id: I5c97721ee41bc2c7baea6c992afdf6809d78bdc2
2022-05-16 07:25:44 +02:00
Translation updater bot 0a178778c7 Localisation updates from https://translatewiki.net.
Change-Id: I793150a4c8a12f88f4239420ed13d8948169c10a
2022-05-02 07:05:38 +02:00
Translation updater bot 2c734797c0 Localisation updates from https://translatewiki.net.
Change-Id: Iff32e0cce507a4cfdf4ef9ec971f45c5722babb4
2022-04-25 07:11:37 +02:00
Translation updater bot 4f9f4d7b83 Localisation updates from https://translatewiki.net.
Change-Id: Ib8b7bf1d6610c6eddc9f2528ad8f961f0c2bc1d9
2022-04-18 07:12:55 +02:00
libraryupgrader 309b1408cb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingParamTag
  * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
  * MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn
  * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
  * MediaWiki.Commenting.PropertyDocumentation.NotShortBoolVar
  * MediaWiki.Commenting.PropertyDocumentation.NotShortIntVar
  * MediaWiki.Commenting.PropertyDocumentation.WrongStyle
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon
  * PSR2.Classes.PropertyDeclaration.Multiple

npm:
* ajv: 6.10.2 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-regex: 5.0.0 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

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

Change-Id: I816da6b8a36655ee7c44af56eff55bb84622c0a7
2022-04-15 22:25:30 +00:00
Translation updater bot 384c64e113 Localisation updates from https://translatewiki.net.
Change-Id: I487f5029ff04bf71681cdf6274e680e2172a1732
2022-04-11 07:12:04 +02:00