Commit graph

3313 commits

Author SHA1 Message Date
Brad Jorsch c3be1ce87f Value for ApiResult::META_BC_BOOLS must be an array
Bug: T149279
Change-Id: I140ea6b299d263d3fbb2bdd87d88f2744e9c63cf
(cherry picked from commit b31d903900)
2016-10-27 18:09:09 +00:00
Translation updater bot 9efd70133f Localisation updates from https://translatewiki.net.
Change-Id: Ib922ffe6167d4ec44e817bd24cdeecf222788983
2016-10-25 22:55:06 +02:00
Chad Horohoe b0da14a75f Whoops, track not trace
Change-Id: Iafb7c06ef7f9ab03fa345548c3f9411dca76cbc1
2016-10-24 17:01:30 -07:00
Chad Horohoe dbb1404f8e Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I888e49f0305724fa3a87a97cf92547a7222b732a
2016-10-24 16:37:02 -07:00
Translation updater bot ec978b749f Localisation updates from https://translatewiki.net.
Change-Id: Ibc1a382d2f9362487106baee4dac91e7f8f34190
2016-10-22 22:40:21 +02:00
Translation updater bot a0f525b0c4 Localisation updates from https://translatewiki.net.
Change-Id: Ib63ad652e2136f0ba9cc125ee71a4ec034e04e94
2016-10-21 22:28:14 +02:00
Translation updater bot f91a0ebc36 Localisation updates from https://translatewiki.net.
Change-Id: I65eb35d4e9f6ed36709e8f139acea1a94f769ee4
2016-10-20 23:43:45 +02:00
Translation updater bot 818ac6dff8 Localisation updates from https://translatewiki.net.
Change-Id: Ibd9c9a847055f67b461beea4bf840a138a94fccc
2016-10-19 23:22:26 +02:00
Translation updater bot 9be0e00b0f Localisation updates from https://translatewiki.net.
Change-Id: I19a95ae0f4f28f7b2bde04f8c210d500ce816a65
2016-10-18 22:31:12 +02:00
Translation updater bot fca690cd15 Localisation updates from https://translatewiki.net.
Change-Id: Ibda6fdafa380bb106f1ab0b3b8b6910ae9b4576f
2016-10-15 22:53:16 +02:00
Translation updater bot 708bc16046 Localisation updates from https://translatewiki.net.
Change-Id: I8f3c5df0e5b3ca0a3852a96a0e7094399be4d043
2016-10-13 22:41:59 +02:00
jenkins-bot adeb9e9247 Merge "Clean up ObjectCache calls" 2016-10-11 21:45:32 +00:00
Aaron Schulz 0309113bd9 Clean up ObjectCache calls
Change-Id: Idfef24864a9a33417d755ca14ff3ecbce02817c8
2016-10-11 14:35:26 -07:00
Translation updater bot 19dd9b1529 Localisation updates from https://translatewiki.net.
Change-Id: Iccd4e19f33e1d369e8ae0d630f93517b125e6c85
2016-10-11 22:40:04 +02:00
Translation updater bot 59d2ae0ae4 Localisation updates from https://translatewiki.net.
Change-Id: I1820f8fc47d08498bf048deb8c01f380dd084ae1
2016-10-10 22:24:22 +02:00
Translation updater bot 80730f7714 Localisation updates from https://translatewiki.net.
Change-Id: I0726bf9323a6db2395714a642b3d2f7bfa010a0f
2016-10-09 22:41:28 +02:00
Paladox 2beb56348c Replace ArticleSaveComplete hook usage
Bug: T147390
Change-Id: Id0fb48d867d7a7542f589deed90bae8195daa556
2016-10-09 17:27:54 +00:00
Reedy 4c0a47db29 Replace Article::prepareTextForEdit()
Bug: T146166
Change-Id: Id4ff371ab73ee0c4138912036887d0842fbbb8b4
2016-10-07 00:14:50 +00:00
Translation updater bot 811d322c9c Localisation updates from https://translatewiki.net.
Change-Id: I4d4fe88816537e2f4a6816ca45d2dab09a7f1a18
2016-10-05 22:36:59 +02:00
Translation updater bot 5e5bf92cbd Localisation updates from https://translatewiki.net.
Change-Id: I28260925ce0ebc0fff15fd028fda77fa2c63fa54
2016-10-04 22:32:18 +02:00
jenkins-bot b3b9c75316 Merge "Modify "abusefilter-log-name" to use lowercase in "filter"" 2016-10-02 09:20:07 +00:00
Translation updater bot 38bccce0b6 Localisation updates from https://translatewiki.net.
Change-Id: I6f58b4a72628e7d0217b328b91f564e528fd71c9
2016-10-02 10:33:31 +02:00
Translation updater bot ee40e5279e Localisation updates from https://translatewiki.net.
Change-Id: Idb315f3d704f77321aac93c49c28ed6342e119f9
2016-09-29 22:57:13 +02:00
Aaron Schulz 5d99e72ae2 Use newer form of getLocalServerInstance() fallback
Change-Id: Id4bb30fcec0a43bb22c2c043f4bb82acf035d439
2016-09-28 18:22:42 -07:00
Translation updater bot 539d511dea Localisation updates from https://translatewiki.net.
Change-Id: Ic7de312dafd1931d667f16106180d9869f909a4e
2016-09-28 22:21:21 +02:00
jenkins-bot cb58215838 Merge "Use RecentChange::addTags rather than ChangeTags::addTags" 2016-09-28 02:14:02 +00:00
jenkins-bot f56c2ee2b6 Merge "Lower stash logging to debug()" 2016-09-27 19:21:53 +00:00
cenarium 782a25937e Use RecentChange::addTags rather than ChangeTags::addTags
To avoid consecutive DB writes on changetag table.
See I8df2fd983c12632337e8d2922fa357808482338c

