Commit graph

3211 commits

Author SHA1 Message Date
Brad Jorsch e533af5ced Add $options parameter for testUserForCreation()
In the future this will likely be useful for T136621.

Change-Id: I063cbdfbd9a223bf2391fce2b714ab82ddd3272f
2016-06-16 17:33:42 -04:00
Translation updater bot b019f97e17 Localisation updates from https://translatewiki.net.
Change-Id: I1016795899b854dfa9bc76af7d960939405f7526
2016-06-16 22:24:08 +02:00
Translation updater bot 063ac925a8 Localisation updates from https://translatewiki.net.
Change-Id: If5e72889ddad1d615ac1036a75a817a5a1c50102
2016-06-15 22:31:41 +02:00
Aaron Schulz e91939fb3f Cache AbuseFilter::checkAllFilters during edit stashing
This should improve page save times when manual edit summaries are
not used (and in a few cases, where they are).

Also fix a few annoying IDEA errors with block comments.

Bug: T137698
Depends-On: I2e407a3ac8b74e77bf88b1e34c1519f4dea63b80
Change-Id: I972e9147a5e52a941f478eaf1e96dc3ef8bdfe94
2016-06-14 04:26:14 -07:00
Translation updater bot 76ef672c2f Localisation updates from https://translatewiki.net.
Change-Id: I5b1fb88c1bcac31d51af3943814d1c0713f2d276
2016-06-13 22:53:55 +02:00
Translation updater bot ce38d97fd2 Localisation updates from https://translatewiki.net.
Change-Id: I119dfd2449129ed50cb534ae80498f89fa0bd625
2016-06-12 22:13:40 +02:00
jenkins-bot 8517f8fb47 Merge "Use msg() from Context instead of wfMessage() where possible" 2016-06-12 02:06:47 +00:00
Translation updater bot 84edb79545 Localisation updates from https://translatewiki.net.
Change-Id: I96a83543c93bc473ec323dfaf1e5d12776c84a8f
2016-06-11 22:08:07 +02:00
Translation updater bot ac011b1c4c Localisation updates from https://translatewiki.net.
Change-Id: I3c4e7dc652cbccc1b4c94a0c57d857b636505123
2016-06-10 22:12:36 +02:00
Translation updater bot a4f31e89a3 Localisation updates from https://translatewiki.net.
Change-Id: I5416306dbb554bf5c0617732a184bc1bd479b604
2016-06-09 22:35:34 +02:00
Translation updater bot 81b43c2383 Localisation updates from https://translatewiki.net.
Change-Id: Iadfd251ca976fd27320145910f1e478890e717fd
2016-06-08 22:25:48 +02:00
Translation updater bot 767ae7b4e6 Localisation updates from https://translatewiki.net.
Change-Id: If38a9892fd1118bbb59e8ead91540704ca1ea756
2016-06-07 22:41:10 +02:00
jenkins-bot 7dc45d4c06 Merge "Update for AuthManager" 2016-06-07 14:32:11 +00:00
jenkins-bot be0cd1da32 Merge "Change some globals to work better with extension registration" 2016-06-07 14:32:08 +00:00
jenkins-bot 126b0c61ff Merge "Add extension.json, empty php entry point" 2016-06-07 14:32:05 +00:00
Translation updater bot 0e420c8cde Localisation updates from https://translatewiki.net.
Change-Id: Ideab559df160d3a025f4b552d4dd7a492e495e3b
2016-06-06 22:56:38 +02:00
Gergő Tisza ed5cc1b5fc Update for AuthManager
Repeats I61e4327ef3c7a31b19feef727de7d683f69e260b (which had to be
reverted due to a problem with an ancestor patch) without any
significant change.

Bug: T110448
Bug: T135360
Change-Id: I1688cf9fbcb04bb56d075c9f0876bd0ffeced4f6
2016-06-06 19:54:26 +00:00
Gergő Tisza 6a2627e944 Change some globals to work better with extension registration
Rename $wgAbuseFilterAvailableActions / $wgAbuseFilterRestrictedActions
to $wgAbuseFilterActions / $wgAbuseFilterRestrictions and make
them an associative array instead of a plain one, as that works more
sanely with extension registration. (The renaming helps to give more
useful errors to sites using the old config.)

Change-Id: I790d39c2849922d7daf7479f298cd90cf30af129
2016-06-06 19:53:53 +00:00
matejsuchanek 9f097e59db Add GENDER to abusefilter-revert-preview-item
Change-Id: I4fe0190238fc97409c18678a617a8f6a46d41bab
2016-06-04 15:07:40 +02:00
matejsuchanek 5357665db6 Support GENDER in two more log messages
Change-Id: I92085a291565bd76e3f983da3bb4dfdb253b8007
2016-06-04 14:41:37 +02:00
Translation updater bot e49d13c966 Localisation updates from https://translatewiki.net.
Change-Id: I32278147be32009d2c5b0834d191f3f1a3ebd0fb
2016-06-03 23:13:45 +02:00
Gergő Tisza d527574d2b Add extension.json, empty php entry point
For ease of review this is the same as
Icff39f3f79f7ffe86214cfa216b53f3d882e1968 and the necessary changes
are done in the child patch. Should not be merged without that.

Bug: T87876
Change-Id: Iefd8d34619bbfb7602c4fea869f3f89fdeb9057b
Co-Authored-By: Paladox <thomasmulhall410@yahoo.com>
2016-06-03 19:16:26 +00:00
Gergő Tisza 8cc1aa78bf Revert extension registration and following changes
Reverts:
* e71808f4c4 ("Add extension.json, empty php entry point")
* 8c937957c0 ("Update for AuthManager")

Bug: T136929
Change-Id: Iefc88cb4e981113119f850ca70b9486675bf8a8d
2016-06-03 14:57:55 +00:00
Aaron Schulz 27522a9789 Set doesWrites() for SpecialAbuseLog
Change-Id: I87e1c2852ff1969fb844f66802ca330496c3d58d
2016-06-02 00:10:22 +00:00
Translation updater bot 0bf064edfa Localisation updates from https://translatewiki.net.
Change-Id: I48a4183eeca376c4df060b7d37360c4b42ac76a9
2016-06-01 23:06:16 +02:00
Glaisher f735ec943b Use msg() from Context instead of wfMessage() where possible
Also fix doc.

Change-Id: Ie2ea588280df43bc523021a69e118a6dbb90c223
2016-06-01 17:44:33 +05:00
Translation updater bot 8fc05a6393 Localisation updates from https://translatewiki.net.
Change-Id: I7406af731ea351a42290f1618914406a9cd993a1
2016-05-31 22:39:55 +02:00
jenkins-bot 9a57917be8 Merge "Update for AuthManager" 2016-05-31 16:32:30 +00:00
jenkins-bot 6e4813f7ca Merge "Add extension.json, empty php entry point" 2016-05-31 15:40:32 +00:00
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
Gergő Tisza 8c937957c0 Update for AuthManager
Bug: T110448
Bug: T135360
Change-Id: I61e4327ef3c7a31b19feef727de7d683f69e260b
2016-05-28 18:42:28 +00:00
Gergő Tisza e71808f4c4 Add extension.json, empty php entry point
Bug: T87876
Change-Id: Icff39f3f79f7ffe86214cfa216b53f3d882e1968
2016-05-28 18:42:26 +00: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