Commit graph

5663 commits

Author SHA1 Message Date
Zppix 0bb82023a7 Update Right-abusefilter-modify to: "Create or modify abuse filters"
Bug: T250592
Change-Id: I2567ad06eeec7d605064f74dff28ba44304660f9
2020-04-19 01:04:48 +00:00
jenkins-bot 35294711bd Merge "Cleanup unique keys parameter to IDatabase::replace() calls" 2020-04-18 01:26:35 +00:00
Aaron Schulz 6375287964 Cleanup unique keys parameter to IDatabase::replace() calls
Bug: T248147
Change-Id: Ic355dece67eda323e5c6129ef4d1275c1235fb9a
2020-04-17 15:10:27 -07:00
Translation updater bot 93377d7b6a Localisation updates from https://translatewiki.net.
Change-Id: Ic6bfabab4cec327919df826041a1de0566772ea5
2020-04-17 09:05:45 +02:00
Translation updater bot 5504c819e0 Localisation updates from https://translatewiki.net.
Change-Id: I592cd8278ed955a77a45c7bfd3c157d263f49681
2020-04-15 08:22:13 +02:00
Translation updater bot 0b8a8140a5 Localisation updates from https://translatewiki.net.
Change-Id: Iabee9063cda14e2debce8eb84ac18701add288f5
2020-04-14 08:21:54 +02:00
Translation updater bot 8dc97b372b Localisation updates from https://translatewiki.net.
Change-Id: I7d31f65b5b890025d23ffd7f617e8feea4c3cb1c
2020-04-13 08:55:18 +02:00
Translation updater bot d21a8ee293 Localisation updates from https://translatewiki.net.
Change-Id: I0736ad8660e6019f727fe174ee4549432dc2b97e
2020-04-10 09:50:53 +02:00
Translation updater bot c80602ed26 Localisation updates from https://translatewiki.net.
Change-Id: I99e789c8fe0240b26b1aa3198c027d0ed86b879c
2020-04-09 08:38:13 +02:00
DannyS712 6c947609bb Remove unneeded dependency on 'mediawiki.notify'
The single line of code it contained is part of mediawiki.base as of
MW 1.35, and the extension only supports MW 1.35+

Bug: T233676
Change-Id: I4c63fefcd96f7d56be1caf6b37d4ba598e8bdb45
2020-04-09 02:51:57 +00:00
jenkins-bot a5a4cc15df Merge "Remove references to "abuse_filter_actions" from tests" 2020-04-07 21:35:52 +00:00
Translation updater bot df6362db1d Localisation updates from https://translatewiki.net.
Change-Id: I8b4b832fb98debcace62d1660b49c2ab1ab283d6
2020-04-07 08:33:06 +02:00
Aaron Schulz 904da3d080 Remove references to "abuse_filter_actions" from tests
Change-Id: Idfe61e8f2654ee9953d37ce84a9e10f622b23ca4
2020-04-06 16:06:15 -07:00
jenkins-bot 9430eac6d6 Merge "Localisation updates from https://translatewiki.net." 2020-04-06 07:22:47 +00:00
Translation updater bot 165ce03191 Localisation updates from https://translatewiki.net.
Change-Id: I91093beba2bec08e19518d529e294787a5a73aa2
2020-04-06 09:00:41 +02:00
Translation updater bot d6d019c747 Localisation updates from https://translatewiki.net.
Change-Id: Id4c8c41d4c4558bd0df359f0fe56088b7f44c7a9
2020-04-06 08:17:16 +02:00
Translation updater bot 07198928eb Localisation updates from https://translatewiki.net.
Change-Id: Iad931a3c751976f11b4503559a29a6f4d79571f1
2020-04-03 08:27:36 +02:00
libraryupgrader 99d2c57bf9 build: Updating gonzales-pe to 4.3.0
* https://npmjs.com/advisories/1179

