Commit graph

2418 commits

Author SHA1 Message Date
jdlrobson 5dfb0ea04e Fix TypeError: u.abort is not a function
The abort method is not always present and the xhr may not be abortable.
This mirrors the 'abort' in promise check later in the file.

Bug: T259652
Change-Id: I7dad89b083d6a0a83ffc59e29af8942cb0eaf640
2020-09-03 10:16:17 -07:00
Translation updater bot 85006a8e5e Localisation updates from https://translatewiki.net.
Change-Id: Id90a3be4d99e637bd582e2ad0abe5d19c4509359
2020-08-31 09:49:20 +02:00
jenkins-bot fc413f3ad6 Merge "Selenium: Update to WebdriverIO v6" 2020-08-25 10:32:18 +00:00
vidhi-mody bd7b4c87cc Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T258620
Change-Id: I63e6812e5cfd0e29444765b4b956a9a63711dfdb
2020-08-25 15:10:40 +05:30
Translation updater bot 6e68b17e06 Localisation updates from https://translatewiki.net.
Change-Id: Ie8ec1c23eadca30c4de1f8f8a9f1c0aeab636986
2020-08-17 08:44:01 +02:00
Ed Sanders 56d87d6795 Disable popups inside VE surfaces
This was already accidentally the case for the main VE article
editor as it doesn't live inside #mw-content-text, however other
VE surfaces (e.g. DiscussionTools') don't live inside #mw-content-text.

Bug: T259889
Change-Id: I48bdee6f62af33cad7512128b5465d474a6dfebb
2020-08-08 12:53:03 +01:00
Translation updater bot 12195426b4 Localisation updates from https://translatewiki.net.
Change-Id: Id2d52439a56f62a6e2746b209eb675aa6de4d226
2020-07-31 08:46:25 +02:00
Translation updater bot 39bc6bd12b Localisation updates from https://translatewiki.net.
Change-Id: I4cb036b32afcd36bf7c73ed99e76a4ac9d8bc379
2020-07-27 08:38:14 +02:00
jenkins-bot 88fa9c0131 Merge "Disable Reference Previews in the (mobile) Minerva skin" 2020-07-24 14:53:33 +00:00
vidhi-mody 17a3e59a1e Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.

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

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

Commands that return data no longer wrapped in `{ value: … }`.
Values are now returned directly.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `moveToObject()` with `moveTo()`.
- `isVisible()` with `isDisplayed()`.

Bug: T258620
Change-Id: If339ff08b5e87c91905a65927ccd7e1b72b9f8e4
2020-07-24 17:17:01 +05:30
Thiemo Kreuz 5da88be420 Disable Reference Previews in the (mobile) Minerva skin
Bug: T243822
Change-Id: I6de02243301184bce8ff53a56b13752880ecfbe6
2020-07-24 13:01:47 +02:00
Translation updater bot 3581638814 Localisation updates from https://translatewiki.net.
Change-Id: I4212653656c9b30212b9d4ec2482c6705e082962
2020-07-21 09:13:02 +02:00
Translation updater bot 4f3bdec22c Localisation updates from https://translatewiki.net.
Change-Id: I6bd032940e85c0adb4725e3a0c5d55a702bb7ec6
2020-07-15 09:04:49 +02:00
Nikerabbit dccd607523 Revert "Localisation updates from https://translatewiki.net."
This reverts commit fb581364ff.

Reason for revert: Broken export

Change-Id: I09852e5c524b835274ac35cec70b46ddfa52f613
2020-07-13 11:58:03 +00:00
Translation updater bot fb581364ff Localisation updates from https://translatewiki.net.
Change-Id: I07866b9fa6f8d43c5f8d0bb4b7801faf8e2bafbd
2020-07-13 08:44:56 +02:00
Translation updater bot fd3908fb4e Localisation updates from https://translatewiki.net.
Change-Id: I2cf43342b68e3bcc837216dc2a072bcdcb602230
2020-07-10 08:26:10 +02:00
Ammar Abdulhamid 5e405eb2f2 Popups: Rename new config variable
In this patch we introduce a new config variable and update its default
to be the same as the production value of $wgPopupsPageBlacklist.

When this code is deployed everywhere, we will remove wgPopupsPageBlacklist
from mediawiki config and defer to the Popups extension as the source of
truth from now on.

Bug: T254676
Change-Id: Ifebdcf8f5eec854a2b947dc390eaf47704a5c5eb
2020-07-07 09:47:59 -07:00
Translation updater bot da167c0950 Localisation updates from https://translatewiki.net.
Change-Id: Iaa7086d78b805981eff1016e1d148173cdedefb4
2020-07-02 08:42:18 +02:00
Translation updater bot 34c301abdc Localisation updates from https://translatewiki.net.
Change-Id: I4ec40febed3f3e6b3ece4babd4e8ab03854d97f5
2020-06-29 16:26:27 +02:00
James D. Forrester e37ce8ef80 build: Upgrade grunt to 1.1.0
Change-Id: I2196e88f40a9cbd57c33e157e699a74870778efa
2020-06-26 17:35:18 +01:00
James D. Forrester eb0347135a build: Upgrade grunt-banana-checker to 0.9.0
Change-Id: I6532248f8384d1a818598ac30c75d01d3350ae88
2020-06-26 17:33:41 +01:00
James D. Forrester 5452af11e6 build: Upgrade stylelint-config-wikimedia to 0.10.1
Change-Id: I05f987be2d5925ec65e2862cfb47a70972bc4f28
2020-06-26 17:12:10 +01:00
Ed Sanders 536470c01d build: Update eslint-config-wikimedia to 0.16.2
Change-Id: Icb65074fe64993314bbb28f690ce3ce0f89fb57c
2020-06-26 17:05:56 +01:00
Translation updater bot c0b7758ed2 Localisation updates from https://translatewiki.net.
Change-Id: I6ce5973eb57069f943288098f4fd6ef09917e39f
2020-06-22 08:44:53 +02:00
Translation updater bot 3891ec61d7 Localisation updates from https://translatewiki.net.
Change-Id: I5ecaf8897f425f72dcf48071df7518577e1ce5de
2020-06-19 08:41:28 +02:00
Translation updater bot 04bcba43f8 Localisation updates from https://translatewiki.net.
Change-Id: I6b1aa7773e5e3b26975253c6140494109a0040d0
2020-06-16 08:35:04 +02:00
Thiemo Kreuz 092e2a4959 Talk about "exclusions" instead of "blacklists"
AVoid the term if possible, in all internal code. The only remaining
use of the word is in the public $wgPopupsPageBlacklist config
variable.

Change-Id: Ib238731270f473ad44fcff13df617a70433f2452
2020-06-09 08:56:06 +02:00
DannyS712 48f3a8f720 Remove unneeded ::setUp and ::tearDown methods that only call parent
Change-Id: I2700613e5071bc20ef8ed9706de70e596cdfdbc7
2020-06-07 03:10:11 +00:00
jenkins-bot a221c418be Merge "build: Updating composer dependencies" 2020-06-04 19:01:04 +00:00
Umherirrender 99aec050dc 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
* mediawiki/minus-x: 1.0.0 → 1.1.0
* mediawiki/mediawiki-phan-config: 0.9.2 → 0.10.2
* mediawiki/mediawiki-codesniffer: 30.0.0 → 31.0.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
* remove taint-check, now bundled with phan-config

Change-Id: Ic9cc69fb126bf89aa30454ffe9564d95a7708cf7
2020-06-04 18:26:39 +00:00
Translation updater bot e06ff60a11 Localisation updates from https://translatewiki.net.
Change-Id: I6ca2fe80b0e5a9d469ae72533f99f4cb037ddddd
2020-06-04 08:24:32 +02:00
Translation updater bot 7c76c75c81 Localisation updates from https://translatewiki.net.
Change-Id: I006562be6cdc17fc9447218f6f2737742f9893b5
2020-06-01 10:08:42 +02:00
Translation updater bot 5c80d85b70 Localisation updates from https://translatewiki.net.
Change-Id: I170eee129804fb33342567cbada39177b0a7ae9a
2020-05-27 08:49:28 +02:00
Translation updater bot 93deab68a9 Localisation updates from https://translatewiki.net.
Change-Id: I1fae4ac9044b148c3787188c313aa177127ee891
2020-05-25 08:40:42 +02:00
Translation updater bot 54c86a66ea Localisation updates from https://translatewiki.net.
Change-Id: I202fa42bd7ef4e317390b1ef6ff1a3e40339dc14
2020-05-22 08:36:16 +02:00
jenkins-bot 4ad4d9695f Merge "Add Special:MyLanguage for better user experience" 2020-05-21 23:24:41 +00:00
jenkins-bot 80b52a6435 Merge "Localisation updates from https://translatewiki.net." 2020-05-20 06:38:47 +00:00
Translation updater bot 27d1f07a38 Localisation updates from https://translatewiki.net.
Change-Id: I2196e88f40a9cbd57c33e157e699a74870778efd
2020-05-20 08:35:42 +02:00
DannyS712 751e05160a Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I6504b960d34726d94c79b68e186a4206a3cf386a
2020-05-19 23:38:59 +00:00
Translation updater bot 929e6c8bae Localisation updates from https://translatewiki.net.
Change-Id: Icf70a150954b0648fedc9fea07c29db9432185e2
2020-05-14 08:32:59 +02:00
Translation updater bot 78f5fddac6 Localisation updates from https://translatewiki.net.
Change-Id: Ib326e1223e48f784f476832074250635b603b67a
2020-05-12 08:21:44 +02:00
Yuki Shira e7c0997cf5 Add Special:MyLanguage for better user experience
Change-Id: If3617ed687ed25a1f0b92d51fa81e1a00c897528
2020-05-10 13:54:41 +09:00
Translation updater bot d1be1ec945 Localisation updates from https://translatewiki.net.
Change-Id: I423ac1c60ef3e441b3377b2c905f64c7838a43ae
2020-05-07 08:35:16 +02:00
Translation updater bot 5b9893d241 Localisation updates from https://translatewiki.net.
Change-Id: I37f77be5ade4eae241aba9b390792aadf12e67c6
2020-05-05 08:31:07 +02:00
Ed Sanders 1703736805 eslint: Fix selenium config
Change-Id: I7baea467c1d7ac44d9fb1788cf9a3fb8d520c6b1
2020-05-02 14:27:00 +01:00
Translation updater bot 6d909b676f Localisation updates from https://translatewiki.net.
Change-Id: I35f986bc877b76b5027406e70e69a3db89750129
2020-04-30 08:39:38 +02:00
Ed Sanders 85fc18d38d eslint: Cleanup linting of /dist
* Move eslintrc.es5.json to /dist to avoid extra Grunt config
* Upgrade clean-webpack-plugin and exclude dist/.eslintrc.js
  from cleaning
* Set root:true and just enable wikimedia/language/not-es5 instead
  of disabling dozens of rules
* Remove getOwnPropertySymbols rule as webpack uses this.

Change-Id: I802138a8a591dd4c3cb0cc637112e383570286df
2020-04-27 20:45:42 +01:00
Ed Sanders 957e81747b eslint: Update to 0.15.3
Change-Id: Ide2bdfac7838408c39e1d26ea7662b90a6e3ddfd
2020-04-25 22:32:53 +01:00
Translation updater bot 0f755d3357 Localisation updates from https://translatewiki.net.
Change-Id: I0dfbbd638adceac0802244a6550a5d320ebcc3d7
2020-04-24 08:23:13 +02:00
Translation updater bot f552f5e173 Localisation updates from https://translatewiki.net.
Change-Id: I13f022c17802f0f325fb3e455c60d688984169ee
2020-04-21 08:46:00 +02:00