Commit graph

4183 commits

Author SHA1 Message Date
Translation updater bot 1401b1d2b1 Localisation updates from https://translatewiki.net.
Change-Id: I2c1805978a407526a7937ed2347f1a824fb5a26e
2017-09-12 22:23:02 +02:00
Translation updater bot dce1182ec1 Localisation updates from https://translatewiki.net.
Change-Id: Ib4c8f0f08a0b699318c69f109588ecf868146e6b
2017-09-10 22:15:29 +02:00
Dayllan Maza 539884f428 Fix confusing warning message on throtthled filters
A confusing warning message was displayed when filters
have af_throttled = true. That message was replaced with a
new one reflecting the behavior that is actually ocurring and
how to solve it

Bug: T54525
Change-Id: I5c6e434249d5c9649eb2d7c5b16b9ecb1f530c8a
2017-09-10 01:26:24 -03:00
Translation updater bot 092845dcc6 Localisation updates from https://translatewiki.net.
Change-Id: I748a6ba97359241c86d07e2d6a97817622a82226
2017-09-09 22:21:54 +02:00
Translation updater bot 2db8576b50 Localisation updates from https://translatewiki.net.
Change-Id: Ie0c41f2555feaa516afa08667c0108458a74b2e2
2017-09-08 23:50:42 +02:00
Antoine Musso 3efdc518da Select proper db fields in AbuseFilterExaminePager
It queried the 'recentchanges' table with the fields from the 'revision'
table.

Bug: T175338
Change-Id: Ib232e49e3f59285c7f66cdb48c51fe4c97b53e15
2017-09-08 14:41:19 +02:00
Chad Horohoe 3f4ba191f6 Avoid CommentStore errors by selecting correct set of columns
Change-Id: I7d83a45fbf86dc0144d50e8b6258b97f1b0c7188
2017-09-07 17:21:50 -07:00
Translation updater bot e89722ad75 Localisation updates from https://translatewiki.net.
Change-Id: Ib83709630af9326ec42661e0d85805683e8bce94
2017-09-05 22:36:39 +02:00
jenkins-bot f238148fec Merge "Use CommentStore to access core comment fields when available" 2017-09-05 19:02:26 +00:00
Translation updater bot 29989972b3 Localisation updates from https://translatewiki.net.
Change-Id: I5d5c5b8546b060ab00556ee7f4f0e208890a1e16
2017-09-03 08:43:44 +02:00
Matěj Suchánek d59e62a7b2 Get LinkRenderer instance from special page
Just use SpecialPage::getLinkRenderer().

Change-Id: I7c6e839ed8005e666e7c3c1c08dada8aaadbd28f
2017-09-02 19:04:20 +02:00
libraryupgrader 83979aefe7 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.ClassMatchesFilename.WrongCase
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: I6fd7e126ce5e379d7b15f160c63bd4ee680f8678
2017-09-01 04:44:02 +00:00
Brad Jorsch cfa98448c3 Use CommentStore to access core comment fields when available
See core change Ic3a434c0.

Bug: T166732
Change-Id: I130510381ef97d8a2d29686843e2710cb5f72195
2017-08-30 13:27:46 -04:00
Max Semenik 0686f99653 DB_SLAVE -> DB_REPLICA
Change-Id: I371e092b3cd7f0af3770bf4e64b01a630e23ff92
2017-08-29 19:51:39 -07:00
jenkins-bot 13b60c5e35 Merge "Support delete action in retrospective testing" 2017-08-29 18:02:55 +00:00
jenkins-bot d95b5dcb76 Merge "Improve queries for testing on recent changes" 2017-08-29 18:02:54 +00:00
Matěj Suchánek 2c9af794fd Support delete action in retrospective testing
Bug: T170576
Change-Id: Ied9b6446ea5edccd902d6a88b2601b545d4a6910
2017-08-29 17:48:58 +00:00
Translation updater bot a5ae899dce Localisation updates from https://translatewiki.net.
Change-Id: I02eb1dc57bdd54446eac5fc0d91eb3b5abfe7e4a
2017-08-28 11:18:02 +02:00
Translation updater bot 1cca639de8 Localisation updates from https://translatewiki.net.
Change-Id: Ic68d0933cf6f6de93850707d9bbb28232e47b10f
2017-08-26 08:37:46 +02:00
Translation updater bot 4c0839a32b Localisation updates from https://translatewiki.net.
Change-Id: Ia42ad584716cde6f597aef48d1bdbbfbe65ef38e
2017-08-25 09:12:04 +02:00
jenkins-bot 8dc5c6427c Merge "Add runtime metrics to statsd" 2017-08-24 21:08:14 +00:00
Dayllan Maza c07294cc9c Add runtime metrics to statsd
Metrics per edit:
    - Execution time of all filters
    - Number of filters executed
    - Number of conditions executed

