jenkins-bot
bb94c0914c
Merge "Add support for regex string replacements."
2022-05-31 14:54:33 +00:00
Translation updater bot
27ce7010fa
Localisation updates from https://translatewiki.net .
...
Change-Id: I229df8fe4b714d5e0a130f9f865f1c3ad932bd94
2022-05-31 08:07:23 +02:00
Translation updater bot
69d3dc1cf1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibac6607ef207a560194f9a6a8fa293a2f367322a
2022-05-30 09:22:11 +02:00
Translation updater bot
d55796129d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia154931fa5eb59d6f4c1f42356f488f6b330539a
2022-05-26 08:50:44 +02:00
libraryupgrader
9d978abf71
build: Updating grunt to 1.5.3
...
Change-Id: Id7c6776fd27714d20938647de2ef9bcc36fddc72
2022-05-26 05:33:18 +00:00
Translation updater bot
c243d6010e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd4bce06d066fcf43064407303b7993cc4f06663
2022-05-25 08:30:53 +02:00
Translation updater bot
4c154bec99
Localisation updates from https://translatewiki.net .
...
Change-Id: I8bfe29c47902837999d37e1fb14a4fd4ddaaec8c
2022-05-24 08:24:24 +02:00
Translation updater bot
63dc7dde69
Localisation updates from https://translatewiki.net .
...
Change-Id: I3b043345e6decee9fa792eab4bec119f6384dc0b
2022-05-23 08:15:50 +02:00
jenkins-bot
f0ae0ec101
Merge "Optimize loop in 'diff-split' case"
2022-05-21 18:32:31 +00:00
Matěj Suchánek
d4b15cb7ee
Optimize loop in 'diff-split' case
...
The "substr( $line, 0, 1 )" expression has already assumed
the prefix has length 1. Therefore, it's pointless
to compute its length later. The assumption does hold,
the only two prefixes the code works with are '+' and '-'.
Not changing the check to use str_starts_with now, because
it was suggested in I113a8d052b6845852c15969a2f0e6fbbe3e9f8d9
that this shouldn't be done for performance-sensitive code
at least until we are on PHP 8.
Change-Id: I00cb2fc50ed534bb2bbef3ee1e5f6f466afeeb27
2022-05-21 18:07:21 +00:00
jenkins-bot
00ad47bab3
Merge "Fix validation for ip_in_ranges"
2022-05-21 15:24:20 +00:00
jenkins-bot
2779c92cf7
Merge "Add ip_in_ranges function"
2022-05-21 15:15:17 +00:00
Daimona Eaytoy
a46db47bd5
Fix validation for ip_in_ranges
...
We want to make sure that all parameters are valid regardless of whether
there's a match.
Also make the minimum number of parameters = 2, so it's easier to switch
between this function and ip_in_range.
Change-Id: I141558a7ef4533485e315b3d93ea9b64f0959db7
2022-05-21 15:39:21 +02:00
Translation updater bot
67a6b50e65
Localisation updates from https://translatewiki.net .
...
Change-Id: I393a63ac8b387c142818ab65a5befccea8ba6d11
2022-05-20 08:35:18 +02:00
libraryupgrader
fc03124622
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2
npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* async: 0.9.2 → 3.2.3
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
* https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
* https://github.com/advisories/GHSA-xvch-5gv4-984h
Change-Id: I818c26d94a2d4bd9b94b1bcda3287aea0951e035
2022-05-20 05:00:10 +00:00
Translation updater bot
2bb579a0fa
Localisation updates from https://translatewiki.net .
...
Change-Id: I4da1c71ec87b4a757e4bdec8973917bf1a95e45a
2022-05-18 08:19:08 +02:00
Translation updater bot
77d111c296
Localisation updates from https://translatewiki.net .
...
Change-Id: I9a4ae9fc3f298ba18fc44cca3d9afef647a0ce6a
2022-05-17 08:26:34 +02:00
Translation updater bot
a6faf94143
Localisation updates from https://translatewiki.net .
...
Change-Id: I966046aaae048b5c553a1c9c55ffdf059ac117b6
2022-05-16 08:23:22 +02:00
jenkins-bot
f1ccb60272
Merge "AbuseFilterViewDiff: simplifications to prepare for refactor"
2022-05-15 23:05:32 +00:00
Translation updater bot
989ea999d8
Localisation updates from https://translatewiki.net .
...
Change-Id: Iceefed09c42fe5df6cc3c1ccb2a4cc9a009cfa9e
2022-05-13 08:24:49 +02:00
Translation updater bot
b032272796
Localisation updates from https://translatewiki.net .
...
Change-Id: I21eeb3fe22b510d99ffdf0f85bc193f223c60df3
2022-05-12 08:12:50 +02:00
Translation updater bot
aae76109b3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7b5eb226c3af68a06df2cfc3bec75e95b9039f5
2022-05-11 08:10:49 +02:00
fossifer
b1739a588f
Add ip_in_ranges function
...
Added support for ip_in_ranges which allow multiple ranges to be
checked at the same time. If the IP is in any of the ranges, the
function returns true.
Bug: T305017
Change-Id: Ic75c87ecd4cacf47ce2ff1b04173405230ff81d0
2022-05-11 12:27:16 +08:00
Translation updater bot
d24c993c71
Localisation updates from https://translatewiki.net .
...
Change-Id: I3b51abe78c9b38d40c8719594fdf33d93f739a7f
2022-05-10 08:08:50 +02:00
Translation updater bot
70968ebdca
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ec06c04f8664ab76f92da7a3636665145861f60
2022-05-09 08:10:57 +02:00
jenkins-bot
86c42b928a
Merge "Fix typo"
2022-05-07 20:22:30 +00:00
jenkins-bot
428c170b83
Merge "Add Breton aliases for AbuseFilter and AbuseLog"
2022-05-06 15:48:25 +00:00
Huñvreüs
03577a17f5
Add Breton aliases for AbuseFilter and AbuseLog
...
Change-Id: Ic8144c3d9dbfe6fd8f4c21671da0d437940a9ab3
2022-05-06 12:15:20 +02:00
Translation updater bot
8b6f4dc031
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0c23a55284540d43861a5d4f8ac51660b7ba482
2022-05-06 08:18:22 +02:00
Klein Muçi
8ee570b3a7
Fix typo
...
Bug: T201491
Change-Id: I64175d78c3f01e4b2f2871e69c4b68a0c6d9f689
2022-05-03 16:05:43 +00:00
jenkins-bot
b272589387
Merge "Simplify code dealing with filter ids in FilterStore"
2022-05-03 12:15:34 +00:00
Translation updater bot
69e23a15f8
Localisation updates from https://translatewiki.net .
...
Change-Id: I9379bc57d85bea494b31d025e99f48f4d790b4dd
2022-05-03 08:44:32 +02:00
Translation updater bot
ecdbc80290
Localisation updates from https://translatewiki.net .
...
Change-Id: Id33ffd5ac243c4158c9ee4080ac68e81e0b8b97b
2022-05-02 08:18:40 +02:00
DannyS712
9de0b19ba4
AbuseFilterViewDiff: simplifications to prepare for refactor
...
Clean up the existing code a bit before refactoring to be reusable
for a diff button in the edit form.
Includes:
* use the Html class rather than the Xml class for building the display html, and avoid manual
html strings
* replace formatVersionLink() with getVersionHeading() to reduce duplication in the handling of
the headings for the old and new versions, and in the process fix the name used as a parameter to
the old version heading (should be the old version editor, not the new version editor)
* rename some parameters for clarity
* organization and other cleanup
Bug: T180954
Change-Id: I1c02f407e72789a871a23b0d4a279a5c341b1e93
2022-04-30 19:31:21 +00:00
Translation updater bot
24cf9c910d
Localisation updates from https://translatewiki.net .
...
Change-Id: I6a79742b8a52548de5720165d9dd620d9cd7a691
2022-04-29 08:41:32 +02:00
Translation updater bot
baac2aec6f
Localisation updates from https://translatewiki.net .
...
Change-Id: I71dac8bdac87e6d8798cf9e4401d427a6ead64c8
2022-04-28 09:27:52 +02:00
Thiemo Kreuz
be3af66876
Simplify code dealing with filter ids in FilterStore
...
Before the information if a filter was new was stored in 2 places:
In the bool $isNew and in the two variables $filter and $newID.
$newID was especially confusing because it was used for both old and
new ids.
Change-Id: I15bdf36c96c8d86a37f305aab2647f7d57bc2bf1
2022-04-27 19:29:55 +02:00
jenkins-bot
b1ea4f2d69
Merge "FilterStore: Use upsert instead of replace"
2022-04-27 11:58:24 +00:00
jenkins-bot
fa068d2bb5
Merge "Inline/simplify smaller pieces of JavaScript code"
2022-04-26 16:22:12 +00:00
jenkins-bot
5794ad8302
Merge "Fix capitalization of method calls accross the codebase"
2022-04-26 16:19:57 +00:00
Thiemo Kreuz
e73f2076ad
Inline/simplify smaller pieces of JavaScript code
...
The check if $() found an element is not needed. Method calls will
operate happily on an empty result and do nothing, as expected.
Change-Id: I985ac4623d7968f037613174b14348885afed7d1
2022-04-26 17:44:17 +02:00
Thiemo Kreuz
a25e2c784a
Fix capitalization of method calls accross the codebase
...
Change-Id: Icbbad4858735c24611daee693c53af479c75d1fb
2022-04-26 17:42:34 +02:00
Amir Sarabadani
c1d8037815
FilterStore: Use upsert instead of replace
...
You should never write to auto_increment value.
Bug: T306692
Change-Id: I363711336658a24a0dedf42643296185dfa4a024
2022-04-26 17:10:03 +02:00
Translation updater bot
1ed871a090
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia69e1e8eb4d7efd29f0502e099b9d5381d41be7f
2022-04-26 08:53:19 +02:00
Translation updater bot
f740d72648
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibe4d3d85622ffb734cb46a6847d45bf4c3590b87
2022-04-25 08:16:34 +02:00
Umherirrender
89df7dfddb
Remove index detection 'rev_page_timestamp'
...
Rename in 1.37
Change-Id: Ia9a7682f9f9751de3071b0a644d945dbbd3ed824
2022-04-22 19:26:36 +02:00
Translation updater bot
64874756ee
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia9ce1b2ef6f8e4f09afec73b91f787f9b90d15c1
2022-04-21 08:11:43 +02:00
proc
1d1215bafb
Add support for regex string replacements.
...
Bug: T285468
Change-Id: I25f8ad1b58cc10f4c6f6ef5ebab99fe58ec71b1e
2022-04-20 18:38:24 +01:00
Translation updater bot
6cd4fa477e
Localisation updates from https://translatewiki.net .
...
Change-Id: I86e3d3f0a5e66f18c7e212654c32dfc1bf976318
2022-04-19 10:13:39 +02:00
Translation updater bot
c4779ed18a
Localisation updates from https://translatewiki.net .
...
Change-Id: I5bf69465459b23e1c377c94310c4d96aa7c23586
2022-04-18 10:04:58 +02:00