Commit graph

1340 commits

Author SHA1 Message Date
Translation updater bot e580a51603 Localisation updates from https://translatewiki.net.
Change-Id: I22e7b799b2c1e620af4ed50c978855e44ba09e54
2018-11-05 22:24:16 +01:00
Translation updater bot 98cd23258f Localisation updates from https://translatewiki.net.
Change-Id: I67c551f995973ef31882cd81a61c961480ed371e
2018-11-04 22:41:56 +01:00
Translation updater bot 6ac1dc67c2 Localisation updates from https://translatewiki.net.
Change-Id: Ic1bb25684307511c6e0821359255c520dd88f374
2018-11-03 11:02:31 +01:00
Translation updater bot 88fc3863af Localisation updates from https://translatewiki.net.
Change-Id: I40a763361c749ba0225a1e289b00a66e3bf19f64
2018-10-29 22:14:00 +01:00
Translation updater bot 1fc297dad2 Localisation updates from https://translatewiki.net.
Change-Id: I53223e1c69594ba3ace56b8d416d88c368926c9c
2018-10-28 22:21:40 +01:00
Translation updater bot 61f4a48c5c Localisation updates from https://translatewiki.net.
Change-Id: I99eff0fe7a700cd3b387c4008774c44ec64b5bd8
2018-10-26 22:24:03 +02:00
Translation updater bot 78e1b1edd9 Localisation updates from https://translatewiki.net.
Change-Id: Ifa609d816dfb5096de8d16e0869cf05bbda8932f
2018-10-25 22:38:30 +02:00
Translation updater bot 428a73f7e4 Localisation updates from https://translatewiki.net.
Change-Id: If6b50d1321158575983b66382d134c4f7ee08a81
2018-10-22 22:15:15 +02:00
Translation updater bot ee2bebf8e5 Localisation updates from https://translatewiki.net.
Change-Id: I63491d7709d6c7d2feaf249e284ba45475daf037
2018-10-21 22:37:32 +02:00
Translation updater bot 304fd90b9c Localisation updates from https://translatewiki.net.
Change-Id: I62091c8d3e0c58b63c3fa05f12ca5a8f5e842c7c
2018-10-20 22:34:35 +02:00
Translation updater bot 0250d2f2e6 Localisation updates from https://translatewiki.net.
Change-Id: I40db2105f615f90a07ef33dee2bac085a5ae12fe
2018-10-19 22:19:42 +02:00
Translation updater bot 9bec66ddee Localisation updates from https://translatewiki.net.
Change-Id: I39b9876923fe04c0a4a1d98371ed2f843f4ff382
2018-10-18 22:34:04 +02:00
Translation updater bot ac30976f9c Localisation updates from https://translatewiki.net.
Change-Id: If12802da154144461650f2dc6131293ef22244f3
2018-10-17 23:43:52 +02:00
Translation updater bot 2caea00544 Localisation updates from https://translatewiki.net.
Change-Id: I62549d63aff6688d60c60110b61e6f8c9627874d
2018-10-16 22:17:10 +02:00
Translation updater bot 6f6186ed96 Localisation updates from https://translatewiki.net.
Change-Id: Iae90d832fda8196d20899961c383d616cb83d881
2018-10-15 22:15:41 +02:00
Translation updater bot 7752e8ce1e Localisation updates from https://translatewiki.net.
Change-Id: I025f351ecf1311a89c9e8a4bf8eafd1bee1d8e20
2018-10-14 22:24:44 +02:00
jenkins-bot fea08f45b8 Merge "Avoid useless error message for regexfailure exception" 2018-10-14 13:47:37 +00:00
Translation updater bot 62ba562cf1 Localisation updates from https://translatewiki.net.
Change-Id: I1edd45c34bf89e7ae756d6d2c81a06f046adceac
2018-10-13 10:19:01 +02:00
Translation updater bot c99328a6e6 Localisation updates from https://translatewiki.net.
Change-Id: If02c4105f7681166757c9485a87a2cbbd10940db
2018-10-11 22:37:03 +02:00
jenkins-bot 56fd27461a Merge "Allow selecting custom disallow message" 2018-10-11 18:32:48 +00:00
se4598 9d12e1b353 Allow selecting custom disallow message
You can now select a custom message to be displayed for disallowing a edit
the same way as for warn mode. This can be the same or a totally different
message.

This also solves the usecase, when a edit filter is set to warn AND disallow,
to be able to show the user a custom message, but the generic is shown
on the second try (disallow). Now it can be only set to disallow.

Bug: T27086
Change-Id: Ic1de03a6944c43a346fa317ee0a217551f0d284a
2018-10-11 10:35:01 +02:00
Translation updater bot 4cfc75b4a2 Localisation updates from https://translatewiki.net.
Change-Id: Ie0bcec0db146a5fe8fe181022c4ff7bc49f23cd5
2018-10-10 22:24:02 +02:00
Translation updater bot 3ada124f9f Localisation updates from https://translatewiki.net.
Change-Id: Ie38e5acd230cec906e46898953a5d5c63c22233b
2018-10-09 22:12:42 +02:00
Translation updater bot 82c4654afd Localisation updates from https://translatewiki.net.
Change-Id: Icec8b4f8cd31958fd1f58d05325d28297edc34ca
2018-10-08 23:19:22 +02:00
Daimona Eaytoy eafb4f56c7 Avoid useless error message for regexfailure exception
Users writing filters probably don't care about preg_match or whatever
happens in PHP. Also, it's not that useful to see "unspecified error".

