Commit graph

1383 commits

Author SHA1 Message Date
Translation updater bot 15d5d13277 Localisation updates from https://translatewiki.net.
Change-Id: I7f62474782c80aae25bba6a834edba269f94e725
2019-07-18 08:51:37 +02:00
Translation updater bot 3c2b399f57 Localisation updates from https://translatewiki.net.
Change-Id: Iec96646405c046b959d05adffa10da2b2e6c313f
2019-07-15 08:32:54 +02:00
Translation updater bot 502a7541fb Localisation updates from https://translatewiki.net.
Change-Id: Iff5ccd0346b228f1a785e7ec04ba8c7636faa638
2019-07-12 08:41:58 +02:00
Daimona Eaytoy db193dad12 Rename old/new-(wiki)?text i18n keys
Now we have the key old-text for the old_wikitext variable, and the key
old-text-stripped for old_text. This can be confusing (see I61b2d252333ca634eae560d824f740f0f947b3d3), so use i18n keys more similar to the variable name.
NOTE: the keys will have to be changed on translatewiki if we want to avoid
confusing people.

Change-Id: Ie612350642ac4afc76f18639d988e72b4016b1e2
2019-07-08 15:55:02 +02:00
Translation updater bot 1cdddcdc7f Localisation updates from https://translatewiki.net.
Change-Id: I3d2ea9e8ae8a76a305bb472e01f6b4b91f639b31
2019-07-07 22:36:37 +02:00
Translation updater bot 6c6b5afe3b Localisation updates from https://translatewiki.net.
Change-Id: I7394fb1746ad0949f25b868513a81e5bcbe8875f
2019-07-03 22:42:37 +02:00
Daimona Eaytoy 6ea767f171 Tweak methods related to global filters
To make the switch to afl_filter_id and afl_global easier.

