Commit graph

3249 commits

Author SHA1 Message Date
James D. Forrester 2f9beac0fa build: Switch eslint to ES6 mode, and make pass
Change-Id: Ic29ad198519a7455909b8ee32fa891c7881e4bb5
2023-09-20 09:27:51 +01:00
James D. Forrester 003fd5778f build: Update all linters to latest as of September 2023
eslint-config-wikimedia     0.25.0  →  0.25.1
 grunt-eslint                24.0.1  →  24.3.0
 grunt-stylelint             0.18.0  →  0.19.0
 stylelint-config-wikimedia  0.15.0  →  0.16.1

Change-Id: If484bdb4a5c842e7c362ffececba666bd4eb9ee5
2023-09-20 09:22:51 +01:00
Translation updater bot 613bfd1b45 Localisation updates from https://translatewiki.net.
Change-Id: Ibd111d5ec1d7d4b21ba301e66cb639e7003c03df
2023-09-20 08:54:45 +02:00
James D. Forrester df052e9027 build: Use conf.MessageDirs for banana path config
This repo is a little tricky, as it's made up of multiple sub-
extensions, each using relative paths, but at least this way it
is clear that adding additional i18n paths to a manifest will
also add it to the linting set-up.

Change-Id: I7bc4f0cd5d2b431fe47a4d3bee2ca69a06aeea6d
2023-09-19 09:59:36 +01:00
Translation updater bot fa85a724ab Localisation updates from https://translatewiki.net.
Change-Id: I716af88dc6202b4b629a38cf2ce543c50e03b401
2023-09-18 08:42:50 +02:00
Translation updater bot ab7c8ab74e Localisation updates from https://translatewiki.net.
Change-Id: I98a3d0c5973767462948e625c64ce268bb5aa97a
2023-09-13 08:31:36 +02:00
jenkins-bot c7c261841a Merge "Migrate from wgWikimediaJenkinsCI to MW_QUIBBLE_CI constant" 2023-09-11 10:13:21 +00:00
Translation updater bot 585155f8ff Localisation updates from https://translatewiki.net.
Change-Id: I813a1bb1ed4440bd876f9152a4aa3658274c1bc1
2023-09-11 09:03:24 +02:00
Amir E. Aharoni e6a0335bf0 Remove a space from "web sites"
Follow-up to
I0f2d1e647a0f01af4a98053744c639658bbc2454

Change-Id: I36fcf1b341c90aaf93f75e9a95054d7028b58422
2023-09-08 16:32:48 -04:00
Amir E. Aharoni 8dca60b601 Copyediting the help text
Most MediaWiki extensions use "website" and not "web site",
so removing the space here for consistency.

Also adding commas after introductory words in the same message
and clarifying the pronouns.

Change-Id: I0f2d1e647a0f01af4a98053744c639658bbc2454
2023-09-08 10:32:29 -04:00
Timo Tijhof becb9038ca Migrate from wgWikimediaJenkinsCI to MW_QUIBBLE_CI constant
Details in Ia4df6350f849ca27.

The global variable will still work in most cases, but the way it was
used here (as wgExtensionFunctions callback) will stop working to
allow MW core to run plain `phpunit` (T90875).

Migrate to the MW_QUIBBLE_CI constant instead, which is set in all
the same circumstances

