Commit graph

1247 commits

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

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

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

Bug: T203353
Depends-On: I8df247f61d9f3769e9580544f324dd174811e939
Change-Id: I71b1f81d10c02de4de141b1ab9b630d05cf4619c
2019-01-21 14:06:54 +01:00
Translation updater bot 3872a21044 Localisation updates from https://translatewiki.net.
Change-Id: I4d155c90c75ab072279080c0954348ceec7f9a2a
2019-01-20 22:35:36 +01:00
Translation updater bot 0c974931bc Localisation updates from https://translatewiki.net.
Change-Id: Ib3b8fdab4afe9c283b3f4f7fd44b76bd9afa2451
2019-01-19 22:15:50 +01:00
jenkins-bot b35ba5af45 Merge "Warn the user if they try to leave the page with unsaved changes" 2019-01-19 12:57:50 +00:00
jenkins-bot df2da23d29 Merge "Add unit tests for custom disallow messages" 2019-01-19 12:21:02 +00:00
Daimona Eaytoy 34d3f9acb2 Fix topnav links
*Don't reuse a message (which is bad), instead add a note for
translators. We can also move it on translatewiki.
*Don't show the AbuseLog link if the user cannot see the AbuseLog.

Change-Id: I4ce73b2160275fdc4b0b7bec722471696d8c6a4d
2019-01-17 15:09:29 +01:00
Translation updater bot 67aa6954ff Localisation updates from https://translatewiki.net.
Change-Id: Id8a357d740449919e6c8fd470bb455b9b114466a
2019-01-17 09:12:09 +01:00
Translation updater bot 97f0f86bd1 Localisation updates from https://translatewiki.net.
Change-Id: Ibfb8503dba39a9c78b019b9950cb057f7297bbec
2019-01-13 22:12:42 +01:00
Translation updater bot f0eb69bb7b Localisation updates from https://translatewiki.net.
Change-Id: I36a6d0841b09445c0c5f98535eae8f79b95f6cc9
2019-01-12 22:39:24 +01:00
Translation updater bot 6c21151ef8 Localisation updates from https://translatewiki.net.
Change-Id: I0f36cc17fc9408920a1c9a87181396e1c1b6ce5b
2019-01-10 22:48:42 +01:00
Translation updater bot 4122e6f9c3 Localisation updates from https://translatewiki.net.
Change-Id: I87df531b23bc2e70214a8fdc28a32d2920a60643
2019-01-09 22:18:28 +01:00
Translation updater bot b5a0fba51e Localisation updates from https://translatewiki.net.
Change-Id: Ib6db2f82950da79bf158ff2832b12025a7f2fa74
2019-01-08 22:29:16 +01:00
Translation updater bot b9f9708e8a Localisation updates from https://translatewiki.net.
Change-Id: Ifd174360497a96ff8be3e39b0de8d7641cf7185b
2019-01-06 22:30:08 +01:00
Translation updater bot 1f572b324b Localisation updates from https://translatewiki.net.
Change-Id: I573f267f5b9328733e5953df5578530b340e7346
2019-01-05 22:33:24 +01:00
Daimona Eaytoy f12fdb4a32 Add unit tests for custom disallow messages
Follow-up of Ic1de03a6944c43a346fa317ee0a217551f0d284a, adding some unit
tests for this newly introduced feature, plus a couple of tweaks for
both tests themselves and i18n.

Change-Id: I8df247f61d9f3769e9580544f324dd174811e939
2019-01-05 10:58:47 +00:00
Translation updater bot 6de4d426f0 Localisation updates from https://translatewiki.net.
Change-Id: Id200f09d1bba63a1f0f00360f14d4ad3973d78c8
2019-01-03 22:52:02 +01:00
Translation updater bot 1de0aaaab7 Localisation updates from https://translatewiki.net.
Change-Id: I467600aea57c69628879aa9db1c515bb1add2548
2019-01-01 22:20:00 +01:00
Daimona Eaytoy 921db0397e Really disable the minor_edit variable
The variable was disabled with I7f13773766e12f3d4b86451fdf3ae23e067ac373
in 2016, but not in the same way as old_text and old_html were disabled
in 2009. This patch uses the methods introduced with
Ife168522e6b1d8eb94ebbb8a16ae8831ec1dc497 to disable minor_edit in a
standard way, so that it won't be showed in new AbuseLog entries, and
won't be usable when writing filter syntax.
A warning will be emitted if a pre-existing filter is using it, so that
we'll be able to completely disable it in the future.

