Translation updater bot
3690acd5ee
Localisation updates from https://translatewiki.net .
...
Change-Id: Iac04e33efa1dedd7886a684e3fde968a31f7c99d
2016-09-13 22:56:27 +02:00
Translation updater bot
e2c93dcdca
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9b52fa31e6e3ef03079aedc71dda8037c39cf9e
2016-09-09 22:58:56 +02:00
jenkins-bot
edf0a0e1ec
Merge "Actually use STASH_TTL constant and bump it to 3 minutes"
2016-09-09 02:58:34 +00:00
Aaron Schulz
18d21ae86a
Actually use STASH_TTL constant and bump it to 3 minutes
...
Change-Id: Ia50296919a5c8bdeb63496397c538f39d43c4d54
2016-09-09 01:22:06 +00:00
Aaron Schulz
f051498dcc
Fix links passed to filter() for stashing to match edit checks
...
Change-Id: I8f1b2c4d3033015de0e9a6d58776fe0ad32c4775
2016-09-08 17:47:09 -07:00
Translation updater bot
f33e163339
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib4789ca0a590e940ac7903819d784c565c1cd4d6
2016-09-04 22:33:07 +02:00
Translation updater bot
5bed99d67f
Localisation updates from https://translatewiki.net .
...
Change-Id: I27e173d90280e52dab121ab4af217aaf8aa24620
2016-08-31 22:38:03 +02:00
Aaron Schulz
2efbca9a6c
Fix bogus stats where stashes counted as misses
...
Also renew stash values if they will expire soon.
Change-Id: I36771f5736f80546aac99409463293c7699fb5de
2016-08-30 06:54:03 +00:00
Matthias Mullie
21de00842b
Add 'message' property to API output
...
Bug: T141492
Change-Id: I357a563397cbc13c1cfbe3cbefb876408021ecb6
2016-08-17 11:53:47 +02:00
Kunal Mehta
fb4dcf5565
Set $wgBlacklistSettings in extension.json
...
So people can actually override it without live hacking...
Change-Id: Id3b18b5b255fa1df321d34c4ce39849e1b545eec
2016-07-28 21:24:14 -07:00
jenkins-bot
b0960c4691
Merge "Filter file uploads"
2016-07-27 22:24:51 +00:00
Matthias Mullie
dee68e3ab1
Filter file uploads
...
Bug: T134453
Change-Id: I140e8fec71e05db9e4625400e9a9dfe9a42d9635
2016-07-22 16:02:50 +02:00
Translation updater bot
51228e20a6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia2b6eed07a49fe6b179c59f20506da1da23a0f15
2016-07-21 23:00:59 +02:00
Translation updater bot
46dac48027
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c39a8c8894da512ffc77d6b01304711127d62b2
2016-07-20 22:42:24 +02:00
Aaron Schulz
1413058be9
Add spamblacklist.check-stash.store metric
...
Change-Id: I7990d7b0681b667015d4db68c0be8234dde4ce28
2016-07-15 06:39:53 -07:00
jenkins-bot
e5227407a8
Merge "Improve use of edit stash hook to check links"
2016-07-10 23:33:02 +00:00
Aaron Schulz
d29aca496a
Improve use of edit stash hook to check links
...
In the common case where no banned links were found, cache this
information to skip the checks on save.
Change-Id: I5f936622bc62d9fc905edaa2a69f52388c047d10
2016-07-10 16:17:51 -07:00
jenkins-bot
2e9ae98b8a
Merge "Fix bugs in Schema:ExternalLinksChange code"
2016-07-06 02:04:41 +00:00
jenkins-bot
12349ce7bc
Merge "Make event logging respect $preventLog in filter()"
2016-06-30 22:04:08 +00:00
Aaron Schulz
5729b7abe4
Make event logging respect $preventLog in filter()
...
Change-Id: Ia97cc1fbb8fdd4cc3fa64adc897fff8e559d0e85
2016-06-30 14:55:24 -07:00
Translation updater bot
55d6b45b73
Localisation updates from https://translatewiki.net .
...
Change-Id: I9339fb480c79b1537500456b76b14e6e94d77b82
2016-06-26 14:21:53 +02:00
Brad Jorsch
93df3ed07a
Use EditFilterMergedContent instead of APIEditBeforeSave hook
...
It was only needed for MediaWiki prior to 1.25
(09a5febb7b024c0b6585141bb05cba13a642f3eb).
We no longer support those versions after
5d882775f6
.
Bug: T137832
Change-Id: I97f6a3c20476f1a42e3fadc701df5870a30c790c
2016-06-23 17:54:09 +00:00
Kunal Mehta
a69fe26b94
Fix bugs in Schema:ExternalLinksChange code
...
* Have SpamBlacklist::doLogging() actually run
* Bump schema ID so userId property is an integer
* Don't try logging URLs that were unable to be parsed
* Make sure path/query/fragment are always strings
Bug: T115119
Change-Id: Ia81037e8939dd547f00e79c169fa84ca0a7b917e
2016-06-22 12:18:11 +02:00
Translation updater bot
539394b588
Localisation updates from https://translatewiki.net .
...
Change-Id: I137ddd03960c85516afc01b636ecc33ff984b2e3
2016-06-19 22:45:30 +02:00
Translation updater bot
0947d6b2f9
Localisation updates from https://translatewiki.net .
...
Change-Id: I91f5a4d65511ffaecdc245b4187b8b964bac3a36
2016-06-15 22:39:12 +02:00
Kunal Mehta
0d9494cc45
Fix file permissions
...
Change-Id: I19de3ded6b17cdde7edce45ba3dee4dccfd29725
2016-06-09 16:18:31 -07:00
Timo Tijhof
19afb10841
Clear the queue when logging is done
...
Follows-up 5910bfd7ba
.
* Remove one-off $domain variable.
* Rename $urlChanges to highlight that urlChanges is a log of changes,
not a list of changes to be applied.
* Rename doEventLogging() to isLoggingEnabled().
Change-Id: Idbd6551502362422beea4d86b912128a43e9c96b
2016-05-23 16:29:21 -07:00
Kaldari
ecb2f3fbfa
Making logging code less fragile and using better function name
...
These changes are in responce to code comments at
https://gerrit.wikimedia.org/r/#/c/263145/4/SpamBlacklist_body.php
Change-Id: I328d7cd473b692c6cdeb170bcc579c9e3154617c
2016-05-23 10:51:45 -07:00
Brad Jorsch
6ee605a088
Use User::newSystemUser when available
...
Change-Id: I0be561ff0a28a728451224239e20f243543c311d
2016-05-13 14:35:41 -04:00
Gergő Tisza
303ba31639
Update for AuthManager
...
Needs I8b52ec8ddf494f23941807638f149f15b5e46b0c to
do anything useful.
Bug: T110467
Change-Id: Ifb6fea581a0d0ae8db46e82b6fa6d25239cf3d8e
2016-05-11 22:32:49 +00:00
jenkins-bot
83b178eee6
Merge "Switching to properly spelled schema to avoid confusion"
2016-05-02 16:00:41 +00:00
Kaldari
deebe10498
Switching to properly spelled schema to avoid confusion
...
Change-Id: I029173d8821394a411b78009c2f63210c0a95df0
2016-05-02 09:50:59 -06:00
jenkins-bot
211e88c042
Merge "Log URL changes to EventLogging if configured"
2016-05-02 15:49:29 +00:00
Translation updater bot
4e468a296a
Localisation updates from https://translatewiki.net .
...
Change-Id: Icfec7946832a989a18f12b0f48bd0c31029308c0
2016-04-26 22:31:54 +02:00
Kunal Mehta
5910bfd7ba
Log URL changes to EventLogging if configured
...
If enabled, changes in URLs on a page will be logged to the
"ExternalLinkChange" schema. To avoid extra lookups, the diff of URLs is
calculated during the filter step of the SpamBlacklist, and stored in
the SpamBlacklist instance state until the post-save hook is called, and
then they are queued to go to EventLogging.
Bug: T115119
Change-Id: I9a5378dca5ab473961f9fe8f7a6d929dc6d32bba
2016-04-25 17:54:48 +02:00
Translation updater bot
ce248026cc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie173c8ea0ff16f1d840b2199829bd65085861fe7
2016-04-24 22:36:58 +02:00
Translation updater bot
80058e463f
Localisation updates from https://translatewiki.net .
...
Change-Id: I8e0c89d6d5290032cb0d375eb6983fd786194e5b
2016-04-21 22:59:40 +02:00
Translation updater bot
415b14b660
Localisation updates from https://translatewiki.net .
...
Change-Id: I159182ea69f3d3492eecdce6781402700f51be65
2016-04-19 22:23:10 +02:00
Translation updater bot
d63412f664
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic2bee49c511e4f5f1f9a0e9a3e9d882540924369
2016-04-17 22:19:08 +02:00
Translation updater bot
a9e719b46c
Localisation updates from https://translatewiki.net .
...
Change-Id: I7ac0d2e7ad4240cdf6c8fd8a2c6c79c3ef45a82d
2016-04-16 23:15:19 +02:00
jenkins-bot
f23753e00d
Merge "Provide missing COPYING file"
2016-04-12 19:39:17 +00:00
Kghbln
ef74d66ae4
Provide missing COPYING file
...
GPL-2.0+ is fine (see T130530)
Bug: T123943
Bug: T130530
Change-Id: I092a104534b3652e34bd9d6439b188685b96df37
2016-04-12 18:53:45 +00:00
Translation updater bot
92cda9c919
Localisation updates from https://translatewiki.net .
...
Change-Id: Id22fea72dc3cc54638c97c721f4b5df7af67fdf1
2016-04-06 23:14:50 +02:00
Translation updater bot
c7d7680ef7
Localisation updates from https://translatewiki.net .
...
Change-Id: I87e6ce876ebc166108bd8d9d669b624f3f104c01
2016-04-05 22:59:51 +02:00
Translation updater bot
260ad5cba3
Localisation updates from https://translatewiki.net .
...
Change-Id: I36ec0aa7fc176e04e371ef071b07649f4f008bf7
2016-03-27 21:24:11 +02:00
Translation updater bot
30745db3ab
Localisation updates from https://translatewiki.net .
...
Change-Id: I689e81bbcf33731edbc2852e811d18d34da0b169
2016-03-01 22:02:25 +01:00
Translation updater bot
2c2f32f2f5
Localisation updates from https://translatewiki.net .
...
Change-Id: I4460afac25f306bb7b9abde0bb3bb52abbaaf329
2016-02-28 21:59:40 +01:00
Translation updater bot
63b42a1094
Localisation updates from https://translatewiki.net .
...
Change-Id: I2b442784ec4c4c60802727d30c459cb489642dff
2016-02-21 22:29:11 +01:00
Aaron Schulz
2acfb30bfc
Pre-cache the link list for external link filters
...
* This works via plugging into ApiStashEdit.
* The query is relatively slow per performance.wikimedia.org/xenon/svgs/daily/2016-02-15.index.svgz.
Change-Id: I0ad5289324b5482db7e2276f58fc1ac140250d47
2016-02-18 14:36:42 +00:00
Translation updater bot
81727140ba
Localisation updates from https://translatewiki.net .
...
Change-Id: I14f8a4b3ef6f126e0ab80d8d38e6f0fcbbe592d7
2016-02-10 21:11:22 +01:00