Commit graph

1387 commits

Author SHA1 Message Date
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
Daimona Eaytoy 71f375f19a Add equals_to_any function
Introduce a new function which can be used to group multiple comparisons
in a single condition. In particular, equals_to_any(S, A, B) is the
equivalent of S === A || S === B. This is especially useful in checking
for multiple namespaces, as proposed in the Community health initiative.

Change-Id: I9dcfe303eb5e51e1882fe4a65fa876aa93db7686
2018-04-25 23:12:19 +00:00
Translation updater bot 1f8b5db73f Localisation updates from https://translatewiki.net.
Change-Id: Iaf87f7dbdfbfa56c49caf0fb9fee2437a55588b0
2018-04-25 22:38:15 +02:00
Daimona Eaytoy 61cd27972d Fix typo in i18n message
As pointed out on phab, there's a space missing here. Fixing as proposed
there.

Bug: T172617
Change-Id: I6b74f511bbae481a93e3a174d40928445096148b
2018-04-25 18:24:16 +02:00
Translation updater bot 220597e214 Localisation updates from https://translatewiki.net.
Change-Id: I3ee8e2d3cbb37a04f0961df3d721b9e6507e4809
2018-04-24 22:22:05 +02:00
Translation updater bot fb9b947a67 Localisation updates from https://translatewiki.net.
Change-Id: Iac620ebd10bc24276b1492de63094e84dd598b5a
2018-04-23 22:29:57 +02:00
Translation updater bot 44f1c0a7a8 Localisation updates from https://translatewiki.net.
Change-Id: I9008645e7150e1ae31e578590f7dc89d91f9be23
2018-04-22 22:21:12 +02:00
Translation updater bot 5e2fa0ab1e Localisation updates from https://translatewiki.net.
Change-Id: I5c77ed3aca76470838c24ab2c30c7173f633e65e
2018-04-21 22:15:20 +02:00
Translation updater bot e58674664c Localisation updates from https://translatewiki.net.
Change-Id: I97a0eea8bf7e9fda8126b1a380189ab2c061171a
2018-04-20 22:12:39 +02:00
Translation updater bot 1658bc176f Localisation updates from https://translatewiki.net.
Change-Id: I74d8bb7eb066ed3b0a4331d721eb3777b9efd90d
2018-04-19 22:13:27 +02:00
Translation updater bot d1070e5956 Localisation updates from https://translatewiki.net.
Change-Id: If84e411c1a785f94a21feffc7ed912ff7825afe3
2018-04-18 22:10:26 +02:00
Translation updater bot e7654c986f Localisation updates from https://translatewiki.net.
Change-Id: Iccddef22e482a702d42c49f67d6e71e473b96c14
2018-04-17 22:24:48 +02:00
Translation updater bot e8f67bc817 Localisation updates from https://translatewiki.net.
Change-Id: I75e00c648752831d320568296aceee673b5ed640
2018-04-16 22:11:50 +02:00
Translation updater bot 70c89fc796 Localisation updates from https://translatewiki.net.
Change-Id: If27c034a93b534a3b81e0d5d796022ef0cd9d5b4
2018-04-15 22:23:10 +02:00
Translation updater bot 2c964f88d8 Localisation updates from https://translatewiki.net.
Change-Id: I5cba0cc6186aa3547b265a2ecb070b6938ebe586
2018-04-14 22:13:32 +02:00
Translation updater bot 937a920b05 Localisation updates from https://translatewiki.net.
Change-Id: Ia0263466946cd70657abdad9869a3cc62b0a9f6e
2018-04-13 22:12:34 +02:00
Glaisher 7fade990d2 Don't allow invalid IP ranges to be entered in ip_in_range()
IP::isInRange() can return true for invalid IPs so this can
cause false positives. Instead of letting this happen, don't
allow it in the first place.

See also Ibfe55c2ebac0fccfa8329436

