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
Translation updater bot
206b6f8692
Localisation updates from https://translatewiki.net .
...
Change-Id: I9017082e3582058ca94d14309386d4031ff2c091
2015-11-26 22:04:14 +01:00
Antoine Musso
8636b3708b
composer test entry point
...
Just run php lint for now.
Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 22:00:42 +01:00
Translation updater bot
94192701d7
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b9a068958377e1c4e1d3e0f06c754eabf340a47
2015-11-22 20:47:00 +01:00
Translation updater bot
478e308323
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie8048a04b9fa696f5fdedb8baff32342e1ab0ef9
2015-11-16 22:17:48 +01:00
Translation updater bot
2d8f7e4abf
Localisation updates from https://translatewiki.net .
...
Change-Id: I054d7a68d8dc0d53686e10247b2f79c2d966db4d
2015-11-03 21:53:22 +01:00
Translation updater bot
4bae423bfd
Localisation updates from https://translatewiki.net .
...
Change-Id: I72d70f9fd0eb60842ac7f1a3753a1aff217e0ba8
2015-10-23 21:46:06 +02:00
Translation updater bot
f977ff64a5
Localisation updates from https://translatewiki.net .
...
Change-Id: I3eb28222a423a91adb641f3a255a4b76dcc9e14f
2015-10-15 09:51:21 +02:00
Translation updater bot
7057e1a4dd
Localisation updates from https://translatewiki.net .
...
Change-Id: Icef6da49259397796142f50193b1ea8659aef5dc
2015-10-14 21:56:11 +02:00
Kunal Mehta
fb3d2649ac
build: Updating development dependencies
...
* grunt-banana-checker: 0.2.2 → 0.4.0
Change-Id: Icc2d835b369a2d790f93e36bc7b6b435d43d4484
2015-10-11 11:59:28 -04:00
Translation updater bot
172d3ef901
Localisation updates from https://translatewiki.net .
...
Change-Id: I017a78bdf66d1ac4b6f1d7be067eb348be4f4f91
2015-10-10 22:43:40 +02:00
Translation updater bot
eb5ffcdff2
Localisation updates from https://translatewiki.net .
...
Change-Id: I3f4be9866155999162369f56637a8580151779ac
2015-10-09 22:34:19 +02:00
jenkins-bot
e62797877a
Merge "Update getWithSetCallback() callers to the newer signature"
2015-10-08 15:51:16 +00:00
Aaron Schulz
bc34d32d50
Update getWithSetCallback() callers to the newer signature
...
Change-Id: I7f1290195e1a4be074703537b9384646d068b487
2015-10-07 19:19:08 -07:00
Translation updater bot
fa9f19c537
Localisation updates from https://translatewiki.net .
...
Change-Id: Iac7846bf1c39ead60200a262aa0219a4fd11da6a
2015-10-01 21:44:13 +02:00