Due to the current structure of abuse filter there was not
a clean way to include filter actions and abuselog creation
as part of the runtime metrics.

Bug: T161059
Change-Id: I6208b620453863133c6623aa419775f63c7d3eb1
2017-08-24 15:58:52 -04:00
Matěj Suchánek 174be6dc9c Restore specific submit message on Special:AbuseLog
This line was dropped in Ifad07bac45eadc4ed377967aa4ab3e3b9e14aa8b.

Bug: T173995
Change-Id: I84982620abbda38c86159b3aa7ed408c44d447ad
2017-08-24 09:46:27 +02:00
Translation updater bot 89125d613f Localisation updates from https://translatewiki.net.
Change-Id: I161531fc6c5d8555eb9d2de9d1ccfda57fc22f8c
2017-08-24 09:02:31 +02:00
Translation updater bot dfc032a911 Localisation updates from https://translatewiki.net.
Change-Id: I0ed547c7cd6d8a57aaea170df2aec8304fd3bdd1
2017-08-23 08:56:51 +02:00
Translation updater bot 3ea45518bc Localisation updates from https://translatewiki.net.
Change-Id: Ie9da4c0a6d62c9c630c7b467409cebcb7b3aff1a
2017-08-22 08:32:59 +02:00
Matěj Suchánek 1e5a5539b2 Remove unused message parameters
It should have been deleted in I02ba4ce31b6aca5b7324114093f8ece143abc295
but accidentally survived.

Change-Id: Icdbe8fb0154513d643905f7f8bd6391780cd44a7
2017-08-20 14:48:51 +02:00
Matěj Suchánek 748978fda5 Pass LinkRenderer instance to AbuseFilter::addNavigationLinks
Change-Id: I1de60955344d06e5b55f4d2cfdfa8f2d13df831a
2017-08-20 14:38:40 +02:00
Matěj Suchánek efaae31263 Improve queries for testing on recent changes
- Use rc_source with values that we know we support. In
  particular, this drops categorization changes.
- Filter on rc_log_type and rc_log_action (which itself
  may be shared across types).
- Use the same query on both Special:AbuseFilter/test
  and Special:AbuseFilter/examine.

Bug: T170574
Change-Id: I79b903b4424d3c15095a1e0491d35f6e005db0b8
2017-08-20 14:00:39 +02:00
jenkins-bot dea61f1992 Merge "Convert Special:AbuseFilter/import to OOjs " 2017-08-19 16:43:40 +00:00
jenkins-bot c027884966 Merge "Use json extension for .stylelintrc" 2017-08-19 07:07:55 +00:00
Umherirrender dbd7a04966 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I3720b53efa634dcb5fbe327e8644e67806b4413b
2017-08-19 08:52:42 +02:00
Translation updater bot 03b14ca113 Localisation updates from https://translatewiki.net.
Change-Id: Iafb7ff62b7e4d9a491daf5f04604b38ee45f0b2f
2017-08-19 08:42:42 +02:00
Rendann 8ff80d0134 Convert Special:AbuseFilter/import to OOjs
Based on https://gerrit.wikimedia.org/r/#/c/370150/
Bug: T132284

