Commit graph

4439 commits

Author SHA1 Message Date
Translation updater bot e2781cbe4f Localisation updates from https://translatewiki.net.
Change-Id: I5b27be4e53c7e50fc4fe726b5fa5b49117138461
2022-06-27 08:20:25 +02:00
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 3109d9aa8f Localisation updates from https://translatewiki.net.
Change-Id: If4180af57362e0994c7d38ede2221456498e8648
2022-06-23 09:15:33 +02:00
libraryupgrader 3d447ad95c build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: I80e2c7dcad28f46263899897dab6fb284855b670
2022-06-22 12:23:23 +00:00
EllenR adc53dbbfc Add sortability to sortable tables for mobile web
changed value of $config['sortable'] from false to true

Bug: T233340
Change-Id: I76a3b2e966ebe291299b7a514d86e5607db95b4e
2022-06-21 18:02:07 +00:00
Translation updater bot e2b55ab379 Localisation updates from https://translatewiki.net.
Change-Id: Iee67d1792ff7c06115b0c23f16e59f257c785b01
2022-06-21 08:34:17 +02:00
Translation updater bot e410e531e3 Localisation updates from https://translatewiki.net.
Change-Id: I3f265e2fe7dedd151cb1aee8c43ac820d52b9d1a
2022-06-20 08:20:03 +02:00
jenkins-bot cd2fe930fb Merge "Replace Action::getActionName by IContextSource::getActionName" 2022-06-16 19:07:46 +00:00
Umherirrender 9fcc068a28 Replace Action::getActionName by IContextSource::getActionName
IContextSource::getActionName exists since 3fdfef9 and returns a cached
action name, while Action::getActionName determine the action name
every time it is called.

Change-Id: I1390e6b6ecb7606480618dd5792cb0c446e048c1
2022-06-16 18:03:54 +00:00
Translation updater bot b00b7617a6 Localisation updates from https://translatewiki.net.
Change-Id: If78a6ee07cc12d782cfea89205a666d593abcb19
2022-06-16 09:27:10 +02:00
Volker E ca776d7692 pagelist headers: Increase contrast ratio
Increasing contrast ratio slightly to meet WCAG 2 AA requirements.

Bug: T310741
Change-Id: Ic7e674525e26e407e0d9f7dbab5dc87d358d5247
2022-06-15 13:07:21 -07:00
Translation updater bot 05d7596153 Localisation updates from https://translatewiki.net.
Change-Id: I9b8590f93ed3d3c1dd128fc185d89d67092d90db
2022-06-15 08:43:53 +02: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