Commit graph

1783 commits

Author SHA1 Message Date
Translation updater bot be4f6a387b Localisation updates from https://translatewiki.net.
Change-Id: I0bad8181ddf6f22ad959285994ca0df254204713
2021-03-09 08:31:31 +01:00
Translation updater bot 7356f87082 Localisation updates from https://translatewiki.net.
Change-Id: Ia323cd056d4ce166fe00253d34ddc2ab1b741dac
2021-03-08 08:44:51 +01:00
Translation updater bot 51f37697dc Localisation updates from https://translatewiki.net.
Change-Id: I89853907ba659a8b715622e386db41c97eeef3bd
2021-03-05 08:54:53 +01:00
Translation updater bot 17cf903cd4 Localisation updates from https://translatewiki.net.
Change-Id: Iffa9ae7a3620ef16f6de04cf38ce13d9d711429f
2021-03-04 08:37:05 +01:00
Translation updater bot 507e3fb0c5 Localisation updates from https://translatewiki.net.
Change-Id: Id111612a538f205ac19d9bad761cc94e6f1110d2
2021-03-02 08:48:17 +01:00
Translation updater bot d518c0f60c Localisation updates from https://translatewiki.net.
Change-Id: Id543fd03b70ef4d3ef6639dd1510c10bffc0e9fa
2021-03-01 08:49:36 +01:00
jenkins-bot 50334c27ce Merge "Use a different message for unprivileged users" 2021-02-28 14:05:08 +00:00
jenkins-bot 66f8e44295 Merge "Reject filters with invalid groups" 2021-02-27 20:07:29 +00:00
Daimona Eaytoy 3365a648f2 Reject filters with invalid groups
It is currently possible to save a filter with an invalid group, if you
manually change the form data. So prevent this by validating the group
before saving.

Change-Id: I03f80b8c6ab583a357273f7b2679a424ac784db7
2021-02-27 16:01:09 +00:00
Translation updater bot 9f1ef6bf3d Localisation updates from https://translatewiki.net.
Change-Id: I894ae8afb29415e07f34955fe39c07add4de643e
2021-02-25 08:37:48 +01:00
Translation updater bot 550a0936fc Localisation updates from https://translatewiki.net.
Change-Id: Ia4e98950c04acb33189bf5fa695261402fa2ab8d
2021-02-24 08:50:35 +01:00
Translation updater bot d224021c89 Localisation updates from https://translatewiki.net.
Change-Id: Ic69954193f63b65e14ec1d00e7a6af8194b685a4
2021-02-23 08:47:00 +01:00
Translation updater bot cc3dbe149d Localisation updates from https://translatewiki.net.
Change-Id: I1f5f9b45ad3d7f2e80fc5d0b4e90e2b15e6e58b0
2021-02-22 08:49:55 +01:00
Matěj Suchánek 4f1a63107d Use a different message for unprivileged users
Everyone can examine generated variables but not everyone
can test filters. Concerns Special:AbuseFilter/examine.

