Commit graph

2640 commits

Author SHA1 Message Date
Translation updater bot 2282655630 Localisation updates from https://translatewiki.net.
Change-Id: Iceec5e96bd61e0c1ed0ce5b5c48dcf8f436e67e9
2021-11-24 08:22:21 +01:00
Translation updater bot 8ee94fb7d8 Localisation updates from https://translatewiki.net.
Change-Id: I5cb826bd170d57f2fb7325d9582bf7f19785dbbd
2021-11-19 08:28:16 +01:00
Translation updater bot f4f4b722a7 Localisation updates from https://translatewiki.net.
Change-Id: I023b7e374ba5dfd164a819e10b4783990a1f4707
2021-11-18 08:42:24 +01:00
Umherirrender 835f887c9f build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Iaa36ad93370bd67cbb6daa5bfc828bfc4893cd78
2021-11-13 18:33:32 +01:00
Translation updater bot 38b4764cfa Localisation updates from https://translatewiki.net.
Change-Id: Iec0ff9e22852bd9a411b7c459ff43d262f015d70
2021-11-11 10:02:51 +01:00
Translation updater bot 4ca0931879 Localisation updates from https://translatewiki.net.
Change-Id: I7201481fb2346b72e05c60001399832df2dfbc51
2021-11-09 07:29:31 +01:00
Translation updater bot 652286953e Localisation updates from https://translatewiki.net.
Change-Id: I3f83cd091184b9922570d2411f37b7a632bf4a59
2021-10-25 08:52:18 +02:00
Translation updater bot 9533214f5b Localisation updates from https://translatewiki.net.
Change-Id: I3109345f982e25d6d3c758a81db54e445a3c4fb6
2021-10-21 08:22:27 +02:00
Translation updater bot f4da629923 Localisation updates from https://translatewiki.net.
Change-Id: I21085e18e69fc8913026edf6a5bb93c5b95b9c27
2021-10-20 08:37:38 +02:00
Fomafix 0140767ea2 Simplify addClass with an array of classes
Since jQuery 3.3 .addClass() supports arrays. [1]

Replace
  .addClass( classes.join( ' ' ) )
by
  .addClass( classes )

[1] https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/

Change-Id: Id5c0325971f3e9773155df7412ad0850cfaa11fd
2021-10-18 08:55:42 -07:00
Translation updater bot 2745899ebc Localisation updates from https://translatewiki.net.
Change-Id: I01c58d4a81c135ebb235e48d6b13fe67e6b4f05c
2021-10-18 15:21:03 +02:00
Alexander Vorwerk 131186d8b8 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I1cb26373fb173c5abf7c3838185b68016e4ade05
2021-10-12 01:00:04 +02:00
Translation updater bot f477db2372 Localisation updates from https://translatewiki.net.
Change-Id: Ibcb77f86535d80b70f1a99697c2ba81bd3915e40
2021-10-07 09:03:21 +02:00
jenkins-bot afa0462482 Merge "Add preference popups-reference-previews to DefaultUserOptions" 2021-10-05 16:42:22 +00:00
Translation updater bot e046bf5d83 Localisation updates from https://translatewiki.net.
Change-Id: I17de571b6009a97916ee74798b7858d3938e3315
2021-10-05 08:29:55 +02:00
Reedy 498f02e9bb Use namespaced BetaFeatures class
Depends-On: Ia0304f06788de9ac7fd46bd03292f52af70c3f2f
Change-Id: Id7e52ab2643d15e943d85c668647b3d73595c9de
2021-10-01 06:35:09 +00:00
Translation updater bot 8ed8184a46 Localisation updates from https://translatewiki.net.
Change-Id: I91c7c1074b213d6a44cd03fb9d610e2b1baebdfc
2021-09-30 08:57:49 +02:00
Umherirrender 9d7c3a9851 Add preference popups-reference-previews to DefaultUserOptions
Without the default the preference is never deleted from the database,
even it was disabled by the user.

