Commit graph

684 commits

Author SHA1 Message Date
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
libraryupgrader 994220dbf5 build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.6.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ic5b5f143f79ed23ded419e2a1ee31599c5b657ce
2019-12-17 18:47:03 +00:00
Translation updater bot b7f54e8da6 Localisation updates from https://translatewiki.net.
Change-Id: I85a355b6cc21f5babe8cabe645eb84339b6a49b9
2019-12-09 09:36:29 +01:00
Translation updater bot 3eb8256d05 Localisation updates from https://translatewiki.net.
Change-Id: I57b4fbea7c69cabf2fed79326717e4b5d11e3e45
2019-12-06 09:31:54 +01:00
Umherirrender 570e1a8599 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Depends-On: I42d38a8e653d27a4d430ab78bba8b4f3988d7a27
Change-Id: I43ec99bf88b3eebc2d9c31007a559de3cb9e0d2d
2019-11-04 19:18:18 +01:00
jenkins-bot 9060029d88 Merge "Optimize ApiQueryPageImages::getTitles" 2019-11-01 02:17:37 +00:00
Umherirrender 0de5777cf7 Optimize ApiQueryPageImages::getTitles
Avoid array_map/array_flip + foreach when doing the simple thing also in
the foreach

Swap Title::newFromText to Title::makeTitle to avoid reparsing the
string

Bug: T237068
Change-Id: I745cb9bd817a4b2274c6f778c38c58846ef318c1
2019-10-31 23:08:13 +00:00