Commit graph

1818 commits

Author SHA1 Message Date
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
Translation updater bot 5644e235b1 Localisation updates from https://translatewiki.net.
Change-Id: Ib71db8264c3213f5bf5ff6786980e6ee529d2265
2020-05-08 09:28:51 +02:00
DannyS712 c062595b01 Handle RevisionAccessException with try-catch
Failures caused by a9b073fc62

Bug: T252156
Change-Id: I703c2e0b13e79716f156e1c995fd139fbc68e321
2020-05-07 20:57:42 +00:00
Translation updater bot 65c76359da Localisation updates from https://translatewiki.net.
Change-Id: I2fe70772a83a752353d35159c96fc04ccef66c54
2020-04-30 08:39:58 +02:00
DannyS712 a9b073fc62 Remove use of Parser::fetchCurrentRevisionOfTitle and Revision::getSha1
Use new fetchCurrentRevisionRecordOfTitle

Bug: T249384
Bug: T251233
Change-Id: I9a4974a990f8e4f7935cd8e38da918fd45a2282c
2020-04-28 09:34:26 +00:00
libraryupgrader 9facd741cc build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I684372efb0248862700184546a5172bfd6d81ae0
2020-04-22 19:07:11 +00:00
Translation updater bot 158582ed3d Localisation updates from https://translatewiki.net.
Change-Id: Ic02631207326b25c60966d95df0aab21efa8efe1
2020-04-20 08:42:55 +02:00
libraryupgrader fde7fd4bff build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ic053fa24eaefe8ed645ccd8d935a8d3cd659591a
2020-04-19 17:37:21 +00:00
Translation updater bot f1b8f003d0 Localisation updates from https://translatewiki.net.
Change-Id: I185a261fb6a3bb46a65ae69d05beda36f7b78237
2020-04-17 09:07:29 +02:00
C. Scott Ananian e0837cfd46 Don't use deprecated Parser::OutputType()
Depends-On: I0b4d5f170216597afb259cedbb13b8028d284715
Change-Id: I70e0ecb201d5ffdc3ccb75caf552a1dee4ad9e60
2020-04-17 00:47:42 +00:00
C. Scott Ananian a73ac7bd4e Don't invoke Parser::__construct directly
This has been deprecated since 1.34.  Modern code should use the Parser or
ParserFactory service.

Change-Id: I74efda708470efeb82f8f80346ec1ee7e9fd8f2b
2020-04-16 16:32:58 -04:00
James D. Forrester 4a9b2e61e7 tests: Mark non-LuaSandbox tests as @group Standalone
This means that these tests are only run for test runs on this repo,
and will not be run when this repo is included in CI as a dependency
of any other repos, or the Wikimedia-wide gate. Any changes to other
repos are implicitly assumed to be unable to break these tests.

Bug: T125050
Change-Id: I7b77c0627f3fbe9dfbbf3d63cbd57e943d328555
2020-04-09 12:59:56 -07:00
Translation updater bot 93cb459def Localisation updates from https://translatewiki.net.
Change-Id: I51a732431b95b2769990a64cf47efa446e7760b1
2020-04-07 08:48:53 +02:00
libraryupgrader 709f4d56b7 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ic57f1d34e46535c9045f93acdad2ed5afc50664d
2020-04-05 09:18:25 +00:00
C. Scott Ananian 5565d3d3d2 Update parserTests to v2 (tidy by default)
Bug: T174199
Bug: T249194
Change-Id: I23ccb612c940b98ca9da46a2e0848ccfe70e695d
2020-04-02 13:50:52 -04:00
Antoine Musso fda6a663aa Remove trailing newline from log messages
wfDebug() required a newline in the message. That is no need with
wfDebugLog() or with our PSR-3 logging interface.

Bug: T228848
Change-Id: Ieb3de1ab59174ec0e1301e42bccee6cebce8749f
2020-03-23 14:58:33 +00:00
libraryupgrader c293a8d8d2 build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: I2c13fe713dccf1ecbdf775bae3e4e3b4546cba3e
2020-03-21 06:06:52 +00:00
libraryupgrader 8eccfd4f23 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I3f6698a5b821e419d30bd0353d34ade06e790efe
2020-03-19 09:09:21 +00:00
Brad Jorsch 9030ab0265 Update mediawiki/minus-x to 1.1.0
This also lets us remove .minus-x.json, as it now recognizes all three
executables as such under all supported versions of PHP (7.2 to 7.4).

Change-Id: I3eeaf778af9df56ef3783b6f30767397add312f4
2020-03-17 11:55:23 -04:00
Umherirrender 724c38c892 Use MediaWikiServices::getRepoGroup
This required MediaWiki 1.34

Change-Id: Ie7186b0729b54ef9a52b18bb6a2a2696dca6daed
2020-03-16 17:58:49 +00:00
Umherirrender 92587641dc Use MediaWikiServices::getContentLanguage()
This required MediaWiki 1.32

Change-Id: Iff717eba8f4fad1e80229ebcf317ceec81667846
2020-03-16 17:58:26 +00:00
Umherirrender a3a61e71da build: Exclude linux binaries from MinusX
There are reported with php7.4

Error: /workspace/src/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua
should not be executable
Error: /workspace/src/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua
should not be executable

Change-Id: Icc095976ee7be1c3e77c1e7edf64078a73a9e3e5
2020-03-16 18:51:04 +01:00
Translation updater bot 160049497f Localisation updates from https://translatewiki.net.
Change-Id: I4047660bb99652d271233b39235ca2076abe5e9e
2020-03-16 16:02:39 +01:00
Translation updater bot 5e6d7703da Localisation updates from https://translatewiki.net.
Change-Id: If1184e94590b0a9d9095a4af824143ae3b7589c7
2020-03-13 08:55:06 +01:00
libraryupgrader 1d54aaf614 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Ia6e12c318ad4d0aa4c3cbbd1692bba3a5fb790bf
2020-03-08 12:28:56 +00:00
DannyS712 fb850e853c Don't fall back to global $wgUser when creating ParserOptions
Pass a user when relevant, or use ParserOptions::newFromAnon()

Bug: T246861
Change-Id: I44adb6d5c037de2fb05573cde3c7356cb73e8b42
2020-03-07 02:33:24 +00:00
Translation updater bot f5c78fba8d Localisation updates from https://translatewiki.net.
Change-Id: Ia8b9e7350c588bbe87b71c4ada9784db8c35111a
2020-03-06 08:18:37 +01:00