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
Translation updater bot
b6f5b8ffa0
Localisation updates from https://translatewiki.net .
...
Change-Id: I6c99672efc5a8f2230be365c453b63fa38c89c86
2020-03-03 08:14:57 +01:00
Translation updater bot
447363c6ff
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib8ece235843e73c284303d2d541c8aad9524a368
2020-03-02 09:11:21 +01:00
libraryupgrader
efed60da4a
build: Updating npm dependencies
...
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0
Change-Id: Ida900b44535a67d91a33fb8d51903ae051e50317
2020-02-21 02:08:42 +00:00
DannyS712
d1f6e793ee
Stop using old deprecated SpecialPageFactory static functions
...
Bug: T245686
Change-Id: If4d166c9a95bb9381ea4de560168f5d9d683d6f5
2020-02-19 23:12:56 +00:00
Tobi_406
b507cea87a
Scribunto.namespaces.php: Add lmo namespaces
...
Add Module/Module_talk namespaces for Lombard
Bug: T244887
Change-Id: Ic80637d4ad7415f9e6db3db1f998fa482b83807a
2020-02-16 20:49:56 +01:00
Brad Jorsch
66f83331db
Record vary-page-id when ID is accessed via mw.title
...
This triggers a needed reparse when a new page is created using a module
that accesses the page ID.
Bug: T237746
Change-Id: I5564c2e896dd2a025c5a886ca478c377fac83e74
2020-02-13 17:24:41 +00:00
Translation updater bot
cd3ef0a647
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd1fcc428ecfb65cd0aaa2b247e4039f101f404a
2020-02-10 08:35:27 +01:00
libraryupgrader
7b2cda5591
build: Updating composer dependencies
...
* mediawiki/minus-x: 0.3.2 → 1.0.0
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1
Change-Id: Ibdedddbf19eb4712c31c1b95024391ff013f73e8
2020-02-07 06:37:29 +00:00
Brad Jorsch
633ff1ff2d
LuaStandaloneInterpreterTest: Use assertEqualsWithDelta
...
Using the $delta parameter to assertEquals was deprecated in PHPUnit 8.
Change-Id: Iab5ead5a075bf7481a972b3b9e94cc3e754f1cd3
2020-01-23 11:53:33 -05:00
Daimona Eaytoy
2e1306fa45
Kill hack for the PHPUnit migration
...
Bug: T192167
Change-Id: Ic86f6fc67555d2e678ce46f6ad34a25236b560af
2020-01-23 16:22:40 +00:00
Brad Jorsch
3a19bb8b0c
Document a lot of methods
...
Clear up a bunch of phpcs ignores by documenting many methods.
Also remove Scribunto_LuaError::setLineMap(), which has apparently never
been used since it was added in Ia51f439e.
Change-Id: I763bcdbc7edbbb8e4600495a03acca3439fc0ec9
2020-01-17 23:03:03 +00:00
Max Semenik
0d6a4da3d5
Make tests pass on PHPUnit 8
...
Bug: T192167
Change-Id: Idf87f4c0f0d74848a0cc8f131a84c87e8eeb7809
2020-01-16 16:04:33 +03:00
libraryupgrader
6adb1c423b
build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
...
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.WrongStyle
Change-Id: Ifa2c7a7febc1e06c28318305cfef0b0103c6e8eb
2020-01-14 14:49:35 +00:00
libraryupgrader
c874103030
build: Updating npm dependencies
...
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.4.3 → 0.8.0
Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.
Change-Id: Ic087c1d4a6f6d7ec48da8c498a9b9d81063ce0e4
2020-01-10 10:48:47 +00:00
Umherirrender
73481be881
build: Remove unneeded exclude from .eslintrc.json
...
This reverts parts of commit 631a0f40fc
.
Change-Id: I408c7522055a4dbfe1958d2d3ec3a54a777957ff
2020-01-08 16:54:09 +00:00
libraryupgrader
631a0f40fc
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.12.0 → 0.15.0
The following rules are failing and were disabled:
* brace-style
* camelcase
* eqeqeq
* max-len
* max-statements-per-line
* new-cap
* no-constant-condition
* no-dupe-keys
* no-empty
* no-implicit-globals
* no-mixed-spaces-and-tabs
* no-redeclare
* no-tabs
* no-undef
* no-underscore-dangle
* no-unused-vars
* no-use-before-define
* no-useless-concat
* one-var
* valid-jsdoc
* vars-on-top
* grunt-eslint: 21.0.0 → 22.0.0
Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.
Change-Id: I95ee6d80f0dbd109636114d6eff4408f10943263
2020-01-08 07:46:47 +00:00
Translation updater bot
4ec31764bd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ied72432d56d30dd563b99f07ff7df427052a1c09
2020-01-08 08:42:55 +01:00
Translation updater bot
3523c0afd2
Localisation updates from https://translatewiki.net .
...
Change-Id: I2822e9287ef5d1ac2000eeb8bde2f4538cc5dd8b
2020-01-06 08:50:31 +01:00
Brad Jorsch
8a8e51d8c7
Set $wgFragmentMode for UriLibraryTest
...
It affects the behavior of mw.uri.anchorEncode()
Change-Id: I3a704507cda79a2a48ec58ce9b7500667ea0dda3
2020-01-02 14:51:11 -05:00
Umherirrender
ef8aff71ec
Use class name resolution to refer to class names
...
::class is validated by phan and avoids misspelled class names
Change-Id: I613d5df56fcee6099e4294f5c6df078aafad1210
2020-01-02 16:59:55 +00:00
libraryupgrader
3b2d40f28d
build: Updating mediawiki/mediawiki-phan-config to 0.9.0
...
Depends-On: I9661ed8dd80cb827d7a1414c1eef952c0933a1f0
Change-Id: Ia34d9d9eade74cbb261dbfe4e39971de57cab888
2019-12-31 20:46:17 +00:00
Translation updater bot
26513da3c3
Localisation updates from https://translatewiki.net .
...
Change-Id: I533d3a95cbdc10d41a4865b5298a3eb9de59677c
2019-12-29 20:41:49 +01:00
Umherirrender
9c6f6f905a
Split all classes in own files
...
Move autoload entries for test to TestAutoloadClasses key
Change-Id: Ie705db0e7225600b7b498cfa134733a65f1ae1c9
2019-12-21 10:20:18 +01:00
Umherirrender
e83bc743ec
Split classes in Base.php
...
Change-Id: Ie29a32aeb10cf23264481d3b0f5fb5096d49b60e
2019-12-18 19:06:57 +00:00