Commit graph

3328 commits

Author SHA1 Message Date
Translation updater bot 146b66d1fe Localisation updates from https://translatewiki.net.
Change-Id: Iec663b1b78363eabd15aecf644da0cc9a3d91a6a
2024-01-17 07:37:13 +01:00
Reedy 333663f443 Add tox.ini for python linting
Base file from:
c4790b589b/tox.ini

Most failing rules disabled, rather than fixing now

Bug: T355090
Change-Id: Ie0f499809d84b94b95dddac9abd433c8f81e04ce
(cherry picked from commit 28f297f1f7)
2024-01-16 15:46:33 +00:00
Kosta Harlan ab98badbb6 catpcha.py: Use opts.output
Script fails on macOS Python 3.9.2 otherwise, with "name 'output' is not
defined".

Change-Id: Id3df19b4a4dedf69f860f1a41348770ac1207377
(cherry picked from commit d1bc02e2fb)
2024-01-16 14:03:09 +00:00
Reedy 12794e686c captcha(-old).py: Fix undefined variables and remove some unused ones
Change-Id: I13b46cceb68a0118274a1fe9d3547b193f62b53d
(cherry picked from commit 1a305a40ee)
2024-01-15 20:24:05 +00:00
Reedy 635154c441 ApiFancyCaptchaReload: Mark as internal
Change-Id: I3477f762309ff6e276afee0c38d731cb05ed8ed6
(cherry picked from commit b2b1fd4c98)
2024-01-15 17:53:15 +00:00
Reedy 308705d141 FancyCaptcha: Fix default for $wgCaptchaClass
Follows-Up: I2933639f9cb50db2101c4765ce9d8f9069d253b8
Change-Id: Iebe8858e3d5fa6b32de9c1be7a0b6cb22355e6a3
(cherry picked from commit 88320d3d3d)
2024-01-15 17:47:40 +00:00
Reedy 0ee15ce823 captcha(-old).py: Remove trailing semicolon
Change-Id: I7b6458fe24485c995c47c249d6572be37e39d1a1
2024-01-15 14:12:51 +00:00
Translation updater bot f10ef7cf66 Localisation updates from https://translatewiki.net.
Change-Id: I707450b0f91c1526a686376e3f46148180a4333e
2024-01-10 07:41:40 +01:00
Reedy 0414f33954 captcha(-old).py: Support Pillow 10
getsize() function was removed in version 10

Bug: T354099
Change-Id: I019a5a89de4340d73a938c907c0a6f5cc22a659c
(cherry picked from commit fbf8d90063)
2024-01-05 15:36:19 +00:00
Translation updater bot 62ecf2ba8b Localisation updates from https://translatewiki.net.
Change-Id: If06cb84eed928e50771f0a44fb8ec6b6e3c3dca6
2024-01-03 07:25:11 +01:00
Translation updater bot 739ea06228 Localisation updates from https://translatewiki.net.
Change-Id: Ib5959aa55ffaf1cb0f3c2ab686e0dbf8aab30ba4
2023-12-27 07:11:46 +01:00
Translation updater bot 2913537661 Localisation updates from https://translatewiki.net.
Change-Id: I56318a89e81dce9816428784e2d8f334a2603a3e
2023-12-20 08:28:19 +01:00
Translation updater bot bddc03bd21 Localisation updates from https://translatewiki.net.
Change-Id: I2943093bd96f15a4e133d91868cf41b3379a10ea
2023-12-13 08:05:53 +01:00
Translation updater bot cd1b03416c Localisation updates from https://translatewiki.net.
Change-Id: I5617be3c2fd0fef0ffeba18e8375af71c952d1bf
2023-12-06 08:12:52 +01:00
Translation updater bot 58b9a7be0d Localisation updates from https://translatewiki.net.
Change-Id: I99e8803cc0e4ad6fa9b2ff75abc53e0ed2bee594
2023-11-29 07:58:46 +01:00
Translation updater bot 269340df52 Localisation updates from https://translatewiki.net.
Change-Id: I059aaeef5fad0787ddb76b4be7ef83b29c8b1f81
2023-11-22 07:38:29 +01:00
Translation updater bot dde50361d3 Localisation updates from https://translatewiki.net.
Change-Id: I74767f2df64b7267ed4522160058e2169ebfac31
2023-11-15 07:35:26 +01:00
Translation updater bot 1940173a89 Localisation updates from https://translatewiki.net.
Change-Id: I2885dc0e902c87e5293629465ee838478abb9738
2023-11-08 07:26:53 +01:00
Translation updater bot 1cf623c397 Localisation updates from https://translatewiki.net.
Change-Id: Id3453e0fcbbdd8e0b36d198d2023cab99ad0f3eb
2023-11-01 07:56:02 +01:00
Translation updater bot 48dd6dfd42 Localisation updates from https://translatewiki.net.
Change-Id: I959a59ac655b87e9c3f5c672c573fcefd4804a3f
2023-10-25 07:28:47 +02:00
Translation updater bot 6e5f0f14e0 Localisation updates from https://translatewiki.net.
Change-Id: I2465d039c42dc48a502f7fc408ff3dbf9072d697
2023-10-18 07:22:13 +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