Commit graph

4045 commits

Author SHA1 Message Date
Ed Sanders 86caa17713 build: Update linters and linter config
* Update stylelint-config-wikimedia to 0.13.0
* Ensure eslintrc.js and root files are linted
  with server config

Change-Id: I59c49fedd5b0c4c5620f960b78e4f781a6bc5abb
2022-05-18 14:33:23 +01:00
Translation updater bot 4519cd68f6 Localisation updates from https://translatewiki.net.
Change-Id: I9f848ca4ecd8963f21ecedabe72cb99e2071ddc1
2022-05-17 08:31:13 +02:00
jenkins-bot 90e50409f2 Merge "Minerva should respect reduces motion setting" 2022-05-17 01:35:06 +00:00
Translation updater bot 9ed65a69e7 Localisation updates from https://translatewiki.net.
Change-Id: I31e46022772fd665091a1b01bd623b2f7b45146a
2022-05-16 08:27:35 +02:00
Timo Tijhof 5a65bd5200 tests: Minor clean up of in TitleUtil/UriUtil tests
* Declare variables inline, as per the current code conventions.

* Use built-in assert.true() and assert.false() in a few places.

* Use built-in QUnit.test.each() to remove need for ad-hoc loops and
  inline composing of assertion messages with common prefixes. This
  also creates clearer and more detailed test reports, and more granular
  ability to re-run specific test cases.

* Remove unneeded use of `QUnit.newMwEnvironment()`.

* Simplify restoring of mw.Uri by storing the original reference
  once outside the test, and then re-using that each time.

* Use mw.config.set() for improved familiarity and rely on natural
  restoration instead of the extra 'config' key abstraction which is
  another thing to learn and understand.

Change-Id: I796e034854203d2e0e78e510458f4b34603e9901
2022-05-15 00:46:28 +00:00
Timo Tijhof 9f180f3556 tests: Remove use of QUnit 1.x setup()/teardown()
Bug: T250045
Change-Id: I2bcb6a2b4fe654db26c1feb3a9aa2bd0c3613049
2022-05-15 00:46:13 +00:00
jenkins-bot 81ff89f04b Merge "Add block button to user namespace overflow" 2022-05-13 15:01:04 +00:00
Translation updater bot 21c245e6d1 Localisation updates from https://translatewiki.net.
Change-Id: Ic4dcaa95037367c5103b34615f31c1756e28fab3
2022-05-13 08:29:40 +02:00
Translation updater bot 535169b049 Localisation updates from https://translatewiki.net.
Change-Id: I61c8f4dfbdf88595e1d3142554df71e03a25fb59
2022-05-12 08:15:01 +02:00
jenkins-bot cf1331736d Merge "Move dd scroll hack to .content scope" 2022-05-11 16:35:20 +00:00
Jon Robson ad242f8d17 Minerva should respect reduces motion setting
Depends-On: Ie1c6c1ba7263c232d874263fdae7427a5ec489f6
Change-Id: Ic08a5f7f60c4b09aab50611d990842a75cbbc7cd
2022-05-11 14:09:10 +00:00
Translation updater bot 57a4106023 Localisation updates from https://translatewiki.net.
Change-Id: I25dc4d88b77f31abb0e909791afea110bc1b8ca9
2022-05-11 08:13:32 +02:00
Translation updater bot fa2385b762 Localisation updates from https://translatewiki.net.
Change-Id: If4095d1c47749884a009b7bac086ad4cabcdeddc
2022-05-09 08:14:00 +02:00
Translation updater bot 2f652703ac Localisation updates from https://translatewiki.net.
Change-Id: Ida7254c9506a331a51d15d98a10b71b852ae1802
2022-05-06 08:21:25 +02:00
jenkins-bot aadd042100 Merge " Normalise PHP namespaces used in MinervaNeue" 2022-05-05 18:20:08 +00:00
EllenR b94ce6adbd Normalise PHP namespaces used in MinervaNeue
removed commented out code
changed namespace Tests\MediaWiki\Minerva to namespace
MediaWiki\Minerva

