Func
3ff1a7f34d
ViewRevert: Adjust use cases of HTMLForm
...
Use setTitle() instead of setAction(), T285464.
HTMLForm would set edit token for post form, use setTokenSalt() to amend.
HTMLForm would fetch user input value from the request itself, since
the two form shared the same field name, the 'default' params assigned
are unfunctional.
HTMLForm would prefix descriptor keys with 'wp' as the default name
of generated input fields, make use of this feature.
Bug: T285464
Change-Id: I2cc3c1d042998b65df5ee51f0715fe25a5e18e72
2022-03-20 23:28:06 +08:00
Translation updater bot
1d6d3f4894
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie12e68464ba46f7dcd030f8203cd3a2e34f8b98a
2022-03-18 08:44:11 +01:00
Translation updater bot
0e5f0d7aad
Localisation updates from https://translatewiki.net .
...
Change-Id: If2ab3ffa29131571b64dd7226e5eb8c052fad079
2022-03-17 08:36:21 +01:00
Translation updater bot
2b61a07078
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9a7d8be47edfefd6cd28f7ed2f30127eb7022b1
2022-03-16 08:07:06 +01:00
Translation updater bot
d11bb13577
Localisation updates from https://translatewiki.net .
...
Change-Id: I298d997aba9b1602f0758c9dcf2978684f47b261
2022-03-15 08:24:31 +01:00
Translation updater bot
d26a84e52f
Localisation updates from https://translatewiki.net .
...
Change-Id: Id8c01ead8de70e5afd2408a1644fdc562e3816c2
2022-03-14 08:13:16 +01:00
jenkins-bot
1e105c8821
Merge "Cast filter id to integer in AbuseLogPrivateDetails output"
2022-03-12 17:22:55 +00:00
Matěj Suchánek
7232bfc647
Cast filter id to integer in AbuseLogPrivateDetails output
...
Change-Id: If4a1bf4181e3a84281299bf4aa66fd314100f3dc
2022-03-12 12:37:47 +01:00
Matěj Suchánek
222aebab91
QueryAbuseLog: Cast revision id to integer
...
Change-Id: Id670a1cd7e3695211b202dba45b60c9f9c69649e
2022-03-12 01:19:56 +00:00
Translation updater bot
deb9886302
Localisation updates from https://translatewiki.net .
...
Change-Id: I7c7a3fdfc11d3b043de9bbaa13053c6c7dd86b01
2022-03-11 08:31:32 +01:00
Translation updater bot
70a910e22a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie6b9b0d95ae7c93d1edff6cd432d24b852c85484
2022-03-10 08:18:27 +01:00
Alexander Vorwerk
4aedfe8d91
Use updated ObjectFactory namespace
...
Change-Id: I99c5e5664d2401c36a9890f148eba7c25e6e8324
2022-03-09 22:17:07 +00:00
Translation updater bot
be51e2a80d
Localisation updates from https://translatewiki.net .
...
Change-Id: If3fc4de518aed7498a715f584cf0af8b1917b372
2022-03-09 08:08:52 +01:00
jenkins-bot
f1ab9b263f
Merge "Fix logging for parser exceptions"
2022-03-08 17:31:19 +00:00
Translation updater bot
1f123c3dcc
Localisation updates from https://translatewiki.net .
...
Change-Id: I84e8acff10958540a0a5cb4a6bcc7006217a6f9b
2022-03-08 09:00:34 +01:00
Daimona Eaytoy
d5bb976f51
Fix logging for parser exceptions
...
This was likely a rebase artefact or something: the 'implode' was meant
to be called with two parameters as usual. Currently, the parameters are
simply concatenated which makes the logs quite hard to read.
Change-Id: I84f9a7cb05e210f60a791d513dfb5b74fa7dfb8a
2022-03-07 13:32:54 +01:00
jenkins-bot
894b94bf7d
Merge "Add logging when the 'block' action fails"
2022-03-07 09:26:42 +00:00
Translation updater bot
567f263bad
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia8e25c7e1551bb3367662bff574bdf6684a6bfe4
2022-03-07 08:09:42 +01:00
jenkins-bot
3da40866f8
Merge "Move throttle range sizes to class constants"
2022-03-06 20:22:13 +00:00
Alexander Vorwerk
9bc01b4986
Use namespaced Renameuser classes
...
Change-Id: Ibac446d50a34a26182b801fa15c8a8ddffd2eea0
2022-03-06 17:10:41 +00:00
Daimona Eaytoy
4b6fff36e1
Move throttle range sizes to class constants
...
Change-Id: Iac436578f94022762b7f67959af894261c59fc66
2022-03-06 16:37:11 +01:00
jenkins-bot
dad1fff238
Merge "Overhaul throttle identifiers"
2022-03-06 13:50:43 +00:00
Daimona Eaytoy
a0fd0bae01
Overhaul throttle identifiers
...
- Use a /64 range for IPv6 instead of /16.
- Fix a curious and serious bug for IPv6, where grouping by range
would only use the first (!) number of the IP address, due to the
'v6-' prefix returned by IP::toHex.
- Fail hard if the identifier is unknown -- it's not something that's
supposed to happen.
- Include the type name in each identifier, instead of prefixing all
type names to all identifiers. This makes it easier to understand the
parts of the key.
- Test the whole lot.
Bug: T211101
Change-Id: I54c4209f2f0d5a4c5e7b81bed240ca3e28a2ded7
2022-03-06 13:31:06 +00:00
daniel
a512ed31a7
Rename private assertion method
...
assertStatusMessage is being added to MediaWikiTestCaseTrait, rename
a method of the same name in FilterValidatorTest to avoid conflicts.
Change-Id: I642a3b620ab4d8ad620f7a1253fed98d6796883d
NeededBy: Ic01715b9a55444d3df6b5d4097e78cb8ac082b3e
2022-03-05 21:48:18 +00:00
Daimona Eaytoy
496c2ee370
Add logging when the 'block' action fails
...
Also avoid using User, use Authority instead.
Bug: T303059
Change-Id: I419ab3726d95ef600e2aa14dca5fa14066d245e3
2022-03-05 19:12:53 +00:00
jenkins-bot
a94f71fcac
Merge "Change comment for TextExtractor getNativeData to getText"
2022-03-04 09:52:08 +00:00
russ-rogovetz
3505fa63f6
Change comment for TextExtractor getNativeData to getText
...
Update TextExtractor comment, change Content::getNativeData to TextContent::getText.
Code got already updated.
Bug: T283667
Change-Id: I09e3c537c7e55737d79e69abdd3b7faf693e58cc
2022-03-04 11:01:13 +02:00
Translation updater bot
b4df25873a
Localisation updates from https://translatewiki.net .
...
Change-Id: I2ba04d64cd75ad2d08064e8d2c21826ec0c8df3b
2022-03-04 08:28:13 +01:00
Translation updater bot
8b03d1dda7
Localisation updates from https://translatewiki.net .
...
Change-Id: I42fe536f4323e4c6d3865e98a3240213cb97fdcd
2022-03-03 08:21:46 +01:00
Daimona Eaytoy
900915eeb2
Remove unused messages
...
Added in [1] which didn't use them.
[1] - https://phabricator.wikimedia.org/rEABFf9c9c07ccf3dcd6fffbb30923411687029259f4d
Change-Id: Iddd777d2dc84fddaee01f9ee9b4002224c386e6e
2022-03-02 16:59:59 +01:00
Translation updater bot
bd44a9a87e
Localisation updates from https://translatewiki.net .
...
Change-Id: Iafea9421abe50978696a6ee54821ee7fd0912364
2022-03-01 14:32:04 +01:00
Translation updater bot
da8d1f7adf
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb0cc1559930bc9afa297c518a58fad537316db0
2022-02-28 14:27:40 +01:00
Umherirrender
533e3dc5da
Use new namespace for MediaWiki\Revision\RevisionLookup
...
MediaWiki\Storage is alias since 1.35
Change-Id: I1688cb27847b9154c5133b157ac9c18bd4859a47
2022-02-26 20:39:01 +01:00
jenkins-bot
829009b8d9
Merge "Normalize logged parser error messages"
2022-02-26 16:45:40 +00:00
jenkins-bot
b07a7c80fe
Merge "Update description of AbuseFilterEmergencyDisableThreshold"
2022-02-26 14:26:15 +00:00
jenkins-bot
ac0ed20e4f
Merge "Improve debug messages of loading ext. links"
2022-02-26 14:26:13 +00:00
Daimona Eaytoy
2f5a587b1d
Normalize logged parser error messages
...
Change-Id: I31cf73533a46ab5e452c2870fccb8603bb54d3df
2022-02-26 12:57:42 +01:00
Translation updater bot
bb3232ca72
Localisation updates from https://translatewiki.net .
...
Change-Id: I4cfa0feaf5501c4edd1dbfc3a7f2f855a3760676
2022-02-25 09:41:13 +01:00
Translation updater bot
a8ff186b08
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a3442c0d17700de8c3d2fbc878a0373949c824c
2022-02-24 08:47:48 +01:00
Translation updater bot
a8352a6624
Localisation updates from https://translatewiki.net .
...
Change-Id: I4e7ef94ca477b585c1a264438c8fc38acd615c75
2022-02-23 08:18:15 +01:00
Translation updater bot
8994cd0e1f
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b82901e7758a3a6528dbb059a0d500ee2f0d27b
2022-02-22 14:20:03 +01:00
jenkins-bot
203d25f591
Merge "Improve wording for throttled filter warnings"
2022-02-22 11:55:13 +00:00
Daimona Eaytoy
b5c22f2b77
Improve wording for throttled filter warnings
...
List which actions were disabled, or explicitly say that no actions were
disabled if that's the case. Also avoid the word "throttle" in messages
as it may be hard to translate. Also don't suggest optimizations to the
filter conditions -- unoptimized rules have nothing to do with a filter
being throttled.
Bug: T200036
Change-Id: Id989fb185453d068b7685241ee49189a2df67b5f
2022-02-22 11:10:19 +00:00
Translation updater bot
918a19accc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib9f6f299e149c173c4236232098e59c4102f81d3
2022-02-21 08:14:29 +01:00
Daimona Eaytoy
167f6cb642
Introduce ActionSpecifier
...
This is a plain value object that represents the action being filtered,
replacing associative arrays that were being used up to this point.
We should now check whether it's possible to make it not require an
accountname (which complicates things), and then use it in related
classes as well, e.g. Parameters.
Change-Id: I9550c14819b600c97c46b632cc1c2d447972d69c
2022-02-18 11:30:56 +00:00
Translation updater bot
422c637091
Localisation updates from https://translatewiki.net .
...
Change-Id: I683e35b190db76ee065329309cf6b6a7145c5bbc
2022-02-16 08:12:33 +01:00
Translation updater bot
3b0f789103
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ae00fb5f8ea6a5bc00a0745280820f4bacee8a7
2022-02-15 08:16:40 +01:00
Translation updater bot
3cda62340e
Localisation updates from https://translatewiki.net .
...
Change-Id: I06cfd720c9601b252fa1754943e4da12e5f189fc
2022-02-14 08:13:04 +01:00
Matěj Suchánek
95c0978dc6
Clean up AbuseLogPager
...
- Make $mConds private and rename it.
- Use the injected permission manager.
Change-Id: Ie92b63da50264226bde5b3b361916bb31fd9448e
2022-02-11 11:21:12 +01:00
jenkins-bot
6b9098eae1
Merge "Replace use of deprecated OutputPage::enableClientCache( false )"
2022-02-10 07:01:54 +00:00