Commit graph

3651 commits

Author SHA1 Message Date
jenkins-bot f93f0d4bfb Merge "Add ccnorm_contains_any function" 2017-10-06 20:06:18 +00:00
Dayllan Maza 2bc8873c30 Add ccnorm_contains_any function
Normalize and search a string for multiple substrings

Bug: T65242
Change-Id: I4034c0054a6849babbf2d96ea13dc97d3660d5b4
2017-10-06 11:32:45 -04:00
Translation updater bot 708f30da6d Localisation updates from https://translatewiki.net.
Change-Id: I8513026b600bf328d2503f2030113d966cd8aea4
2017-10-05 22:27:30 +02:00
Translation updater bot e89763aa6a Localisation updates from https://translatewiki.net.
Change-Id: I9a93cee6e97887aca02b6ce89e1c89f0db021486
2017-10-04 22:27:35 +02:00
Translation updater bot 00f0bdf939 Localisation updates from https://translatewiki.net.
Change-Id: I9cb4e4540f9deff88e40b947a4a4870a16662327
2017-10-03 22:36:35 +02:00
Translation updater bot 8dd6a1e138 Localisation updates from https://translatewiki.net.
Change-Id: Ie51f6240a2fc0701aa6a6a9749f450e4a1cfee1b
2017-10-02 22:39:49 +02:00
Translation updater bot f9bbb42498 Localisation updates from https://translatewiki.net.
Change-Id: If9b9ec79b843c0d4eb75133987c686baa84005f9
2017-10-01 22:17:16 +02:00
Translation updater bot b4be0b38d5 Localisation updates from https://translatewiki.net.
Change-Id: Icc0106bff319c0e158aba99e25224396291e7e36
2017-09-30 22:29:11 +02:00
Translation updater bot 23c27a85cc Localisation updates from https://translatewiki.net.
Change-Id: I290f812205102e612220ea9695b05f8d6a3a6b7c
2017-09-28 22:20:45 +02:00
Translation updater bot 8301216ead Localisation updates from https://translatewiki.net.
Change-Id: Ic6114e700f12da7d96ea1f8fd241ba3b2d084494
2017-09-26 22:27:38 +02:00
Translation updater bot a295890b6b Localisation updates from https://translatewiki.net.
Change-Id: Ia133f6182e6b8063b8e30c9b7d49230834b79f34
2017-09-25 22:24:00 +02:00
Translation updater bot b70336ccbc Localisation updates from https://translatewiki.net.
Change-Id: I51b0d43a0b6cb55865420abeb37d050c63983e21
2017-09-24 22:27:48 +02:00
libraryupgrader 781f6c2554 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
The following sniffs are failing and were disabled:
* MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle

Change-Id: I7163cd8f97a7d2fe5b4410245a72eb416302f4f6
2017-09-24 05:19:01 +00:00
Translation updater bot 0ae0cbb7f6 Localisation updates from https://translatewiki.net.
Change-Id: I68290aa0e5f117c685db49a8bf30ed7da3bc60bb
2017-09-20 22:35:33 +02:00
Translation updater bot 9382c24934 Localisation updates from https://translatewiki.net.
Change-Id: I4b4a2779ef8e3f45e6b2b216e42a1cd3995d1a82
2017-09-19 22:41:58 +02:00
Translation updater bot 442aac0dfd Localisation updates from https://translatewiki.net.
Change-Id: I61bd476952e560df0e54e8cfb28c96a5a38dc2cb
2017-09-16 22:35:09 +02:00
Translation updater bot 45ecc00211 Localisation updates from https://translatewiki.net.
Change-Id: I00ed08571490da417099847f3b8ccb7a209f006d
2017-09-15 22:21:41 +02:00
jenkins-bot f00de10b24 Merge "Fix confusing warning message on throtthled filters" 2017-09-14 21:10:47 +00:00
Translation updater bot 0beae7453a Localisation updates from https://translatewiki.net.
Change-Id: Iaf6345f38a6e69cc51c8cb4d3f1706e556b77aa2
2017-09-14 23:06:04 +02:00
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 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