Commit graph

1407 commits

Author SHA1 Message Date
Translation updater bot de2631d801 Localisation updates from https://translatewiki.net.
Change-Id: Ibca44a08acc513555d53c4c629b7edb391fb5f54
2024-01-31 08:29:47 +01:00
Translation updater bot a4f2547a22 Localisation updates from https://translatewiki.net.
Change-Id: I146a27e6f1663e2695aed5364241430538f828be
2024-01-28 16:08:08 +01:00
Gergő Tisza 2b7633219b
Declare grant risk levels
createaccount is a core grant which by default isn't really
sensitive, but TitleBlacklist adds tboverride-account which
can be used for social engineering.

Using MediaWikiServices to change configuration is not great,
but it's the least bad option available today - other hooks run
too late, and the extension registry doesn't support extensions
overriding core values.

Bug: T290790
Depends-On: Ib7a195c167f82e686c4ede45388957f9988bf75d
Change-Id: I2d20190266e4094449b5857b88f962a444c2f9b5
2024-01-18 22:29:07 -08:00
James D. Forrester 84bd6740cc build: Update MediaWiki requirement to 1.42
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I5c65444e6b5dc5344cfca2adf9b05396283bc5dd
2024-01-12 18:34:10 -05:00
James D. Forrester 623124a6ae extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: I6669f3db58a20a1828130379da174a0399b02c77
2024-01-12 08:53:55 -05:00
Umherirrender dfef274db6 Use namespaced classes
Done automatically via script

Change-Id: If7d9fb3dda6b4c71ac6cf4963da86d49021544a5
2024-01-04 22:31:38 +01:00
Translation updater bot 06a2ce0086 Localisation updates from https://translatewiki.net.
Change-Id: I90ff2bece97486a4792a832336bb3a3dc5434abd
2024-01-04 09:56:27 +01:00
Translation updater bot 68d901436a Localisation updates from https://translatewiki.net.
Change-Id: I1a24d33a7f07e6a8de49b1267af9303bc0806384
2024-01-02 10:17:29 +01:00
Umherirrender 9de38d445a tests: Ensure user exists in TitleBlacklistPreAuthenticationProviderTest
Change-Id: I63c4879baa3c03980f11590f1db729e27ce307e4
2023-12-28 00:53:21 +01:00
Translation updater bot 1c5c207765 Localisation updates from https://translatewiki.net.
Change-Id: I21a6d2b5395fd77ed013cdf4247bfe478d8dde99
2023-12-22 17:47:00 +01:00
Translation updater bot f5831c22a9 Localisation updates from https://translatewiki.net.
Change-Id: I9d92b741dc90776cbd7b78591c4e8ab502a6ff25
2023-11-30 09:38:54 +01:00
Translation updater bot 6d6c6b913e Localisation updates from https://translatewiki.net.
Change-Id: Iead430e9cc10eec3a0c20462b44dd9934f925184
2023-11-29 08:31:56 +01:00
Translation updater bot 8735a1b257 Localisation updates from https://translatewiki.net.
Change-Id: Idf1e300b779903c3bb4a39269b4adc20f9dc13cb
2023-11-23 11:57:38 +01:00
Translation updater bot d724946691 Localisation updates from https://translatewiki.net.
Change-Id: Ie1488f36edb1bef81c9a668c2b8c2f45b78ec356
2023-11-08 13:08:12 +01:00
Umherirrender 711eebd869 Escape raw title blacklist entry for wikitext when used in messages
A line in the title blacklist can contains pipe as part of a regex,
the pipe is also used in wikitext, so it needs escaping to allow use of
templates in system message.

