Commit graph

3303 commits

Author SHA1 Message Date
suecarmol 3c556a5bf1 Bugfix: Insert Nearby menu entry to group
After refactoring and simplifying the menu building, the Nearby option wasn't getting inserted into the Group.

Bug: T312864
Change-Id: If52ac42f64154e015eab8f97393e4255db23473f
2022-07-12 11:22:59 -05:00
Translation updater bot ec6da458c2 Localisation updates from https://translatewiki.net.
Change-Id: I4b4d08e5672d8005ec90d701ec961b5c0163ef0a
2022-07-12 08:17:22 +02:00
essexigyan 7856f79d11 Add metric platfrom event tracking on mobile desktop toggle
Moderator Tools team wants to track when mobile moderators switch/toggle to desktop.

Bug: T310852
Depends-On:I017b53e99bd1043c421670a4e12683186d4fb180
Change-Id: I46d61a17ad7aa837023cff0c97a20ecf307527bc
2022-07-08 18:19:21 +00:00
Translation updater bot 1d5c6723bc Localisation updates from https://translatewiki.net.
Change-Id: Icb1181d43a74319001c5bef9b2b73bfa949a2b6d
2022-07-08 08:54:57 +02:00
jenkins-bot 00e2b28df8 Merge "Group.php: Hard deprecate insertAfter() function" 2022-07-07 23:15:41 +00:00
suecarmol 3efc6db04b Group.php: Hard deprecate insertAfter() function
Hard deprecated the Group::insertAfter() function because it is not used in the Mediawiki codebase

Bug: T311894
Change-Id: I209d3fd492713425a2727fd48c5870f983a39f9b
2022-07-07 17:27:24 -05:00
Translation updater bot 3a45a2f5a4 Localisation updates from https://translatewiki.net.
Change-Id: Iaed5d20f947ee04a5026f4f4a2494e03fe8fea44
2022-07-07 08:52:58 +02:00
Translation updater bot 9aaf8537fa Localisation updates from https://translatewiki.net.
Change-Id: I44ea3cf0aab169e8d69527b7e010f6963cb51f87
2022-07-06 10:20:18 +02:00
Translation updater bot 50cca30309 Localisation updates from https://translatewiki.net.
Change-Id: I2a4e3a5b51b54691bcfb114613ac7bf7693bfd53
2022-07-05 08:40:33 +02:00
Translation updater bot 90701792a8 Localisation updates from https://translatewiki.net.
Change-Id: Ice2f7920bd3d89287a75cf90a9de62b92b25f63e
2022-07-04 08:24:46 +02:00
jenkins-bot 7e4c9cc833 Merge "Refactor MainMenu building" 2022-07-01 18:28:46 +00:00
suecarmol 207705fced User menu overflow: add change block and unblock
Added the "Change block" and "Unblock user" to the array of possible menu entries for the overflow menu. These buttons will only appear when a user is already blocked.

Bug: T308570
Change-Id: I987083cfeb20a0c691d3fc631a9c844647fec9bf
Depends-On: If60a1194d63fff2b7b5ae1565be25a3b7b44fdf1
2022-07-01 12:21:33 -05:00
Translation updater bot d075f779b9 Localisation updates from https://translatewiki.net.
Change-Id: Ibaa52f8bda35ef59b9ed5cd11b1a6b0b915eb86b
2022-07-01 08:56:17 +02:00
Func 2b5b97a9ce SkinMinerva: Display generic history link when viewing deleted revision
The OutputPage->isRevisionCurrent() function would return true if
the revid is equal to 0, I think maybe it's for page preview.
I can't see any way to identify the page preview and fix in that
function, but Minerva won't display history bar during preview, so
simply check the revid should be fine.

Bug: T311341
Change-Id: I665ccebd4f048b406030057b090812448f2b01e3
2022-06-29 00:21:13 +08:00
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