Commit graph

1613 commits

Author SHA1 Message Date
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
Translation updater bot b39a3705f0 Localisation updates from https://translatewiki.net.
Change-Id: I50dc46431812ef9c6b519010ab39342b5cb8c379
2022-03-28 07:09:23 +02:00
Translation updater bot 2d29d8e114 Localisation updates from https://translatewiki.net.
Change-Id: I3cfc4f82794ca6744d7b9e6703a41c555535e20b
2022-03-21 06:58:05 +01:00
Translation updater bot 04b897f164 Localisation updates from https://translatewiki.net.
Change-Id: I91badddc302b49d7f158c5b2c4ecde8efda96908
2022-02-28 07:00:40 +01:00
Translation updater bot c5884f9bf7 Localisation updates from https://translatewiki.net.
Change-Id: If39b733af67a58d2813f5c46b95c0b34cba0dcd1
2022-02-14 07:10:24 +01:00
Translation updater bot ba81e0bd55 Localisation updates from https://translatewiki.net.
Change-Id: I8b196f8fb58d320ccc0cd2d1d404c0049c4f1214
2022-01-31 06:59:01 +01:00
Translation updater bot 07680fe86e Localisation updates from https://translatewiki.net.
Change-Id: Icfdb7205d4e4d0b40aa52ec1cd5186975b6dc789
2021-12-20 06:59:37 +01:00
Translation updater bot 344ee14512 Localisation updates from https://translatewiki.net.
Change-Id: I3a15b4996954aaa583309396c7494fcbfb64c48d
2021-12-13 06:56:24 +01:00
libraryupgrader 43b5f2e328 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I294a259caf9c874ec047b6a2a001c3cbcd9ccb2e
2021-09-04 04:55:58 +00:00
libraryupgrader 0775e8e499 build: Updating npm dependencies
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: Ic94070d6ebda17d3165ceca24c6a469b23d7f7c9
2021-07-23 21:34:29 +00:00
libraryupgrader 8119592874 build: Updating npm dependencies
* grunt: 1.1.0 → 1.4.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.5 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* @stylelint/postcss-markdown: 0.36.1 → 0.36.2
  * https://npmjs.com/advisories/1700 (CVE-2020-7753)

Change-Id: Ic0485e04de57935e09078d226cbbd74967ed4a17
2021-05-13 08:20:58 +00:00
libraryupgrader d21b655d99 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I0870d1285cd4921f8ac1e792d1f8c71f26872fe4
2021-01-02 21:23:03 +00:00
libraryupgrader e44ec26892 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: If976aa682a32c003de02675d8c0cca6865179bb8
2020-07-11 02:32:56 +00:00
Translation updater bot a19f263be5 Localisation updates from https://translatewiki.net.
Change-Id: Ibbfe8d87ddf99d179329f415a10028884834c61e
2020-07-06 09:54:31 +02:00
Translation updater bot 48176dae33 Localisation updates from https://translatewiki.net.
Change-Id: Iebd6e22b358fe7c528e8ca757983a67bf304e3bd
2020-07-02 08:42:36 +02:00
Translation updater bot c94ba18a45 Localisation updates from https://translatewiki.net.
Change-Id: I15d0063d2ff48a3d44db26fb8dfe89b0b70a0a14
2020-06-29 16:26:33 +02:00