Bug: T350296
Change-Id: I7f18bb7111b989cc66808f17476bacdf45120e09
2023-11-02 21:09:37 +01:00
Umherirrender c5bee58799 tests: Add group Database to ApiTitleBlacklistTest
Change-Id: I14c964574d9ed6ac8ff6ca3ed5bab452d08d0b67
2023-09-26 21:45:34 +02:00
Translation updater bot f8eae73939 Localisation updates from https://translatewiki.net.
Change-Id: I6ed4e61cce100d4956c54364abe0f74956b206cc
2023-09-19 09:26:12 +02:00
Translation updater bot ec9bae43d8 Localisation updates from https://translatewiki.net.
Change-Id: I345b7d65b488dc7565ec9c9787f8ea45cfc5a4ae
2023-09-07 11:14:05 +02:00
Translation updater bot 4712202c0c Localisation updates from https://translatewiki.net.
Change-Id: I8b512fb444918a59d8a180978a9b2b2816070624
2023-08-28 09:31:15 +02:00
jenkins-bot 0f81a0a8f1 Merge "Replace some moved Title class uses, now MediaWiki\Title\Title" 2023-08-19 18:45:26 +00:00
gerritbot d4395ce88d Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I87b70d83127a4068bc5b9f9a8ba347283977423e
2023-08-19 14:15:44 +00:00
James D. Forrester ab2933a71e build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I80f74331ef63c0577604d232e3700b125b33fb0a
2023-08-19 14:11:30 +08:00
Translation updater bot 6882f67a85 Localisation updates from https://translatewiki.net.
Change-Id: I1a94d4e2113b2d8487260e57a762ef203e58966f
2023-08-17 12:10:55 +02:00
Umherirrender 319b33cb46 Use HookHandlers for Scribunto hook
Bug: T271033
Change-Id: I486bf703a73d6196c7bb840ac37b290615c548e7
2023-08-15 15:29:02 +02:00
Translation updater bot 0e14a1b4f3 Localisation updates from https://translatewiki.net.
Change-Id: I79c400088b30eb7ae050439a79f53c1be33c89a3
2023-08-09 09:15:54 +02:00
Translation updater bot cb873c8e14 Localisation updates from https://translatewiki.net.
Change-Id: Icb61e056f4b91ec6338e43995f9a8cebec389f28
2023-07-31 09:01:35 +02:00
Translation updater bot 105a445a59 Localisation updates from https://translatewiki.net.
Change-Id: I672c72478e9b2f0eb7801bbf05d437c96f0b6e1c
2023-07-24 09:39:59 +02:00
Umherirrender ffc9986a95 api: Rename php class behind action=titleblacklist
titleblacklist is not part of action=query (since a2f5ccd2 back in 2011)
and should not follow that naming schema.

No class alias as nobody needs to call the class directly

Change-Id: If57e5bd9291a894edf42835fed07d37cd8e8abed
2023-07-04 22:42:50 +02:00
jenkins-bot 184f6ccbf8 Merge "Remove redundant documentation from test" 2023-07-04 20:38:38 +00:00
Daimona Eaytoy bf76b5fe55 Remove redundant documentation from test
We generally do not put these instructions in every test. A README file
would be more appropriate, but since there isn't one, I'm not sure if
it's needed, especially because the instructions for running tests
should ideally be the same for all extensions, and those could be
documented in a single place.

In particular, remove reference to soon-to-be-deprecated phpunit.php and
other information that can easily be found in the first 10 lines of
code.

Bug: T90875
Change-Id: I97e6f608f8a3f11febf33c38811fe7692be59e24
2023-07-02 18:31:45 +02:00
Umherirrender 8584bb40bd api: Parse error message with the title to check
When the custom error message contains {{PAGENAME}} or other title based
variables, there are currently parsed as
"Badtitle/dummy_title_for_API_calls_set_in_api.php"
The same custom message is shown correctly on index.php

Bug: T340923
Change-Id: I4c1dc6660976de54ff6ba8f8f7a5768371e61e80
2023-07-02 10:36:33 +02:00
Translation updater bot f87949916c Localisation updates from https://translatewiki.net.
Change-Id: Ib430223d2ba2a83fc6fd5895f27a5570f57c80db
2023-06-27 19:28:39 +02:00
Translation updater bot 6399afb6f1 Localisation updates from https://translatewiki.net.
Change-Id: Id92e8ee7b98ddf2e409e04e37e5358ac50bee2a3
2023-06-26 12:41:13 +02:00
Umherirrender 075a196fe6 api: Remove old apihelp i18n description messages
No longer used since 1.33

