Commit graph

514 commits

Author SHA1 Message Date
Translation updater bot ae2ad6da3a Localisation updates from https://translatewiki.net.
Change-Id: Ib1d13b0d5ed2c9d14b19c61a23f384b0fc7d1cae
2021-02-15 10:06:04 +01:00
Translation updater bot d39d07a667 Localisation updates from https://translatewiki.net.
Change-Id: I3df5c678dc6cbfba2a0c4d0ea0e09b5fbe845e36
2021-02-08 08:43:22 +01:00
libraryupgrader 1ce3592d89 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.

Change-Id: I337c9ae59ddd0324b6b48a1bbdee4366ff67d199
2021-01-30 06:58:49 +00:00
Umherirrender fa781357b5 Remove uneeded @return
Change-Id: I3813de58f8314938b7c3a193faa21b45b15f1dcf
2021-01-27 20:02:49 +01:00
Umherirrender f9fb414b22 Add missing @param to test
Change-Id: Ibb7db4ac089e0d639540dfc96d1f6339b1bda9e0
2021-01-23 16:18:08 +01:00
libraryupgrader 79edb98f16 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I1f46f1f3f99b0c34cf9aea8bc8ee617b4516aaa4
2020-12-19 23:43:06 +00:00
libraryupgrader adffd80fdc 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: Ic7a816b48c865246fea0a23d72fb5b8f53ff119f
2020-12-11 01:17:12 +00:00
Translation updater bot 9fa92c53d8 Localisation updates from https://translatewiki.net.
Change-Id: I31684067ad6a65534d28e93f37f309a18d47cd14
2020-12-10 08:35:24 +01:00
libraryupgrader 360a9d1957 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Ia78093c89637c275b80562506dd3bbf17adaf95f
2020-12-06 20:47:00 +00:00
libraryupgrader 3dc4467403 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I27a76cf62e5dc616a31a3adee023d70b61069100
2020-11-20 11:09:54 +00:00
Translation updater bot 42fca6ae62 Localisation updates from https://translatewiki.net.
Change-Id: Id933bd9156ff29dde8d300e9d196ca9bcb56145f
2020-11-18 08:56:42 +01:00
Translation updater bot 4671a22a7c Localisation updates from https://translatewiki.net.
Change-Id: I1caff3b3752bad79fef8dacaff51c2fa029233bb
2020-11-06 08:34:19 +01:00
libraryupgrader 68e12a83c9 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: I0c7faa3794fae5ed0d4da5a58a9342177a9a5add
2020-11-04 06:46:28 +00:00
Petr Pchelko 6fa0a18037 Stop writing objects into ParserOutput::setExtensionData.
As we switch ParserCache to JSON, we can no longer serialized
class instances in extension data. PageImages was writing the
full set of properies it received from Parser into it's extension
data, some of which are sometimes class instances. Instead, only
write the nessessary subset of data into extension-data.

This change is completely forward and backward compatible.
Since before this change we were already writing the same array,
but with many additional unused properties.

Bug: T266251
Change-Id: Ieb4a139465159611e6b3a99c4b68c3c174b1944f
2020-10-26 13:35:38 -07:00
libraryupgrader 103d1ef682 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I97f5cd7f046bd084b5f48d2c9adc2353ffe006e3
2020-09-25 06:55:59 +00:00
Translation updater bot 0a92d24caa Localisation updates from https://translatewiki.net.
Change-Id: Ia4af6182d8fc832aa4e32b0fc4e61e28ecc24cc1
2020-09-16 09:09:09 +02:00
Translation updater bot 5de5848f08 Localisation updates from https://translatewiki.net.
Change-Id: If1b89dd77ab8c26db6158d65b201356125708a61
2020-09-14 09:15:50 +02:00
libraryupgrader abb8fab04c build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: Idbc2c81944993c655ab5a2fbc682c065a124e1db
2020-09-04 09:18:58 +00:00
Translation updater bot b197eba49b Localisation updates from https://translatewiki.net.
Change-Id: I5df6e55102a00774e1f1a8039bc8981f07b84a8e
2020-08-28 10:24:00 +02:00
Translation updater bot bd4c71d4c9 Localisation updates from https://translatewiki.net.
Change-Id: I165ec78cbd7edb8a40e2ef7eb82ed655644239cb
2020-08-27 09:52:19 +02:00
Translation updater bot 24b3584793 Localisation updates from https://translatewiki.net.
Change-Id: I9ea0454c9c4554401eba451e2dfdbce44f8400e7
2020-08-26 09:51:18 +02:00
Translation updater bot 5b38a834b7 Localisation updates from https://translatewiki.net.
Change-Id: Idaf3c991f95de48ca444930214bdfe7434391e96
2020-08-24 11:58:54 +02:00
Translation updater bot 2d4a242698 Localisation updates from https://translatewiki.net.
Change-Id: Icea2c72f59523e12ce4e9704d4b06c17c2acd51c
2020-08-21 08:41:28 +02:00
Translation updater bot a1f6301748 Localisation updates from https://translatewiki.net.
Change-Id: I2053a922edeb79335a62165486476197d8e30687
2020-08-20 08:27:22 +02:00
jenkins-bot 1a88cdbcf6 Merge "Add language param in prop=pageimages API" 2020-08-19 13:22:35 +00:00
jgiannelos d9fd6c8679 Add language param in prop=pageimages API
* Images on pages can be localized (eg. SVG text)
* Allow API consumers to select the language the images are rendered in