Change-Id: I014742fa6f678126f55ac5ccff38e44b2c5a7d15
2018-10-08 19:19:01 +02:00
Translation updater bot 8d5c51d918 Localisation updates from https://translatewiki.net.
Change-Id: I328cae84216ca1d1e06945bc4dee9f54766978d7
2018-10-06 22:35:05 +02:00
Translation updater bot 80cd32d08a Localisation updates from https://translatewiki.net.
Change-Id: Ie8f3e961dbb80b496a37fd46003a979fbad8da44
2018-10-05 22:59:02 +02:00
Translation updater bot 531357ade3 Localisation updates from https://translatewiki.net.
Change-Id: I658819afb47c1ef94a3bda2a99d04a897209c17d
2018-10-04 22:23:56 +02:00
Translation updater bot b83ed58de4 Localisation updates from https://translatewiki.net.
Change-Id: Ifccf466a50faf9b12de5f4949766668b2c6727cd
2018-10-03 18:52:46 +02:00
Translation updater bot 237f5170c1 Localisation updates from https://translatewiki.net.
Change-Id: Ic6a3879e7fe507e0c29d3c1791e4120271c33014
2018-09-26 13:45:01 +02:00
Translation updater bot db432e0c02 Localisation updates from https://translatewiki.net.
Change-Id: Id2f0238963331438cbcd79302b3a0d9f9f186a07
2018-09-24 09:17:39 +02:00
Translation updater bot be68b60614 Localisation updates from https://translatewiki.net.
Change-Id: I66e0abeaf5018ecfe44d54b7a7c5f95ac4906fbe
2018-09-23 10:26:28 +02:00
Translation updater bot 347d51bf61 Localisation updates from https://translatewiki.net.
Change-Id: I08b1770a7be62f4ced1962e4373eafebf0cf65cf
2018-09-22 10:02:58 +02:00
jenkins-bot 70eebbce11 Merge "Move all apihelp translatable messages to separate files" 2018-09-22 00:01:29 +00:00
Translation updater bot 7574a291d1 Localisation updates from https://translatewiki.net.
Change-Id: I19f05fab02359140df9e519eef468d265c7bf2de
2018-09-21 10:34:43 +02:00
Jayprakash12345 8ad2203ce0 Move all apihelp translatable messages to separate files
Should be merged along with
Ib66f4614285411e5fd971dc0cb4291ea8113418c

Bug: T189982
Change-Id: Id9beb08ee34e6861543cf59d80abfac616bf9238
2018-09-21 08:21:38 +00:00
jenkins-bot eae59db542 Merge "Fix the block options on ViewEdit" 2018-09-20 11:25:00 +00:00
Translation updater bot f73843e721 Localisation updates from https://translatewiki.net.
Change-Id: If3840ab3ffe0e0143383194a33f288ed16091c31
2018-09-20 09:58:26 +02:00
Translation updater bot f7596ccd98 Localisation updates from https://translatewiki.net.
Change-Id: I6e14550f34023f29ddf759cafc8337f6f7eb6efe
2018-09-19 10:00:10 +02:00
Translation updater bot a3d15e039f Localisation updates from https://translatewiki.net.
Change-Id: I9f9a8cdbafde91cc9cbcf2cda7111055ce37d63f
2018-09-18 09:51:46 +02:00
Translation updater bot 91eb5efa90 Localisation updates from https://translatewiki.net.
Change-Id: I29593134ad5a2a573c12ac056c60f80d9f31f0fe
2018-09-17 10:16:41 +02:00
Translation updater bot a88fe64d49 Localisation updates from https://translatewiki.net.
Change-Id: Id5d085d26d56c79551eb2869cb43ac0ddf70b7bd
2018-09-15 09:53:34 +02:00
Translation updater bot 3016f32e3a Localisation updates from https://translatewiki.net.
Change-Id: I7c4bae9aeb5d4cd400036ee2c387329d97cc29d4
2018-09-13 10:15:08 +02:00
Translation updater bot 576d7e88d6 Localisation updates from https://translatewiki.net.
Change-Id: I943e6f99161d5cf7d9b6b8b01198d988c8e84d8c
2018-09-12 09:18:20 +02:00
Translation updater bot e3fb7dba0e Localisation updates from https://translatewiki.net.
Change-Id: I264760102dfb8df4fe3266c4483ff8e3dff888de
2018-09-11 10:24:01 +02:00
Translation updater bot 7877a7a472 Localisation updates from https://translatewiki.net.
Change-Id: I91dfe818335762ab64213736dedfb3536ea3b261
2018-09-10 09:31:20 +02:00
Translation updater bot 2933534a61 Localisation updates from https://translatewiki.net.
Change-Id: I1dcecd6265fcd04248f147a2aae34bdffe1520e9
2018-09-09 10:35:39 +02:00
Translation updater bot ca444f1df3 Localisation updates from https://translatewiki.net.
Change-Id: Iaea77329cb32bbc737b9353049b25bc6985a6024
2018-09-08 10:37:54 +02:00
Translation updater bot 0eb5cedda2 Localisation updates from https://translatewiki.net.
Change-Id: I9b71f77923f6ac04a9b3a7bdda7d17fd531c5200
2018-09-07 09:02:12 +02:00
Translation updater bot 1fa52a1c67 Localisation updates from https://translatewiki.net.
Change-Id: I8919d27ddc376a50886a57e174907e18ec92685c
2018-09-06 09:00:23 +02:00
Translation updater bot 16d656d293 Localisation updates from https://translatewiki.net.
Change-Id: Ib74dd3ece376ce5733f5a6680c534df42a7b2dce
2018-09-04 22:19:20 +02:00
Translation updater bot b6fcca555f Localisation updates from https://translatewiki.net.
Change-Id: Ied96eeccbd9915eaeb42d4286197b5c398457d9d
2018-09-03 22:14:45 +02:00
Translation updater bot 2373082c2f Localisation updates from https://translatewiki.net.
Change-Id: Ie0868ccba613c4a89e1f1215c2b3ecfef58a7f3d
2018-08-31 22:16:45 +02:00
Translation updater bot e3b9aa002d Localisation updates from https://translatewiki.net.
Change-Id: Iba6a981fea0b62d5e088b0bda7b8ebdec5251d88
2018-08-29 22:27:46 +02:00
Translation updater bot 9270ee5280 Localisation updates from https://translatewiki.net.
Change-Id: Idb1adb013c47d83ee496c8ee9697912f379d8b56
2018-08-28 22:22:00 +02:00
Translation updater bot b0bf8b0e15 Localisation updates from https://translatewiki.net.
Change-Id: I769eb392d4d348858f7e9bd1850a9879f5bb89aa
2018-08-27 22:16:12 +02:00
Translation updater bot e4f0270272 Localisation updates from https://translatewiki.net.
Change-Id: I1b62ffef04993b31eccb791bbfd3c595db2440ec
2018-08-26 22:32:03 +02:00
Translation updater bot df4c8759f8 Localisation updates from https://translatewiki.net.
Change-Id: I35085fb053df59a03d27362831eaea9197d20eac
2018-08-25 22:32:14 +02:00
Daimona Eaytoy ef51e7c253 Fix the block options on ViewEdit
Align the checkbox label on the left to conform with dropdowns, avoid
two if with the same conditions, and give variables a better name. Also,
remove an unused message: with OOUI, the old design can't be reproduced.
We could add a fieldset, but then it would be greatly different from
options for other actions.

