Commit graph

5461 commits

Author SHA1 Message Date
Umherirrender 82f549bed9 Do not abuse RCDatabaseLogEntry
When using RecentChange::getQueryInfo() it should be used to instance a
RecentChange class
RCDatabaseLogEntry is only useful in context of LogFormatter

This is a breaking change for the hook variable,
but "RC entry" refers more to the RecentChange class than to the
RCDatabaseLogEntry class

Change-Id: I3af1e42594f8235be815ce38e3411c762ae01092
2020-06-04 21:28:23 +00:00
Daimona Eaytoy 61efc9ad87 runner: Move the filtered action to a class prop
Change-Id: I4d7666f5e2a5df0e0ed8d38855cbd32c8518a28f
2020-05-28 16:17:34 +00:00
Translation updater bot 275fc0f587 Localisation updates from https://translatewiki.net.
Change-Id: I2719b8d617fc87e99fde28f4895652f6d82db709
2020-05-28 08:37:49 +02:00
Translation updater bot 63043e2628 Localisation updates from https://translatewiki.net.
Change-Id: I38443f844e862dd510d876e6d1faec124659e66f
2020-05-26 08:34:27 +02:00
Translation updater bot b35e139009 Localisation updates from https://translatewiki.net.
Change-Id: Id5039102e0b4653f0802ab197e78b43986974efe
2020-05-25 08:37:49 +02:00
Translation updater bot 2af86fbb0c Localisation updates from https://translatewiki.net.
Change-Id: Ic5d480e2e1156ce82326d74189976fb40f00da4a
2020-05-22 08:34:08 +02:00
jenkins-bot c853f94e8e Merge "Selenium: Update to WebdriverIO v5" 2020-05-21 13:32:42 +00:00
vidhi-mody f2759a17c9 Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.
Update ESlint configuration.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.

Bug: T253167
Change-Id: Ia26da6d0f56398a908bd4e99ae77db603647f533
2020-05-21 12:36:32 +00:00
Translation updater bot c5b70a414c Localisation updates from https://translatewiki.net.
Change-Id: Icb0c666210f12b686c90f49e2465cf47bfe8550a
2020-05-21 08:18:47 +02:00
Translation updater bot 776d9eef9a Localisation updates from https://translatewiki.net.
Change-Id: I210c3f85bd31a91d18d5ff8858029778b564e4e6
2020-05-20 08:34:09 +02:00
Translation updater bot 8e96199a66 Localisation updates from https://translatewiki.net.
Change-Id: I25cee48544a9aef6e508c8fd3abb4f2d7dad2cdb
2020-05-19 08:23:42 +02:00
Translation updater bot daf4e1fd11 Localisation updates from https://translatewiki.net.
Change-Id: I65e7ccdbf26d2ad2a7c98b076f7a538445e324db
2020-05-18 08:28:27 +02:00
Translation updater bot 6223d456e3 Localisation updates from https://translatewiki.net.
Change-Id: If24bbe23c4689801f1355217380d5711b0401487
2020-05-15 08:52:31 +02:00
Daimona Eaytoy 8d435ee463 Make the form on Special:AbuseLog collapsible
The form is now collapsed by default, as that seems to be the most
common way to do that.

Bug: T252584
Change-Id: Ie3fa3d2858519e6bc03854a12f90f76a684e7648
2020-05-14 18:56:53 +00:00
Translation updater bot 699a372e79 Localisation updates from https://translatewiki.net.
Change-Id: I7e1e6fd437ba0db0e255568829890f9fe38a8b3d
2020-05-14 08:31:03 +02:00
Translation updater bot 3a43045bfb Localisation updates from https://translatewiki.net.
Change-Id: I510750b92d5dfee3dd0146be4433ed0f833b2ed6
2020-05-13 08:41:37 +02:00
Reedy e7a02ddcd0 Replace _merge_strategy with merge_strategy
Change-Id: I313cedec3297725b7711feee20f17621f91561a6
2020-05-12 20:18:16 +01:00
Translation updater bot a148c2bb80 Localisation updates from https://translatewiki.net.
Change-Id: I34ee30a8e7bd5793ab81bf5a6336fc3fdf18bfcd
2020-05-12 08:20:03 +02:00
DannyS712 4844bfe26a Use ParserOptions::newFromUser() instead of relying on global $wgUser
Bug: T246861
Change-Id: Ie304f962c8d1e23c897e87471990db85a7d909de
2020-05-11 14:27:36 +00:00
Translation updater bot 357db99e69 Localisation updates from https://translatewiki.net.
Change-Id: I53732b8ebffa1dcbf76be859970ed62cd1fd65c3
2020-05-11 08:35:51 +02:00
jenkins-bot f3478a5479 Merge "Remove some SQLite specific files" 2020-05-09 02:31:24 +00:00
Translation updater bot b052f25e3e Localisation updates from https://translatewiki.net.
Change-Id: I76503ecd934b625deeee302d511cd3b9661b843a
2020-05-08 09:27:31 +02:00
Daimona Eaytoy 120d1500a4 updateVarDumps: wait for replication after each batch
Otherwise the script could destroy the wikis...

Change-Id: If5f86952cb4927d612d6e2243df0823025ec5bd5
2020-05-07 17:51:36 +02:00
Translation updater bot 9e46dc9ac9 Localisation updates from https://translatewiki.net.
Change-Id: I7c304e292f6feabdbc1076dd4b103863b21b9896
2020-05-07 08:33:22 +02:00
Translation updater bot dcc1ecb2a0 Localisation updates from https://translatewiki.net.
Change-Id: Iaa9d1ec1cd0a48cb345f1c0b8d9a1dbf6a4d2913
2020-05-06 08:28:39 +02:00
Translation updater bot 892c1ca942 Localisation updates from https://translatewiki.net.
Change-Id: Ica765df7dc119af60dd9c40f3f3f6c1081f56c2c
2020-05-05 08:29:10 +02:00
Tim Starling be3fbdf347 Fix a test which will be broken by Hooks::run() migration
Temporarily mark the test skipped on earlier versions of core, to avoid
a circular dependency which blocks the merge.

Change-Id: I5db9937f249edaf7c070b2436c0caea369dac8ef
2020-05-05 11:11:54 +10:00
Reedy 7a2373f7d8 Remove some SQLite specific files
Bug: T251613
Change-Id: Ic1252efe9f96743d9402fa31a7b2dca1f57ff6ae
2020-05-04 17:50:18 +00:00
Translation updater bot ee6af9ebaf Localisation updates from https://translatewiki.net.
Change-Id: I1b23f6e737cec1c55dbf262ed58ebfa92345f6b7
2020-05-04 09:13:17 +02:00
Translation updater bot 8c0db519e2 Localisation updates from https://translatewiki.net.
Change-Id: Ie75ed0b8f069aeb2f9fe26372418bfc926af0a79
2020-05-01 09:59:31 +02:00
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