Change-Id: I348359ab95d92b63ca382c93afc60e065d4e91e7
2020-03-30 22:46:07 +00:00
jenkins-bot f8351aaf38 Merge "Localisation updates from https://translatewiki.net." 2020-03-30 07:21:50 +00:00
Translation updater bot 08ba0a1d21 Localisation updates from https://translatewiki.net.
Change-Id: Icf6f7503f8ea8408ad762f43dfaa959258ebc974
2020-03-30 09:11:56 +02:00
Translation updater bot b26148e248 Localisation updates from https://translatewiki.net.
Change-Id: If350a2816544f7b4aad98a281ff91da881962dd5
2020-03-30 08:35:36 +02:00
Daimona Eaytoy 4c98aecf4d Improve var dumping in /details, /examine and /tools
Using var_export for better visual effect, especially for arrays.
The result from /tools is much clearer and the 'wrong syntax' message is
a bit more explicative than before.

Bug: T190653
Bug: T239972
Change-Id: I79a17305c7f19f7900f896f895e9365bb5f2fd58
2020-03-28 17:35:43 +01:00
Timo Tijhof c7653905ad Migrate 'user.tokens' dependency to 'user.options'
The 'user.tokens' module is a deprecated alias to 'user.options'
since MW 1.35.

Bug: T235457
Change-Id: I45e8e35edf4e6f901c2045d2592326e531607726
2020-03-27 16:22:57 +00:00
Translation updater bot ac80a89a8d Localisation updates from https://translatewiki.net.
Change-Id: Ia3885eed31902a9d38f06a4aa3a45ed7edf0cad2
2020-03-25 08:31:31 +01:00
Translation updater bot 73111906f6 Localisation updates from https://translatewiki.net.
Change-Id: I43ad0c46c5e1a6d20c4df7e0d47e5b5fbd0f5568
2020-03-24 08:47:38 +01:00
Translation updater bot d68d29c8ba Localisation updates from https://translatewiki.net.
Change-Id: I5e95b9ee9e464282dd5df3849f03eb615dc70ff2
2020-03-23 09:01:06 +01:00
libraryupgrader fe97727253 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: Icb5adcf627154b1275adb656f793b637d739dd2b
2020-03-21 17:27:40 +00:00
Daimona Eaytoy 4a24c174f2 Fix a test for IPUtils 2.0.0
0.0.0.0/0 is not a valid range.

Bug: T218074
Change-Id: I562fefe66c0b692a99f546ca2d4c833dd508272a
2020-03-21 16:49:44 +00:00
DannyS712 25fd11f7ac Use lowercase for primitive type 'string'
Change-Id: I65d322ffbed399fddb1fbf3cb25272e812171a46
2020-03-20 16:00:05 +00:00
Translation updater bot ffca22b739 Localisation updates from https://translatewiki.net.
Change-Id: If99fe424b76fd2cac32ccad24cc33d2c27b39bb5
2020-03-20 08:23:02 +01:00
jenkins-bot eca42bfe0b Merge "Replace usage of deprecated Page in favor of WikiPage/Article" 2020-03-19 10:18:22 +00:00
jenkins-bot 6b30aa60af Merge "Pass a user to WikiPage::doDeleteArticleReal, use new signature" 2020-03-19 10:17:30 +00:00
Translation updater bot 19a5d061d8 Localisation updates from https://translatewiki.net.
Change-Id: Ic853c189f84f14e54b318fe2e884f5068486d6f9
2020-03-19 08:31:43 +01:00
ArtBaltai 096fe88993 Replace usage of deprecated Page in favor of WikiPage/Article
Use Article instead object/Page
delete deprecated unused method

Bug: T239975
Change-Id: Ic3c8e3bee66c63177f51621bf727029a87b51105
2020-03-19 04:03:15 +03:00
DannyS712 57f85ed532 Pass a user to WikiPage::doDeleteArticleReal, use new signature
Don't need to worry about supporting prior versions, since AbuseFilter
requires 1.35+

