Commit graph

754 commits

Author SHA1 Message Date
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
Reedy 6452380305 Fix ParserMakeImageParams hook subscriber
Change-Id: Id5591e5cdc7efc6a7fd3f48f8ea99be65a3606f0
Follows-Up: I4a3fa5f8aaafd87c78b03f04369a73f4b4f1b189
Bug: T250745
2020-04-20 20:56:30 +01:00
Reedy 0a406c67a8 Add TestAutoloadNamespaces
Remove require_once from ApiQueryPageImagesTest

Change-Id: I0d1cf452a3c88e0cbac4c44284b7dc673bbca886
2020-04-19 23:14:24 +00:00
Reedy b14685b8d5 Namespace the other two classes in PageImages
Leave alias for PageImages as it's used elsewhere...

Change-Id: I4a3fa5f8aaafd87c78b03f04369a73f4b4f1b189
2020-04-19 23:06:20 +00:00
Reedy 8747de0649 Remove PHP entry point
Change-Id: Ic16b2b632c371e6d2180c17817e876aab30acddc
2020-04-19 23:35:28 +01:00
libraryupgrader 0c29f84071 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I4339c5651c659b670e7c8808fd83320425ae964e
2020-04-19 14:11:02 +00:00
Reedy 0cc54a66bd Move some classes to AutoloadNamespaces
Bug: T187154
Change-Id: I2f5251aa2f8298fd11096b27eea3e5ccf71f2103
2020-04-18 04:24:42 +01:00
Umherirrender 2775a9fa66 Use MediaWikiServices::getRepoGroup
This required MediaWiki 1.34

Change-Id: I90df4bcce40abbe8a1365cd1d65af0c23cf595bd
2020-04-12 00:23:49 +00:00
DannyS712 f22926df87 Use LinksUpdate::getRevisionRecord in MW 1.35+
Bug: T249397
Change-Id: I59759823a98f25dbfa633288a849aa9e01014683
2020-04-08 01:32:14 +00:00
Translation updater bot 77562880e8 Localisation updates from https://translatewiki.net.
Change-Id: I02c8d1a95dbd87d377d89befd9651992cf2d25cf
2020-04-07 08:46:34 +02:00
DannyS712 eb381bbb8f PHP coding conventions: reorder doxygen tags
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Doxygen_tags

Change-Id: I0f0a397c4b4e2e266ea050e92b67c01cee73f3bf
2020-03-26 15:50:02 +00:00