Change-Id: I5ad5219ee19a5e6ba2bfdffb4e0aad63c8951491
2018-12-29 14:14:27 +01:00
Translation updater bot e7684d8925 Localisation updates from https://translatewiki.net.
Change-Id: I336822d68571bd7efc2fd86a70681639a983e18e
2018-12-27 09:50:25 +01:00
Translation updater bot a7f67f3599 Localisation updates from https://translatewiki.net.
Change-Id: I6205a506cbf30a4cead97bad7ba9a432cc8c307f
2018-12-20 22:41:31 +01:00
Translation updater bot 4f5dc59f9f Localisation updates from https://translatewiki.net.
Change-Id: Idd83753f9b716e1798018ab9bd43ce0215225570
2018-12-19 22:22:23 +01:00
Translation updater bot 2367e666a0 Localisation updates from https://translatewiki.net.
Change-Id: I3f731eb17bff9e9f8f37b1bcfc46a70e216de26b
2018-12-17 22:18:46 +01:00
Translation updater bot d7629efb7c Localisation updates from https://translatewiki.net.
Change-Id: Ia04342b79dd9b1f417bde496bbee73161539c68c
2018-12-11 22:39:26 +01:00
Translation updater bot c496545573 Localisation updates from https://translatewiki.net.
Change-Id: Ib777ddf8193849f1b708d8df16e1a265cdbac43d
2018-12-09 22:38:41 +01:00
Translation updater bot 3238b3205c Localisation updates from https://translatewiki.net.
Change-Id: If4d2c796280785d48d8e7c550b9cd95ff3a3a7d9
2018-12-04 22:14:22 +01:00
Daimona Eaytoy 38749b46bb Warn the user if they try to leave the page with unsaved changes
While editing filters, sometimes it happen that you make some change,
forget about it and then reload/close the page, and no warnings will be
issued. This patch makes use of the core module used for normal page
editing to display a warning if trying to leave a filter editing page
with any unsaved change (both to the filter pattern or other form
elements).

Change-Id: I78d79215565d5c82028b1a2a4276497ccbffdea2
2018-12-04 13:06:46 +01:00
Translation updater bot 88ccbfcf48 Localisation updates from https://translatewiki.net.
Change-Id: Ic25dc7ce09e4ed369c00c32cdbcb76700abbd3c8
2018-12-02 22:14:51 +01:00
Translation updater bot 36740c0d2f Localisation updates from https://translatewiki.net.
Change-Id: Ia08508a1dd490476f9812536abce43b89ca594ff
2018-12-01 22:17:28 +01:00
Translation updater bot 0ce3eb201e Localisation updates from https://translatewiki.net.
Change-Id: I2219139d93c0d6d0937392a5e054da5e27fe5c88
2018-11-30 22:49:36 +01:00
Translation updater bot b1a0f6f8e3 Localisation updates from https://translatewiki.net.
Change-Id: I0c067d16b221d9257e1caf05bd18644d35b71aeb
2018-11-29 22:26:17 +01:00
Translation updater bot 9d2e968b14 Localisation updates from https://translatewiki.net.
Change-Id: I66592aa90e17c69f1fcd63465ae8cff1af752666
2018-11-27 22:14:25 +01:00
Translation updater bot c79f4b3b83 Localisation updates from https://translatewiki.net.
Change-Id: I9944b8b31f605a62fdd6c6d38288423d65dc4a72
2018-11-26 22:31:54 +01:00
Translation updater bot 1edc6e99e4 Localisation updates from https://translatewiki.net.
Change-Id: Icf17cfa81a32b55f6469f4139557a6bf77530d80
2018-11-25 22:33:38 +01:00
Translation updater bot 5b9cc7610b Localisation updates from https://translatewiki.net.
Change-Id: I0e820fbe59c1d54474ca422e532b967db0cbd986
2018-11-23 22:17:22 +01:00
Translation updater bot 426dd086c8 Localisation updates from https://translatewiki.net.
Change-Id: I04fa0fb3fc70448cb1f58badd8b2bc3784f8514f
2018-11-22 22:21:32 +01:00
Translation updater bot 8cdd899c16 Localisation updates from https://translatewiki.net.
Change-Id: I860431e05635a439d5a27f6e5740b1ff9e519e57
2018-11-21 22:28:51 +01:00
Translation updater bot ee74df554f Localisation updates from https://translatewiki.net.
Change-Id: I3e6fba12f7f2fbeed4deaef740e9b7049f9b7ab7
2018-11-19 22:10:52 +01:00
Translation updater bot 2b5fb86f97 Localisation updates from https://translatewiki.net.
Change-Id: I08e09856184c6ed997a56ec4a695333a56f8bb43
2018-11-18 22:48:19 +01:00
Translation updater bot bc53b92ec2 Localisation updates from https://translatewiki.net.
Change-Id: Ib329c8cbc0bc946e584f0458d4702418fa595ffc
2018-11-17 22:19:36 +01:00
Translation updater bot 127862a7db Localisation updates from https://translatewiki.net.
Change-Id: I80148cdf6f4d3b159eb8d023dbb54da255690ceb
2018-11-16 22:29:19 +01:00
Translation updater bot 2c57dc9330 Localisation updates from https://translatewiki.net.
Change-Id: Ic8a8a9069d67716962cbe39b97e1b5042d5fb852
2018-11-15 22:59:52 +01:00