Bug: T257082
Change-Id: I05f498444c55aea9028a58de80e21ba1e236bf02
2020-08-19 11:59:05 +03:00
Translation updater bot 0d17962d0a Localisation updates from https://translatewiki.net.
Change-Id: I0952cfa8af738cb16bb8cde42a92a7270a2b3932
2020-08-14 08:39:07 +02:00
Translation updater bot 1613daf364 Localisation updates from https://translatewiki.net.
Change-Id: Iabf049150e371e071a2f0fba942b7b3c782eea3a
2020-07-27 08:38:07 +02:00
Translation updater bot af4468cc41 Localisation updates from https://translatewiki.net.
Change-Id: I5c397896d34de3457b9a9bbe2a1ec25f6e8086ad
2020-07-21 09:12:49 +02:00
libraryupgrader 01007b3706 build: Updating grunt to 1.2.1
Change-Id: If9c8aacda013b26faf77ed05027d6ff9c189c0b7
2020-07-18 19:08:04 +00:00
Nikerabbit 9a2f95e712 Revert "Localisation updates from https://translatewiki.net."
This reverts commit c54a823f75.

Reason for revert: Broken export

Change-Id: I8f77424e0c4ed3c9deaf7d0af904c8b10c74160a
2020-07-13 11:56:42 +00:00
Translation updater bot c54a823f75 Localisation updates from https://translatewiki.net.
Change-Id: I6cb45af8eb2f6587a25ca9fc82eb6e64c65f36e2
2020-07-13 08:44:41 +02:00
libraryupgrader e1584bea92 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: I10aff8f27d6c0b706eb0158d8dbd835200bc0b0f
2020-07-10 15:54:01 +00:00
lens0021 b4f1051c1d Thumbnail is too hard to type
Change-Id: I04b4f4fab359705df6f9d0d8439743fb2f26b3c5
2020-07-07 16:45:18 +09:00
Translation updater bot 20909a1c3c Localisation updates from https://translatewiki.net.
Change-Id: Ifbbfb3445779d329e163f43bc8a7f8324ef93743
2020-07-02 08:42:10 +02:00
Ed Sanders 8fae9b933d build: Update eslint-config-wikimedia to 0.16.2
Change-Id: I2142339d20f86402d41405fcb66658961db51867
2020-06-26 12:12:42 +01:00
libraryupgrader 820b0a7e0c build: Updating mediawiki/minus-x to 1.1.0
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: Ia0f41c499e956d9a187191da0c26bbfdea2924f4
2020-06-09 10:11:27 +00:00
jenkins-bot 9c05e7c7cf Merge "Use MediaWikiIntegrationTestCase::overrideMwServices for RepoGroup" 2020-06-04 21:45:00 +00:00
libraryupgrader b178be3ee5 build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Change-Id: I5dbf23d9dbb2a7d041755f6109355752250068d4
2020-06-01 22:26:56 +00:00
libraryupgrader 918a0a7d01 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: I6a349eb8d58cb4e70ca929246d360292423e020e
2020-05-31 09:28:15 +00:00
libraryupgrader 93de91674b build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ie6ceb70749c8f46a6576a8bfeb4b4bf3efffaeab
2020-05-30 03:58:56 +00:00
Umherirrender 1476a7238a Use MediaWikiIntegrationTestCase::overrideMwServices for RepoGroup
Also use ::class feature to refer to class names

Change-Id: I147f5adefbae9dfe79beb7f193ce0bca8f4a58b5
2020-05-26 22:28:53 +02:00
Translation updater bot d5b4e10e52 Localisation updates from https://translatewiki.net.
Change-Id: Ibb7bfc056bfb35c73d635a7a6a3b24a2d000cc8f
2020-05-21 08:19:53 +02:00
DannyS712 a135c78cca Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: Icfccaa7795cd672c4f484377a33f7f62e37a7ffb
2020-05-19 23:27:50 +00:00
Aaron Schulz e26e89686e Convert $wgMemc use to WANObjectCache
Bug: T160813
Change-Id: I552079e093491ad3205c080909ded37c003830cf
2020-05-14 00:57:20 +01:00
Kunal Mehta 49e5f64c0a Use "description" in extension.json
Bug: T252589
Change-Id: I77d258b23ff8a01bf4fcb455914d6bb64338fc66
2020-05-12 12:53:29 -07:00
Peter Ovchyn 6e004092ca rest: Verify that file exists before calling filesize
Bug: T252128
Change-Id: I2de87d723fdd99bea0f1dadd23648470759a103e
2020-05-07 19:33:49 +03:00
Peter Ovchyn 34f54dd1ad rest: Implement SearchResultProvideThumbnail hook
SearchResultProvideThumbnail was introduced in T250144. In order to fill
search results with the "thumbnails" field it should be implemented in proper extension.

Bug: T250207
Change-Id: I81d5d70f5237d6399b8ec6bec3058d12e40ca142
2020-05-06 22:52:49 +03:00
Reedy e688856810 Remove un-namespaced PageImages class
Change-Id: If761744fdc969e395a7cf7944ed6bf3738635384
2020-05-01 01:36:20 +00:00
libraryupgrader 8016d8009d 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: Ic02f0c7acc4e479023a37a42ad2bee03c47293d0
2020-04-22 16:04:12 +00:00