Change-Id: I9c205a0f1d9a7fdf15c4998d43983b9fa37f4694
2021-02-20 17:55:09 +01:00
Translation updater bot fa0fb1e84b Localisation updates from https://translatewiki.net.
Change-Id: I9fa983c28a3ea7b3098a84328c239bdbcc67bb7e
2021-02-18 08:42:07 +01:00
Translation updater bot eeb90040a9 Localisation updates from https://translatewiki.net.
Change-Id: I4fd12b0457d3409a20ee216f96f197e0bc4c1ad1
2021-02-17 08:41:36 +01:00
Translation updater bot 552dd86729 Localisation updates from https://translatewiki.net.
Change-Id: Ic8345610534de54a67b2688f9aba68e662b82ab9
2021-02-16 08:28:56 +01:00
Translation updater bot ec9cd9a7e0 Localisation updates from https://translatewiki.net.
Change-Id: I187e09baa3bec5cd150dc4fea063627c58374b3d
2021-02-15 10:03:28 +01:00
Translation updater bot 8f19ca5a87 Localisation updates from https://translatewiki.net.
Change-Id: I2b21158f8d11a375bca0eb31d322a0f5a33b9c60
2021-02-12 08:50:36 +01:00
Translation updater bot 4dc5e493df Localisation updates from https://translatewiki.net.
Change-Id: I273f29bf86908d3fe18602848d89a4240fa60d02
2021-02-11 08:37:11 +01:00
Translation updater bot 13b7f2577c Localisation updates from https://translatewiki.net.
Change-Id: Id8e0260d52010a9745f3f5cd6a3531197f092375
2021-02-10 08:37:25 +01:00
Translation updater bot 24852ecd45 Localisation updates from https://translatewiki.net.
Change-Id: I9301361b4bc9def1fd56811f19683bd88cca08f6
2021-02-09 08:38:34 +01:00
Translation updater bot 39b547d2c8 Localisation updates from https://translatewiki.net.
Change-Id: I2d0d20a9db37f347f854825622d458df80997ec7
2021-02-08 08:36:38 +01:00
Daimona Eaytoy 4dbde4dcf0 Use a different message prefix for parser warnings
The abusefilter-warning prefix is reserved for filter warnings. Pointed
out by Matěj.

Change-Id: I169e4c3d29b08c7f5af2136a683fc4427f8e93f5
2021-02-06 15:42:33 +00:00
Translation updater bot b30f555015 Localisation updates from https://translatewiki.net.
Change-Id: Ie5108fc995a131942ae78d7c33da014992d1c995
2021-02-05 08:46:17 +01:00
jenkins-bot 38772b193d Merge "Partial integration of EditBoxBuilder with HTMLForm" 2021-02-04 17:41:29 +00:00
jenkins-bot 69190af17a Merge "Mixed improvements for AbuseFilter pages and forms" 2021-02-04 15:25:53 +00:00
Translation updater bot 8c9f35146d Localisation updates from https://translatewiki.net.
Change-Id: I0edce48274f891744e87331bf9ebac5e6eb59a1a
2021-02-04 08:38:26 +01:00
Translation updater bot f49719c0f4 Localisation updates from https://translatewiki.net.
Change-Id: I439da8301fc7ee3217f20cdfaadef35065d2b8e9
2021-02-03 08:38:23 +01:00
Translation updater bot c3867cfae6 Localisation updates from https://translatewiki.net.
Change-Id: I972635fa9f0bac82946d7fc195c55d0b746ca5a2
2021-02-02 08:37:52 +01:00
Daimona Eaytoy bf9142a644 Partial integration of EditBoxBuilder with HTMLForm
This patch adds a transparent HTMLForm field that can be used to insert
the edit box inside an HTMLForm, and updates /test and /tools to use
that. The field class, together with the other editbox-related classes,
is now in a dedicated namespace. A future TODO is making it a real
HTMLForm field.

Also improve a bit the form in /test: add section labels and
avoid reusing the same label message used on Special:AbuseFilter.

Bug: T261584
Change-Id: Ib74bb5fdba4f8476169b754030fce6d4f72ce65a
2021-02-01 16:23:42 +00:00
Daimona Eaytoy a4a0503174 Mixed improvements for AbuseFilter pages and forms
- Clarify the label of the search form on Special:AbuseFilter
- Move introductory paragraphs to the very beginning of the page:
-- Before the profiling data on Special:AbuseFilter
-- Before the search form on Special:AbuseLog
- Make the search form on Special:AbuseFilter collapsible, and collapsed
  by default
- Make a few buttons primary+progressive, specifically those that take
  the user to a different page or act as submit-like buttons

