Commit graph

352 commits

Author SHA1 Message Date
jenkins-bot 0262d5409a Merge "Add test for ApiQueryExtracts::truncate()" 2021-03-11 17:57:42 +00:00
libraryupgrader e11f406acc build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Ib99a449d501d91b5d33634a6fbd500ffcbab9941
2021-03-08 03:21:09 +00:00
Daimona Eaytoy 8755419bfe Stop using deprecated Language methods
Change-Id: I8a4b7c470fdd7aca64667cf5ac93cd5619e7ca06
2021-02-27 15:23:35 +00:00
Translation updater bot 887c192e0f Localisation updates from https://translatewiki.net.
Change-Id: Ie1e4201ffaafe28a79adc7f96865aae6ea03f6df
2021-02-15 10:06:36 +01:00
Translation updater bot 3461812b5f Localisation updates from https://translatewiki.net.
Change-Id: I7e690cb23ad3a73db3fc6a980075ad3577b7f1d5
2021-02-08 08:45:25 +01:00
libraryupgrader 102a372cf1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: Iaf6913df719ab0c01535b6ab580d91f6b63fa88b
2021-01-30 15:53:32 +00:00
Thiemo Kreuz 471fdd0f89 Add test for ApiQueryExtracts::truncate()
Change-Id: Ia39188fe3ff1b87d82b4c573f8d27629e75c0aa4
2021-01-08 09:03:51 +01:00
Thiemo Kreuz ee8d932de2 Fix minor deprecations and incomplete PHPDoc tags
Change-Id: I8c331d269bf5dcd177dd1ab9d5f6d1c83f53e40b
2021-01-08 08:36:47 +01:00
libraryupgrader f93fcf6d26 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: Ibe5cfef5a8417d8d3155d983308a96640fe13aae
2020-12-20 03:52:55 +00:00
libraryupgrader 833fe58ae9 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: Id42323316be700a3bde6c67a9181165678521d54
2020-12-11 11:16:00 +00:00
libraryupgrader 1a39c96a53 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Iefb95db049595bdbdcddf97af27fc2573bdb78da
2020-12-07 03:51:21 +00:00
libraryupgrader 76ed8e7d69 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: If8f92c882c210d065a43f1e0f2566b5205e9b66f
2020-11-20 20:20:41 +00:00
zoranzoki21 392183ccdc Fix all PHPCS excludes
Change-Id: I79b32c6438ec5b73909fe08c48e55eab8b411452
2020-11-05 17:48:53 +01:00
libraryupgrader 520ac63cee build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: Idd3ffe9a119b6288ab1eeb1fffd9e3a3385d4624
2020-11-04 14:00:01 +00:00
libraryupgrader 98e9e46930 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I0bca7ea0077306421b2b72833f8ceabc8eb31990
2020-09-25 10:58:03 +00:00
Translation updater bot 1e11e1dd8d Localisation updates from https://translatewiki.net.
Change-Id: I47a72aac73a57d3fbdf6fb2e0e611283a62ab21e
2020-09-14 09:16:28 +02:00
libraryupgrader 5147e2f616 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: Ic91f179c1a2f2b638d265e0c09cc35c4b36bec31
2020-09-04 23:30:43 +00:00
Translation updater bot 95293e47e0 Localisation updates from https://translatewiki.net.
Change-Id: I1db361dd9967e98e9f7616fb8ee0c8f8b5e279ea
2020-07-27 08:38:37 +02:00
libraryupgrader eef6150a40 build: Updating grunt to 1.2.1
Change-Id: If18bc1fc8024aa69755c891e0f136c611c46d772
2020-07-19 02:17:46 +00:00
libraryupgrader c3f630c752 build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: I47467dcfbc2b6d13ce7abbec99605715d8d58681
2020-07-17 05:26:29 +00:00
libraryupgrader 4a617d3a46 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: I7547418dd9df6d6cf1fd95b86e670f82524b00cd
2020-07-11 05:44:26 +00:00
Max Semenik f225c911a7 Reduce the amount of annoying limit warnings
Don't warn if the limit is >1 but there's only 1 title to process
because there's nothing wrong with the current request.