Bug: T124117
Change-Id: Id10552e117ce2b231504e41627b44f8cfb0d4329
2018-04-13 10:59:08 +02:00
Translation updater bot 62f0a51bdb Localisation updates from https://translatewiki.net.
Change-Id: If10f4ff0f6c802c3cf627b4eee0040ab87a1cfa1
2018-04-11 22:39:47 +02:00
jenkins-bot c10f61f623 Merge "Properly detect unclosed comments" 2018-04-11 00:02:35 +00:00
Translation updater bot 8d43289ced Localisation updates from https://translatewiki.net.
Change-Id: I00e4588f7a345f32c524c4a872999d1db7c627f2
2018-04-10 22:14:59 +02:00
Daimona Eaytoy 73ec0d7896 Properly detect unclosed comments
Right now we don't have a specific exception for that, plus we don't
really check if they're closed. In fact, we use the result of strpos
without checking if it evaluates to false; if so, in some particular
cases like the one reported on phab, the while loop will never end.

Bug: T134124
Change-Id: I3b6000f197502a4832a53465b6617b4217080739
2018-04-10 19:26:02 +02:00
Translation updater bot 4465089c02 Localisation updates from https://translatewiki.net.
Change-Id: I74317b62b4f64c794af8ee94aff4998c00b04f41
2018-04-09 23:16:39 +02:00
Translation updater bot e44d21c73d Localisation updates from https://translatewiki.net.
Change-Id: I85f095ad5902b4a2924f1ceb40f6a226e36cc323
2018-04-08 22:29:35 +02:00
Translation updater bot 4b80ecdb1e Localisation updates from https://translatewiki.net.
Change-Id: Ibebd3033d5f8c7f7c8f86e77092a3840ece0770f
2018-04-07 22:33:56 +02:00
Translation updater bot 0f65f1758e Localisation updates from https://translatewiki.net.
Change-Id: If5d6248933ef360f29635879e3c2e085daa58075
2018-04-06 22:19:56 +02:00
jenkins-bot eb066b4f6f Merge "Add missing messages for existing vars decriptions" 2018-04-06 01:25:27 +00:00
Translation updater bot 5711139849 Localisation updates from https://translatewiki.net.
Change-Id: I36d19857c8ed26c9d1800520f0551556226fe2d6
2018-04-05 22:22:06 +02:00
Matěj Suchánek 60f4777c8c Add missing messages for existing vars decriptions
Change-Id: Ifd418c0efbcf7c21b4013d6b8a7454950d15def6
2018-04-05 11:24:49 +02:00
Daimona Eaytoy bc99694d07 Add reasons dropdown to hidelog form and convert it to OOUI
Bug: T153018
Bug: T132284
Change-Id: Idf74765d9f5c475d2e0d48d546cdf7c1aaa99104
2018-04-05 00:08:49 +00:00
Translation updater bot c2ab53e509 Localisation updates from https://translatewiki.net.
Change-Id: Ief4f5a2f7c24c2b545c723046259dd369add1cd0
2018-04-04 22:49:11 +02:00
jenkins-bot e4fa51e209 Merge "Remove my previous username from list of authors" 2018-04-04 11:30:28 +00:00
Translation updater bot 992f094731 Localisation updates from https://translatewiki.net.
Change-Id: Idbe5aa2c5a9469124a74e649e21fe65d0445ac63
2018-04-03 09:50:04 +02:00
Guycn2 178b9da668 Remove my previous username from list of authors
Change-Id: I5eb6ea9323967ed13e7ec2b876325334e5cf5e8e
2018-04-03 02:39:35 +00:00
jenkins-bot 9cf6a4b407 Merge "Add missing comparisons to builderValues" 2018-04-02 21:34:32 +00:00
Daimona Eaytoy fbde96cac6 Add missing comparisons to builderValues
Currently, strict comparisons aren't listed. This way they don't appear
in the dropdown and users may not be aware of their existence.

Change-Id: I93185781de3b698096130c673156a67823375c6b
2018-04-02 17:12:32 +02:00
Daimona Eaytoy e53811ecb3 Add requirement for title and pattern fields
Currently users can save filters without title or pattern. This
shouldn't be allowed since it leads to lack of clarity. The check is
only performed server-side, since when implementing Ace editor we won't
be able to (easily) add a pure HTML requirement for the pattern field.