Bug: T261584
Change-Id: I54517b01a9ea81d276283140e5cfafef575c3e2b
2021-02-01 15:51:43 +01:00
Translation updater bot 648b05772f Localisation updates from https://translatewiki.net.
Change-Id: Id93a7fa7d04691af495afca7836d1690340e86e2
2021-02-01 08:45:53 +01:00
Translation updater bot 8c661b505e Localisation updates from https://translatewiki.net.
Change-Id: I9eaf1a9ea2788d629e0e3527b4521b5a6585dca2
2021-01-29 08:36:34 +01:00
Translation updater bot af70861120 Localisation updates from https://translatewiki.net.
Change-Id: I758142c7c3d3b2180173ea31df4c36c25fc65168
2021-01-28 08:34:33 +01:00
Translation updater bot f81a111ae9 Localisation updates from https://translatewiki.net.
Change-Id: I42bc4488fd7d866c35ef8c1f2d933da300f1a563
2021-01-27 08:33:10 +01:00
Translation updater bot c5fa9900f4 Localisation updates from https://translatewiki.net.
Change-Id: I4371e646c6e103eb75b3b2e2611467ed1a7a5626
2021-01-25 08:51:59 +01:00
Translation updater bot b2c466feb7 Localisation updates from https://translatewiki.net.
Change-Id: I1d8bfd3a7be2f5f714ec05361b901251cdb34a23
2021-01-22 08:29:48 +01:00
Translation updater bot 4eb0981383 Localisation updates from https://translatewiki.net.
Change-Id: I547d0530f1f2d6b35515e4301aa4e7ad5616865e
2021-01-21 08:30:48 +01:00
Translation updater bot eede3a6903 Localisation updates from https://translatewiki.net.
Change-Id: Ie951f144d7bc213233264e1e094157827d635328
2021-01-20 08:26:01 +01:00
Translation updater bot 2e72e3a952 Localisation updates from https://translatewiki.net.
Change-Id: Id621c60cae6da2bd2e4d5d50e797534c1e0932f1
2021-01-18 08:35:52 +01:00
Translation updater bot ebe626b537 Localisation updates from https://translatewiki.net.
Change-Id: Ida2768a03bfbd282a258aad1d4fdf1f97bdc8388
2021-01-15 08:38:11 +01:00
jenkins-bot 8ff98860d7 Merge "Restore hide link when viewing single AbuseLog entries" 2021-01-14 20:32:10 +00:00
Translation updater bot 8ac860b851 Localisation updates from https://translatewiki.net.
Change-Id: Id46230817e4cde558b895ad607a9cc486a3b2a48
2021-01-14 08:48:59 +01:00
Translation updater bot 9035efc86d Localisation updates from https://translatewiki.net.
Change-Id: I18f3ed1facef75fa4e00f6f552c7e4efa26a2164
2021-01-13 08:35:23 +01:00
Daimona Eaytoy bfbdd13c2e Restore hide link when viewing single AbuseLog entries
Partial revert of I13f476d8126f81b0417e7509784c83d4f21cf348

