Commit graph

1844 commits

Author SHA1 Message Date
C. Scott Ananian 0cd8904842 Suppress phan false positives in LuaSandboxEngine::formatLimitData()
Most of this function deals with values for the single
scribunto-limitreport-profile key, where $value is an array of
strings.  Phan's security check plugin was getting confused because
*in general* the $value passed to a ParserLimitReportFormat hook can
be almost anything.

Change-Id: I0ef5ef71f00a92bd5db0df340725c88595fcb0c6
2020-10-23 17:02:23 +00:00
Reedy 664c866980 Use tab indenting consistently
Change-Id: I7387882d8ece9bb7f2eac8891c010a2fcb0a57b0
2020-10-23 16:39:12 +01:00
C. Scott Ananian 6a999fb6aa Fix a lua test which uses a deprecated Message formatter feature
Message formatters which expect numeric arguments should not be passed
non-numeric arguments; they will emit a deprecation message if they are
given such (core commit 448a51ae083abc1ca9fccb51a5a533e0fe9f8b71).

Change-Id: I431538873083e14dbd85cb1c8889c3a8350aa75a
2020-10-23 11:10:16 -04:00
Translation updater bot 6b907fd8c6 Localisation updates from https://translatewiki.net.
Change-Id: Ic74f805ec33f3d5462bcd2fe738ba3eace5c1c26
2020-10-20 08:31:15 +02:00
Translation updater bot 451d838de4 Localisation updates from https://translatewiki.net.
Change-Id: Ie96369437ce8e01989168b6f8666dff8a6144a95
2020-10-16 08:29:46 +02:00
Translation updater bot 91d3fed63e Localisation updates from https://translatewiki.net.
Change-Id: I886c90cafba34eef4577a5d6d8a3e64ebb0c078b
2020-10-13 08:43:45 +02:00
Translation updater bot fdc6b8e93b Localisation updates from https://translatewiki.net.
Change-Id: I5bdb846d8896444abc819306a3429cb21051a713
2020-10-12 08:35:59 +02:00
Translation updater bot 6ab77f9a48 Localisation updates from https://translatewiki.net.
Change-Id: Id123a21bdceb061178fe65cd89efa28162927695
2020-10-07 08:36:56 +02:00
Translation updater bot 628ecb11d1 Localisation updates from https://translatewiki.net.
Change-Id: I30a6e92cdf018add55590a0f6f23ac952ee33952
2020-10-02 08:25:01 +02:00
Jon Harald Søby fac29e90da Add module namespace translations for Inari Sámi (smn)
Bug: T264082
Change-Id: I748bda2ff5901b1a2ace0e0209690a7579fa3ccc
2020-09-29 13:04:47 +02:00
Translation updater bot 8d7f399b4d Localisation updates from https://translatewiki.net.
Change-Id: I97e6d8b441fad385cda004e150650e2f0b5d2e46
2020-09-28 08:30:18 +02:00
libraryupgrader a92058e1e7 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: If7af8169d797d9c27dbeff127cd8becc6013bbdd
2020-09-25 08:35:51 +00:00
Translation updater bot 303283cb97 Localisation updates from https://translatewiki.net.
Change-Id: I191fd4e7e87b6aef2cff9e22aa41ae0415ea800d
2020-09-24 08:29:43 +02:00
C. Scott Ananian 2bec230e3d Use Language::formatNumNoSeparators where appropriate
Avoids using the deprecated $noSeparators parameter to Language::formatNum
in favor of Language::formatNumNoSeparators, which has been around since
MW 1.21.