Bug: T227095
Depends-On: Ie550889495232b534c0f9aec31039cf21b2135b1
Change-Id: If557bad8f5c1a6d15e3556e4bfbd0330d7d49c59
2019-07-02 17:02:50 +02:00
Translation updater bot 0cbfa58920 Localisation updates from https://translatewiki.net.
Change-Id: I61809e7d4b68541872c103d36fe079d411256000
2019-06-30 22:34:48 +02:00
DannyS712 57dda3f77c Rephrase 4 English messages
Bug: T226839
Change-Id: Idfc2ede6b000ed3278efeb7f0adaa7058a76b179
2019-06-30 11:27:47 +00:00
Translation updater bot 52eb4fea7f Localisation updates from https://translatewiki.net.
Change-Id: I0d5841f3af0cfacbcef47587b7e6fb8a7d5c7384
2019-06-24 08:35:22 +02:00
Translation updater bot a2f2878787 Localisation updates from https://translatewiki.net.
Change-Id: I3726c855b9bdd10795e8c98033ffe4af4b406a69
2019-06-16 22:34:28 +02:00
Translation updater bot f350dad198 Localisation updates from https://translatewiki.net.
Change-Id: I4957652b919082789a935650a526f4de75809434
2019-06-13 22:37:34 +02:00
Translation updater bot f09c498934 Localisation updates from https://translatewiki.net.
Change-Id: I417fe1638e8a22d2a1be0cfae1fbb6c7409ae416
2019-06-10 22:53:03 +02:00
Translation updater bot 86a5919bb8 Localisation updates from https://translatewiki.net.
Change-Id: I491dab949cf2d0754727ee0ef307a213b19d3e52
2019-06-05 22:28:06 +02:00
Translation updater bot b16ad16895 Localisation updates from https://translatewiki.net.
Change-Id: I3e17d3a053a8619693e0fd9b3b25f57c1088e213
2019-06-03 22:29:25 +02:00
Translation updater bot 35a8371d0b Localisation updates from https://translatewiki.net.
Change-Id: I964f73c3e8a884bbfe5c33766c14a721bbe1a4c3
2019-06-02 22:27:46 +02:00
Translation updater bot ba856e51fd Localisation updates from https://translatewiki.net.
Change-Id: I170b67c4b1430241f2e30e4ed2bcd13e5bed36e6
2019-05-30 22:52:16 +02:00
Translation updater bot bac286dd16 Localisation updates from https://translatewiki.net.
Change-Id: I79a1949e986143ffed3ee0ab3f4b764bba5c2da5
2019-05-28 08:55:10 +02:00
Translation updater bot 397ad7f1fb Localisation updates from https://translatewiki.net.
Change-Id: I146a99e1a82432c8f5bb368f51c30a278ec2c142
2019-05-26 22:21:53 +02:00
Translation updater bot 6d1386bbcf Localisation updates from https://translatewiki.net.
Change-Id: Ibe5098d575962179d566e08afcf8f9c31d8d1e26
2019-05-20 22:25:24 +02:00
Translation updater bot 9cb58a4737 Localisation updates from https://translatewiki.net.
Change-Id: I5d5c31e4e1b151c1af2c7afdf1bdaa81767906fd
2019-05-15 09:11:22 +02:00
Translation updater bot 9b58deadc7 Localisation updates from https://translatewiki.net.
Change-Id: Iaf97a66213e8b0a93ba5e3196036881c17628607
2019-05-13 23:20:00 +02:00
Translation updater bot 830f3c4220 Localisation updates from https://translatewiki.net.
Change-Id: I0f89b49ecc8a4fcf612ae8c4ebd54e947345a8b8
2019-05-12 22:31:56 +02:00
Translation updater bot d4c4b66393 Localisation updates from https://translatewiki.net.
Change-Id: I1792a888943c20398a55ef9ecbb49b4bbe03ad73
2019-05-10 09:17:27 +02:00
Translation updater bot e25fbc5ee4 Localisation updates from https://translatewiki.net.
Change-Id: I2fb2cdc842c284cd71650b12de718d50a36551d1
2019-05-05 22:19:50 +02:00
Translation updater bot b3cd8790c7 Localisation updates from https://translatewiki.net.
Change-Id: I47104530cc7730c757040ecce159ad27d6f1dd2c
2019-05-03 22:20:47 +02:00
Translation updater bot 7189bbfee0 Localisation updates from https://translatewiki.net.
Change-Id: I7d6ae9858dd55ca0f266207db14679050e258e98
2019-05-01 22:29:25 +02:00
Translation updater bot da29ae0575 Localisation updates from https://translatewiki.net.
Change-Id: Ic7db4b15cabcbe09c3ff6e62ba56d683aef535aa
2019-04-30 22:17:07 +02:00
Translation updater bot 0f2c95cc42 Localisation updates from https://translatewiki.net.
Change-Id: I0e756990238e3d12d3eb250a4f58ff7542efc9bd
2019-04-29 22:14:55 +02:00
Translation updater bot 46416c449e Localisation updates from https://translatewiki.net.
Change-Id: Ifc774f68a65eab84fbe3e6011e044717e06a29af
2019-04-26 22:26:56 +02:00
Translation updater bot d7170e1116 Localisation updates from https://translatewiki.net.
Change-Id: I7759b1107258fd695cfd7df440cd33f763d45fcd
2019-04-24 22:20:16 +02:00
Translation updater bot 875fa9a9e9 Localisation updates from https://translatewiki.net.
Change-Id: I248f204706ffe3d934599213c877fc19c6a3059a
2019-04-23 22:44:27 +02:00
Translation updater bot 9ae5f6b22c Localisation updates from https://translatewiki.net.
Change-Id: I18d0edc7c0aa4a9e27899c8e7609632bc68e2fe7
2019-04-22 09:22:08 +02:00
Translation updater bot 5ee6ec86b7 Localisation updates from https://translatewiki.net.
Change-Id: I35a3b88d44bcac062e5bc06197b535a040fe6ae1
2019-04-19 09:52:09 +02:00
Translation updater bot d3fcfc4a41 Localisation updates from https://translatewiki.net.
Change-Id: I81f060370e6d6ec9d9d0a538cf0ffc7c9b920eeb
2019-04-17 22:12:35 +02:00
Translation updater bot 1abc4b6d2e Localisation updates from https://translatewiki.net.
Change-Id: Idffa7ff075292298f0824c707ba9bac21319634e
2019-04-15 22:52:32 +02:00
Translation updater bot a0cd8f72b7 Localisation updates from https://translatewiki.net.
Change-Id: I2baf445976083a183ae87904cc2575f987777158
2019-04-14 22:28:56 +02:00
Daimona Eaytoy c1f5f25304 Add missing action- messages
They're simply the same as the corresponding right- message, but
starting with a lowercase letter.