Change-Id: Ibdc993c1457636215601eb22f5202d2f6ad57bd9
2018-08-25 18:56:44 +02:00
Translation updater bot 937252a74c Localisation updates from https://translatewiki.net.
Change-Id: If7fce4c795eb49056f1dd1e11c52f097c51ae3d1
2018-08-23 23:25:38 +02:00
Matěj Suchánek 853936316f Filter AbuseLog by triggering action
For now, there is an "Other" field which will show all but hard-coded actions.

Bug: T187971
Change-Id: If564aced2e9cd933d8cfcf7cb96166aa279f2823
2018-08-23 11:40:15 +02:00
Translation updater bot 88f714fed1 Localisation updates from https://translatewiki.net.
Change-Id: I68c433a15d3be6bfc6acf78d14b32796208da77e
2018-08-22 22:35:28 +02:00
rarohde e1865fca74 Add page_age variable to AbuseFilter
Adds page_age variable that reports the number of seconds since the
first edit to the current article (or 0 for new articles).

Bug: T30844
Change-Id: I0993cecc322806382a1b567b60c0a4af69054841
2018-08-22 17:10:39 +02:00
jenkins-bot a762c82fe7 Merge "Add aliases for "_text" and "article_" variables" 2018-08-22 12:44:20 +00:00
Daimona Eaytoy e526295123 Add a placeholder for the no-js changetags input field
There is already one for the js field, but we can't reuse it since "one
by one" doesn't make any sense here.

Change-Id: Iaf01e19f4006b3d578bb2201cf9108fe46d56085
2018-08-22 11:02:51 +02:00
Translation updater bot 35a621470b Localisation updates from https://translatewiki.net.
Change-Id: Ica826b21c2e558ed486c5ed20b0035d43b1676ff
2018-08-21 23:37:36 +02:00
Matěj Suchánek 10ad58a6f3 Migrate AbuseFilter suppress log
Also make entries in Special:Log/suppress filterable.

Change-Id: Ic23e724997e4748c8d0da8138aa73d31b17b7064
2018-08-21 16:05:54 +00:00
Daimona Eaytoy 6bc630cfef Add aliases for "_text" and "article_" variables
Variables regarding title (full list in task description) are quite
deceiving, since they use "text" instead of "title". As proposed in the
task, this is the first patch to add aliases for those variables and
slightly deprecate the old ones. In the future we may be able to replace
every occurrence (either with a search function or directly on the
database), but even a coexistence would be enough to avoid
confusion. A wfDebug log is generated whenever a deprecated variable is
parsed. The "article_" prefix is also changed to "title_", in the same
way as above.
Also, added a hook which other extension may use to specify their
deprecated variables, which will be handled the same as core ones.

Bug: T173889
Change-Id: I5c370b54e6516889624088e27928ad3a1f48a821
2018-08-21 16:59:56 +02:00
Translation updater bot 25151a949c Localisation updates from https://translatewiki.net.
Change-Id: Iec3d91a788e0d2249dff968f7cc1f1dbc32a22a4
2018-08-20 22:20:35 +02:00
Translation updater bot 50ff368194 Localisation updates from https://translatewiki.net.
Change-Id: Id215438322326b4954ccd3413b583c3dd472b102
2018-08-19 22:38:41 +02:00
Translation updater bot 01df24418a Localisation updates from https://translatewiki.net.
Change-Id: Ia99e4123423cad2fbb0e8b15e8f20d6879cc89f5
2018-08-17 23:36:22 +02:00
Translation updater bot a79dbf5488 Localisation updates from https://translatewiki.net.
Change-Id: Ifab4d658d65b2abee003fc0e8d31fb61538e77be
2018-08-16 22:28:09 +02:00
Translation updater bot 0c496d0118 Localisation updates from https://translatewiki.net.
Change-Id: Id6f137359ab5718087a95d01d65e22c484d5b511
2018-08-15 22:18:15 +02:00
Translation updater bot 2148d06632 Localisation updates from https://translatewiki.net.
Change-Id: Iafe001dca01005c6ab5337738a8e9463773bd2be
2018-08-14 22:34:47 +02:00
Translation updater bot 825e5939b4 Localisation updates from https://translatewiki.net.
Change-Id: Ib987d0e1eb5616ce01e57ac8418fae91f373d6a2
2018-08-13 22:14:00 +02:00
Translation updater bot 20f4fb9a8c Localisation updates from https://translatewiki.net.
Change-Id: If8f78dd08152b68e534cdb72704ccbd81afbd898
2018-08-12 22:17:08 +02:00
Translation updater bot 2716696221 Localisation updates from https://translatewiki.net.
Change-Id: I455d6d615d20dc3428eaeb16e95cee280c1b9207
2018-08-11 22:17:14 +02:00
Translation updater bot a3c9c8f5f1 Localisation updates from https://translatewiki.net.
Change-Id: Icff2ffe9422a34ade18bb55b2be3b24cdcc7eb4d
2018-08-10 22:17:58 +02:00
Translation updater bot 063ea65758 Localisation updates from https://translatewiki.net.
Change-Id: I9810aaddda0ec958d98ab3d2e0dadf9d693d864b
2018-08-09 22:23:18 +02:00
Translation updater bot cd0e28be12 Localisation updates from https://translatewiki.net.
Change-Id: I4f641e18316762a57b36d3b61adc67723bfbff31
2018-08-08 22:13:03 +02:00
Translation updater bot b3555fab56 Localisation updates from https://translatewiki.net.
Change-Id: Iba209b3478c2da06ed9891ad74f416afc3a5d993
2018-08-07 22:31:06 +02:00
Translation updater bot 94c33ddbc3 Localisation updates from https://translatewiki.net.
Change-Id: Ideb82bed16e01eec2af4ee1fcb2e3890fec763e0
2018-08-06 22:20:49 +02:00
Translation updater bot 976a0a2fa5 Localisation updates from https://translatewiki.net.
Change-Id: Id9db4f217b5752e883775ba2a1391423220a13b4
2018-08-02 22:19:08 +02:00
jenkins-bot f587230fea Merge "Use noparams exception and correctly count function parameters" 2018-08-02 08:16:12 +00:00
Translation updater bot 7d9e345953 Localisation updates from https://translatewiki.net.
Change-Id: Iaec408a00dd6afa0c54560ab994353f5e6303a25
2018-08-01 22:10:07 +02:00
jenkins-bot c876f98d67 Merge "Remove HitCounters from AbuseFilter and use hooks instead" 2018-07-31 20:57:42 +00:00
Translation updater bot 2c85c70e91 Localisation updates from https://translatewiki.net.
Change-Id: Ia4f4fb6b89244a09bc3037ff67f16a104383e1e1
2018-07-31 22:32:39 +02:00
Huji Lee df21fb2b20 Remove HitCounters from AbuseFilter and use hooks instead
Goes with Ief573fb412d332bd4ad6ad8de3052dd85d534b82