Change-Id: Ia991e58420d31520cb83b24b1183d526fd79edb2
2020-06-26 19:16:37 +00:00
jenkins-bot 47f07178ee Merge "Tidy is no longer configurable in MW 1.35" 2020-06-15 12:31:10 +00:00
libraryupgrader 5cba86206a build: Updating mediawiki/minus-x to 1.1.0
Change-Id: I896aa8786ac8ba2f40b23264910e14e2a6e55db1
2020-06-12 01:50:00 +00:00
libraryupgrader 9ca4924cae 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: I28b38bb94ad9c2587a773d9f7db84df8a9178546
2020-06-02 02:46:18 +00:00
libraryupgrader bb4dedc882 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: I83da9f818bb7aa0569ab6acc95aa8fcaa737df90
2020-05-31 14:39:48 +00:00
libraryupgrader 3186e0deae build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I31357257b33559dc17a638535d332e5bc4c0f592
2020-05-30 08:20:56 +00:00
Reedy 51c8f66727 Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I6512139d76e1f6ae232e8e9484b79a795b520f1c
2020-05-30 01:35:27 +01:00
Translation updater bot 3e18444c2c Localisation updates from https://translatewiki.net.
Change-Id: I99266706bde82a98cbcdbbe96bffd253adebdebb
2020-05-25 08:41:09 +02:00
Translation updater bot 760a7d9ecb Localisation updates from https://translatewiki.net.
Change-Id: Ife8028303c8f8510735007d60a3d6d30de22f560
2020-05-22 08:36:30 +02:00
jenkins-bot d61da26ed8 Merge "Add Special:MyLanguage for better user experience" 2020-05-21 23:24:40 +00:00
jenkins-bot daa89130cb Merge "Convert to manifest_version 2" 2020-05-12 15:54:43 +00:00
Reedy 9a2aacde39 Convert to manifest_version 2
Bug: T252470
Change-Id: I514df27723fddc635968dc1ee38db38bd1ab1fa8
2020-05-12 02:05:32 +01:00
Yuki Shira 9baea120f2 Add Special:MyLanguage for better user experience
Change-Id: If6781926f34067730d2f4bb616086959ce8bd0a9
2020-05-10 13:13:52 +09:00
C. Scott Ananian c1397847c0 Tidy is no longer configurable in MW 1.35
Remove use of deprecated MWTidy::isEnabled() and internal
MWTidy::singleton() methods.  See I3584181070da7ed4888beaaf04e083114aca1eab
for context.

Bug: T198214
Change-Id: I511068cc7b2398773a837f66e08def206cbb5626
2020-05-02 01:31:21 -04:00
Translation updater bot b2e383658d Localisation updates from https://translatewiki.net.
Change-Id: I2fce0b95c00d458fe05fbe4422f3df7975f6443a
2020-05-01 10:01:55 +02:00
libraryupgrader 69c6da905e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: I64c7b77f26706c05e422f4489011752e934ff30a
2020-04-22 20:56:09 +00:00
libraryupgrader 7087ff2c1b build: Updating grunt-banana-checker to 0.9.0
Change-Id: Id253a16d07b9c9065efc0e8c9baea6dccc2f4a2e
2020-04-19 20:58:07 +00:00
Translation updater bot 8fee593bf0 Localisation updates from https://translatewiki.net.
Change-Id: I87185df6aad811360bce2d9f7644c332d444e57a
2020-04-07 08:50:56 +02:00
libraryupgrader 533cfe6aae build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: I3f744ccba73a637594acb8e0dd66add22fff0e27
2020-03-21 07:50:14 +00:00
libraryupgrader 716b9921bc build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I43a106c3000884563da1b6000cfda17b68be96d6
2020-03-19 14:09:47 +00:00
Timo Tijhof 9d3ee77a95 tests: Remove PHP 7.4 workaround
Follows-up 955e0bb. Some of the other test cases already did this,
so let's do it here as well.

Change-Id: Ib39b03a38ff0d444568980db39a4d9b1e54618b7
2020-03-13 22:54:52 +00:00
Aaron Schulz e9d466f398 Convert $wgMemc use to WANObjectCache
Bug: T160813
Change-Id: If298927d6b90e1b94e83485e723f13aa2bad0932
2020-03-13 21:07:36 +00:00
Thiemo Kreuz 955e0bb5bb Fix PHP 7.4 compatibility
The way this test is set up means the $this->params property is not
initialized. It is only initialized when execute() is, well, executed.
Since there is not really a guarantee this will always happen before
the failing method is called, I figured it's better to add this cheap
safety check in the production code.

Taggign with T233012 because I believe this extension is a gated one
for many other codebases.

Bug: T233012
Change-Id: Ie0060125cf4646d80f8c88eedd01551f66e3fb89
2020-03-13 20:59:58 +00:00
libraryupgrader bd2e751655 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I96c26ef0223c1ad4450584453eabc75505e220ce
2020-03-08 14:31:47 +00:00
libraryupgrader fc5a68abd3 build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: Iecca5b2b282ea0a6748ec8349cbf3234e507f087
2020-01-30 07:37:37 +00:00
libraryupgrader 7025be47c1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 28.0.0 → 29.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

npm:
* eslint-config-wikimedia: 0.12.0 → 0.15.0
* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I351f0a333fd5f06e47f0748aa25cb3fff63cc67f
2020-01-15 09:17:22 +00:00
jenkins-bot 66dd863e2c Merge "build: Updating mediawiki/mediawiki-phan-config to 0.9.0" 2020-01-15 08:35:38 +00:00
Translation updater bot 6ac7e5de12 Localisation updates from https://translatewiki.net.
Change-Id: Iabd4622829e404bfe5eeb24dbd660377ce81a839
2019-12-26 16:22:04 +01:00
libraryupgrader 5986441375 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Don't pass booleans to BagOStuff::makeKey()

Change-Id: I87e42cee60d0adefd94f4bdc7fbbfabc65b7c93e
2019-12-21 23:44:50 -08:00