Commit graph

3178 commits

Author SHA1 Message Date
suecarmol 3e1cb1718f Refactor MainMenu building
* Created a buildMenuEntry function
* Replaced all Group::insert() functions with Group::insertEntry()
* Added a trackable parameter to check if a menu entry will be trackable
* Removed the MenuEntry class
* Removed the MenuEntryTest class
* Removed the Group::insert() function
* Changed tests in GroupTest to test Group::insertEntry() function

Bug: T221004
Change-Id: I39bed4e9a9b09f904cb3e5d78ccb3e6e175981a8
2022-06-23 18:29:05 -05:00
Translation updater bot 7f78fb91de Localisation updates from https://translatewiki.net.
Change-Id: Ifb00c90d693d0d604480add66f30c18df1315d41
2022-06-14 08:51:38 +02:00
jenkins-bot 5eef330e30 Merge "Notification icon should be localized" 2022-06-13 21:40:50 +00:00
Jon Robson 4a71506f5c Notification icon should be localized
Bug: T310537
Change-Id: If7995350cb5d39f7d443dd922a589552b1abce3c
2022-06-13 11:42:27 -07:00
Translation updater bot f323c80641 Localisation updates from https://translatewiki.net.
Change-Id: Ia505b507c910309b73f998c190776d263cebc18b
2022-06-13 08:31:17 +02:00
Translation updater bot c465a43e50 Localisation updates from https://translatewiki.net.
Change-Id: Ie8b1eccaab06a7efd363bf9888374d9755c0a876
2022-06-09 08:19:14 +02:00
Translation updater bot 2b765f077e Localisation updates from https://translatewiki.net.
Change-Id: I85e442d8dbbb293bb55a3e7225bc127c0ed7a05d
2022-06-08 08:29:54 +02:00
Translation updater bot e671bb50ae Localisation updates from https://translatewiki.net.
Change-Id: I3e4c14bf9cf521872e56bd0faaa09cb8029eda45
2022-06-06 09:28:54 +02:00
Translation updater bot a752f2b79e Localisation updates from https://translatewiki.net.
Change-Id: I8198bb605bea2244857026e6c75e90bd17e21924
2022-06-03 08:59:50 +02:00
jenkins-bot 6757d1a4c0 Merge "skin.json: Add value to MinervaOverflowInPageActions" 2022-06-02 15:59:13 +00:00
jenkins-bot 888ae3f235 Merge "Add discussion link next to MinervaNeue skin option" 2022-06-02 15:56:01 +00:00
Translation updater bot e02f003cee Localisation updates from https://translatewiki.net.
Change-Id: I8e5d552e5c752af704b9933390695554e2baab4a
2022-06-02 08:17:15 +02:00
jenkins-bot bb2b739c2d Merge "Do not use the SkinMinervaReplaceNotificationsBadge hook to add Echo" 2022-06-01 23:31:27 +00:00
suecarmol 6df66f31ce Add discussion link next to MinervaNeue skin option
Added a message that links to Moderator Tool's talk page so users can add feedback to the changes made in mobile moderator tools. It is shown before the Preview link.

Bug: T308653
Change-Id: I2922a346fbbb2ce211212e9926b47780fda4be9f
2022-06-01 18:30:42 -05:00
Translation updater bot aa268c7cfb Localisation updates from https://translatewiki.net.
Change-Id: Id5831513c461e48d204d3c909d9a5468778e3234
2022-06-01 08:22:33 +02:00
suecarmol 9e9546fa69 skin.json: Add value to MinervaOverflowInPageActions
Added the loggedin value to MinervaOverflowInPageActions to enable the overflow menu for all logged in users.

Bug: T308675
Change-Id: Ic19308c423efc40c70490fed474bee69f1972bca
2022-05-31 13:06:23 -05:00
Translation updater bot cac7ed2870 Localisation updates from https://translatewiki.net.
Change-Id: Iaf11c7105676fb86dd693a3465f4c90cc6c19d51
2022-05-30 09:26:25 +02:00
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