Bug: T303104
Change-Id: Ie151dcbfc65b49cb91fea81f8526287ca18d7a7d
2022-05-05 07:07:45 -06:00
Translation updater bot a286b34fe7 Localisation updates from https://translatewiki.net.
Change-Id: I982c2c6eddf423c3134980de00e7c29fcb02ae1e
2022-05-05 08:08:09 +02:00
jsn 7959e9fa08 Add block button to user namespace overflow
Bug: T307341
Change-Id: Ib8bcca0ab284900eff01468a416177435f02e7aa
2022-05-04 10:59:16 -05:00
Ed Sanders eaeca6f328 Move dd scroll hack to .content scope
Bug: T304148
Change-Id: I24090527206e4ff7d53c5256cce1bd9981be8ae9
2022-05-03 15:59:28 +01:00
Translation updater bot e37a3866cc Localisation updates from https://translatewiki.net.
Change-Id: I85997a541bf43fedf14bfc05fa4a45f61a15fe2e
2022-05-03 08:47:14 +02:00
Translation updater bot cb2def84e4 Localisation updates from https://translatewiki.net.
Change-Id: I1e96907466d3430fda345e51f5980e2ddc74ba5c
2022-05-02 08:22:22 +02:00
Translation updater bot 4a56d11b61 Localisation updates from https://translatewiki.net.
Change-Id: I49bbd02b6087e31f7ea9cfb8652d0f666d06f524
2022-04-29 08:47:04 +02:00
Translation updater bot 4bc76f87ce Localisation updates from https://translatewiki.net.
Change-Id: Idbe517e228eed03351fb0caaadfaef0fa1e69993
2022-04-28 09:30:20 +02:00
jenkins-bot 404985a9f1 Merge "Hard deprecate MobileMenu Hook" 2022-04-27 19:26:29 +00:00
libraryupgrader b2f4d53e19 build: Updating npm dependencies
* webdriverio: 7.16.4 → 7.19.5
* async: 3.2.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.4 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: I3ef858f2fb399e1f72c1604f43acac580560912b
2022-04-27 17:55:38 +00:00
bwang 79d4130fcc Hard deprecate MobileMenu Hook
Bug: T303309
Change-Id: Ice45416c4af4e8fd4bcda158c5f9b81e6c8c9491
2022-04-27 12:38:03 -05:00
Translation updater bot b598587312 Localisation updates from https://translatewiki.net.
Change-Id: If14e7c2379c34b173672fbff06906b4e5534d07b
2022-04-26 08:56:26 +02:00
jenkins-bot 562810e633 Merge "[Tests] Strengthen the reference drawer test" 2022-04-25 22:47:25 +00:00
Translation updater bot 0520480800 Localisation updates from https://translatewiki.net.
Change-Id: I3f8b81f0786a9c9787aab314a474bd0cde15444c
2022-04-25 08:21:32 +02:00
Translation updater bot ffbf249590 Localisation updates from https://translatewiki.net.
Change-Id: I4ae3c7d04b744be2ea1782ed0a390774f171d7b0
2022-04-21 08:13:47 +02:00
Translation updater bot 4933732c73 Localisation updates from https://translatewiki.net.
Change-Id: I189db8554c8e7df19157f4a439cab26dba3683b1
2022-04-20 08:20:21 +02:00
lens0021 963eee3688 Set MobileFrontendEditorAvailableSkins attribute
The attribute tells MF this skin is ready to allow the user to show the
editor.

Bug: T257746
Depends-On: Iac3fc9571827782c2a9fe9531b885218e2159d29
Change-Id: Ib435929376bc34a1dcede1cd142b0e1cb186b6a9
2022-04-19 19:05:10 +00:00
jenkins-bot d10c082822 Merge "Style section headings using flexbox" 2022-04-19 10:35:06 +00:00
Translation updater bot 518a0d0304 Localisation updates from https://translatewiki.net.
Change-Id: If37425958928f18f6be167b5958c49d06d9455a2
2022-04-19 10:18:08 +02:00
Jon Robson 55419f9bcc [Tests] Strengthen the reference drawer test
Assert the drawer is visible before clicking it.