Bug: T159069
Change-Id: I38cd7cbf3e595890b53624a477010bd49c9b8552
2018-07-31 03:56:20 +00:00
Translation updater bot c6e6cc7d56 Localisation updates from https://translatewiki.net.
Change-Id: If552b5a58456e5418eb758ce22b0f6add4373100
2018-07-30 22:27:44 +02:00
Translation updater bot 1c124ba77a Localisation updates from https://translatewiki.net.
Change-Id: I89dbd13e0fc5a68fb87d13548f33a1f86a9530a4
2018-07-29 22:20:56 +02:00
Translation updater bot f23810d44a Localisation updates from https://translatewiki.net.
Change-Id: Id8ca108c7d02d883c7dee11aaebac4c3be07b679
2018-07-28 22:29:13 +02:00
Translation updater bot 2e433238b6 Localisation updates from https://translatewiki.net.
Change-Id: I7639c54d3138505ce9bd9f6643a2c981f6fa72c7
2018-07-27 22:17:21 +02:00
tinajohnson.1234 c9003fe1fa Use HistoryPageToolLinks hook to add a log link to history pages
Add an AbuseFilter log link to the subtitle of history pages.

Bug: T28934
Co-authored-by: Matěj Suchánek
Depends-On: I2e0e9e92d3fc303135b0eb9acf06b5fd120178a5
Depends-On: I58a3039b3755648bb0c8aaf87db48ace96ce9344
Change-Id: Ib89c48f2b8f3121ead184844844acee436e2fdd6
2018-07-27 11:25:12 +00:00
jenkins-bot 78bd634f58 Merge "Add link to abusefilter-edit-lastmod-text" 2018-07-26 22:56:07 +00:00
Translation updater bot c785e87f6d Localisation updates from https://translatewiki.net.
Change-Id: Iee2c94ed4667239ddf33e430deda640151995198
2018-07-25 22:17:47 +02:00
Translation updater bot a68b741060 Localisation updates from https://translatewiki.net.
Change-Id: I1d0e2e6fc7c21be3d6b80f1d8041d8fcf57c7d67
2018-07-24 22:09:37 +02:00
Translation updater bot 35c4590a34 Localisation updates from https://translatewiki.net.
Change-Id: I2fae6e45e7626e55163f3ad648eb148c7b354da0
2018-07-23 22:30:53 +02:00
Translation updater bot 40eea41ca6 Localisation updates from https://translatewiki.net.
Change-Id: Iabc1ef6c5120fcb7cb26e2783596b5d3b6adad47
2018-07-22 22:08:23 +02:00
IoannisKydonis 2fa95e55e6 Add link to abusefilter-edit-lastmod-text
This adds a link to the diff of the edited filter.

Co-authored-by: Matěj Suchánek
Bug: T53382
Change-Id: I57104f592fc3961bb43ecea8442ef6666ed4a69c
2018-07-22 16:13:35 +02:00
Translation updater bot 146a607e31 Localisation updates from https://translatewiki.net.
Change-Id: Ia7a5d7b816f5b278966a94a2c27ddaf7f97dee6c
2018-07-21 22:11:22 +02:00
Translation updater bot 0030cb2560 Localisation updates from https://translatewiki.net.
Change-Id: Iddfcc92b348f64760a0ef111524e24e1ab222cfb
2018-07-19 22:30:14 +02:00
Translation updater bot 7453a4c2a6 Localisation updates from https://translatewiki.net.
Change-Id: Ib224d87ae3ac68e3c1df7bfe8e9bd0dbcf3b541c
2018-07-18 22:12:23 +02:00
Daimona Eaytoy 76260f9211 Clarify i18n message for throttle message
The message was quite cryptic, since I basically copied it from MW docs,
where it was equally cryptic. Looking at the code, this is the actual
meaning, easier to understand and translate.