Bug: T173947
Change-Id: I1a0418b87cdb1ff423238fcdf1c743930500e605
2018-04-02 16:37:51 +02:00
Translation updater bot 6a518a7d6b Localisation updates from https://translatewiki.net.
Change-Id: Ife6051a2853337900e222381f64f0125cf1ffbef
2018-04-02 09:48:06 +02:00
Translation updater bot ba5e619517 Localisation updates from https://translatewiki.net.
Change-Id: I187543cb3efb18af4dcccf0d0101da06aeda23be
2018-04-01 09:37:42 +02:00
Translation updater bot 8e80401487 Localisation updates from https://translatewiki.net.
Change-Id: Ie7b9e29cbc928194e6b5962eac3877145eff3c89
2018-03-31 09:22:11 +02:00
jenkins-bot c67ab4a061 Merge "Revert "Revert "Switch editor to Ace and provide syntax highlight""" 2018-03-30 15:29:01 +00:00
Daimona Eaytoy 3350183fe3 Revert "Revert "Switch editor to Ace and provide syntax highlight""
Make Ace use a fixed size in em.

This reverts commit 272775ff81.

Change-Id: I9b439b20df91eb367bcef4b6f33ff087aded0b62
2018-03-30 11:10:16 -04:00
jenkins-bot ef65bf62c9 Merge "Convert /revert to use OOUI" 2018-03-30 14:02:12 +00:00
Translation updater bot 77d92a05fa Localisation updates from https://translatewiki.net.
Change-Id: I4e93bb9a0b12893d877ef1c5ce142a7fcf8b6672
2018-03-30 09:33:46 +02:00
Daimona Eaytoy 90436c9e59 Convert /revert to use OOUI
This one was left out, probably because it's not well documented.
Together with the simple conversion, I also added a cap to time
selectors (otherwise users may create huge breaking queries) and wrapped
in a class=success P the success message, like we do when saving
filters.

Bug: T132284
Change-Id: I2ba0a54e27608949cd28b9ac0447d1f2157b0ea2
2018-03-30 09:12:59 +02:00
jenkins-bot 899fd5783b Merge "Revert "Switch editor to Ace and provide syntax highlight"" 2018-03-30 02:14:15 +00:00
Huji 272775ff81 Revert "Switch editor to Ace and provide syntax highlight"
This reverts commit 89e6778793.

Change-Id: I41aee10fdd5633d56692334696fb750f41b15433
2018-03-30 02:07:00 +00:00
jenkins-bot f903aa92d4 Merge "Switch editor to Ace and provide syntax highlight" 2018-03-30 02:02:00 +00:00
jenkins-bot da3342e398 Merge "Add search for filter patterns" 2018-03-30 01:32:03 +00:00
Translation updater bot e712281558 Localisation updates from https://translatewiki.net.
Change-Id: Ic7544f277b91ab5ea4d5d2246dd577e844aed566
2018-03-28 22:22:36 +02:00
Translation updater bot 6193345739 Localisation updates from https://translatewiki.net.
Change-Id: Iad1101b331cd204cb2d20994dbd334b4eaaebcce
2018-03-27 22:09:08 +02:00
Translation updater bot 842990b81c Localisation updates from https://translatewiki.net.
Change-Id: I4c81a2f04b0fed111b4cbfcd3da5e16b6fbb2246
2018-03-26 22:18:44 +02:00
Translation updater bot e18cd9b92d Localisation updates from https://translatewiki.net.
Change-Id: Idfa95d3e9c8d2bcbb17ae927f8d29d531b2cd1a5
2018-03-24 22:29:11 +01:00
Translation updater bot 98fbe59540 Localisation updates from https://translatewiki.net.
Change-Id: Ib15f0ba901d51cc869b8738b3cc8629c9d5f084c
2018-03-23 22:12:53 +01:00
Daimona Eaytoy 89e6778793 Switch editor to Ace and provide syntax highlight
Replace the conditions textarea with Ace editor for editing and testing
filter. This uses a soft dependency on CodeEditor; if the latter isn't
installed, the classic textarea is used. The user is still able to
switch between the editors on the go; the new buttons may look a bit
ugly now, but after switching to OOUI they should get much better.
Finally, added a custom syntax highlight for AbuseFilter rules.

Bug: T39192
Change-Id: If3d6a994142e34686bb7fc9f09093f751b599485
2018-03-23 12:39:22 +01:00