Bug: T271667
Change-Id: I58f162c7ed72c42b24b214d3857590bfd66e8f82
2021-01-12 11:56:19 +01:00
Translation updater bot f06f416127 Localisation updates from https://translatewiki.net.
Change-Id: I063472701a9a1d3b117a327f68b9ae1babd42a74
2021-01-12 08:36:32 +01:00
Translation updater bot a9a8675d81 Localisation updates from https://translatewiki.net.
Change-Id: I663651e6ddaee98d1955221ddfc7f72ee33abd85
2021-01-11 08:33:06 +01:00
Translation updater bot 36ea8bc4ce Localisation updates from https://translatewiki.net.
Change-Id: I5741a476e6e8db1b92e240c789a37c9cc575406a
2021-01-05 08:27:04 +01:00
Translation updater bot 00fe8a36be Localisation updates from https://translatewiki.net.
Change-Id: I7550d95c9d49f72d7c491453b2bc140a065d60bd
2021-01-04 08:41:38 +01:00
Translation updater bot b27f53cf4b Localisation updates from https://translatewiki.net.
Change-Id: Ifb15e2bde4ce0fe05be14fbe8a032a5401c9e2fa
2020-12-30 10:12:50 +01:00
Translation updater bot e5184810d2 Localisation updates from https://translatewiki.net.
Change-Id: I1b457600c08fea2e094e30dad106223dd968cb9f
2020-12-29 09:46:00 +01:00
Translation updater bot 886ade187e Localisation updates from https://translatewiki.net.
Change-Id: I8f3f108a96f3825c45552c99ded85ad17dca1859
2020-12-28 10:36:31 +01:00
Translation updater bot 11f9085ad8 Localisation updates from https://translatewiki.net.
Change-Id: I3361882a2c5fe4b5efda7fbbfcbc31ac1fea32aa
2020-12-23 08:31:25 +01:00
Translation updater bot cdfac7b1d0 Localisation updates from https://translatewiki.net.
Change-Id: Ic8704f1b7295614fc39fe2eba3f95c5f47e9e64c
2020-12-22 08:29:14 +01:00
Translation updater bot 2550ee4ad4 Localisation updates from https://translatewiki.net.
Change-Id: I749035dd0207bba6cbfa3f06b044c37e7c1eb0fe
2020-12-21 08:36:54 +01:00
Matěj Suchánek dc7509811a Notify of a throttled filter
Use Echo for delivering the notification to the last
user who edited the filter.

Much boilerplate.

Change-Id: I7a46a03b4f15de20902ec70c62fb4fe750096842
Depends-On: If585b14a6dd6fb8c7d2c3bee1f20d9d08eaac706
2020-12-19 10:31:29 +01:00
Daimona Eaytoy 7c1d1c6d7d Return warnings from the parser, add warning for catch-all regexps
This commit introduces some boilerplate for emitting warnings from the
AbuseFilter parser, and also code for showing these warnings in the ace
editor. Adding new warnings should be as simple as appending to
AbuseFilterParser::warnings (and adding the relevant i18n).

Bug: T264768
Bug: T269770
Change-Id: Ic11021b379f997a89f59c8c0572338d957e089a6
2020-12-18 18:22:41 +01:00
Translation updater bot a039021c60 Localisation updates from https://translatewiki.net.
Change-Id: I329cba239ff3e81c59f8c8834bd40e73dfcc3ce4
2020-12-18 08:23:36 +01:00
Translation updater bot 1f76eb356b Localisation updates from https://translatewiki.net.
Change-Id: I18c15dcdc2dd1613b042567efa106a6d30e8e01e
2020-12-17 08:53:56 +01:00
Translation updater bot 8c0579b023 Localisation updates from https://translatewiki.net.
Change-Id: I683cd82b16135f7ed1d1af96c5c8e3eb254d2488
2020-12-16 08:29:11 +01:00
Amir Aharoni 2e70051b61 Remove unnecessary word from abusefilter-log-hide-done
"Successfully" is usually not necessary in messages. See:
https://www.mediawiki.org/wiki/Localisation#Avoid_jargon_and_slang

Change-Id: I6a19fba8aebbb4c9cc09d448abbbfa67c2761c8d
2020-12-15 16:15:14 +02:00
Translation updater bot dbb0070f95 Localisation updates from https://translatewiki.net.
Change-Id: I6d932684d6cfe33833ac14964cf02841f7127bd3
2020-12-15 08:34:46 +01:00
jenkins-bot a7e965bbad Merge "Overhaul the interface for hiding AbuseLog entries" 2020-12-15 02:33:33 +00:00
Translation updater bot 41b7ed09f8 Localisation updates from https://translatewiki.net.
Change-Id: I1a7891d656ef945c2f97daff93a1007b2baa7e33
2020-12-14 08:39:58 +01:00
Daimona Eaytoy 21d7c08aa7 Overhaul the interface for hiding AbuseLog entries
The main change is the addition of checkboxes to hide/show multiple
entries at the same time. Also, tweaked some i18n and made the process
return more useful success/error messages.