Change-Id: Id168581956001902f1c02727a6692f5d65b262e9
2016-09-27 17:12:16 +02:00
Aaron Schulz 4daa66c68c Lower stash logging to debug()
Bug: T146697
Change-Id: I480b491d788e2ce970238c103b2ff05167312513
2016-09-26 22:21:37 +00:00
Translation updater bot 6516b13837 Localisation updates from https://translatewiki.net.
Change-Id: Ia7c559c3923a2b151dc0ee266c500b7f51708da1
2016-09-26 22:34:57 +02:00
Translation updater bot e0a99b976a Localisation updates from https://translatewiki.net.
Change-Id: I790139e85bf089a617a82fd250ef39885e69124d
2016-09-25 22:20:09 +02:00
Victor Vasiliev aa399da279 Implement a tree-caching abuse filter parser
This filter is fully functional.  The old filter is still enabled by
default for a transitional period in case the new one suddenly has
issues.

Change-Id: I4aea5f00c62420108030e60e79d5bf34e913e95d
2016-09-24 02:53:26 +00:00
jenkins-bot 959077f03f Merge "Avoid global state in ContributionsToolLinks if possible" 2016-09-23 16:20:13 +00:00
Translation updater bot 23cf151ef9 Localisation updates from https://translatewiki.net.
Change-Id: Ib4bc4523a44f74ccc1fdf859dbf8e652aa28b4a6
2016-09-22 23:32:39 +02:00
jenkins-bot 958de0a18a Merge "Remove pre-1.25 API compatibility code" 2016-09-20 21:00:41 +00:00
Translation updater bot 21214b9fe7 Localisation updates from https://translatewiki.net.
Change-Id: I95c4cbc9d461312c30f6995f37274990b200aceb
2016-09-20 22:36:54 +02:00
Brad Jorsch 3aa76b0f5f Remove pre-1.25 API compatibility code
Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.

Change-Id: I6f968be3b7ef7cbc7193c8e103beb36ecf9c7b60
2016-09-20 15:31:58 -04:00
Translation updater bot ebd398b4d6 Localisation updates from https://translatewiki.net.
Change-Id: I82d7defe385eec505d299f9e40b857df2b4bf76a
2016-09-19 22:49:01 +02:00
MarcoAurelio 32d30c8cee Modify "abusefilter-log-name" to use lowercase in "filter"
Bug: T144702
Change-Id: I5802a7eceb00d4e8629e6c1f659c6c206a2c28f5
2016-09-19 09:26:18 +00:00
jenkins-bot 4ef65985fe Merge "Allow filtering content model changes" 2016-09-17 22:23:21 +00:00
Translation updater bot 33bc497c1e Localisation updates from https://translatewiki.net.
Change-Id: Iabf50a6c85b849824160b5c693f7889edb1b3205
2016-09-17 23:14:25 +02:00
Kunal Mehta 9eb50de025 Avoid wfMessage() in AbuseFilter::buildVarDumpTable()
Change-Id: I3377623e6ba7f4c203de69d25f677162d6e61e65
2016-09-17 00:27:38 -07:00
Kunal Mehta 06dc4510cc Avoid global state in ContributionsToolLinks if possible
Change-Id: I4fe92ae6947de798d7e7c7dfa8e3b44b5bfa5a1c
2016-09-15 15:36:59 -07:00
Translation updater bot c2862dac76 Localisation updates from https://translatewiki.net.
Change-Id: I800cb48f64f9246328657b8d8bda5484fec29667
2016-09-15 22:56:08 +02:00
jenkins-bot 337cf90303 Merge "Fix documentation of AbuseFilter::filterEdit()" 2016-09-15 20:11:54 +00:00
Translation updater bot d60a9a87ff Localisation updates from https://translatewiki.net.
Change-Id: I33935634016ffaf85a9699d9423dde5f59a2cca3
2016-09-14 22:32:11 +02:00
Translation updater bot a258766446 Localisation updates from https://translatewiki.net.
Change-Id: Idb616cb6ec2cf8dbff016b06d15653bf1c61be09
2016-09-13 22:45:48 +02:00
Kunal Mehta 1e550ddda9 Allow filtering content model changes
This adds the new_content_model and old_content_model variables. The
latter will be an empty string upon page creation when there is no old
revision.

This also required adjusting the null edit detection to not treat
content model changes as null, as well as some other internal
refactoring.

Bug: T145489
Change-Id: I7c3385056751421ba22efb7d8d064981420e8819
2016-09-13 01:40:21 -07:00
Kunal Mehta c1b2420dfb Fix documentation of AbuseFilter::filterEdit()
$content will always be a Content object, the only caller is the
EditFilterMergedContent hook, which always passes one.

Change-Id: Ic6356c51ec48084c27ce046b78d2380e723cd4b0
2016-09-13 00:44:34 -07:00
jenkins-bot 6c08f193cb Merge "Add basic AbuseFilter reading rights for OAuth" 2016-09-06 14:14:05 +00:00