Commit graph

3324 commits

Author SHA1 Message Date
Derick Alangi bb201b86e4
Store: Enable ConfirmEdit to use MicroStash for captcha storage
ConfirmEdit uses MainStash as the backend to write its captchas. We
are migrating this extension to use the MicroStash store instead which
is more suitable.

This patch will store the captcha in MicroStash, read it from there
or fallback to MainStash if lookup was not successful. The code will
then clear both stores once after processing.

Migration plan
==============

step .1: Write to microstash store only, read from it or
         fallback to mainstash store. Then delete from
         both backends.

step .2: Read from microstash store only, delete from the
         microstash store, and remove dead code afterward.

Bug: T336004
Change-Id: Ie7c50a6efe7a0aefc97a712b2ad961e7837cc4cf
2023-11-29 11:35:45 +01:00
Translation updater bot 2e24b873a8 Localisation updates from https://translatewiki.net.
Change-Id: I586d41a899a43fc9081f8cdbfafb6baa201c3ebd
2023-11-29 08:30:45 +01:00
Ammarpad 0ae3137ead Fix dynamic property usage
Status now provides declared $statusData property for holding
arbitrary data that can be used instead.

Bug: T326479
Depends-On: Ibe3f1f8b81bcfcb18551d3ca4cda464e4bdbcbce
Change-Id: I1342a8a8ca64b4040ed2b2d101d4574aedd888af
2023-11-28 14:10:40 +01:00
Translation updater bot de91250432 Localisation updates from https://translatewiki.net.
Change-Id: Id4def644018191df3eb413f6abb03ad0441107ff
2023-11-27 08:32:02 +01:00
Translation updater bot 0f6f85f7a7 Localisation updates from https://translatewiki.net.
Change-Id: I6c41dbbe6f68360e0cea0319e874de4bdd530539
2023-11-23 11:56:03 +01:00
Translation updater bot 977a1116f9 Localisation updates from https://translatewiki.net.
Change-Id: I3b92fd4d856849f334750e55edc796ed0c2a1a0f
2023-11-20 08:51:09 +01:00
Translation updater bot 9977e87163 Localisation updates from https://translatewiki.net.
Change-Id: Ib55813defd6e064a8e6a10c697ff7811871f2b4c
2023-11-17 08:52:22 +01:00
Translation updater bot 5170e9e0d6 Localisation updates from https://translatewiki.net.
Change-Id: I9ac44d1b45ca9b7a65fb91c8abf8c997e22fa75c
2023-11-16 09:09:05 +01:00
Translation updater bot ceee49508b Localisation updates from https://translatewiki.net.
Change-Id: Id9821140fd133a6de1ed6d67704634da401a8e8a
2023-11-08 13:07:26 +01:00
Translation updater bot ec7245f9cd Localisation updates from https://translatewiki.net.
Change-Id: I8a5c7fba8a41f9cdfbfccde2db7aae808b8726a6
2023-11-07 09:07:35 +01:00
Translation updater bot 6c0a549b3b Localisation updates from https://translatewiki.net.
Change-Id: Idf82c2fd64858c01b9b1f20390feff16dbdfad15
2023-11-06 08:55:58 +01:00
Translation updater bot a368c40e8d Localisation updates from https://translatewiki.net.
Change-Id: I1753944666ad7cdba9b80d98f4ebf26ddf0f5d10
2023-10-30 17:59:00 +01:00
Translation updater bot 8d1e6b7730 Localisation updates from https://translatewiki.net.
Change-Id: I828f19a75f826e803223ac8cf6fc2eb7d5358867
2023-10-27 09:19:48 +02:00
Translation updater bot 1216b948f7 Localisation updates from https://translatewiki.net.
Change-Id: I8eb4dee4984de41c393fb7cb856f563a49afaff2
2023-10-24 09:36:55 +02:00
Translation updater bot 6b65692bce Localisation updates from https://translatewiki.net.
Change-Id: I9f45eb37b61b5f574fae7e4487460cb1ddd61daf
2023-10-23 09:50:27 +02:00
Translation updater bot 22288ed942 Localisation updates from https://translatewiki.net.
Change-Id: Ic345702a02c9d411af93f4f4b1f957f3c6b4dfc5
2023-10-19 08:41:32 +02:00
Translation updater bot 184f0ffda1 Localisation updates from https://translatewiki.net.
Change-Id: Ide63d3b2e22b70d67bf9b2512c0dfef05035b73d
2023-10-13 08:55:42 +02:00
Translation updater bot 0791b95568 Localisation updates from https://translatewiki.net.
Change-Id: Ic969aa9c167a217a8b2a783a1edea62fc1d7270e
2023-10-09 08:55:43 +02:00
Translation updater bot 94b055d19d Localisation updates from https://translatewiki.net.
Change-Id: Id99c45003c3d58c6345dc998a155e8795aadbb1e
2023-10-04 09:07:54 +02:00
Translation updater bot d18e313248 Localisation updates from https://translatewiki.net.
Change-Id: I64b71fc9903bf2703fb47e9423f1bac9425a10bf
2023-10-03 09:32:24 +02:00
Translation updater bot 01429df697 Localisation updates from https://translatewiki.net.
Change-Id: I2de0deb4acd38261aa240162ac18d00bc8b45354
2023-10-02 10:57:05 +02:00
Translation updater bot eb4261e552 Localisation updates from https://translatewiki.net.
Change-Id: I3d971a5c0062cac07dc4e395bab96d1486b611cb
2023-09-27 09:19:52 +02:00
Translation updater bot 8182f72b72 Localisation updates from https://translatewiki.net.
Change-Id: Ic63b9a58f63df53b2268619a86bb70136b6da079
2023-09-25 08:46:03 +02:00
Translation updater bot ae8973dbe8 Localisation updates from https://translatewiki.net.
Change-Id: I5fd594676339b661ae3228864e19525135c83c45
2023-09-21 10:15:30 +02:00
Timo Tijhof 2a47e936aa build: Simplify banana config with require() and for-of
* `require()` is more direct and likely faster than a synchronous
  file read into user land and then sync JSON.parse (as grunt.file
  does) than Node natively reading and parsing a file in one go.

  Also benefits being less Grunt-specific and theoretically some minor
  benefit to IDE and static analysis.

* Inline loop as for-of without the forEach function calls.

Change-Id: I06c8f8729b2f4ba2c574c7aaeaa2ae56513b4595
2023-09-20 09:28:46 +01:00
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