Commit graph

5431 commits

Author SHA1 Message Date
Daimona Eaytoy 8d25609290 updateVarDumps: move MediaWikiServices away from constructor
Services are not available when the constructor is called. Since it was
used in a single method, replace the property with a local variable.
Pass it as a param, though, so that we have to instantiate the service
only once.

Bug: T213006
Change-Id: I4df27f3d02432c201c04d9fa118f0129b0a79778
2020-04-30 18:01:36 +00:00
Translation updater bot f650e323b4 Localisation updates from https://translatewiki.net.
Change-Id: Id29c3dc2615c14b4ff93793309616d863294e5ae
2020-04-30 08:35:51 +02:00
jenkins-bot b118fd50dc Merge "Improve var dumping in /details, /examine and /tools" 2020-04-29 20:00:54 +00:00
jenkins-bot 9f132d23ac Merge "updateVarDumps: Print orphaned ES records, don't try updating ES records" 2020-04-29 19:50:36 +00:00
Translation updater bot 86e0a28db0 Localisation updates from https://translatewiki.net.
Change-Id: I90356154e1ccdc7e239b807763a4fdd07ee91996
2020-04-29 08:34:26 +02:00
Translation updater bot cb946c8df7 Localisation updates from https://translatewiki.net.
Change-Id: I0cfabd4b48da5f9533e4bc95c9a2efc1339e2dc1
2020-04-28 08:31:13 +02:00
Translation updater bot a474f87b95 Localisation updates from https://translatewiki.net.
Change-Id: If9ad99084281cc75d57c5d24ff5722559f2b5102
2020-04-27 09:01:30 +02:00
Ed Sanders 2af7bc67c7 eslint: Remove unused rules
Change-Id: I306c25c3f604893dea24b542619832a5cd3d1759
2020-04-24 22:21:15 +01:00
Translation updater bot e44654cd0e Localisation updates from https://translatewiki.net.
Change-Id: Ia3a4be0f9c28e4687a7c7c4296dc0fb738aaef69
2020-04-24 08:21:25 +02:00
DannyS712 1b65bd1862 Remove a remaining use of Revision objects
Remove use of Title::getFirstRevision and Revision::getUserText

Bug: T249393
Bug: T250579
Change-Id: I0f77b124a0c7de1dec6baf4c997e0997ecdd55f8
2020-04-23 18:39:20 +00:00
Translation updater bot d49d44681f Localisation updates from https://translatewiki.net.
Change-Id: I45bd7b0bdef69345624a2e64b8d83b271a9c74e2
2020-04-23 08:42:03 +02:00
Translation updater bot b459c5377d Localisation updates from https://translatewiki.net.
Change-Id: I68f5c0df0b6ef6ed84e15971bcb5d5954afd5b32
2020-04-22 08:55:14 +02:00
libraryupgrader 54c9f85e0e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I36af8f746b8b30082faec0ab75194f5c84fee151
2020-04-21 17:38:43 +00:00
Translation updater bot a8b7ca5b3d Localisation updates from https://translatewiki.net.
Change-Id: I624af50c432c244854a8757ffa5e531258bcf0f4
2020-04-21 08:44:26 +02:00
jenkins-bot 8c18399575 Merge "Add new methods for checking DUNDEFINED recursively, use them" 2020-04-20 19:50:22 +00:00
Translation updater bot f46de4ddd3 Localisation updates from https://translatewiki.net.
Change-Id: Ie8d1a6168160a8c63468bd43db6c46d3cfdde91b
2020-04-20 08:39:53 +02:00
libraryupgrader 07f11f8092 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I5c2cb1280d11273205c0e5e417612800f97e7ff0
2020-04-20 02:58:38 +00:00
Daimona Eaytoy 1d6b9f6617 Add new methods for checking DUNDEFINED recursively, use them
The problem is explained at T250570#6068702; basically, the previous
check didn't account for DUNDEFINED nested deep inside arrays.

Bug: T250570
Change-Id: Iacee2db54ca00108de6339bb3dae70af7e2eeb56
2020-04-19 13:58:14 +02:00
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