Commit graph

590 commits

Author SHA1 Message Date
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
libraryupgrader feec9687a1 build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: Ib0bdd1dc213a1e0142934fea4b21dd6627737e11
2020-03-21 04:42:39 +00:00
libraryupgrader b9fe63ee91 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I267c4eca41d19628f79e97c03f76963b64d11385
2020-03-19 04:05:29 +00:00
jenkins-bot 4ab449ac8d Merge "Remove usage of deprecated Revision::newFromTitle" 2020-03-11 14:08:33 +00:00
jenkins-bot b1490c422f Merge "Avoid using Title::__construct" 2020-03-08 19:53:28 +00:00
libraryupgrader 385005b0c8 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Ie1cd390f285e158f00e21d3f18e3a6119655c105
2020-03-08 10:13:49 +00:00
Daimona Eaytoy a39d6acb00 Avoid using Title::__construct
Change-Id: I951e412b3f4d7813bb27b9895148ccc59dfd154f
2020-03-07 13:14:08 +00:00
Petr Pchelko 381512b11f Remove usage of deprecated Revision::newFromTitle
Bug: T246284
Change-Id: I4e0a197bbc51b4d05e6519fb2447c0f791d40380
2020-03-03 20:26:09 -08:00
Translation updater bot 144ef925dc Localisation updates from https://translatewiki.net.
Change-Id: I7cb2df096de4a374f72751d868321e8c47180815
2020-02-26 08:25:16 +01:00
libraryupgrader 0778590638 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: I79f9a3251904e6e7a0e1c27d64d242b40bbc1012
2020-02-04 19:17:43 +00:00
libraryupgrader 712d006ba3 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I5e714b548aa11857b5631df94c075fa0e4e7ce81
2020-01-14 08:48:00 +00:00
Umherirrender 586a64e657 build: Remove unneeded exclude from .eslintrc.json
This reverts parts of commit 1cb5c2f93b.

Change-Id: I581ad903e73e3028648a24363232218cee17fe1e
2020-01-08 19:30:42 +00:00
libraryupgrader 1cb5c2f93b build: Updating npm dependencies
* grunt-eslint: 21.0.0 → 22.0.0
* 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

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I6add315b206d646b00bc39794ae5cdf94d324818
2020-01-08 02:37:33 +00:00
libraryupgrader bf0bef45e5 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ifb537c01f077031e085afb8cf6fa807375dc0226
2019-12-21 20:47:50 +00:00
James D. Forrester 3caa4aaf28 Remove unused 'OpenSearchXml' hook handler
This is the equivalent of the current 'ApiOpenSearchSuggest' hook
as it once existed in the "OpenSearchXml" MediaWiki extension,
which merged into core and archived three years ago.

See also Ibe244851857ddff3a437acb12c3cc7660eb89089 in TextExtracts

Change-Id: Ifae845925692f2c1113896133e99901782126841
2019-12-20 16:55:15 +00:00