Commit graph

1147 commits

Author SHA1 Message Date
DannyS712 e5a7ed6997 Update hooks to use PageSaveComplete
Extension requires MW 1.35+, always available

Bug: T250566
Change-Id: I35a288d38e944df4498d63f1d686ee7904909c74
2020-06-23 19:26:40 +00:00
Translation updater bot ac0c5edabe Localisation updates from https://translatewiki.net.
Change-Id: Ic809156cc959e285f75b97e4d84f0f284ebb66c6
2020-06-12 08:38:41 +02:00
libraryupgrader d2d2470760 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: I6919b244da85e0b3200cfc73e280a37035c07a9a
2020-06-10 10:48:17 +00:00
Translation updater bot 8d5432f5b3 Localisation updates from https://translatewiki.net.
Change-Id: I6ff60a29437bab8e27a3f30364ce07f0d65857f2
2020-06-08 08:52:42 +02:00
jenkins-bot 9197309fea Merge "Pass function name to HttpRequestFactory::get" 2020-06-07 19:30:56 +00:00
Reedy 94f09be46b Add txt extension to testSource
Change-Id: I6241f4fcb74dde33fd3e17b24382e38f2d601bed
2020-06-07 14:03:14 +01:00
Umherirrender c90c0e5d09 Pass function name to HttpRequestFactory::get
Useful for logging
Replace deprecated Http::get with service (since 1.34)
Have to check for falsy to avoid returning non-string

Change-Id: I6d06698cf1e34d0cb9ab7d808145b80b556cd243
2020-06-07 13:31:37 +02:00
Translation updater bot 5dabb0ae96 Localisation updates from https://translatewiki.net.
Change-Id: I191f37cfcbb1eecbe385d7b1d522b1e6670ff439
2020-06-04 08:24:44 +02:00
libraryupgrader e84835b372 build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: Id0285dad17b5f5f7295e9196332f9079ca43d91c
2020-06-02 02:56:32 +00:00
libraryupgrader a9f1570ad2 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: I5d64f535579cc65f776a9ac27c4912cc5b1c27ba
2020-05-31 15:34:10 +00:00
libraryupgrader 7ccf4c2f95 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I9cb013b7200dd6f76d9ea1333708fcc894696d1f
2020-05-30 08:34:33 +00:00
Translation updater bot 83526daf85 Localisation updates from https://translatewiki.net.
Change-Id: Id024c467cca4b406acaafe7ac28c4ce2f77cd097
2020-05-26 08:37:46 +02:00
Translation updater bot bc3ec232c8 Localisation updates from https://translatewiki.net.
Change-Id: Ie55e3db04fb85a0ad08ef8937fa5c84f31f68f20
2020-05-21 08:20:07 +02:00
Reedy 300118615f Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I7f3189a5e5546edd7969935d2f7d12ebbaeaad6f
2020-05-20 01:03:00 +01:00
jenkins-bot c11f71a922 Merge "Convert to manifest_version 2" 2020-05-12 16:27:00 +00:00
Reedy 2bc7fd869e Convert to manifest_version 2
Bug: T252470
Change-Id: I7e0b6220367a02ff27f40c569d66c41fb186472d
2020-05-12 01:38:19 +00:00
Translation updater bot 84c647d915 Localisation updates from https://translatewiki.net.
Change-Id: I8c96bab98b8abc57418b7477910257fa632272d9
2020-04-24 08:23:33 +02:00
libraryupgrader 0cbe2dd58b 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: I2a1e976fb988b5c74941fc25141f106da5187512
2020-04-22 21:32:53 +00:00
libraryupgrader ff78c659c4 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ibe9edf286f3c0a72fede9b42b0d4c2654f906dfa
2020-04-19 21:16:32 +00:00
Translation updater bot 509b8e9ad0 Localisation updates from https://translatewiki.net.
Change-Id: I48da97ce39bfb13a54607a82363da72ff50fdbdb
2020-04-13 09:02:49 +02:00
Umherirrender 1243bed54d Use MediaWikiServices::getAuthManager
This required MediaWiki 1.35

Change-Id: I40b1cfd33427cb0c0cc3b484525997f1d2263562
2020-04-12 00:00:28 +00:00
Translation updater bot 54a818e421 Localisation updates from https://translatewiki.net.
Change-Id: I7eb60a56722c0b776423150747f6b65b1067b32a
2020-04-07 08:51:11 +02:00
JJMC89 d9e7e13f9e extension.json: Add tboverride and tboverride-account to grants
* tboverride to editprotected
* tboverride-account to createaccount

Bug: T241114
Change-Id: Iacde8059779b985c33ee31538663b8e55833adf9
2020-03-21 20:01:12 +00:00
libraryupgrader 640ff95564 build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: Ieb4bdc7b7d260fd179614b66abda793dc630cae3
2020-03-21 08:07:17 +00:00
libraryupgrader 18834af659 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Ib48e595b7046dc5f1bc7a193086269fb109cf825
2020-03-19 15:14:10 +00:00
Timo Tijhof 9bf6f9480c Remove use of internal $messageMemc variable
The $messageMemc legacy global, is a BagOStuff intended for
MessageCache service, configured by wgMessageCacheType.

Use that directly as a short-term measure so that we can remove
$messageMemc initialization from Setup.php.