Change-Id: I25acee1e6e88ca745435cbfa0b398041f04c94d6
2023-09-07 20:19:58 +00:00
jenkins-bot ea6dafd412 Merge "OutputPage::setPageTitle() can take a Message directly" 2023-09-07 17:05:19 +00:00
Translation updater bot d14dcf0c00 Localisation updates from https://translatewiki.net.
Change-Id: I791d31a86a7be9bafc30f6971abdb5e26e020c42
2023-09-07 11:10:41 +02:00
Translation updater bot 65763d3b41 Localisation updates from https://translatewiki.net.
Change-Id: I9c7328358d62ffb004c35b6a0d03e77c02e5c4e5
2023-09-06 08:41:41 +02:00
jenkins-bot f06dd5e0d9 Merge "build: Update MediaWiki requirement to 1.41" 2023-09-05 21:16:59 +00:00
jenkins-bot a31bc1418c Merge "Do not use UTSysop directly in CaptchaPreAuthenticationProviderTest" 2023-09-01 13:42:06 +00:00
Translation updater bot 92f0bb1be7 Localisation updates from https://translatewiki.net.
Change-Id: I49bb9fd270e2e53449b4eaaab97f9f8cb30b6107
2023-09-01 09:02:41 +02:00
Translation updater bot 07a7730d3d Localisation updates from https://translatewiki.net.
Change-Id: I3243938f101e26eea09e591e1fb72c8e815e83cd
2023-08-31 14:35:08 +02:00
Translation updater bot cf979357e1 Localisation updates from https://translatewiki.net.
Change-Id: I3743996f6e0e46981615398bea8101f3425541e5
2023-08-29 08:28:05 +02:00
Translation updater bot b496187a26 Localisation updates from https://translatewiki.net.
Change-Id: I5327671fda2140360773cc4eef48b5d785f6b109
2023-08-28 09:29:52 +02:00
jenkins-bot 39534fbe1f Merge "Remove incorrect documentation comment" 2023-08-24 15:32:55 +00:00
Translation updater bot f413f1fbe0 Localisation updates from https://translatewiki.net.
Change-Id: If4c49755a67774c86f8e1304b31f4f9d06bb5533
2023-08-24 09:49:06 +02:00
Bartosz Dziewoński 2dfc290c57 Remove incorrect documentation comment
isBadLoginPerUserTriggered() can never return null. This comment was
added in 2016 in 31c59374a4 and it was
already incorrect then. I don't know where this idea came from.

Change-Id: Ib919999fe83562cb4fa80246ae7c6b4707da775c
2023-08-24 00:12:19 +02:00
Translation updater bot 114c67a0f1 Localisation updates from https://translatewiki.net.
Change-Id: I648d9864bf55b852ec12a715cb2a1c0e6245c4cc
2023-08-22 09:01:24 +02:00
Translation updater bot 2917311911 Localisation updates from https://translatewiki.net.
Change-Id: If49d443c64ef332c6a13b3a13f5be2078dd54cd1
2023-08-21 08:47:29 +02:00
James D. Forrester a076a9a1b9 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ide89bc54b05421247539679d9a2c2e3735e8defa
2023-08-19 13:12:05 +08:00
gerritbot 4bc5e7ed8f Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I639a03a5f828d7036e29a11a8a45d8d1e8923590
2023-08-19 04:14:21 +00:00
Daimona Eaytoy f988b56d53 Do not use UTSysop directly in CaptchaPreAuthenticationProviderTest
The test sysop account, when needed, should be created with
getTestSysop().

Change-Id: Ie25385fe252ff230dd1d65a5972f69ed794b46b8
2023-08-18 16:32:35 +02:00
Translation updater bot a1ba79a343 Localisation updates from https://translatewiki.net.
Change-Id: I6622ef35578473d9bf6e3f5a3435640ad699b768
2023-08-18 09:07:58 +02:00
Translation updater bot a63d9af26d Localisation updates from https://translatewiki.net.
Change-Id: I075b8a361ac300eb36f04b3fe4a24293408d1828
2023-08-17 12:09:39 +02:00
Translation updater bot 0c4fba79d3 Localisation updates from https://translatewiki.net.
Change-Id: Id4a3bfc213817ee7c9cf2584e68f51c5e3adbfe6
2023-08-16 09:11:24 +02:00
Umherirrender 0b0f9e37af Use HookHandlers for core hooks
Bug: T269882
Change-Id: I91df459f696e99bb5cce597739b48cbebbf4a88e
2023-08-15 12:21:21 +02:00
Umherirrender 5740fcf8c4 docs: Use IContextSource for EditFilterMergedContent hook handler
Use narrow interface IContextSource instead of class RequestContext