Bug: T220812
Change-Id: I0dd31cb1cd5d34a2333a3b2341bc060f28c9162e
2019-04-12 14:20:46 +02:00
Translation updater bot 837903d244 Localisation updates from https://translatewiki.net.
Change-Id: Ic1194e795ac1b0701e10383d85367fab3b9bc5bc
2019-04-12 08:31:08 +02:00
Translation updater bot e52c5479c2 Localisation updates from https://translatewiki.net.
Change-Id: Iea94515d6ea83712364c564fbbadc71e4efdf0a6
2019-04-10 09:22:39 +02:00
jenkins-bot 903f3db8fe Merge "Beautify old, broken abuse_filter_history rows" 2019-04-10 05:11:38 +00:00
Daimona Eaytoy 25ed009518 Beautify old, broken abuse_filter_history rows
And right when the throttle script seemed complete... Here is another
function! So, this change splits the logic in new functions called
sequentially, and the only actual change is adding the beautifyHistory
function. Its purpose is to search ANY row in abuse_filter_history with
empty/missing parameters and normalize it. More specifically, missing
period and count are inserted as 0, and for missing groups we add
"none", used by a newly introduced message. This way, messages shown on
Special:AbuseFilter/history will be clearer and won't have gaps.

Bug:T209565
Bug:T215787
Change-Id: I38395f4df9d83badfd26cdf584ffba743b6417a9
2019-04-10 04:51:58 +00:00
Translation updater bot ca3a4df4d6 Localisation updates from https://translatewiki.net.
Change-Id: I2630010f88cc3858514ee76af693e9c1e0a1e025
2019-04-09 09:03:04 +02:00
Translation updater bot 96c30f55f0 Localisation updates from https://translatewiki.net.
Change-Id: I6440eb0b364300df138141773de891eb7fe25607
2019-04-08 08:38:02 +02:00
jenkins-bot cf5df265b0 Merge "Allow filtering AbuseLog for filter group" 2019-04-06 12:24:10 +00:00
Translation updater bot c09b26e555 Localisation updates from https://translatewiki.net.
Change-Id: Iecb47cca140e414ed14c327e6fedd343ca57eccc
2019-04-05 22:26:59 +02:00
Translation updater bot 43febbbea4 Localisation updates from https://translatewiki.net.
Change-Id: Ica8dc3ee7a51a74c4f8119c2b761b98b5730e6bc
2019-04-04 14:51:43 +02:00
Translation updater bot 84e43dff56 Localisation updates from https://translatewiki.net.
Change-Id: I4f1d4a1587a4ce8c6a028a924bbe2271343254bc
2019-04-01 22:40:44 +02:00
jenkins-bot ee5ce302ea Merge "Fix confused statement about disabled variable" 2019-04-01 08:43:11 +00:00
Translation updater bot 9f176fcd6d Localisation updates from https://translatewiki.net.
Change-Id: Ic100f653bb76330ef9f11ac6f7031c5d0e1cceac
2019-03-31 22:15:57 +02:00
Translation updater bot 7f5b3dd23e Localisation updates from https://translatewiki.net.
Change-Id: I6c2b9359c28005b4b2bb4d10acdfce0dff95a06c
2019-03-27 22:28:00 +01:00
Translation updater bot cc9d0537f4 Localisation updates from https://translatewiki.net.
Change-Id: I714eef537b4e98c7866638c12492a312f4a8c858
2019-03-26 08:44:04 +01:00
Daimona Eaytoy 89520e2353 Remove $wgAbuseFilterProfiling
This variable was introduced to selectively enable profiling because
stats recording was bad for performance. Nowadays, stats are recorded in
a deferredupdate and don't harm performance anymore. Thus, this variable
can be removed and profiling be enabled by default.