This patch introduces some technical debt, caused by SpecialAbuseLog and
AbuseLogPager being tightly coupled (which is a pre-existing problem,
but it got worse here).

Bug: T260904
Bug: T144096
Bug: T206945
Bug: T206938
Change-Id: I13f476d8126f81b0417e7509784c83d4f21cf348
2020-12-11 20:55:08 +00:00
Translation updater bot 7b6c7744bf Localisation updates from https://translatewiki.net.
Change-Id: Ib357bdbfafbacfe70a33c79541bf0827ad27f5ed
2020-12-11 08:34:00 +01:00
Translation updater bot 62598f1a30 Localisation updates from https://translatewiki.net.
Change-Id: I1e9c85d57721694cfbdb542f8c0541733c3e0543
2020-12-10 08:33:21 +01:00
Translation updater bot c5d6373a7a Localisation updates from https://translatewiki.net.
Change-Id: I333c4b26c9ed599441d3256ce1d079888a895a89
2020-12-08 08:20:06 +01:00
Translation updater bot ffa2d1b401 Localisation updates from https://translatewiki.net.
Change-Id: Ifc5c727df7e94f65ced00d537acb45b57e5168e3
2020-12-07 08:41:47 +01:00
Translation updater bot 5e311ca34d Localisation updates from https://translatewiki.net.
Change-Id: Ia894f311329e37174ea9e265b61f78c491952e5b
2020-12-04 08:32:05 +01:00
Translation updater bot ce3e8163ab Localisation updates from https://translatewiki.net.
Change-Id: Id94fb17266f156e6a107e055c10cd875209a2257
2020-12-03 08:31:30 +01:00
Translation updater bot e19905cd8c Localisation updates from https://translatewiki.net.
Change-Id: I67f103963663a3185d4275dda8ec72f1170dc77f
2020-12-02 08:31:29 +01:00
Translation updater bot 7c0bdecf44 Localisation updates from https://translatewiki.net.
Change-Id: I423a8af0d0acd50b8b2d336a1b7ecd31b78b767b
2020-12-01 08:22:16 +01:00
Translation updater bot 7d3aec3dcc Localisation updates from https://translatewiki.net.
Change-Id: I1116d64f0762cd58358a059b7b90a84a0e932965
2020-11-30 08:45:28 +01:00
Translation updater bot b33da096ba Localisation updates from https://translatewiki.net.
Change-Id: I4bbd2af76ed10ce5ffb874ce1a66ed1655294391
2020-11-26 08:27:18 +01:00
Translation updater bot 12f4c51483 Localisation updates from https://translatewiki.net.
Change-Id: I6f89aafcacd8aa2179feab327d451b99b34fb71d
2020-11-25 08:33:15 +01:00
Translation updater bot fcae85fbf4 Localisation updates from https://translatewiki.net.
Change-Id: I44fe03712e442ad37f073c3e88e225c9546ff408
2020-11-24 08:38:27 +01:00
Translation updater bot a575efcc54 Localisation updates from https://translatewiki.net.
Change-Id: I8b7e000cd50ad1aa9635a2fb9760d1c91feee691
2020-11-23 08:38:01 +01:00
Translation updater bot 1ce325efc2 Localisation updates from https://translatewiki.net.
Change-Id: I2d07eabf8125c5689727df1c8d83fe237a7a6c2c
2020-11-20 09:17:19 +01:00
Translation updater bot 498e8ce9fa Localisation updates from https://translatewiki.net.
Change-Id: I005ea915a4b569ad204dd75fce60a597564c83c6
2020-11-19 09:09:40 +01:00
Daimona Eaytoy b5ae7360bc AbuseLog: Use a radio button not checkbox for suppressing entries
Add a radio to select between "hide" and "show" instead of a single,
cryptic checkbox which doesn't really explain what it does.
Also wrap the list in a form which will later be used to mass-delete
entries.