Bug: T189966
Bug: T243175
Change-Id: I04a0e578d76269fa02ee85cffee070dc3e1f4512
2020-03-18 17:14:49 +00:00
Translation updater bot fe38082a53 Localisation updates from https://translatewiki.net.
Change-Id: I611ec4640f0afd255653725a68566448c26e313e
2020-03-18 09:33:38 +01:00
Translation updater bot d3d0db9d64 Localisation updates from https://translatewiki.net.
Change-Id: Ie4ead1d0d2441b09bb247b1f4235e9de25ea1aeb
2020-03-17 10:26:18 +01:00
libraryupgrader ce2940c652 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: If8ff80736c9fc3dc0fdbbe9508fd6431ff48bcff
2020-03-08 14:36:04 +00:00
Translation updater bot 9918c96b07 Localisation updates from https://translatewiki.net.
Change-Id: I3cb949f3d5635843c8cba3cc9008512c6f12c92f
2020-03-03 08:15:09 +01:00
Lucas Werkmeister e35e542c08 Update cache key for Unicode normalization
Change I5d79426a32 (commit f03d6c617b) changed what kinds of values we
store in the cache – Status objects, rather than plain arrays. This
means we need to use a different cache key as well, or they’ll get all
mixed up.

Note that this will effectively replace the current “warm” cache with a
“cold” one on deployment.

Bug: T246643
Change-Id: I0dc5b796af4ab574cd31c8e01d24ddae3edc8a4c
2020-03-02 13:20:54 +01:00
Umherirrender 66f6418eaf Improve param docs
Change-Id: I6f6d781d1b9399520192df156664d39a88752860
2020-02-29 22:10:59 +01:00
Umherirrender f03d6c617b Use AntiSpoof::checkUnicodeStringStatus
Migrate from AntiSpoof::checkUnicodeString to the new function with
status object - was added in 1.32

Use ExtensionRegistry to check for extension
Add error message from the Status to the log

Change-Id: I5d79426a328c6ddc02789d795bc84599e8e5c06d
2020-02-29 10:59:56 +01:00
Translation updater bot f7fc3bf68d Localisation updates from https://translatewiki.net.
Change-Id: I95b1b494a37936b389fd0b13a8be6c8df5f3b89f
2020-02-19 08:26:35 +01:00
Translation updater bot 527f7c162c Localisation updates from https://translatewiki.net.
Change-Id: Ib1b082bde9f97eb843569e7f10f4da28506272ee
2020-02-17 08:47:50 +01:00
Translation updater bot b3d300e05c Localisation updates from https://translatewiki.net.
Change-Id: I344b33fffd0a5e856629616d9cad7a2b5868fef4
2020-02-13 08:55:42 +01:00
DannyS712 eac758d44a Remove use of ApiTestCase::doLogin
Since no user was passed, it defaults to the test sysop, and no
replacement is needed

Bug: T244039
Change-Id: Idbfcbcded52566218b70ae644f61cf2dcc2c7f11
2020-02-03 06:29:22 +00:00
libraryupgrader 8a4dcc5dc0 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: Ia2650d0e819facecfac6a6ae2cb8f217bc6a34ed
2020-01-30 07:50:14 +00:00
Translation updater bot b82aa7ed8f Localisation updates from https://translatewiki.net.
Change-Id: Ic6553af7516915ddd762276a3fa07001826cbb7c
2020-01-24 08:15:45 +01:00
Translation updater bot 6f972d1bb1 Localisation updates from https://translatewiki.net.
Change-Id: I42c489c7e3ed7a558b42f9f1b6e07cf31d5d7a11
2020-01-22 08:30:44 +01:00
Translation updater bot 144e7f1b44 Localisation updates from https://translatewiki.net.
Change-Id: I429cf90146b50f525608c80c16ec63a88d7f4bd8
2020-01-21 08:17:10 +01:00
libraryupgrader 09d70a1f18 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingReturn

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I668c40626bbb60ff8c1ddc130ffdf95c6eefbd2e
2020-01-15 09:20:50 +00:00
Translation updater bot 8345f40dc3 Localisation updates from https://translatewiki.net.
Change-Id: I1d5ded4c25b030712640bbd707768b621e6d1cf3
2020-01-15 09:54:12 +01:00
Translation updater bot 05e880b886 Localisation updates from https://translatewiki.net.
Change-Id: Ie86994d4b0ac9e1c7330e6934f759a70c1e693c2
2020-01-13 09:12:09 +01:00
libraryupgrader 3a1d878459 build: Updating npm dependencies
* grunt-eslint: 21.0.0 → 22.0.0
* eslint-config-wikimedia: 0.12.0 → 0.15.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I602048eb1a657d67b566f4212b4db91ae76a0627
2020-01-08 16:33:03 +00:00
Translation updater bot 74c1d2a68d Localisation updates from https://translatewiki.net.
Change-Id: Ia32484847b8298b713c0b48f76509cc3f00bc5e2
2019-12-29 20:42:18 +01:00
libraryupgrader fcd8ab2cb8 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Idc3c7294c8e7636f2f44beb7389566a7389d23de
2019-12-27 18:55:00 +00:00
libraryupgrader e4bbac38c0 build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I7c42959590c538d9ee0c789a1bfa6680ed2d5ea8
2019-12-18 13:19:13 +00:00
Translation updater bot 84fffe6c5e Localisation updates from https://translatewiki.net.
Change-Id: Iebf9e5edd4bdda75e1d0119e577cbe80ebcc07e8
2019-12-16 12:15:34 +01:00
jenkins-bot e5d00d0d9c Merge "Improve param docs" 2019-12-15 19:36:33 +00:00