Bug: T291748
Change-Id: I63ef1bad22acc4581e7c6aecb7dcc3d54422af18
2021-09-29 10:42:09 +02:00
Translation updater bot e20aa4538c Localisation updates from https://translatewiki.net.
Change-Id: I5f647f0160a08e6bd2c110e597817cac12f54195
2021-09-29 09:02:09 +02:00
Translation updater bot 9a6e501654 Localisation updates from https://translatewiki.net.
Change-Id: I069d7a4b79b98dbfb000d1ce5916d55b17c82705
2021-09-27 08:35:24 +02:00
Translation updater bot e2495f2f75 Localisation updates from https://translatewiki.net.
Change-Id: I1ab0e325a906273282be5c6d753357c2fe5d6720
2021-09-23 12:27:55 +02:00
Translation updater bot 7da1ffad46 Localisation updates from https://translatewiki.net.
Change-Id: Ic1a0c9170dfc3856f0e41290eee2aa2e6a912082
2021-09-17 08:45:41 +02:00
jenkins-bot 9e49edd27f Merge "build: Updating stylelint-config-wikimedia to 0.11.1" 2021-09-13 18:08:58 +00:00
Translation updater bot 91cc1809a3 Localisation updates from https://translatewiki.net.
Change-Id: I1d22f3558aadb82074228b786ff94b09c1b99514
2021-09-13 08:30:09 +02:00
Umherirrender d6eddc9ca0 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: Id770e10a4c37503eae2b6fb383f12b389d793f77
2021-09-12 16:11:01 +02:00
Umherirrender 64c6357ec2 build: Updating mediawiki/mediawiki-phan-config to 0.11.0
Change-Id: I543020a6acca80e01f8ca94a049af11eeb931fbc
2021-09-11 16:03:55 +02:00
Translation updater bot 8d73505e20 Localisation updates from https://translatewiki.net.
Change-Id: Ia87062991d465b71278759609ff92d1a73b9580d
2021-09-06 08:21:10 +02:00
Umherirrender f7decec6de build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: Ia585f09b4965319ae62f2d79bab878ce318393dd
2021-09-04 14:24:04 +00:00
Translation updater bot 99f6b12df2 Localisation updates from https://translatewiki.net.
Change-Id: I47d451fa25ebb211c5b85362272d5f8e715401c0
2021-09-02 08:26:39 +02:00
Translation updater bot bb5c2a1852 Localisation updates from https://translatewiki.net.
Change-Id: I6bfdea159d3a2286faa28d47c72caa7f165e5bf6
2021-09-01 08:16:36 +02:00
jdlrobson 497feaf77d Fix cog alignment
Bug: T289362
Change-Id: Id5efc685f8df2a71f465156932eca67c9c633141
2021-08-31 14:53:38 -07:00
Translation updater bot af60c13e74 Localisation updates from https://translatewiki.net.
Change-Id: I069f0e4c42bfa15d413e2292d31442fa0fe341d6
2021-08-27 08:44:08 +02:00
jdlrobson fa19ee0d4f Adjust previews to meet specifications
Apply max-heights and tweak some of the margin values

Bug: T284643
Change-Id: I0c8a77e10c36ae444e541bb52a8797594c77db63
2021-08-25 22:55:26 +00:00
jenkins-bot 21ba0c74a1 Merge "Handle clipped blockquote by adding blockquote fade out effect" 2021-08-25 21:48:00 +00:00
bwang a78546a19e Handle clipped blockquote by adding blockquote fade out effect
- Added styling to apply a psuedoelement to the blockquote
- Added a storybook story to cover blockquotes

Bug: T213107
Change-Id: I09706137fec00b3bff649180a559f4f663b71d90
2021-08-25 17:05:08 +00:00
jenkins-bot 246f2a42a1 Merge "selenium: Upgrade WebdriverIO to v7" 2021-08-25 09:58:27 +00:00
jdlrobson 27e171d9a5 Design spec dimensions should be documented in storybook
Bug: T284643
Change-Id: I17995d48c57140f9243cadbc0e4cef29cb41e447
2021-08-24 14:17:49 -07:00
sahil 7142676629 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Change-Id: Ie9bd50e36f0c888a19e73ab9b424a8b6a5bd67fd
2021-08-24 17:29:16 +00:00
Translation updater bot ddebe5dabe Localisation updates from https://translatewiki.net.
Change-Id: I48a07edae0105d51765d543681cdf4dafbbcebed
2021-08-19 08:13:47 +02:00
Timo Tijhof 06ab2d7676 build: Fix gaps in lint coverage and update old patterns
eslint:
* Remove hardcoded glob paths that are (relatively slow) to expand
  before linting could start, in favour of specifying directories
  which can be iterated while linting happens.