Bug: T191039
Depends-On: Ib5fdeb75c1324f672b4ded39681f006fde34b4d1
Change-Id: Ia5c477edc8733bb1994cb6d01e1371ed496c8bcb
2019-03-23 11:31:11 +00:00
Translation updater bot 13faec61e4 Localisation updates from https://translatewiki.net.
Change-Id: I92928d97a70308a37386bb033b397e7d9f407a1a
2019-03-23 10:21:56 +01:00
jenkins-bot c8021a520a Merge "Move the throttle help tooltip to a message" 2019-03-22 10:35:02 +00:00
Translation updater bot edc35ede96 Localisation updates from https://translatewiki.net.
Change-Id: Ife27683216c2675979f5af60005f7866f2e813a6
2019-03-20 22:26:35 +01:00
Translation updater bot 4f2b1b00fc Localisation updates from https://translatewiki.net.
Change-Id: I4fe3d1a41be910bd7be65a58428e17bf8e2c7023
2019-03-19 22:16:45 +01:00
Translation updater bot 48ed625aa3 Localisation updates from https://translatewiki.net.
Change-Id: Ice4ced756ff653f2061a0c88a357dbd390da349c
2019-03-18 23:06:56 +01:00
Daimona Eaytoy 553facee1e Move the throttle help tooltip to a message
Follow-up of I982d67aa62a899916a26452aceb9646df8c31232. The help text
was meant to be localized, and I probably forgot to do so in the
mentioned patch.