Change-Id: I73a7aecc987361ba6bb94c87ab9e3e10057111c7
2018-07-18 10:55:40 +02:00
jenkins-bot 0979e116b4 Merge "Show AF logs for a revdeled revision if the user can see the revision" 2018-07-18 02:04:16 +00:00
jenkins-bot 9623421366 Merge "Switch editing interface to OOUI & improve NoJS usability" 2018-07-18 00:59:12 +00:00
Translation updater bot da982b0ab8 Localisation updates from https://translatewiki.net.
Change-Id: I2e11a6863233c697bcc54ce9e08760d43ad6d25c
2018-07-17 22:13:37 +02:00
Daimona Eaytoy b825e396b5 Switch editing interface to OOUI & improve NoJS usability
This settles almost everything, leaving the tags part ready to be
further improved in the follow-ups.
Also, replaced some fields with totally different ones, improved the
warn preview area and improved a bit nojs experience by hiding unusable
buttons.

Bug: T132284
Bug: T154749
Change-Id: I7a5caa862a32f9792140c6a4d9708a2d20472672
2018-07-17 14:49:50 +02:00
Translation updater bot 187d3ca2eb Localisation updates from https://translatewiki.net.
Change-Id: If9cd108efcd5fee176f37e2fd6db5e5a298e6a5b
2018-07-16 22:19:39 +02:00
Translation updater bot 08b3debbd4 Localisation updates from https://translatewiki.net.
Change-Id: If6f7745250a05819c281f8e5328f4732c1a2efe3
2018-07-15 22:10:44 +02:00
Daimona Eaytoy 32718888c0 Use noparams exception and correctly count function parameters
For the counting part I used this a relatively simple approach. It might
not be the best one, but should work without changing too much code. As
for the exception, I added it to every function which takes a single
parameter. Plus a couple of minor fixes: removed an unused function and
replaced "__METHOD__" with function names.

Bug: T198300
Change-Id: I484fe2994292970276150d2e417801453339e540
2018-07-15 15:32:26 +00:00
jenkins-bot c4ef80638e Merge "Add the log ID as API param for query abuselog" 2018-07-15 15:08:39 +00:00
Translation updater bot 20dc4301f8 Localisation updates from https://translatewiki.net.
Change-Id: I26e90ad47cb9e691406db27092f65c0153fe2841
2018-07-14 22:20:14 +02:00
Daimona Eaytoy d390144c69 Add the log ID as API param for query abuselog
The patch adds the logid parameter to the queryAbuseLog API, so that
users will be able to retrieve a single result with the given logid.

Bug: T36731
Change-Id: I9160c3690e86ea40560f6fa7721918965234c29e
2018-07-14 15:03:17 +02:00
Daimona Eaytoy 0e87c44c74 Show AF logs for a revdeled revision if the user can see the revision
The function used to determine if a row is hidden has three possible
return values: true, false and "implicit". While the first and the
second one refer to AF own suppressing system, 'implicit' means that the
revision associated with the log entry is deleted. However, we checked
for such return value with a boolean cast, which caused true and
'implicit' to be equally treated, thus hiding revdel'ed revisions to
sysops. Bonus: fixed a comment typo.

Bug: T191699
Change-Id: I87d3a6437bb966198175e4bfd063e30ed79c345f
2018-07-14 00:46:19 +02:00
Daimona Eaytoy b8a2225bb2 Warn the user to re-attempt save if edit token didn't match
I've been noticing this problem for a long time: sometimes, when the
filter editor stays open for a long time and you try to click "save filter",
the page is scrolled and the edit isn't save (while it is indeed saved
when clicking save again). I found out that this is due to edit token
not matching. If that happens and the request was posted, warn user to
re-save the edit.

