Commit graph

5489 commits

Author SHA1 Message Date
DannyS712 4b35336638 Update hooks to use PageSaveComplete
Extension requires MW 1.35+, always available

Bug: T250566
Change-Id: I60cf3cc42db989d8ccb0d06d3cf9eae8a85784ac
2020-06-16 04:18:39 +00:00
Translation updater bot 83a10724a4 Localisation updates from https://translatewiki.net.
Change-Id: Ie916b00b7339b0b48ee1676cacc7a34b6c9449f9
2020-06-15 08:38:15 +02:00
Daimona Eaytoy 6a268e7339 Drop duplicate index wiki_timestamp
For MySQL it was renamed Ic1252efe9f96743d9402fa31a7b2dca1f57ff6ae, but
the old index isn't being deleted, hence creating a duplicate.

Change-Id: I09b9f64759f6a897c393caa77458d63995d5713b
2020-06-12 19:34:41 +02:00
Translation updater bot 99fbea3135 Localisation updates from https://translatewiki.net.
Change-Id: Id828955ea1eef956222749086484ecfb97a3b02e
2020-06-12 08:37:05 +02:00
jenkins-bot 439c76e59d Merge "eslint config tweaks" 2020-06-10 07:27:25 +00:00
jenkins-bot 706c80e806 Merge "eslint: Update to eslint-config-wikimedia 0.16.0" 2020-06-09 18:54:19 +00:00
Ed Sanders 9f81f74608 eslint config tweaks
Change-Id: I7822a9345428791a469251a4b327b76e8422ade0
2020-06-09 19:39:03 +01:00
Translation updater bot 75fa511d17 Localisation updates from https://translatewiki.net.
Change-Id: I7d9eeb4b03d4c0d6570b64cf52f3690da0d42a38
2020-06-09 09:12:49 +02:00
jaredblumer 12f9be5e69 eslint: Update to eslint-config-wikimedia 0.16.0
* Update ESLint config with Selenium WebdriverIO test suite
* Update modules and Selenium pageobjects and specs per ESLint
requirements
* Update grunt-eslint package to 23.0.0 as required by
eslint-config-wikimedia 0.16.0

Bug: T254495
Change-Id: Ibfcf9115adedf9f2c3e7dac1ac626b41fc97b7c4
2020-06-08 21:17:50 -04:00
Translation updater bot c9e899a704 Localisation updates from https://translatewiki.net.
Change-Id: I84e515cc52f10a121686f47d2691544975aa19fb
2020-06-08 08:48:21 +02:00
libraryupgrader fcd3d849f1 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: I6152218294d3fb1803a2cb7ac4ab27bfd491151c
2020-06-07 22:42:12 +00:00
Umherirrender 6e2d7931a5 Pass function name to database functions
Useful for logging

Change-Id: Ib6b3ad814dd24d31aab37be486ff32d3f57c7905
2020-06-07 01:54:41 +02:00
jenkins-bot 1f72bc838c Merge "Do not abuse RCDatabaseLogEntry" 2020-06-05 12:08:05 +00:00
Translation updater bot 61f30cc426 Localisation updates from https://translatewiki.net.
Change-Id: I6f71197e80f4a5155183bce591509b0d76506f9b
2020-06-05 08:52:09 +02:00
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
Translation updater bot 028d204185 Localisation updates from https://translatewiki.net.
Change-Id: I3b53acd999a8294c39effc522de43db64066ff9f
2020-06-04 08:22:54 +02:00
jenkins-bot a9dd435adb Merge "build: Updating mediawiki/mediawiki-phan-config to 0.10.2" 2020-06-03 15:59:30 +00:00
Translation updater bot 02120ab7b7 Localisation updates from https://translatewiki.net.
Change-Id: I08d443ea247b9dc20d6373a3638a95187af51af3
2020-06-03 08:29:27 +02:00
libraryupgrader ef7f867f35 build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: Ib63be75df4bfdbd2c5b97de5f80dbec715108c01
2020-06-02 21:33:38 +00:00
Translation updater bot bc1c85ca62 Localisation updates from https://translatewiki.net.
Change-Id: I7a42225ed71a584c0d85a73d0667b9386f018984
2020-06-02 08:25:52 +02:00
Translation updater bot 003266af8c Localisation updates from https://translatewiki.net.
Change-Id: I2c1f56304be919157365d3f93cb26cdbdc8fac30
2020-06-01 09:56:03 +02:00
libraryupgrader 4573354c3b build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I62fb30ab2379b180fca630cf62032ee6e2726c89
2020-05-30 17:21:50 +00:00
jenkins-bot fe6c18904c Merge "Selenium: Update to WebdriverIO v6" 2020-05-29 08:06:14 +00:00
Translation updater bot 53673ed8ce Localisation updates from https://translatewiki.net.
Change-Id: Iad0117d74d113dcd7fc6e389f4c6bc137c9fe2e2
2020-05-29 08:31:14 +02:00
libraryupgrader 13560aa221 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I8d9ecff889d52272134de1759656abfd5b97f4bf
2020-05-29 03:00:58 +00:00
jenkins-bot 5dde33ca4c Merge "updateVarDumps: Add more options, aesthetic changes" 2020-05-28 19:15:52 +00:00
Daimona Eaytoy b9346a3eba runner: Improve blocking methods
This is necessary for future improvements.

Bug: T234164
Change-Id: Ia334cdc84ac1408ad72ffd8c87c958ae7deebb54
2020-05-28 18:42:31 +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
vidhi-mody 76025137a3 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T253167
Change-Id: I11edb5dca8d1d45ffc336c805a40c502b815ce1f
2020-05-28 19:56:43 +05:30
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
Daimona Eaytoy d3b21901a2 updateVarDumps: Add more options, aesthetic changes
This fixes a few minor issues noted while running in prod. Notably:

 - Don't print "Printing orphaned records" in dry-run
 - Print progress markers every 10 batches, not every batch
 - Change the option for printing progress markers to take a file, and
 recommend against stdout for big databases.
 - Add an option to sleep between batches.

Bug: T252696
Bug: T246539
Change-Id: I970e7649472625ade003c259f98b611d9d3d69d2
2020-05-18 15:42:00 +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