Commit graph

431 commits

Author SHA1 Message Date
libraryupgrader 7cacab45c4 build: Updating grunt-banana-checker to 0.10.0
Change-Id: I66206308ff9775dfc811c818406f907959538e5b
2022-10-07 07:30:49 +00:00
Brian Wolff c77adce065 Tests: Use more complete mock to prevent php8.1 deprecated warnings
Fixes:

1) TextExtracts\Test\ApiQueryExtractsTest::testMemCacheHelpers
strtr(): Passing null to parameter #1 ($string) of type string is deprecated

Change-Id: Id39cb89bb5d49fbea543181da678b191f70311ac
2022-10-03 10:39:48 -07:00
Translation updater bot 1ce6d8861a Localisation updates from https://translatewiki.net.
Change-Id: I124f67cc48b6f8c2f6384e37379266d87fd64af5
2022-09-28 08:22:59 +02:00
Arlo Breault d67f9a73d5 Remove figures from text extracts
Bug: T318727
Change-Id: I304d4b794a0f27eb78ef013f911c444fc9a80cf1
2022-09-27 13:13:24 -04:00
libraryupgrader bbf63a420c build: Updating grunt to 1.5.3
Change-Id: I52ac0cd83467df8dfb7315486920d7b61f73bb86
2022-05-27 02:19:15 +00:00
libraryupgrader ea9b4dda26 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Additional changes:
* Set `name` in package.json.

Change-Id: Ic09880e15b491177b8563d8cc0826f61596c20aa
2022-05-21 15:34:39 +00:00
jenkins-bot 5309ab92bd Merge "Use ParserOptions::newFromAnon instead of constructor" 2022-01-21 07:46:28 +00:00
Translation updater bot 5fe60a2f1d Localisation updates from https://translatewiki.net.
Change-Id: I122a1f38a75a0d89f21d960dd915d1e9793295b0
2022-01-17 08:13:07 +01:00
Umherirrender 35f096417f Use ParserOptions::newFromAnon instead of constructor
This avoids the user language to take effect on the parse,
it reflects more the anon part than just "new User()"

Change-Id: Ic6a4a81074a16b85ac2f1c7952f27a03a0c76dec
2021-12-18 20:01:03 +01:00
Alexander Vorwerk abcb71cabb ApiQueryExtracts: inject WikiPageFactory
Bug: T297688
Change-Id: I8faa8a14efcd6cb6b247301aa4da0c1abac7c97b
2021-12-14 23:05:40 +01:00
Translation updater bot b7cb0703d9 Localisation updates from https://translatewiki.net.
Change-Id: Ia20380c55257f8b741c3b6d67bf7b1f5c9e5b200
2021-11-30 08:22:20 +01:00
jenkins-bot 91afe58671 Merge "Replace use of deprecated MWTidy class" 2021-10-26 04:53:31 +00:00
libraryupgrader af581177ff build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I47fa2532c98e91e39443b93a6c789fad39ceb157
2021-10-24 14:22:47 +00:00
Reedy 20c3f6d447 Replace use of deprecated MWTidy class
Bump required MW to >= 1.36.0

Change-Id: Ida40e6c1d84eec0e51e53f6aa98ac9f09fd52666
2021-10-20 19:33:39 +01:00
Translation updater bot 2c48350cfd Localisation updates from https://translatewiki.net.
Change-Id: I7613c2b26c92695c7f4b31322c43f653c48e5276
2021-10-18 15:21:28 +02:00
Alexander Vorwerk d70db0f0a7 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I055adc107c175da9a0a8de276762bb2b323358e9
2021-10-13 12:28:17 +02:00
libraryupgrader 0953f8e59c build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ib73a89dddf7525ccc93a283060ca7a4f534b9c9e
2021-10-09 00:22:01 +00:00
libraryupgrader 76106bd3f8 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I1be1bee1d646a6cfd817998180822d8f33f5e455
2021-09-09 08:14:35 +00:00
libraryupgrader ab0c160204 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I52ab81d03522ec5fc55b6b525b5a9fea4efa0a25
2021-08-12 11:55:03 +00:00
libraryupgrader 37310fce61 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: Iea7773b213edc953b4d841c6f1404429bb61457b
2021-07-24 02:43:21 +00:00
Translation updater bot 2d57320c97 Localisation updates from https://translatewiki.net.
Change-Id: Ia624ff848d544a9684082cd48b12266911f164f2
2021-07-06 08:38:52 +02:00
libraryupgrader 7a3af1def7 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I9b865525a0ca71b7b63b54874c32da28e675dc4a
2021-05-26 05:14:56 +00:00
libraryupgrader e15f62f4c3 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: Ie5c8d9cfb856600a32c2bd50d518b4388bde1051
2021-05-14 05:25:02 +00:00
Translation updater bot c5ec76a32d Localisation updates from https://translatewiki.net.
Change-Id: I86dd629b22206be3b82921599e9c171a76ac6f2f
2021-05-10 08:53:53 +02:00
libraryupgrader ee5427f93d build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I8ac16280e9932bbdf053905cc3a9a093c94d0fa7
2021-04-14 10:30:17 +00:00
DannyS712 d7f93f5c17 ApiQueryExtracts: remove unneeded factory method
All services can be injected by bumping minimum
version of mediawiki (1.34 would be enough, but
since that is no longer supported require 1.35)

Change-Id: I8bb1573a02932ef5f2871606e94a41afe073fd00
2021-04-01 20:07:30 +00:00
jenkins-bot 40da2c16b9 Merge "Fix API adding ellipsis… when not needed" 2021-03-15 16:17:17 +00:00
libraryupgrader 48b2b4d558 build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: I2ec65c635fd821f7a3ee5ff76cc8c4913436db10
2021-03-14 18:01:01 +00:00
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 29380b8d27 Fix API adding ellipsis… when not needed
When the text is short enough to be returned as it is, it's very
confusing to see it with an ellipsis added at the end. There is
no more text. It should not look like there is more text.

Change-Id: I7ef205fde6c358a1cbcbb41346a1c9e2a856d8fd
2021-01-08 14:40:06 +01: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