Commit graph

3130 commits

Author SHA1 Message Date
Translation updater bot 1425d55775 Localisation updates from https://translatewiki.net.
Change-Id: Id94928c488438d1128c17fe93a7e5262bf3b2649
2016-05-30 22:21:22 +02:00
Amire80 07eb778b9b Add explicit GENDER to abusefilter-log-detailedentry-meta
To avoid translatewiki.net warnings.

Change-Id: I791b06e294e4f7097495a280163c83be3c5c8e6d
2016-05-30 18:50:40 +00:00
Translation updater bot 5db3ed3025 Localisation updates from https://translatewiki.net.
Change-Id: I02f799ef73e0d7afdcca2ca5f44c2b0ce14eed93
2016-05-29 22:25:01 +02:00
Translation updater bot db453cf1b4 Localisation updates from https://translatewiki.net.
Change-Id: I092483dbd6feb1d89d42b0572b9ca8dbbbfeb98e
2016-05-28 22:15:43 +02:00
Translation updater bot 7f8bf89ace Localisation updates from https://translatewiki.net.
Change-Id: I002beee606a191e406e6b42097456cddefc2fef7
2016-05-26 22:38:51 +02:00
Translation updater bot 3cbb416c19 Localisation updates from https://translatewiki.net.
Change-Id: I37815c456c418e47137fbaf7f561b420a95d0b96
2016-05-24 23:03:50 +02:00
Translation updater bot 3dea270332 Localisation updates from https://translatewiki.net.
Change-Id: I4788ec2d1bc6361ec7f372c514662a177f8e5f76
2016-05-20 22:24:05 +02:00
jenkins-bot 02dcc37fd9 Merge "Make negative process caching in onGetAutoPromoteGroups() work" 2016-05-17 01:08:11 +00:00
Translation updater bot 6b8dd8eadf Localisation updates from https://translatewiki.net.
Change-Id: I05da44907eaf9dd3701166b8e237e27d0a5eca4f
2016-05-16 22:39:47 +02:00
Aaron Schulz 51b572a27a Make negative process caching in onGetAutoPromoteGroups() work
Storing "false" is not allowed, so this resulted in duplicate fech log
warnings in that case.

Bug: T133728
Change-Id: I985700f8c42773569e53b54820b972e50be776ba
2016-05-16 19:03:39 +00:00
Translation updater bot 309cc8e5a7 Merge "Localisation updates from https://translatewiki.net." 2016-05-15 20:33:51 +00:00
Translation updater bot 0ea0e6f4e7 Localisation updates from https://translatewiki.net.
Change-Id: Id21092b4659c13ee5bb68e0d37ccc0b7c9361042
2016-05-15 22:25:35 +02:00
Translation updater bot 283086086f Localisation updates from https://translatewiki.net.
Change-Id: Ie88d766a83a8763a4383ad1dd29d6907eddaa07e
2016-05-15 22:12:48 +02:00
jenkins-bot e3c50b38db Merge "Remove bogus AbuseFilter::contentToString param" 2016-05-13 21:56:37 +00:00
Translation updater bot ba7934b73d Localisation updates from https://translatewiki.net.
Change-Id: I3433e6c20060ee0f3fd1f217b47e702406119347
2016-05-13 22:19:02 +02:00
Aaron Schulz 5f34ea278a Remove bogus AbuseFilter::contentToString param
Change-Id: I53e9ad12418b6cb2605b8d4189be43e0091a0aff
2016-05-12 21:17:51 -07:00
Translation updater bot b4178ca63d Localisation updates from https://translatewiki.net.
Change-Id: Ife25f5d196e036bb420200931c9f9549e1322dcb
2016-05-12 22:11:55 +02:00
Translation updater bot aa88689609 Localisation updates from https://translatewiki.net.
Change-Id: I48319fe136facb48ba4e9a1094dd68624e60a979
2016-05-11 22:24:31 +02:00
jenkins-bot 7dc412ab5b Merge "Set doesWrites() for SpecialAbuseFilter" 2016-05-11 19:07:40 +00:00
Aaron Schulz a44fcd8265 Set doesWrites() for SpecialAbuseFilter
POSTs might do updates via AbuseFilterViewEdit

Change-Id: I1bea994c5eaf2f7b098ee830cb07d312b3cac776
2016-05-11 10:21:07 -07:00
Translation updater bot 71b2e6ebb4 Localisation updates from https://translatewiki.net.
Change-Id: I0a24c15dae00adf1c75c8d3f9ee8144ea5cbb8c3
2016-05-09 22:11:20 +02:00
Translation updater bot 37d2b7ac92 Localisation updates from https://translatewiki.net.
Change-Id: Ic10182641962e861dd8b88ee8577ab7b6972e5a4
2016-05-08 22:40:30 +02:00
Translation updater bot 76488d9d25 Localisation updates from https://translatewiki.net.
Change-Id: Ibfb115b89ddc475cb235929028c79d7a8dd75117
2016-05-07 10:49:31 +02:00
Aaron Schulz 2807b5883a Avoid duplicate autopromote block key fetches
Bug: T133728
Change-Id: Ia3a955547e8147e92c7ca9782e399f9abd6d3949
2016-05-05 19:14:19 +00:00
Translation updater bot ef7a80ba60 Localisation updates from https://translatewiki.net.
Change-Id: I049aa74cbe28975fa18189f0bb3844894691fe4f
2016-05-04 22:20:53 +02:00
Translation updater bot 3afdff8c62 Localisation updates from https://translatewiki.net.
Change-Id: If84f70a6bc09365f9fc62b25a120d44eb05fe085
2016-05-01 23:13:47 +02:00
jenkins-bot c100e0b0ee Merge "Avoid master queries on page views in loadFilterData()" 2016-04-28 21:57:44 +00:00
Translation updater bot 5dee195c82 Localisation updates from https://translatewiki.net.
Change-Id: I87d11efb7da6542fcc0f7b9062316c9a8b71f310
2016-04-28 23:27:12 +02:00
Aaron Schulz f7367dc970 Avoid master queries on page views in loadFilterData()
Bug: T92357
Change-Id: Ib7928067bc0b7ebd631d8abc96e3c24f81e78414
2016-04-28 13:56:41 -07:00
jenkins-bot 71bb512d93 Merge "Optimize 'rcount()' function" 2016-04-28 09:32:29 +00:00
Translation updater bot 0893543789 Localisation updates from https://translatewiki.net.
Change-Id: I132f929d229399d92171cf3d702d4a08c69755b8
2016-04-27 22:53:24 +02:00
Bartosz Dziewoński 3283e2f7b8 Optimize 'rcount()' function
Starting with PHP 5.4, preg_match_all() allows omitting the '$matches'
argument. This lets PHP avoid computing them, just count the matches.