Change-Id: Id0c5600bf22632f57d237a19b492cc9c297be736
2018-07-13 15:40:29 +02:00
Translation updater bot cb0c43133b Localisation updates from https://translatewiki.net.
Change-Id: If69916aa1aff6a6405c6047052cb8378a63b68d4
2018-07-12 22:38:17 +02:00
Translation updater bot 8adffed8af Localisation updates from https://translatewiki.net.
Change-Id: I623f5644d60c6e9fcd13cd882c439cdba55f8511
2018-07-11 22:39:28 +02:00
Translation updater bot d74e0baaa6 Localisation updates from https://translatewiki.net.
Change-Id: I4f63b1c8cb73f27b6a63a3751687e48b193bcd1c
2018-07-10 22:15:33 +02:00
Translation updater bot b066abef8c Localisation updates from https://translatewiki.net.
Change-Id: Ic1c38eae0bf0a6335a07b10429640017c8b4073a
2018-07-09 22:10:44 +02:00
Translation updater bot 5b7a5672de Localisation updates from https://translatewiki.net.
Change-Id: Ibe117886fec4fee42d64c05cef66f837262d7dbe
2018-07-07 22:52:24 +02:00
Daimona Eaytoy 33b1b12b92 Reserve abusefilter-condition-limit tag
Right now it can manually be added when creating filters. Since the
distinction is interal to AbuseFilter, we can't use hooks to achieve the
goal (the tag isn't already usable from outside AF). Also making
isAllowedTag public to make it testable.

Change-Id: I75ce47d247cf6949117370c8c78ab7c6980538f3
2018-07-06 16:43:12 +02:00
Translation updater bot d7cd1de386 Localisation updates from https://translatewiki.net.
Change-Id: I63148d4fc20b5fc9920acecb15a0d885db961b4c
2018-07-05 22:43:28 +02:00
Translation updater bot 97904a38b7 Localisation updates from https://translatewiki.net.
Change-Id: I47dc7c15e4d2ed525bbd85246a3d2b06f4c0f1ac
2018-07-03 22:16:24 +02:00
Translation updater bot 735e8466b8 Localisation updates from https://translatewiki.net.
Change-Id: I82293aa87794c8a922f5d5a36131df250177800b
2018-07-02 22:10:17 +02:00
jenkins-bot 8d9a564aee Merge "Add colon to "Action type" field on Special:AbuseFilter/test" 2018-07-01 21:43:40 +00:00
Translation updater bot f1a661a132 Localisation updates from https://translatewiki.net.
Change-Id: I97ae16e57c087f7b2474aecbb3b7f0f2ea268b38
2018-07-01 22:06:01 +02:00
Translation updater bot d0a00ce049 Localisation updates from https://translatewiki.net.
Change-Id: I039e2a4f8fa68d7c161ab63c27cfc568f860e19c
2018-06-30 22:30:08 +02:00
Translation updater bot e645ddcdf8 Localisation updates from https://translatewiki.net.
Change-Id: Ib543b2c037fc163a541f1c960bc794ac1cb9f7d0
2018-06-29 22:24:59 +02:00
Guycn2 b40ded69cf Add colon to "Action type" field on Special:AbuseFilter/test
(for consistency with other fields on this page)

Change-Id: I21209cd335e6d6d65378963cbef908f928c84569
2018-06-29 03:41:25 +00:00
Daimona Eaytoy 3a1ec5d229 Add missing i18n for sanitize function
The function was added with Ic916a6f8976e486d62d65156fa2dab56a55cf22a
but doesn't have messages for the dropdown.

Change-Id: Ibd7567a2b5277f6529e796a38871846abbfb4d54
2018-06-29 00:52:19 +02:00
Translation updater bot 877d8ea608 Localisation updates from https://translatewiki.net.
Change-Id: I94ab0a54d237a90ea4a06364f8395b9e2719d234
2018-06-28 22:20:47 +02:00
Translation updater bot 74f5327e3f Localisation updates from https://translatewiki.net.
Change-Id: I99fdcdff35b586fed06e14d379c7dbf23d1beb19
2018-06-27 22:17:48 +02:00
jenkins-bot 8b0f289e10 Merge "Stop computing removed variables and show custom error message" 2018-06-27 00:20:38 +00:00
Translation updater bot cfc1724f13 Localisation updates from https://translatewiki.net.
Change-Id: Iff2ac997739610ec49474d9fd08654729ff07087
2018-06-26 22:13:34 +02:00
Daimona Eaytoy 79ec4ebf8b Stop computing removed variables and show custom error message
Old_text and old_html were disabled a long time ago. With this patch,
the user will get a custom error message if trying to use them (instead
of the unrecognisedvar one), plus they'll stop appearing in /examine and
/details, unless they were computed for the examined edit (and in that case, their description message is now restored). Lastly, added a precisation to their messages.

Bug: T190698
Change-Id: Ife168522e6b1d8eb94ebbb8a16ae8831ec1dc497
2018-06-26 20:02:31 +02:00
Daimona Eaytoy c75bc35f7d Rename lists to arrays
Arrays were introduced with the name "lists". While it **may** look
user-friendlier and so on, it actually uses a wrong name: lists are
different from arrays. I ran a grep and I should've replaced
every occurrence, plus everything seems to work, however a double check
wouldn't be bad.

Change-Id: I6a858f02f5dd9250ba7e1abf9c6422fd98758c9e
2018-06-26 14:42:23 +02:00
jenkins-bot 240e264833 Merge "Make /test filterable by action type" 2018-06-26 01:24:16 +00:00
jenkins-bot 625f1b92cd Merge "Reduce form whitespace on Special:AbuseFilter and compact variables" 2018-06-26 01:18:04 +00:00
Daimona Eaytoy 1394da924f Make /test filterable by action type
Bug: T20288
Depends-On: I2c51b695262b132a5c7cdfab20d56e36f43c7448
Change-Id: I9887c586955c1a1b34dbe641a8f9ad34de7a2e1d
2018-06-26 00:48:09 +00:00
Translation updater bot e5b0846197 Localisation updates from https://translatewiki.net.
Change-Id: I10e13e33936b8fccfe45600a982960e4b35a4d53
2018-06-25 22:22:00 +02:00
Translation updater bot d4db0b49d4 Localisation updates from https://translatewiki.net.
Change-Id: I54f6b256343018d4a04b9ccecdd46cc62526195c
2018-06-24 22:25:18 +02:00
Daimona Eaytoy 3c1dae9e14 Allow users with abusefilter-view-private to use testing interface
Now the required need will be abusefilter-modify OR
abusefilter-view-private for /tools, /test and /examine.

Bug: T193903
Change-Id: I3f1a91a2cc1df2272e5d4099cefd7c649a0683d5
2018-06-24 14:10:38 +00:00
Translation updater bot 4d97779c51 Localisation updates from https://translatewiki.net.
Change-Id: I2489b2da7cd75dfdd082e6a343726b266441a0a7
2018-06-21 22:42:20 +02:00
Daimona Eaytoy fcc07db95c Reduce form whitespace on Special:AbuseFilter and compact variables
The conversion to OOUI brought some extra whitespace that creates some
problems while viewing the page, especially with specific skins. This
patch compacts four different form fields in a single one, having the
side benefit of reducing the amount of used variables.

Bug: T189425
Change-Id: I75aa83e36d12db65d8b54c76b3ea14c8c797215e
2018-06-19 12:13:29 +02:00
Translation updater bot 0e4df34261 Localisation updates from https://translatewiki.net.
Change-Id: I43d59b7b098b2fbdf7b11be0b5562dabd38b3329
2018-06-18 22:09:25 +02:00
Translation updater bot 58ed24048d Localisation updates from https://translatewiki.net.
Change-Id: I5d47cdfd497ade70800e0fa33c8256c916b0d6a7
2018-06-17 22:27:46 +02:00
Translation updater bot 9dfbd0d63b Localisation updates from https://translatewiki.net.
Change-Id: Ibdb83009f28a5649021ed053c7a90de0a720f061
2018-06-16 22:25:54 +02:00
Translation updater bot 03158e1272 Localisation updates from https://translatewiki.net.
Change-Id: I75bc6d1a4fb91ea0a32efc0a37ae10b312a12910
2018-06-15 22:35:34 +02:00
Translation updater bot c31f384f5d Localisation updates from https://translatewiki.net.
Change-Id: I5dae60f0f98a523ad3f851d88326a32e9e0e1f20
2018-06-14 22:44:15 +02:00
Translation updater bot 18b46d71cb Localisation updates from https://translatewiki.net.
Change-Id: I68db4a2ea26ba7fc6a89f79f8cf3badf3791b42e
2018-06-13 22:22:27 +02:00
Translation updater bot e2232714f8 Localisation updates from https://translatewiki.net.
Change-Id: Iaa5e133700405433dae57dfcb9da0c6727ff25b4
2018-06-11 22:33:20 +02:00
jenkins-bot a4a6511972 Merge "Don't allow invalid IP ranges to be entered in ip_in_range()" 2018-06-10 00:33:27 +00:00
Translation updater bot 2dfc0b62d8 Localisation updates from https://translatewiki.net.
Change-Id: I0ab4a872a8d5094ab084bf9e6f8c0795189da6e6
2018-06-09 10:26:30 +02:00
Daimona Eaytoy cf4ac34420 Show throttled filters in Special:AbuseFilter
With this patch, filters which are both enabled and throttled have an
"actions automatically disabled" label together with "enabled" and the
row is displayed in red. Plus, some minor changes like removing unused
fields from sortable ones and added a comment to getQueryInfo about used
columns (the idea is that it'll be easy to understand if a given column
is already there, plus if we'll need the missing one we may just replace
it with '*').

Bug: T154206
Change-Id: Iab157d094cbf2d50e9db537535fd48243e74af0b
2018-06-08 21:54:58 +02:00
jenkins-bot 1981c9f8b8 Merge "Add an option to hide private filters on Special:AbuseFilter" 2018-06-08 19:46:53 +00:00
Translation updater bot 1eb684447e Localisation updates from https://translatewiki.net.
Change-Id: Ic3643bd782a3366e4eca15589e037131e30cc56f
2018-06-06 23:05:43 +02:00
Translation updater bot 5a0efd342f Localisation updates from https://translatewiki.net.
Change-Id: Id76dc8fa759fceaa3e09c498a8e609a60ae9c628
2018-06-05 22:16:33 +02:00
Daimona Eaytoy 43ec6cf830 Add an option to hide private filters on Special:AbuseFilter
While the change itself is simple, the only problem here is the desing,
since we're adding even more vertical space with this.

Bug: T164108
Change-Id: Ic5373dd4f0b85dc1311d90ac165d4520ac956e68
2018-06-04 11:21:18 +00:00
Translation updater bot 384c70ffc8 Localisation updates from https://translatewiki.net.
Change-Id: I67b2295ebf1e824c76a01a9ac252fbae3cd751aa
2018-06-03 22:35:54 +02:00
Translation updater bot 7afce94ecd Localisation updates from https://translatewiki.net.
Change-Id: I4b0f7fbdc24808810c45af23c321fb40bb1c350f
2018-06-02 22:41:09 +02:00
Translation updater bot e23ca56bbb Localisation updates from https://translatewiki.net.
Change-Id: I2983fba32d2a5883085058e872d5ee024f9ff599
2018-06-01 22:27:20 +02:00
Translation updater bot dee7bc6a33 Localisation updates from https://translatewiki.net.
Change-Id: Ic95c2e6a86b7c029b9ef00124bf5e4d47f48c350
2018-05-31 22:28:17 +02:00
Translation updater bot ecb919e5de Localisation updates from https://translatewiki.net.
Change-Id: I29c343434513ac82400698e534cd24b73066b6ae
2018-05-29 22:24:34 +02:00
Translation updater bot 296605472d Localisation updates from https://translatewiki.net.
Change-Id: I9322124272a25293829094b9f6e62880fb686bc7
2018-05-28 22:41:43 +02:00
Translation updater bot 751b27181f Localisation updates from https://translatewiki.net.
Change-Id: I5763f4f16c825492bda7dd2ddd6fdbb19b241d0c
2018-05-25 22:13:56 +02:00
Translation updater bot 2bd7ec820a Localisation updates from https://translatewiki.net.
Change-Id: Ic3c3bbcef9b6338c25ebc142ffb3c788a1a52ae8
2018-05-24 22:24:42 +02:00
Translation updater bot cce90f853a Localisation updates from https://translatewiki.net.
Change-Id: Ibacdb826324e656612208d32ca8b5d50eec80b99
2018-05-23 22:20:05 +02:00
Translation updater bot 55715e1b38 Localisation updates from https://translatewiki.net.
Change-Id: I9119e8d680c27fea459dcc9bb4fb8cb6e9073693
2018-05-21 22:10:12 +02:00
Translation updater bot 0804a7ea12 Localisation updates from https://translatewiki.net.
Change-Id: I1c2421a7f3d47a85be339ac5f37548a8ab73dab4
2018-05-20 22:44:15 +02:00
Translation updater bot b9332d03af Localisation updates from https://translatewiki.net.
Change-Id: I4b4cc31fb002e0b9537c38909f9c529467bcf951
2018-05-18 22:48:07 +02:00
Translation updater bot c5acd6b009 Localisation updates from https://translatewiki.net.
Change-Id: I676e94e2ff64c8941c21b1d6a6df0ef3da5d2030
2018-05-17 22:19:28 +02:00
Translation updater bot 83877949a4 Localisation updates from https://translatewiki.net.
Change-Id: I9a95a4362a932988c83ce168f0cb3b030d8e18be
2018-05-15 22:24:18 +02:00
Translation updater bot cfa6ca65a3 Localisation updates from https://translatewiki.net.
Change-Id: I5915a6defe62816dd8ffcfaff99b3453cbf57420
2018-05-14 22:44:02 +02:00
Huji Lee 959a32258f Use PLURAL in newly added i18n message
Addresses an issue with I0ec6a27ff5f37aae864dfd91161bf44f0a217ef1

Change-Id: Iebbba14ac37cddcd56a8bd0c8fb1b6ff2a68bf72
2018-05-13 16:58:33 -04:00
Translation updater bot 97d460b03f Localisation updates from https://translatewiki.net.
Change-Id: Ia94e7c76b491934474c994541fb0cb8db49c0549
2018-05-13 22:17:41 +02:00
Daimona Eaytoy 91c5f6d5b9 Improve the i18n message for throttling to show in history
With the introduction of custom block durations in Ib072433d19dabae48d8514e08be9893135b5d63c, the method which generates action display was enlarged in order to provide a more readable and complete message. However, for throttling we currently have an unreadable message like "Throttle: xx, yy, zzz". This is wrong for two reasons: first, those numbers need to be deciphered; second, the first number is the filter ID which is totally unuseful here.

Change-Id: I0ec6a27ff5f37aae864dfd91161bf44f0a217ef1
2018-05-13 13:29:45 +02:00
Translation updater bot 25b4482ee8 Localisation updates from https://translatewiki.net.
Change-Id: I1d4f141b64c5c0a8d30783244adf6c3ac25c0405
2018-05-11 22:24:45 +02:00
Translation updater bot 47fa731e54 Localisation updates from https://translatewiki.net.
Change-Id: I4a399490a758cf329080ec8f6cbdf2f87da11a39
2018-05-10 22:20:12 +02:00
Translation updater bot 99aa54c63a Localisation updates from https://translatewiki.net.
Change-Id: Icc710afb4cfd4171c595f536e32ffa1c628bcdb4
2018-05-09 22:40:42 +02:00
Translation updater bot 0513162de4 Localisation updates from https://translatewiki.net.
Change-Id: If9cffacb3f5e6b907422ee6410ae95518aac2ba1
2018-05-08 22:19:34 +02:00
Daimona Eaytoy 69c8929468 Add an option to hide bots in /test
Pretty self-explanatory and straightforward, since recentchanges has a
dedicated column for bot edits.

Bug: T193994
Change-Id: I76d41e082aed262640e9fff856eeb97df49633d5
2018-05-07 17:25:40 +02:00
Translation updater bot 9137a2ec41 Localisation updates from https://translatewiki.net.
Change-Id: I5e4f0a2c8df77c501f508b7ac6c9d8c483d95194
2018-05-06 22:21:46 +02:00
Translation updater bot 92ca600311 Localisation updates from https://translatewiki.net.
Change-Id: If1e3760628d2bc972a5cbf8d1290c48cd0ae0af1
2018-05-05 22:13:56 +02:00
Translation updater bot 0409f815d5 Localisation updates from https://translatewiki.net.
Change-Id: If8d93f97d7a769099e898e3b21c8f8a67deb8f47
2018-05-04 22:14:30 +02:00
jenkins-bot 479cce9f58 Merge "Show "blocktalk" in AbuseFilter diff and improve message generation" 2018-05-03 23:22:44 +00:00
Translation updater bot a70c823eba Localisation updates from https://translatewiki.net.
Change-Id: I5909405f62cdcdca7cb0beddbc682065162f620a
2018-05-03 22:20:43 +02:00
Daimona Eaytoy 80ef9d442a Show "blocktalk" in AbuseFilter diff and improve message generation
Quite self-explanatory. If the talk page is blocked, a sentence is
added, otherwise it remains as it is. Plus, improved the way messages
are generated and reduced their reuse.

Bug: T193692
Change-Id: I01f5113ca586b94c25e1102c73d158ebb01c5a4b
2018-05-03 21:11:13 +02:00
jenkins-bot 5ba7903675 Merge "Don't let enabled filters be marked as deleted" 2018-05-02 22:27:37 +00:00
Daimona Eaytoy 632c8e77e2 Don't let enabled filters be marked as deleted
Adds both client-side and server-side validation.

Bug: T156619
Change-Id: If16975dd394cfdb3c57ff263366c2fc865de362a
2018-05-02 22:20:53 +00:00
Translation updater bot 5a78718773 Localisation updates from https://translatewiki.net.
Change-Id: I0964cbda4d1a3a892839e97428eea70a1e3efaf8
2018-05-02 22:16:10 +02:00
Translation updater bot 6558d07eae Localisation updates from https://translatewiki.net.
Change-Id: Ibdc2cb62880df3b12dc647f4e699e311ff24a7d7
2018-05-01 22:11:36 +02:00
Translation updater bot 1d04847a06 Localisation updates from https://translatewiki.net.
Change-Id: I184f95c793092d0210f90ce0cccf12b6bb5c91a0
2018-04-30 22:21:44 +02:00
Translation updater bot 128fe988b3 Localisation updates from https://translatewiki.net.
Change-Id: I497256570bb9a2bb581c82b097f9d4e15ca62f43
2018-04-29 22:30:48 +02:00
jenkins-bot a267c7be8a Merge "Fix i18n for equals_to_any" 2018-04-29 13:51:25 +00:00
Translation updater bot 4c214289d7 Localisation updates from https://translatewiki.net.
Change-Id: Ia38d4fbd68b458c3afa76c4e66f01c04d3fa0f4d
2018-04-28 22:32:34 +02:00
Translation updater bot 64614ad673 Localisation updates from https://translatewiki.net.
Change-Id: I020959c376623e405115ea67deddae61a46781fb
2018-04-27 22:25:31 +02:00
Daimona Eaytoy fb325948b6 Fix i18n for equals_to_any
I wrongly wrote that it's used for strings, while it actually accepts
any kind of argument. Also, specified the used operator.

Change-Id: I6d3545517a83f56f7393a1d1f99ce61d480e333d
2018-04-26 22:28:23 +02:00
Translation updater bot 8b1fdb8a7c Localisation updates from https://translatewiki.net.
Change-Id: I4628fc7418c0ef11583e9a50051d9521da4f8fee
2018-04-26 22:16:17 +02:00
jenkins-bot 04325d0f99 Merge "Add equals_to_any function" 2018-04-25 23:26:04 +00:00
jenkins-bot 5c8b6cf3a6 Merge "Fix typo in i18n message" 2018-04-25 23:21:19 +00:00