Translation updater bot
f268434c26
Localisation updates from https://translatewiki.net .
...
Change-Id: I1516f25f35f2735ddee640a4ecb1d74a0c7e0412
2016-07-01 23:15:32 +02:00
Aaron Schulz
f3ac71de38
Fix $filters and $tagsToSet static variable handling
...
* Make $filters act as a proper process cache with
lazy-loading and renamed it to $filterCache.
This avoids warnings that appeared in e91939fb3f
.
* Make sure tags are applied on stash hits by storing
and reloading the static variable.
* Only check the cache for "edit" actions to avoid
filling the statsd and logging data with noise.
* Remove some unused class variables.
Bug: T138529
Change-Id: I8230fef0ad0db7ae63086470189204e319382cca
2016-06-30 00:50:34 +00:00
Aaron Schulz
9fed0a2b76
Avoid using computed variables to determine stash keys
...
These variables are not used as "inputs" and are expensive to
compute (the main reason for caching to begin with).
Bug: T138550
Change-Id: I75849ca8eab941f75ebb82313d07d946bc095ae9
2016-06-28 21:17:45 +00:00
Translation updater bot
a508a1343a
Merge "Localisation updates from https://translatewiki.net ."
2016-06-27 21:11:44 +00:00
Translation updater bot
563d5dc129
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf34a50e1880499c9d8c35e620151de08fef2fbe
2016-06-27 23:00:20 +02:00
Aaron Schulz
4091c87bad
Remove "minor_edit" variable
...
This is almost never used and greatly complicates edit stash hooks.
It now always set to false.
Change-Id: I7f13773766e12f3d4b86451fdf3ae23e067ac373
2016-06-27 13:07:14 -07:00
Aaron Schulz
6af0857c55
Move the filter pre-caching outside of the DB lock
...
Edits should not wait on this to finish, especially since it does
both the minor and non-minor edit cases, only one of which actually
being useful. If the cache is there in time and there is no edit
summary it will be used; if not, there probably no reason to wait.
Bug: T138550
Change-Id: Ifc3b97ddf4dbb94f8ec3eacfcd5c8994c69aafbc
2016-06-27 11:30:29 -07:00
Translation updater bot
5a3ea2351e
Localisation updates from https://translatewiki.net .
...
Change-Id: I289636491c0796efb72ae15f0474e185843b0493
2016-06-26 14:10:49 +02:00
Translation updater bot
9996c10349
Localisation updates from https://translatewiki.net .
...
Change-Id: Idfe526e6b04c8a15296ed05625f33f37ce64791f
2016-06-26 11:48:30 +02:00
jenkins-bot
9bc9f058f2
Merge "Add GENDER to abusefilter-revert-preview-item"
2016-06-25 15:31:41 +00:00
jenkins-bot
0bfa856cc2
Merge "Support GENDER in two more log messages"
2016-06-25 15:31:38 +00:00
Translation updater bot
4f1467b0bf
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife6444d2a78b3fccbec7b89561962f001f65b518
2016-06-25 14:48:30 +02:00
Translation updater bot
cd999f65ab
Localisation updates from https://translatewiki.net .
...
Change-Id: Iebbd99d38f6ef615216161bf865eaa4d5ce91399
2016-06-24 11:06:19 +02:00
jenkins-bot
0fb0477838
Merge "Minor code quality tweaks"
2016-06-23 13:39:14 +00:00
jenkins-bot
3431c84e6a
Merge "Remove backwards-compatibility code using APIEditBeforeSave hook"
2016-06-23 13:39:11 +00:00
Translation updater bot
76b95a87e5
Localisation updates from https://translatewiki.net .
...
Change-Id: I2ec388d6d139e0144cc549303f504900aee73484
2016-06-21 23:26:05 +02:00
Translation updater bot
713b152911
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia3e2ff640fb17d227201d4224296e5d659e5db26
2016-06-20 22:17:38 +02:00
jenkins-bot
d140ae4163
Merge "Add $options parameter for testUserForCreation()"
2016-06-20 17:30:05 +00:00
Bartosz Dziewoński
b053963b87
Minor code quality tweaks
...
Change-Id: If34e763e7cc82917c8611ec638972d20f559a601
2016-06-20 19:10:57 +02:00
Translation updater bot
4f03d59e55
Localisation updates from https://translatewiki.net .
...
Change-Id: I11ae4f6add99398817dcbbb32a8d4a7472bb90d0
2016-06-19 22:40:52 +02:00
Translation updater bot
1e848910cb
Localisation updates from https://translatewiki.net .
...
Change-Id: I3d6d70b7b432df38ebbca1557acc01da5e5f7a1d
2016-06-18 22:42:33 +02:00
Bartosz Dziewoński
c03ac953ad
Remove backwards-compatibility code using APIEditBeforeSave hook
...
It was only needed for MediaWiki prior to 1.25
(09a5febb7b024c0b6585141bb05cba13a642f3eb).
We no longer support those versions after
d527574d2b
.
Bug: T137832
Change-Id: I9d0b7e7713c805ebc7bf59f55456e69c6491e265
2016-06-17 01:45:29 +02:00
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