Change-Id: Ibe2c9101f40ac28a0c65eade35af896f9a54c285
2023-08-15 12:20:42 +02:00
Translation updater bot 368cd71a52 Localisation updates from https://translatewiki.net.
Change-Id: I47149e35daaf1c8122a2c2b9279193a6e368f409
2023-08-15 08:25:42 +02:00
Translation updater bot b8083be4ae Localisation updates from https://translatewiki.net.
Change-Id: I76a134124b63fd3518a40735557453134bf59975
2023-08-14 09:17:24 +02:00
C. Scott Ananian 6bc6f1ef87 OutputPage::setPageTitle() can take a Message directly
Bug: T343849
Change-Id: Ib519fbcb47cbe8d0af9ec495c7c91cb2ec8a736e
2023-08-10 11:44:44 -04:00
Translation updater bot 88dfd7dc3f Localisation updates from https://translatewiki.net.
Change-Id: Ic895152e4d75e9d65a45a61ec086dbfd5899e49f
2023-08-10 09:40:26 +02:00
Translation updater bot 7b48fb84e5 Localisation updates from https://translatewiki.net.
Change-Id: If7d7c2a4a439a04de474219b8c93590e4a7c75fe
2023-08-09 09:14:49 +02:00
Translation updater bot ede9fd4625 Localisation updates from https://translatewiki.net.
Change-Id: Ia64ed52829f755c82616016a45b32dc312395d03
2023-08-08 09:00:43 +02:00
Translation updater bot 4799475299 Localisation updates from https://translatewiki.net.
Change-Id: I38fd71e1067c61c27f63cb9ea427de342e7b545a
2023-08-07 08:38:01 +02:00
jenkins-bot 5383436327 Merge "Make badwordlist optional" 2023-08-06 09:22:07 +00:00
jenkins-bot a8d0b2019c Merge "Avoid DB access in HTMLFancyCaptchaFieldTest" 2023-08-05 04:16:27 +00:00
Translation updater bot 2ae406faf1 Localisation updates from https://translatewiki.net.
Change-Id: Id52c0d798588fd8fde8553c95bda29305140f6b7
2023-08-04 09:20:13 +02:00
Daimona Eaytoy d00a84066f Avoid DB access in HTMLFancyCaptchaFieldTest
The test needs the database when the WikimediaMessages extension is
enabled.

Change-Id: I3757a849f522c03194866ac29d9ee132e2bae595
2023-08-04 02:10:41 +02:00
jenkins-bot 35d3dc6a78 Merge "Fixes Account creation CAPTCHA text field" 2023-08-03 16:27:46 +00:00
Amir Sarabadani 59a654711b Allow aggregation of captcha logs
without it, the normalized and non-normalized log entry would be the
same. As seen in:
https://logstash.wikimedia.org/app/dashboards#/doc/logstash-*/logstash-mediawiki-1-7.0.0-1-2023.08.03?id=UKIRu4kB6U_kV85AiHjE

Change-Id: I2eaca27b8c494b1b9749c2e9ad3770029c90b114
2023-08-03 13:10:17 +02:00
Jon Robson 1a79047036 Fixes Account creation CAPTCHA text field
Bug: T341525
Change-Id: I793333b764399867c6e5babdec3d457d65d81fb1
2023-08-03 00:13:48 +00:00
Translation updater bot beaae2431b Localisation updates from https://translatewiki.net.
Change-Id: I2cc8bda0092175b1635adc63cbe7ed1d59c3089d
2023-08-02 09:03:47 +02:00
Translation updater bot 4d1ef5dc4b Localisation updates from https://translatewiki.net.
Change-Id: Ic5cd09ab0be05a953fb59f7bbfd65964d3d8ca30
2023-08-01 08:36:21 +02:00
Translation updater bot 4b502fa6b8 Localisation updates from https://translatewiki.net.
Change-Id: Ib6f8d83889a1c4fdd66dd0d386568c786c0ebedc
2023-07-31 08:56:44 +02:00