I'm not sure how various versions of HHVM handle this, so I made it
just test whether this works rather than check version numbers.

Change-Id: Ib27505c8355109c6e6a9f1c4631281a0f0caaa75
2016-04-27 18:01:56 +02:00
Translation updater bot 4232077625 Localisation updates from https://translatewiki.net.
Change-Id: Ie96677c7ce40ac94f463ebdd8cf63f2bc3d6c267
2016-04-26 22:25:11 +02:00
jenkins-bot 7e096abc85 Merge "Optimize 'count()' function" 2016-04-25 22:31:52 +00:00
jenkins-bot 5c296ab6a6 Merge "Convert Special:AbuseLog to HTMLForm from XML Form" 2016-04-23 15:40:38 +00:00
Translation updater bot 6246c561c2 Localisation updates from https://translatewiki.net.
Change-Id: I06106535cc027dbdd36189d7bb4a41ee1c841e63
2016-04-22 22:20:19 +02:00
Translation updater bot 45bcef1964 Localisation updates from https://translatewiki.net.
Change-Id: Id53848d81a4e60668b20ba47f8c8373957d5e364
2016-04-20 23:07:29 +02:00
Translation updater bot 82d3a325d1 Localisation updates from https://translatewiki.net.
Change-Id: I60e3bad3e01dac38286eeb7a0c5cfd306a739dcf
2016-04-19 22:17:03 +02:00
tonythomas01 b04da51af9 Convert Special:AbuseLog to HTMLForm from XML Form
Changes after this conversion:
* order of the fields changed slightly from the original ( User,
Filter, Title ) to ( User, Title, Filter )
* $this->mSearchUser is set as the Default value of 'user'
field, making the value from the request show up there even if
its value was invalid. Earlier, it should show up 'null' due to
loadParameters() validation checks.

Bug: T132287
Change-Id: I614cd9b962b7b672e43dd35b14700c72f3425c1f
2016-04-20 00:12:31 +05:30
Translation updater bot b7badebbfc Localisation updates from https://translatewiki.net.
Change-Id: Ic1e9e77d04d430b02e0a1969dcf2008fa38e9404
2016-04-18 22:18:48 +02:00
jenkins-bot c8a1e9fa49 Merge "Convert Special:AbuseFilter/import to HTMLForm" 2016-04-18 18:22:55 +00:00
jenkins-bot f4522444c4 Merge "Convert Special:AbuseFilter/history to HTMLForm" 2016-04-18 18:22:52 +00:00
tonythomas01 53b377a6d3 Convert Special:AbuseFilter/import to HTMLForm
Bug: T132284
Change-Id: Ife1ed3af19a4b4b506948763e4d92efc3a14a5bf
2016-04-18 23:07:31 +05:30
jenkins-bot 30534924c4 Merge "Convert Special:AbuseFilter/examine to HTMLForm" 2016-04-18 17:25:23 +00:00
jenkins-bot 5d01b30833 Merge "Add some tests for behavior of 'count()' function" 2016-04-18 08:05:38 +00:00
Translation updater bot 63a7379bf8 Localisation updates from https://translatewiki.net.
Change-Id: Ib128af567e4ec9ea73fb94df556a410252d4c16d
2016-04-17 22:13:07 +02:00
tonythomas01 b21d6a22b1 Convert Special:AbuseFilter/examine to HTMLForm
Bug: T132284
Change-Id: Ie8bc13fd8602d94f53e574efb00f9908f0029ffd
2016-04-17 13:44:04 +05:30
Bartosz Dziewoński 5fc30112c7 Optimize 'count()' function
substr_count() is just as fast as looped strpos() when there are no
matches, and gets faster as the number of matches increases.

Note that this introduces a small change in behavior when the needle
is composed of repeated substrings, e.g. 'asdasdasd' or 'aa', and
haystack is such that the needle can be matched in overlapping
positions, e.g. 'asdasdasdasd' or 'aaaaa'. The old implementation
counted overlapping matches, the new one doesn't. I don't think this
behavior was intentional and I don't think this change will cause any
real problems.

Change-Id: Icc905ca34bf08d63e969787a5e3c119d498bf878
2016-04-17 08:32:27 +02:00
Bartosz Dziewoński 7d83540527 Add some tests for behavior of 'count()' function
Change-Id: I29a6c91d0780dc9a1eaee6d29d3b1f9c9c708df7
2016-04-17 08:18:29 +02:00
tonythomas01 3b6ca98c6e Convert Special:AbuseFilter/history to HTMLForm
Bug: T132284
Change-Id: I14b98e92fa9e5ad2401c046bbaacd4a98daa5cc0
2016-04-17 10:57:08 +05:30