Bug: T247869
Change-Id: I112e929dcdd9edcf3ca433b75356659a3179bbcd
2020-03-19 00:44:57 +00:00
Translation updater bot 726ac57f0d Localisation updates from https://translatewiki.net.
Change-Id: If309bf8448b80a51f5a5c0a5a790ebc1389e0cc6
2020-03-18 08:56:18 +01:00
libraryupgrader be0605b580 build: Updating npm dependencies
* minimist: 0.0.8 → 1.2.5
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: If688e466c9743db5b1c84afa8f4534a775f0acd4
2020-03-17 17:41:36 +00:00
Translation updater bot 1d47e1046f Localisation updates from https://translatewiki.net.
Change-Id: I42ffe1ea65d27d27fbd60f973dde67296c1f8fc5
2020-03-17 10:22:45 +01:00
Translation updater bot 896c8e78b3 Localisation updates from https://translatewiki.net.
Change-Id: I317c72dea4276b294471d27b9085337b92a52d22
2020-03-16 14:28:58 +01:00
Daimona Eaytoy 11f5790eb7 updateVarDumps: Print orphaned ES records, don't try updating ES records
Following discussion at T246938, just append data in the ES. Add a flag
to print what records will be orphaned (for manual cleanup, if needed).

Bug: T213006
Bug: T246539
Change-Id: I39bca2f07905cbf89e1906d60a568252b4729c98
2020-03-12 15:09:59 +01:00
Translation updater bot c006309299 Localisation updates from https://translatewiki.net.
Change-Id: I86271c716fc0cd653a507cbb8f0737e8735ea9ae
2020-03-12 08:41:13 +01:00
Translation updater bot fa8ecc5f57 Localisation updates from https://translatewiki.net.
Change-Id: If1f1d663cfb680379f07536fd1619c8b3960b887
2020-03-11 08:28:48 +01:00
Translation updater bot bba12b3330 Localisation updates from https://translatewiki.net.
Change-Id: Ifabe7e2c85eea32bffd956aa019c19594223aee5
2020-03-10 08:14:12 +01:00
Translation updater bot cc32a2638c Localisation updates from https://translatewiki.net.
Change-Id: Id2192a3a8f15964cf59e7d82ccec8d7b3880b522
2020-03-09 08:55:17 +01:00
libraryupgrader 0dbce79725 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I091c3baef48d81216f85fc3868fd7952e5f61b3e
2020-03-08 19:56:25 +00:00
Translation updater bot bac76a478e Localisation updates from https://translatewiki.net.
Change-Id: Idd71ce2055db933fa0334d3dfff1daff299e6dc5
2020-03-06 08:17:08 +01:00
Translation updater bot 3890863a08 Localisation updates from https://translatewiki.net.
Change-Id: I484a618e9c7b8dc85ae94fa550a873ef6150fa98
2020-03-05 08:36:49 +01:00
Translation updater bot 593dea9c65 Localisation updates from https://translatewiki.net.
Change-Id: Ia89a23cbbe5cd83c600ea41b4ff0f7ea1f37d986
2020-03-04 08:19:00 +01:00
Daimona Eaytoy cd1a8efb90 Minor fixes for the updateVarDumps script
- Increase batch size to 500
- Add an option to print progress markers
- Fix some bad logic which caused some JSONified data to be stored in
the text table without checking (and respecting) old_flags. This caused
some errors on the beta cluster.

Additionally, add a return typehint to AbuseFilter::loadVarDump to make
sure that errors are caught asap. Not only there's no apparent way that
loadVarDump can return an array, but most code is already using the
result as a VariableHolder, unconditionally. This is probably another
leftover from the past.

Bug: T213006
Bug: T246539
Change-Id: Iaebd28badb70d27693fa809cad4db956881e3e5e
2020-03-03 18:31:52 +00:00
Translation updater bot a1d7945f4f Localisation updates from https://translatewiki.net.
Change-Id: Id46b670a3484c63928a2b4c83ef2c2b45e261cd3
2020-03-03 08:13:19 +01:00