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
Translation updater bot
19e1c198ac
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic5276d7073feb3c54481269c4f943dfb00ebfd29
2016-02-07 22:21:36 +01:00
Translation updater bot
0c3f891ca5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib23204649d5fd11f28edbbe043573175bafb1358
2016-02-04 22:16:52 +01:00
Translation updater bot
b2b7038b9b
Localisation updates from https://translatewiki.net .
...
Change-Id: I7206941381703d8dc05d1fb085d2359377bc525d
2016-02-03 23:08:53 +01:00
Translation updater bot
22e5e5c7e3
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cc84132b733da3bd5f8d574d27bd54663e7a7cc
2016-01-27 21:44:53 +01:00
victorbarbu
789348941a
Add license information
...
Bug: T123943
Change-Id: I1ca2c82474f56dfde209e462dc6a128625a96f07
2016-01-23 13:37:12 +02:00
Kunal Mehta
eb877c504a
build: Updating development dependencies
...
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2
Change-Id: I806c1ac0cd0ad1b14055a904605febd3fb56b68c
2016-01-05 10:40:48 -08:00
Kunal Mehta
c8d9a9d7e4
build: Updating development dependencies
...
* grunt-jsonlint: 1.0.4 → 1.0.7
Change-Id: I054a4a6b7968788caf24a106c629d7764d7ba161
2015-12-29 11:55:10 -08:00
jenkins-bot
c5be0c1ba4
Merge "PHP 7 compatibility: Fix variable interpolation in BaseBlacklist.php"
2015-12-14 00:29:31 +00:00
Translation updater bot
6c87029288
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia15a5a5df5e8090b5f4d0547bb894f468d158133
2015-12-13 22:22:52 +01:00
Aaron Schulz
806afda7ab
Removed useless begin/commit calls from CLI script
...
Change-Id: I87447b67de7f1f99c5fb3c08d4d07b9ebe061605
2015-12-08 13:56:52 -08:00
umherirrender
bd42360e7a
PHP 7 compatibility: Fix variable interpolation in BaseBlacklist.php
...
Bug: T115254
Change-Id: Ibfb54f573e27f6048c2266cf4cdf06121d86ba9f
2015-12-03 19:41:12 +01:00
Ori Livneh
55ce83b5e3
Don't check edits that don't contain links
...
If neither the edit body nor the edit summary contain any external links, bail
early rather than load and parse the blacklist.
Change-Id: I6863aa9618db4db05561253f7625fbe232222d3a
2015-11-27 20:13:27 -08:00