Commit graph

5499 commits

Author SHA1 Message Date
proc a31f4e46af
Strict type comparison
Bug: T248806
Change-Id: I039ab7f103bb37052987b815412b71f70643a6d2
2020-06-27 15:55:57 +01:00
Translation updater bot 6274a6b657 Localisation updates from https://translatewiki.net.
Change-Id: I2aca92c73b05479bd925823a2c6c7cf5709b1fae
2020-06-25 08:55:03 +02:00
jenkins-bot 7c262b2387 Merge "Update PageSaveComplete hook to use EditResult" 2020-06-23 14:16:15 +00:00
Ostrzyciel 99e2766f26 Update PageSaveComplete hook to use EditResult
Bug: T254074
Change-Id: I3922d9a92242c9a6469058a2a2c2a95891e9e429
2020-06-23 14:25:38 +02:00
Translation updater bot 36b323030d Localisation updates from https://translatewiki.net.
Change-Id: Ia0c3208ecaf32be0545a81e293cfae6664069578
2020-06-23 08:49:41 +02:00
Translation updater bot 226a9dba8e Localisation updates from https://translatewiki.net.
Change-Id: If55648ec664699cbabb8c0a40d4d180a0c160ad0
2020-06-22 08:41:45 +02:00
Translation updater bot 745329e528 Localisation updates from https://translatewiki.net.
Change-Id: I2a21eaf2423d3c11a513e4fde5f690ac0c9d6a74
2020-06-19 08:37:52 +02:00
Umherirrender c55a12993d Handle null from VariableGenerator::getVars in AbuseFilterViewExamine
Bug: T255633
Change-Id: I94ce4303d9250b84181b1cb230e680c2351d887b
2020-06-17 19:42:58 +02:00
jenkins-bot ec14739a79 Merge "Update hooks to use PageSaveComplete" 2020-06-16 17:16:29 +00:00
Translation updater bot 4be3396c77 Localisation updates from https://translatewiki.net.
Change-Id: I45af6d0c102531fdbd20eeb2ea73f4548b3d4107
2020-06-16 08:32:35 +02:00
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