Depends-On: I1bb45e47c3b42c01388b99778ce833e4e44419e1
Change-Id: Ie2d019fad5af7c626d722dc348f40eb0db21e527
2020-11-18 20:57:39 +00:00
Translation updater bot fa9fcef493 Localisation updates from https://translatewiki.net.
Change-Id: Ia85a82143fcb47eff62d9ee5ae5723f5c06d847c
2020-11-18 08:55:11 +01:00
Matěj Suchánek 8955c55dc7 Don't show form for reverting filter actions when no actions were found
Change-Id: I779a318a9daaf6d3a17335914a7fd85877765625
2020-11-18 01:42:38 +00:00
Translation updater bot d7a1d9ac4c Localisation updates from https://translatewiki.net.
Change-Id: I7ef5724a1973bdc924400d3146da04bf0a87345e
2020-11-17 08:41:25 +01:00
Translation updater bot 5d74fbb5d6 Localisation updates from https://translatewiki.net.
Change-Id: Ide1cb5c25b770da0a96a531aef6bd45bea4dc8d5
2020-11-16 08:35:50 +01:00
Translation updater bot 34792d08b5 Localisation updates from https://translatewiki.net.
Change-Id: If42b86e47fb1d027efc08a4e8845e2ed5eb2fd87
2020-11-12 08:21:18 +01:00
Translation updater bot 5ece0d556a Localisation updates from https://translatewiki.net.
Change-Id: I596401077f54d0ec5336b256492fb4bcd7f19b66
2020-11-11 08:34:46 +01:00
Translation updater bot d0241d1c88 Localisation updates from https://translatewiki.net.
Change-Id: Id120d757eb357f7969ff63a5ef95982e8c8f435c
2020-11-09 08:33:24 +01:00
Translation updater bot 1600cdb1f9 Localisation updates from https://translatewiki.net.
Change-Id: Iad59d3ce6b1f77e64640ef132a1af0da3a3588d4
2020-11-02 08:51:27 +01:00
Translation updater bot 1e1103cbbd Localisation updates from https://translatewiki.net.
Change-Id: If87eea300d9aa3c8874eb97a14cd95cb2778ec90
2020-10-30 08:27:43 +01:00
Translation updater bot 59962e8835 Localisation updates from https://translatewiki.net.
Change-Id: I1b52349c89fa213233f34d0a1fcf28cf13a97130
2020-10-28 08:35:12 +01:00
Translation updater bot 2f5566d624 Localisation updates from https://translatewiki.net.
Change-Id: I737e3101420d1daf951debbb86ac2f5569bad854
2020-10-27 08:22:59 +01:00
Translation updater bot b553f9b203 Localisation updates from https://translatewiki.net.
Change-Id: I46bd3a8127fe39a264018a9fcca9e5b978131533
2020-10-26 08:29:24 +01:00
Translation updater bot 673fe625c5 Localisation updates from https://translatewiki.net.
Change-Id: Idf8571b10ee47187c153b19598b7fd9c6197bd40
2020-10-22 08:29:45 +02:00
Translation updater bot f53a7d2275 Localisation updates from https://translatewiki.net.
Change-Id: I5edcd144146b0ab26014062888f20a9040c94061
2020-10-21 08:25:57 +02:00
Translation updater bot 5f0345477e Localisation updates from https://translatewiki.net.
Change-Id: I6d43e208612685bcc11ea0c79660a54225ec29b0
2020-10-20 08:28:55 +02:00
Translation updater bot 62be32fe07 Localisation updates from https://translatewiki.net.
Change-Id: Ib3c077654f1f34477ecda240926eea25f42eba83
2020-10-19 08:33:57 +02:00
Translation updater bot b355892f63 Localisation updates from https://translatewiki.net.
Change-Id: I834f8082ade6bca86619e359c6d9af1efe5a987c
2020-10-16 08:28:36 +02:00
jenkins-bot bad6a351c9 Merge "Improve display of log entries when global filters are not enabled" 2020-10-15 14:11:37 +00:00