Automatically removed message keys with "doc-apihelp-description" in qqq

Bug: T340253
Change-Id: I6e44ee6b84237f00d0944d232e897761dedc5479
2023-06-24 00:36:18 +02:00
Translation updater bot d03f2aa9ea Localisation updates from https://translatewiki.net.
Change-Id: I2f7eed22bcf043ee903ccdb17f7886034782194f
2023-06-20 09:51:03 +02:00
Translation updater bot 2de364dd68 Localisation updates from https://translatewiki.net.
Change-Id: I105a8c078a91e42b49014c2141d2905ab2fde81f
2023-06-19 11:08:13 +02:00
Translation updater bot 874fcbba33 Localisation updates from https://translatewiki.net.
Change-Id: I5fe7a083300e38e1ad198c8fc9e46d0675ee0448
2023-06-14 13:08:09 +02:00
Daimona Eaytoy 6b45e11915 Replace deprecated MWException
Bug: T328220
Change-Id: Ie3533ce07a1e372dd5ec05f4437bfc9e35149b96
2023-06-07 17:12:37 +02:00
libraryupgrader 06890dd116 build: Updating grunt-banana-checker to 0.11.0
Change-Id: I6cdbe4049f55ca60d7ab5245a434121419dcee88
2023-06-02 04:09:29 +00:00
Translation updater bot a7d8bab0b1 Localisation updates from https://translatewiki.net.
Change-Id: I4688f6d722b64a947e3d3c037a5663c6e167fdc2
2023-05-31 08:21:06 +02:00
Translation updater bot ea23b7973b Localisation updates from https://translatewiki.net.
Change-Id: Ic41fc3f2cb85e1e234ee68832c76c77863cfdbee
2023-05-29 10:00:14 +02:00
Umherirrender d01b9a933c tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I6941b43f599063864de59bd7906beb082278fdea
2023-05-20 14:16:31 +02:00
Umherirrender 7ece0eddd0 tests: Use static provider in TitleBlacklistAuthenticationRequestTest
Shows up a deprecation message

Follow-Up: I5ff35ad0e894f0a27beae00257dc1fc599ad518d
Change-Id: I159d727d92ed1d5ca5721d9a290bff89c5922c8d
2023-05-19 22:27:21 +02:00
Translation updater bot 47b971ac4b Localisation updates from https://translatewiki.net.
Change-Id: If7805cb645274408675c146e5db71a6376781421
2023-05-15 08:33:53 +02:00
Translation updater bot df3ae4aec0 Localisation updates from https://translatewiki.net.
Change-Id: I557e0386c198e19724a0932bb4f604bd08992914
2023-05-10 08:42:07 +02:00
gerritbot 5109fe66b9 Update moved class EditPage
See T321882. Moved in Ibefc44eb64aed

Bug: T321681
Change-Id: I46fc958aa4b9b8406866e16f5f39624d62744465
2023-05-06 21:20:41 +00:00
libraryupgrader 35bfe76b4a build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I9a7008befba32dec35c8c96782fbdba620f0eb1b
2023-05-05 18:26:34 +00:00
libraryupgrader 100f137d66 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Ic0a599b2029caa238fdfffb4a6e117500331947c
2023-04-29 12:53:09 +00:00
Translation updater bot 765d07f486 Localisation updates from https://translatewiki.net.
Change-Id: I67b6c5bb20b6bddf1a9b8dc0ca3b3c219025898b
2023-04-26 08:44:16 +02:00
Translation updater bot 7a9680d7cb Localisation updates from https://translatewiki.net.
Change-Id: I3a8f68887aeec101069526ad8cf3e849c18713ed
2023-04-21 09:00:54 +02:00