Change-Id: If3de5645a92514f605d4117fea3a820ed6c86624
2020-09-09 18:17:23 -04:00
Translation updater bot cacb86c00a Localisation updates from https://translatewiki.net.
Change-Id: I42a4ac77f3475bcb5294ba58247cfcaf729c426c
2020-09-06 20:56:33 +02:00
libraryupgrader 33f7395c9d build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: If8e492d6daedb26efb1ef63337a9b9ff578df2cb
2020-09-04 18:51:50 +00:00
Translation updater bot 55ce16c41f Localisation updates from https://translatewiki.net.
Change-Id: Icadd912443b0bc9b480a84b7a738e99c73ebffa6
2020-09-03 10:05:12 +02:00
Translation updater bot 7dc1c03c96 Localisation updates from https://translatewiki.net.
Change-Id: Ic0a26e38962ca5c370318c8af9256b8b49bcf3a1
2020-08-31 09:49:29 +02:00
Translation updater bot 4aa985b20d Localisation updates from https://translatewiki.net.
Change-Id: I1d53f9b0964c82d311c8772757e49e3d8377724b
2020-08-20 08:27:29 +02:00
Translation updater bot 6626bed9f7 Localisation updates from https://translatewiki.net.
Change-Id: I48ba303359af8930467d6c4fe6e099b32347fb0b
2020-08-14 08:39:22 +02:00
Translation updater bot 671253c5d6 Localisation updates from https://translatewiki.net.
Change-Id: Ic47555459ff4ceb2337da612d397f76327c4d394
2020-08-12 08:19:47 +02:00
Translation updater bot 20cfd35874 Localisation updates from https://translatewiki.net.
Change-Id: I77881d3294946362763127ad3f84e3e14a92c9b2
2020-07-30 08:36:07 +02:00
Translation updater bot 636f06d857 Localisation updates from https://translatewiki.net.
Change-Id: Id3cb7efe6881a43aee5d8b6077977213961644aa
2020-07-27 08:38:23 +02:00
Translation updater bot 85d1e1890e Localisation updates from https://translatewiki.net.
Change-Id: Ia728a0c7a358324284fbb38874499888d38a7f70
2020-07-22 08:27:11 +02:00
Translation updater bot 0305fde631 Localisation updates from https://translatewiki.net.
Change-Id: I846fda89ac4379f4c6ee441232661a16eefe5118
2020-07-21 09:13:22 +02:00
libraryupgrader 588f802734 build: Updating grunt to 1.2.1
Change-Id: I0ebe49dfbca1223943510cf23a6cc7fdd4be577c
2020-07-18 22:43:38 +00:00
libraryupgrader 1f0293e77e build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: I28449f7ec6ca0cef7eb72708764eae226e403468
2020-07-17 04:04:46 +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
Umherirrender 99ab75226b phpcs: Fix SuperfluousVariadicArgComment
Change-Id: Ib14f2aa18e43ef7ae621b6281fecd47e8bd3899c
2020-06-27 13:45:24 +02:00
Translation updater bot 141d9919ea Localisation updates from https://translatewiki.net.
Change-Id: Ie065c0b1f0b84991d038ec9a214a6d3d3ed80b79
2020-06-24 08:29:53 +02:00
Translation updater bot 2e9c979758 Localisation updates from https://translatewiki.net.
Change-Id: I336ab4e8cac01c24ba517e7bdef0badd84463441
2020-06-22 08:45:07 +02:00
Jon Harald Søby 0a04009c18 Add Northern Sámi namespace translation for Scribunto
Bug: T255828
Change-Id: I4f7fc0eaecaf819b17c45d958b625dd3aed25f83
2020-06-18 22:42:04 +02:00
Translation updater bot 715aab7cb1 Localisation updates from https://translatewiki.net.
Change-Id: I0c38999b87bbe58fcc65eba86660cd09f59f917c
2020-06-18 08:38:29 +02:00
Translation updater bot d6cfd5e55e Localisation updates from https://translatewiki.net.
Change-Id: Ia360395ba3652515834e3ac6d25e0fdadaf20e9f
2020-06-15 08:40:35 +02:00
Translation updater bot 523426fb32 Localisation updates from https://translatewiki.net.
Change-Id: I3351a527bd825a418724d8d0c9604363b13a2e0b
2020-06-09 09:14:36 +02:00
Translation updater bot 34694e7f3d Localisation updates from https://translatewiki.net.
Change-Id: I7c0d3b52cac2753ee215f4e0bccde9bc911e1f80
2020-06-08 08:52:14 +02:00
Umherirrender 1b2e35a108 build: Load pcntl stub to pass phan on windows
pcntl cannot installed on windows,
use the stub shipped with mediawiki/core to provide the missing constant

Change-Id: I974110db1cf1cf98e860a5589d0d3c280488c3aa
2020-06-06 13:58:24 +02:00
Translation updater bot 4d8e20b67f Localisation updates from https://translatewiki.net.
Change-Id: I423ec67edd258805b4f4b0dfb2d4f611a6d0fbee
2020-06-03 08:30:54 +02:00
libraryupgrader b9c82f4d4a build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: I83fff3a5ff566790bc051d7bfffe7f3b124d3de7
2020-06-02 01:54:01 +00:00
Translation updater bot 182905cfc3 Localisation updates from https://translatewiki.net.
Change-Id: I04b1effce82c367aeede7851705b676e8c57e8b5
2020-06-01 10:08:59 +02:00
libraryupgrader a36e8fd462 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Change-Id: I81fecb1e6a5cc12e490114836c8d8d44d1709b04
2020-05-31 12:41:48 +00:00
libraryupgrader d10519de40 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.VariadicArgument.SuperfluousVariadicArgComment

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I97d1101854d87f7d0d4c8f14b629bee75df6030d
2020-05-30 06:09:47 +00:00
Reedy aeaa5172b9 Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I50048f917c4b8cde4ebc002ed57f0e0afcf6e8c6
2020-05-30 01:32:16 +01:00
Translation updater bot 43fadc0e98 Localisation updates from https://translatewiki.net.
Change-Id: I6d071cfd37e77584a55904e50555c9f944f83b3d
2020-05-28 08:41:01 +02:00
RhinosF1 df2aba13c9 Add Tigrinya namespaces
Translations created by Joanmp14

Bug: T251287
Change-Id: I5002a0a974c86bc028fb944b59ae34ac60f27a65
2020-05-19 08:45:41 +00:00
Translation updater bot 51be911f9e Localisation updates from https://translatewiki.net.
Change-Id: I0a0cc16b613780b2a943fcb82d7329d5e39758f3
2020-05-18 08:31:09 +02:00
Brad Jorsch 34fc672f6d Add tests and type checking for mw.addWarning()
Testing was overlooked when this was added in Ibdd2506f.

Change-Id: Ie17020e3082668180dfa1d6532946891ea7951ea
2020-05-08 17:05:11 +00:00