Commit graph

1343 commits

Author SHA1 Message Date
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
Translation updater bot 2393494943 Localisation updates from https://translatewiki.net.
Change-Id: I676e20d9137da7aa668a5b79f59fb63f4ded58f8
2023-04-12 08:45:12 +02:00
Translation updater bot 35c4c61519 Localisation updates from https://translatewiki.net.
Change-Id: I6fa033ca1094687323a3f4fb3feda34d72eec995
2023-04-10 09:46:52 +02:00
Translation updater bot e6339e619b Localisation updates from https://translatewiki.net.
Change-Id: I638be705172d3483b180e3354653fe10b231ee2b
2023-04-06 09:25:18 +02:00
Translation updater bot 9c44ac7866 Localisation updates from https://translatewiki.net.
Change-Id: I9a6bb340d1c7679b874995fb022d16912109ab99
2023-04-05 09:08:36 +02:00
MarcoAurelio ac23f14408 Fix right-titleblacklistlog
Missing 'the' and plural.

Change-Id: I78e91c4d9a8f0e4c4deef6554153d254ef44db24
2023-03-29 16:01:18 +00:00
Translation updater bot f36e6991a4 Localisation updates from https://translatewiki.net.
Change-Id: I57219cbe87a2ac35b42fa72da8312d4bab4994fc
2023-03-27 08:41:59 +02:00
libraryupgrader 32cb71e18a build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: Ida40c382bf66c9e62528a9738308bb93127ebe87
2023-03-16 09:04:51 +00:00
libraryupgrader 92ed427efc build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected

Change-Id: I923d0bf887e8ce90b9d2d3a11cd0c92050f644c2
2023-03-12 12:31:07 +00:00
Translation updater bot 51c07d0ecd Localisation updates from https://translatewiki.net.
Change-Id: I54fa9999d2ecb08c9d98f317aa45e9c58e1754c9
2023-03-06 08:34:22 +01:00
Translation updater bot a94ed27b8d Localisation updates from https://translatewiki.net.
Change-Id: Ide7c381137ba6729dfed194bb5655a8f11d98078
2023-02-13 08:31:18 +01:00
Translation updater bot e929a75149 Localisation updates from https://translatewiki.net.
Change-Id: I555358ebe8e91067e0638a26670b79026227b202
2023-02-08 08:40:41 +01:00
Translation updater bot 185221f587 Localisation updates from https://translatewiki.net.
Change-Id: I057318c64ef69c594eedaae8cb6b3cac6525f6e4
2023-02-06 08:46:29 +01:00
Translation updater bot d5569ed7db Localisation updates from https://translatewiki.net.
Change-Id: I8d1cf67169d5c2a59e62dc54a5f45c3591812b16
2023-01-23 08:24:17 +01:00
Translation updater bot 5a1640a7bf Localisation updates from https://translatewiki.net.
Change-Id: Ie824dbe33816d5f719de95eb9b5cf5e87a7d7245
2023-01-12 08:43:11 +01:00