Change-Id: Iab2a24926c6b547e34f516149ff94953fb0da634
2017-08-18 13:35:30 +00:00
Translation updater bot 948e3b0a0f Localisation updates from https://translatewiki.net.
Change-Id: I4bd05555ef2cc4669b0a862facf7f1b9f74fbbdb
2017-08-17 08:27:48 +02:00
Translation updater bot ca8cb65d95 Localisation updates from https://translatewiki.net.
Change-Id: I40a9c32ed6fc1091f23062df62e66722c7518b7b
2017-08-15 08:23:14 +02:00
jenkins-bot 3318bf1570 Merge "Remove manual implementation of AntiSpoof::equivString" 2017-08-14 23:11:45 +00:00
Dayllan Maza 22a7f6e912 Remove manual implementation of AntiSpoof::equivString
Cleaned ccnorm method to use AntiSpoof::normalizeString instead going
after AntiSpoof extension files and doing a manual implementation of it.
Also removed composer requirement for AntiSpoof extension.

Bug: T172766
Depends-On: I731733671b650b6bb2f480c41c4f6f2d2f5c62e8
Change-Id: Ib38ba0b06918e81e8af03032eef95e3942773bc1
2017-08-14 16:25:25 -04:00
jenkins-bot 391966dec4 Merge "Fix the order of conditions when choosing the correct method" 2017-08-14 20:04:42 +00:00
Rendann 51924f3a92 Convert Special:AbuseLog to OOjs
Bug: T132284
Change-Id: Ifad07bac45eadc4ed377967aa4ab3e3b9e14aa8b
2017-08-14 17:19:28 +02:00
Translation updater bot ac9d7f1c60 Localisation updates from https://translatewiki.net.
Change-Id: I530fd5897e5cf65cadaec301fa3b75181d270096
2017-08-14 08:50:01 +02:00
matejsuchanek 3b29498f21 Migrate abusefilter/modify log
Bug: T32553
Change-Id: I7e33d1064329124755c77ffe6efbd5d572f43cb9
2017-08-12 10:00:42 +02:00
Matěj Suchánek 79c25e5583 Improve documentation of methods
Change-Id: I231d6a3e095324ae1509fdf028bcc352148a0dbe
2017-08-11 23:26:29 +00:00
Translation updater bot 5af838107f Localisation updates from https://translatewiki.net.
Change-Id: I30457756f3849639813a5ea3b43722c7d2e2b0a6
2017-08-11 22:30:36 +02:00
Kunal Mehta 72427ec974 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I26adebde9fcb2894804ab705402d05d9de745cb1
2017-08-10 22:57:33 -04:00
Translation updater bot 1aae096ae2 Localisation updates from https://translatewiki.net.
Change-Id: Id7135a338efb3cd1ffbfbe5c664d36e9fb3533d6
2017-08-10 22:49:56 +02:00
jenkins-bot 3e9efb90f7 Merge "Require MediaWiki 1.29" 2017-08-10 18:06:06 +00:00
NoRandom 389995916c Allow searching for visible-only/hidden-only/both on abuselog entries
Bug: T153065
Change-Id: I44ca86ff8564328ae932ccad9675298b686dc6ab
2017-08-10 11:46:57 +02:00
Matěj Suchánek 55c27a8f6b Require MediaWiki 1.29
After I544cdfa75c7472f2d98b2561bc6f6f9c2d2ad639 (dieWithError
and checkUserRightsAny), this is the oldest MediaWiki version
AbuseFilter can be run on.

AbortMove was removed from MediaWiki in 1.25, UploadVerifyFile
is only relevant for 1.27 and older.

(Replaces I1e962217c3b20d901a5742cf76339a3f488a6e97.)

Change-Id: Iec237b2887f72b115fdcef78d2d7a944ba82c784
2017-08-10 11:01:34 +02:00
Translation updater bot 22df88d94b Localisation updates from https://translatewiki.net.
Change-Id: I96b35bb58688b736fdf1c84773aa355bdab78a56
2017-08-09 22:18:25 +02:00