Change-Id: If394b02819911f9c97519b5c972977c38e6d83fa
2019-03-18 17:38:45 +01:00
Translation updater bot 0837f8ec28 Localisation updates from https://translatewiki.net.
Change-Id: I22f2865c9f6357d2c4fc30e58385daac5c15f092
2019-03-17 22:13:44 +01:00
Translation updater bot 768af21c10 Localisation updates from https://translatewiki.net.
Change-Id: Ia2d9b679777db7846e12a13aa0864b8a8290abc8
2019-03-15 22:35:44 +01:00
Translation updater bot 68bf88f062 Localisation updates from https://translatewiki.net.
Change-Id: I4e3f8c8a5d67939032895963e083bba331801d2b
2019-03-14 22:51:39 +01:00
Translation updater bot 217ad90792 Localisation updates from https://translatewiki.net.
Change-Id: I727caf44e961b6d2bcff47e41be5dca40e0603be
2019-03-13 22:16:05 +01:00
Translation updater bot c280cdc8c4 Localisation updates from https://translatewiki.net.
Change-Id: I5488d3cc8de49b03048706177d890ea5722a4d67
2019-03-12 22:29:12 +01:00
Translation updater bot 53920f3b0c Localisation updates from https://translatewiki.net.
Change-Id: I0c49e687e580da20ba47eb55ccdcdf27b78cd066
2019-03-11 22:16:23 +01:00
Translation updater bot 8f3fb5b7e1 Localisation updates from https://translatewiki.net.
Change-Id: I5db09a0e9580ec883f02beb4cb89b8a2fdb93587
2019-03-10 22:27:15 +01:00
Translation updater bot 04b5e91c27 Localisation updates from https://translatewiki.net.
Change-Id: I3f973d70f5c0b252b4efba1745fe8c73845c3a5f
2019-03-08 22:28:51 +01:00
Translation updater bot 9cb4c7f4e8 Localisation updates from https://translatewiki.net.
Change-Id: I4d8d19e842cc0602688eb95e3541fb6ad6f2c9c7
2019-03-05 22:42:32 +01:00
Translation updater bot 1858638897 Localisation updates from https://translatewiki.net.
Change-Id: Ia4e0e347b2abec9e72cd5e7d3c7a431f015e4426
2019-03-04 22:15:54 +01:00
Translation updater bot a0d5a63167 Localisation updates from https://translatewiki.net.
Change-Id: Id301b3c91c412b45f03eaa2ddb92e521f905acbe
2019-03-03 22:17:08 +01:00
Translation updater bot c8236499e8 Localisation updates from https://translatewiki.net.
Change-Id: I9991a6b1b1e1a4e1dd5eb32ac5201c7a3197c18f
2019-03-02 22:42:12 +01:00
Translation updater bot d305a9635e Localisation updates from https://translatewiki.net.
Change-Id: Icdbca8fb2b07007087115c508cbee2ccf1e7f57f
2019-02-28 22:24:16 +01:00
Translation updater bot 3e114498f2 Localisation updates from https://translatewiki.net.
Change-Id: I2b145a22e310291370a5e4906cf532cfd5d81b09
2019-02-25 22:57:13 +01:00
Translation updater bot de6560fb20 Localisation updates from https://translatewiki.net.
Change-Id: I3ccdfdc829e7c0c979795ce1a6005c1a5359e3ef
2019-02-21 22:20:16 +01:00
Translation updater bot ed4ecd5267 Localisation updates from https://translatewiki.net.
Change-Id: I3ea7e36650c5603813a7401bd44b1596c2e43580
2019-02-19 22:19:38 +01:00
Translation updater bot 7a8b1ae811 Localisation updates from https://translatewiki.net.
Change-Id: Ic637db688e5ce40d3425ccb05e22a308a64fa74f
2019-02-18 22:22:38 +01:00
Translation updater bot a2a8985255 Localisation updates from https://translatewiki.net.
Change-Id: Ib1afc13fa0b86967a4d0d0363140c47b7b1fcdaf
2019-02-17 22:13:34 +01:00
Matěj Suchánek 253668ef6e Fix confused statement about disabled variable
AbuseFilter::$disabledVars lists three disabled variables with their
message keys: old_text, old_html, minor_edit. It was confused that
old_text is mapped to ...-old-text but in fact, old_wikitext does and
there was a false statement in the logs that old_wikitext is no more
in use.

Change-Id: I61b2d252333ca634eae560d824f740f0f947b3d3
2019-02-15 11:59:30 +01:00
Translation updater bot c720a17a82 Localisation updates from https://translatewiki.net.
Change-Id: I4b1544794e86555f5817c50c254f38226d2e7a8a
2019-02-13 22:37:49 +01:00
Translation updater bot 85c7c8b46d Localisation updates from https://translatewiki.net.
Change-Id: Iacb03aa90a502e6e09aa5a0144add8513e3b1fba
2019-02-12 22:25:18 +01:00
Translation updater bot e9ef6df65c Localisation updates from https://translatewiki.net.
Change-Id: I124de656d8d0af7ffb37e2a2dd2257994aaeb84c
2019-02-11 22:27:45 +01:00
Translation updater bot a82d234077 Localisation updates from https://translatewiki.net.
Change-Id: I29a29dd980ca4090daaeeef67c5c92c034805415
2019-02-10 22:18:16 +01:00
Daimona Eaytoy e0b2b9ffd5 Allow filtering AbuseLog for filter group
This adds the capability to filter AbuseLog using filter groups, if
there's at list an extra group (like flow). Since abuse_filter_log
doesn't store info about filter groups, this needs query on
abuse_filter, and its result must then be intersected with explicitly
searched filters, if any.
The way I wrote it takes several lines and IFs, but is meant to be less
subject to regression in case something gets moved.