* JSON files in i18n/ were skipped, unlike other repos.
  JS code under .storybook/ was skipped.
  JS code under resources/ext.popups/ was skipped.
  Fix all these by doing what other repos do, which is to let
  ESLint iterate the repository and tell it which directories not to
  enter. This has the happy side-effect of making IDE integrations
  for ESLint work correctly (as customisation in package.json has the
  same problems as using Gruntfile, namely that invoking 'eslint'
  directly can't be aware of this), as well as allowing things like
  `eslint --fix` to be used.

```
/Popups/resources/ext.popups/index.js
  4:2  error  Unexpected var, use let or const instead  no-var
```

nyc:
* Remove SPAWN_WRAP_SHIM_ROOT.
  This was a hack for an early CI experiment that hasn't been
  needed for several years.

storybook:
* Remove gitignore entries for additional npm and build output in the
  storybook subdirectory, which appears to not exist anymore since
  189b386a13.

Doxygen:
* Sync with cookiecutter example from
  https://gerrit.wikimedia.org/g/mediawiki/tools/cookiecutter-library/+/HEAD/
  - remove redundant stuff,
  - enable quiet mode to hide verbose non-warning,
  - include CoC.

Change-Id: If8f6b833067192aea96a87f04c7978c9af11f996
2021-08-16 17:02:05 +00:00
Clare Ming 48df0cbaea Fix popup preview regressions, add story
- Fix margin for page preview flipped-x.
- Fix margins for generic previews.
- Add error story to storybook.
- Fix minor typo, pageIds in MODELS.

Bug: T281170
Change-Id: I5b96719c1d08518cbd977590171974796fd10986
2021-08-13 13:50:13 -06:00
jenkins-bot 0a55cc12d8 Merge "Storybook: Capture "panorama" style portrait and landscape examples" 2021-08-12 20:30:54 +00:00
jdlrobson 7be869649d Storybook: Capture "panorama" style portrait and landscape examples
Reduce min-height per explanation in:
https://phabricator.wikimedia.org/T255549#7266861

Bug: T255549
Change-Id: I2871e8d0377268edb50a6de98ca6a247e9a794b9
2021-08-12 11:39:29 -07:00
Sam Smith 88edf5d999 virtualPageView: Log VirtualPageView events to Event Platform
We started logging VirtualPageView events to the Event Platform in
I645a81a4 but I640ab367c overwrote that change.

Change-Id: I3fcb9b79931da2ce0fa39ffc3be03e141d0d4152
2021-08-11 20:43:18 +01:00
Thiemo Kreuz a99bd13112 Rewrite linkTitle change listener for clarity/easier expansion
This was done while working on T277639 where we introduced
multiple "enabled" flags for individual popup types. This
change listener is one of very few places that work with
this flag. This patch is meant to make this code more robust
and easier to change.

A few unrelated but trivial changes are included that make
code shorter and hopefully easier to read.

Also fixes a bug with tooltips overlapping previews.

Bug: T287119
Change-Id: I7fb0a8d4bb9f5e78fe62cfca524cc157ea89a233
2021-08-11 18:33:34 +00:00
Translation updater bot 0dc39c9d11 Localisation updates from https://translatewiki.net.
Change-Id: I840b62d4d1d0c12629affba5fb6cac8f3ae7cc3a
2021-08-11 08:19:30 +02:00
jdlrobson 75a9d81755 Fix pointer class behaviour
Add unit tests for landscape previews.

Bug: T287520
Change-Id: Ib9a7635b532248a4f44c308d7bb5dc7ab08667e6
2021-08-10 10:40:40 -07:00
jdlrobson a0754c8cf9 Storybook: Fix RTL
Provide containers for page previews examples

In storybook we avoid position absolute but this deviation from
how they behave in reality could lead to subtle differences that impact
the rendering of previews. It also doesn't allow to see the preview
in the context of the link which is an important part of visually
verifying the position of the pokey arrow.

This also allows us to rethink the broken RTL mode. We now scope
LTR rules to a LTR class that is present on the container, and use
the CSSJanus parsed stylesheet for RTL.

Change-Id: I189019824ddd6aa759790fd162ffcd543619a953
2021-08-06 14:40:10 +00:00
Translation updater bot 4868c16ea7 Localisation updates from https://translatewiki.net.
Change-Id: I5fddb35ef9fc522d600ec5dbcb0b4ce625185965
2021-08-05 08:22:27 +02:00
Translation updater bot 505221ef58 Localisation updates from https://translatewiki.net.
Change-Id: Ic7692081f4fed7f1e926fd730cf70cff7d41791a
2021-08-04 08:15:16 +02:00