Bug: T266704
Change-Id: Iec1d2a2c0a4b34509f4b73ed87ccc63eeecad671
2022-04-18 23:05:29 +00:00
Translation updater bot 754d1d9781 Localisation updates from https://translatewiki.net.
Change-Id: I60d2d9d3ffd3060622335682fa09583f0e3051bb
2022-04-18 10:08:58 +02:00
libraryupgrader a86fd8e1d2 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* wdio-mediawiki: 1.1.1 → 1.2.0
* @wdio/cli: 7.16.4 → 7.19.5
* @wdio/local-runner: 7.16.4 → 7.19.5
* @wdio/sync: 7.16.4 → 7.19.5
* jsdoc: 3.6.7 → 3.6.10
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.2 → 3.2.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 2.7.4 → 2.7.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.3 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* shelljs: 0.8.4 → 0.8.5
  * https://github.com/advisories/GHSA-64g7-mvw6-v9qj
* url-parse: 1.5.3 → 1.5.10
  * https://github.com/advisories/GHSA-jf5r-8hm2-f872
  * https://github.com/advisories/GHSA-hgjh-723h-mx2j
  * https://github.com/advisories/GHSA-8v38-pw62-9cw2
  * https://github.com/advisories/GHSA-rqff-837h-mm52

Additional changes:
* Set `name` in package.json.
* .gitignore: Added .phpunit.result.cache (T242727).

Change-Id: Ic4993fac43fb42af08654aab03352281d663cce9
2022-04-16 08:43:11 +00:00
Translation updater bot 5632b8ccef Localisation updates from https://translatewiki.net.
Change-Id: I42f2c45282be78ff300a87ade374d23f05b6dba5
2022-04-15 09:59:23 +02:00
Bartosz Dziewoński 2690ea3a9c Style section headings using flexbox
Bug: T305971
Change-Id: I383971a1bebafd1af1e971ad02648bd943b0c5ee
2022-04-14 22:16:01 +02:00
Translation updater bot ff9e8f0a4f Localisation updates from https://translatewiki.net.
Change-Id: I2e61cdc7837d942fb9bc13041291d4ef26ddb27e
2022-04-13 08:34:17 +02:00
lens0021 ea8c30b65c phpunit: Implement the new BundleSizeTest::getSkinName()
Bug: T305779
Depends-On: Id77c6124c9b1fd20633cda47bbca89f9b6724a63
Change-Id: Ia82018a31ff6ce2fe80946fd8f8d05a1dddf9523
2022-04-12 00:50:24 +00:00
Translation updater bot 916e8bc9c1 Localisation updates from https://translatewiki.net.
Change-Id: Icb848b16eb90aa9456508a569ea50a925bd10274
2022-04-08 08:30:39 +02:00
Jon Robson 0fe451b23a FIXME cleanup
- Remove cached HTML relating to heading change
( I2ffdedd64414ffb3c6e441391a75fd6e744847a4)
- Update invalid instruction for selector in footer (I0bfc7f977cdaf5ce8873103346c64121d704b86c)
It appears this rule cannot yet be removed.
- Update classes for contributions icon on user pages
(I6c908acd70c0dca5bcb1754d1b25d3da2389feb8)

Change-Id: I271abf3d29dfcfd19d654514fb3f6d6e257505ab
2022-04-06 20:17:22 +00:00
jenkins-bot ce958d3616 Merge "Remove browser tests in Ruby" 2022-04-06 17:26:14 +00:00
Jon Robson 996b3fc36b Remove browser tests in Ruby
These are never run. We are not running them manually, so we should
remove them from the codebase.

Change-Id: If54b45dfc72f32c2631a4338096b568aae5d404a
2022-04-05 15:49:35 +00:00
Translation updater bot afb75bea22 Localisation updates from https://translatewiki.net.
Change-Id: I72b7d8b71cf6918e603b5499368cbd7aa3595fec
2022-04-05 08:27:41 +02:00
Thiemo Kreuz 73749969d6 Re-arrange getHistoryLink method for readability
Most notably: Bail out as early as possible.

Change-Id: Ibd22bd41e6d38a807edf45acdcd72c29537a0c06
2022-04-04 20:03:24 +00:00
Translation updater bot 53331f749a Localisation updates from https://translatewiki.net.
Change-Id: I3f383a9666d25d2add5b17dcf951a3ff12b55ef2
2022-04-04 09:37:21 +02:00
Translation updater bot 0c3332abb9 Localisation updates from https://translatewiki.net.
Change-Id: I14499873b0270b495a9ce5d10329485934f7a4fa
2022-04-01 08:29:38 +02:00
jenkins-bot 286eca0d50 Merge "Contributions headings should be border box" 2022-04-01 00:53:07 +00:00