Change-Id: I747ba491d2b390562ce5f71396eed095116d8eaf
2019-02-08 10:51:11 +01:00
Translation updater bot 2759b57354 Localisation updates from https://translatewiki.net.
Change-Id: I81bd4ba2fc9f286bbe7fd32be974856f8271e8a3
2019-02-07 22:28:16 +01:00
Translation updater bot b713b94e4b Localisation updates from https://translatewiki.net.
Change-Id: I1f6d9338a0a5bd1008a6b21bb51fa0d4d7806f5a
2019-02-05 22:37:22 +01:00
Translation updater bot 45bed8b1d6 Localisation updates from https://translatewiki.net.
Change-Id: I99e5be5d537670305abc55d8e357a9eaf68af04f
2019-02-03 22:37:48 +01:00
jenkins-bot 2ea783a385 Merge "Strike suppressed AbuseLog entries" 2019-01-31 21:51:58 +00:00
jenkins-bot 15a8340ee1 Merge "Reject empty warning and disallow messages when validating a filter" 2019-01-31 21:28:17 +00:00
Translation updater bot a21d673931 Localisation updates from https://translatewiki.net.
Change-Id: I2c8febe128861eb8f4891f766681f882e19e187a
2019-01-31 22:25:41 +01:00
Translation updater bot 6f1c907f9b Localisation updates from https://translatewiki.net.
Change-Id: I8e38531d5237e549f14fd205e0dd3f38c208cb39
2019-01-30 22:13:26 +01:00
Translation updater bot f4f43d1ab6 Localisation updates from https://translatewiki.net.
Change-Id: Ic8076c70de9dc333631d00bf637a9ba596d8e95e
2019-01-28 22:26:27 +01:00
Translation updater bot 4cf5ee3664 Localisation updates from https://translatewiki.net.
Change-Id: Ic2bfd77a2919724a4ab6fa7c51164594face4ced
2019-01-26 22:17:07 +01:00
Translation updater bot 37284ebc5d Localisation updates from https://translatewiki.net.
Change-Id: Ia96a91212cfa68375c26276b8d935a11567d251d
2019-01-25 22:28:11 +01:00
Daimona Eaytoy 4b33b2b5a7 Strike suppressed AbuseLog entries
Instead of adding a message, do like core does by striking and greying
out the row. Plus, don't show the AbuseLog page description when hiding
entries, as it doesn't fit.

Change-Id: I645a89dd8df79d45ca440e0ba62adcdee921b8e9
2019-01-23 11:34:43 +01:00
Translation updater bot f983492c84 Localisation updates from https://translatewiki.net.
Change-Id: Ied5c39d30bb36a086e8fba74ae45b0c85a9d9fea
2019-01-22 22:16:56 +01:00
Daimona Eaytoy 0e6b783ed4 Reject empty warning and disallow messages when validating a filter
Right now, we allow empty messages, and when the "warn" action is
executed we use "abusefilter-warning" if no message is specified.
However, this also produces a PHP notice while editing a filter with
empty message (see Phab). With this patch, empty messages will be
rejected, and a follow-up will be discussed on Phab.

Update: added disallow message as follow-up of
Ic1de03a6944c43a346fa317ee0a217551f0d284a.

Bug: T203353
Depends-On: I8df247f61d9f3769e9580544f324dd174811e939
Change-Id: I71b1f81d10c02de4de141b1ab9b630d05cf4619c
2019-01-21 14:06:54 +01:00
Translation updater bot 3872a21044 Localisation updates from https://translatewiki.net.
Change-Id: I4d155c90c75ab072279080c0954348ceec7f9a2a
2019-01-20 22:35:36 +01:00
Translation updater bot 0c974931bc Localisation updates from https://translatewiki.net.
Change-Id: Ib3b8fdab4afe9c283b3f4f7fd44b76bd9afa2451
2019-01-19 22:15:50 +01:00
jenkins-bot b35ba5af45 Merge "Warn the user if they try to leave the page with unsaved changes" 2019-01-19 12:57:50 +00:00
jenkins-bot df2da23d29 Merge "Add unit tests for custom disallow messages" 2019-01-19 12:21:02 +00:00