Commit graph

3861 commits

Author SHA1 Message Date
Jon Robson 31c317308c Do not use the SkinMinervaReplaceNotificationsBadge hook to add Echo
Based on work done in I7b9cf401936be2421d0ad4efe963486404d50e6a
we switch to the standard notifications menu for Echo generation

Bug: T301263
Change-Id: Id611cc07aebfb94e50bde8902cbc0627393fa926
2022-05-27 18:14:47 +00:00
Jon Robson ac5f74d705 Use new ResourceLoader namespaces
Bug: T308718
Change-Id: I258f600453cba5a1b2b614e5d0ec8929733cde69
2022-05-27 16:40:01 +00:00
Translation updater bot 0ea007a2ec Localisation updates from https://translatewiki.net.
Change-Id: Idbadd766034983cc5e11e11645e2c6410af74d42
2022-05-27 10:29:22 +02:00
Translation updater bot 427f4912d5 Localisation updates from https://translatewiki.net.
Change-Id: I6f6793aba7b55aa3c4dad52a2f12c18532f3d1e6
2022-05-26 08:53:23 +02:00
Translation updater bot 382e753570 Localisation updates from https://translatewiki.net.
Change-Id: I08d91abd081f65da71e5eebbf5f256f884def7a0
2022-05-25 08:34:34 +02:00
Translation updater bot 6beae7b0d8 Localisation updates from https://translatewiki.net.
Change-Id: I5094dfa06507ae5ad786222c9573fdcdf30cee31
2022-05-24 08:27:21 +02:00
jenkins-bot db4cc4f8c9 Merge "Remove deprecated vendor prefixes and their mixins" 2022-05-23 23:37:30 +00:00
Ed Sanders d926771bd8 Remove deprecated vendor prefixes and their mixins
Additional change:
* The animation stylesheet pulled down for the storybook instance
in dev-scripts/setup-storybook.sh is no longer referenced anywhere
in assets so can be removed.

Bug: T306486
Bug: T308351
Bug: T308360
Change-Id: Ia9f2a05cde2724486f7e449261c5d4875388f5ab
2022-05-23 23:18:43 +00:00
jenkins-bot 9cf1c286e5 Merge "Follow-up I24090527: Add .mw-parser-output scope to limit to parsed output" 2022-05-23 22:57:55 +00:00
bwang d5d94e6b6f Add settings menu item for anon users
Bug: T307696
Change-Id: Ib875bae5796ef021a06310582a4bbc41abb26555
2022-05-23 22:36:36 +00:00
Translation updater bot 84f16b6dfe Localisation updates from https://translatewiki.net.
Change-Id: Id1a82878accd619912798d623f0e21cff3586630
2022-05-23 08:19:36 +02:00
libraryupgrader 62ab69e415 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

Change-Id: I5b7d3ddbdc9b09c824293e4294ad3a8d318e0ae6
2022-05-21 19:11:15 +00:00
Ed Sanders 816aac97bc Follow-up I24090527: Add .mw-parser-output scope to limit to parsed output
This scope is used elsewhere in the skin to limit styles
to parsed output. Confusingly `.content` also applies to
the body area of special/action pages.

Bug: T304148
Change-Id: Id5aa760c8441e589e813c5cc0c12c86469cde714
2022-05-20 17:49:05 +01:00
Translation updater bot 6c2301788e Localisation updates from https://translatewiki.net.
Change-Id: Ie363e129f1a668972d3c568f7d40355ff58ce07b
2022-05-20 08:40:24 +02:00
Translation updater bot 223d95946b Localisation updates from https://translatewiki.net.
Change-Id: Ifbd7d525ca9632bb6cb7e54e539542b1decffa54
2022-05-19 08:21:00 +02:00
Jon Robson 8c57c9c12d Enable special page tabs
For now this should be a NOOP as the existing "special" page tab
is removed, put it paves the way for using tabs on special pages.

Bug: T286466
Change-Id: Ic0b52b298d598c20987b172c81c732a31e409402
2022-05-18 21:41:00 +00:00
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