Commit graph

3653 commits

Author SHA1 Message Date
jenkins-bot acc6286ecd Merge "styles: Apply Codex z-index tokens" 2023-05-25 16:17:49 +00:00
jenkins-bot a71206be6e Merge "Make use of mw-file-element class" 2023-05-25 15:13:44 +00:00
Arlo Breault a59bf8066e Make use of mw-file-element class
Added to core in Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b

Applies the border more generally.

Bug: T314097
Change-Id: I884010c6b84b2dcb4dfc55f7b4cab9fefd3f6786
2023-05-25 10:33:14 -04:00
Santhosh Thottingal 13d536a26d
Show Contribute menu item in main menu when Special:Contribute is enabled
Bug: T336838
Change-Id: I32662dcb244a019bc8878c8b98f46370d4156eda
2023-05-25 13:27:39 +05:30
Translation updater bot ca96d4ed1e Localisation updates from https://translatewiki.net.
Change-Id: I4e366b75b004c808ae11e2eb941aec8b3711f30e
2023-05-25 09:13:58 +02:00
Translation updater bot 31e4a207ff Localisation updates from https://translatewiki.net.
Change-Id: I35a493a7df83d385ab78c7ec118627e0828a7c8c
2023-05-22 08:49:27 +02:00
Umherirrender 32c1ebd3cc tests: Make PHPUnit data provider static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Ie3edbdce0d5eae5b09236675469f32719cee558d
2023-05-20 10:58:18 +02:00
Translation updater bot 8510f345d9 Localisation updates from https://translatewiki.net.
Change-Id: I984057d380a428b9abb6bc3e3a31f7ab8c48a87c
2023-05-19 10:45:13 +02:00
Volker E b28b80e222 styles: Apply Codex z-index tokens
Applying central Codex design tokens in new architecture.
This replaces all existing MN `z-index` tokens and comments on
replacement choice.

Bug: T285592
Change-Id: I23d794566898946a500c10713802d8dfaad993d1
2023-05-18 23:33:38 -07:00
jenkins-bot 7ffe50b5ce Merge "jquery.cookie is deprecated" 2023-05-17 19:55:27 +00:00
Translation updater bot b2494a169a Localisation updates from https://translatewiki.net.
Change-Id: I9b59231fa3dee458e9513469a204a4a0c0e94ffb
2023-05-17 08:51:10 +02:00
jenkins-bot ede808475d Merge "build: Updating eslint-config-wikimedia to 0.25.0" 2023-05-16 09:47:48 +00:00
Umherirrender b24107fbcf build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I3280de17d1dbd2da5980ea87cf29f420a99b457b
2023-05-16 00:02:49 +02:00
Jon Robson b0b30f3f87 jquery.cookie is deprecated
Bug: T271995
Change-Id: I5750707cdd630de4c79784125ed7e6dc17079898
2023-05-15 14:07:28 -07:00
Translation updater bot 7dee7f2e56 Localisation updates from https://translatewiki.net.
Change-Id: Icbf4c863238a9c2b8a2f79305e662e8dba36719c
2023-05-15 08:36:26 +02:00
Translation updater bot 8730c214f9 Localisation updates from https://translatewiki.net.
Change-Id: I2accd588365059ccf9941728902acafe85e19fd3
2023-05-10 08:44:07 +02:00
Translation updater bot 522daea0ef Localisation updates from https://translatewiki.net.
Change-Id: Ic0b9d29a52a9d33ee1c572bd2b53ff1d142d25d9
2023-05-08 10:36:33 +02:00
Umherirrender 8c12e8b6dd Replace deprecated Hooks::run
Bug: T335536
Change-Id: I94280162586373a9399b3ec1b16ab9963e2d7945
2023-05-06 22:53:47 +02:00
jenkins-bot 9a529c3652 Merge "Improve styles for mw.notify and post-edit messages" 2023-05-05 16:14:15 +00:00
jenkins-bot d5529a2252 Merge "Standardize user overflow menu" 2023-05-05 12:30:25 +00:00
Volker E a44c3a0652 styles: Use appropriate tag marker @border-radius-pill token
Have falsely used the circle token for this, as it was using the
same height and I thought it's a circular shape. Pill is the right one.

Bug: T335932
Change-Id: I069d3a259993e01310586732829708f1a4f8b547
2023-05-05 02:37:49 -07:00
Translation updater bot 0dab6652e8 Localisation updates from https://translatewiki.net.
Change-Id: Ie7cdda10cbbb93b3cd44c392bd72f22342f47396
2023-05-05 10:46:13 +02:00
Bartosz Dziewoński 75751e5512 Improve styles for mw.notify and post-edit messages
* Allow multiple notifications to be visible at the same time without
  overlapping
* Don't allow notifications to cover the entire screen
* Fix icon placement in post-edit notifications

Bug: T336001
Change-Id: I7b76b0f97bc4b5ca85f4b47bd27ae7568bcbe353
2023-05-04 21:54:24 +02:00
jenkins-bot 8b6c31f696 Merge "Fix background for temporary user links on Watchlist and RecentChanges" 2023-05-02 15:45:37 +00:00
Thalia d6ce599a75 Fix background for temporary user links on Watchlist and RecentChanges
Bug: T335373
Change-Id: I07df052b05aee2649dc58f00e8487447565a56cc
2023-05-02 15:53:58 +01:00
Translation updater bot 62e2443a18 Localisation updates from https://translatewiki.net.
Change-Id: I6dbd10ac2890542f649837b0830e5b6b74561a2b
2023-05-02 09:02:57 +02:00
jenkins-bot ac234277ea Merge "Remove unused '@-webkit-keyframes'." 2023-04-30 11:50:57 +00:00
libraryupgrader 537b441590 build: Updating mediawiki/mediawiki-phan-config to 0.12.1
Change-Id: Ia56b345c5ab1a1fe4f4daf8d00a672f59b38c9b8
2023-04-29 16:44:17 +00:00
Jon Robson 132a2ab7e8 Standardize user overflow menu
Make it behave just like the normal page actions menu, taking
its data from the core toolbox definition. This will allow it to
be extensible by extensions who declare an icon field for their
menu item.

Follow up to Ifd10da690a33e7fc5790a7b444b62fbfd1b95d98

Depends-On: I6881785676e2909434991b633ac181d05a272352
Bug: T335603
Change-Id: I88ac38acf22fbce0c3e0a4f4c6efcaef4ca49907
2023-04-28 19:33:43 +00:00
Translation updater bot aaf8741e82 Localisation updates from https://translatewiki.net.
Change-Id: I4398bfeb157e5ace962674b2eb5a42e9b6ebbea7
2023-04-28 09:00:02 +02:00
Translation updater bot 3ff3aa9d59 Localisation updates from https://translatewiki.net.
Change-Id: Iaef23da3437301b83be3c395b692e390bf5870d6
2023-04-27 09:17:48 +02:00
Translation updater bot 9d9a29a391 Localisation updates from https://translatewiki.net.
Change-Id: I412a75193f0a93122f66e609aefc4ca74d78afb7
2023-04-26 08:45:50 +02:00
jenkins-bot 8c3ee208c3 Merge "styles: Replace 'mediawiki.ui/variables' call with skin variables" 2023-04-25 23:41:57 +00:00
Translation updater bot 0710c07562 Localisation updates from https://translatewiki.net.
Change-Id: I1466e5b97fe802b60d4c3f9e18f7caf3bc38df74
2023-04-25 08:50:08 +02:00
Volker E 38ca243e39 styles: Replace 'mediawiki.ui/variables' call with skin variables
Replacing 'mediawiki.ui/variables.less' @import with
new skin-aware 'mediawiki.skin.variables.less' standard.
Removing calls for 'mediawiki.skin.variables.less' in favor for
'minerva.variables.less' for consistency.
Also
- replacing several static values with new Codex design token featuring
  skin variables of `background-color`, `color`, `border-*` and
  `transition` categories
- renaming several Less variables to variable naming standard
- moving a small number of MinervaNeue specific variables into
  'minderva.variables.less' file. Those should be replaced in mid-future
  by Codex design tokens

Please note, that this patch is not replacing all values with
possible Codex tokens. It's just applying them on selected
categories for consistency for now to keep the patch easier reviewable.
Further replacements will be done in follow-up patches.

Bump MediaWiki core required version to >= v1.41.0.

Bug: T319381
Bug: T332541
Depends-On: I98c8cc27527533e2efb3b987ee34bc403e988b75
Change-Id: I86c5a35377541a784552c29456e0b8b507b3ee9c
2023-04-24 16:08:27 +00:00
Translation updater bot 12d2251410 Localisation updates from https://translatewiki.net.
Change-Id: Ieb7aa5880e0cdbda653ad36c6dd545a724e7c36e
2023-04-24 09:19:58 +02:00
TehKittyCat 4d0844c77e Remove unused '@-webkit-keyframes'.
Left behind after d926771b removed deprecated vendor mixin.

Change-Id: I5a45d7db77ed922b3780382365c16cd07e8d852c
2023-04-23 01:16:46 +00:00
Translation updater bot 8716bd4de0 Localisation updates from https://translatewiki.net.
Change-Id: I16bf4fe4af98ecebd4b0b03d0ae97243d7ecfe98
2023-04-21 09:03:48 +02:00
Translation updater bot 6268635764 Localisation updates from https://translatewiki.net.
Change-Id: I8c1c8a5cc75ab5aca697b8484550280433b3d0da
2023-04-20 08:51:06 +02:00
Nicholas Ray 2179d08a8e Replace slow thumbnail init code with event delegation
Previously, page load executed code that iterated through each image on the
page, attached a click listener, and "attached" a Thumbnail object to the
element.

This execution took 90ms on my low-end phone and seems like it can be replaced
with event delegation instead. This will result in less work on the main thread
during page load and a more responsive user experience.

Additionally:

* Remove redundant check of the primary mouse button. Per the "click" event spec
[1], this click event "should only be fired for the primary pointer button
(i.e. when button value is 0)."

* Move initMediaViewer, initRedLinks, initRedLinksCta into same wikipage.content callback as the TOC mutation.

[1] https://w3c.github.io/uievents/#event-type-click

Depends-On: Ica3e0448e3d687e9c4cf563542dbe44432d196d5
Bug: T241139
Change-Id: Iebb18dfb225b474402c0d8ab5e39c5e9e71d3ad7
2023-04-19 21:13:55 +00:00
Translation updater bot ee72eaa0ec Localisation updates from https://translatewiki.net.
Change-Id: I9c099aa016b82e2a9c24b1006f6d2fd558c0b359
2023-04-19 08:29:11 +02:00
jenkins-bot 05f11e0b28 Merge "Add missing Create account icon on pt.wikinews.org" 2023-04-17 21:40:41 +00:00
jenkins-bot 59fb41cd49 Merge "Use final action name when deciding to display navigation" 2023-04-17 17:52:48 +00:00
Bartosz Dziewoński c542b77a71 Use final action name when deciding to display navigation
Final action name can be different from the 'action' URL parameter.
This method was already used in several places in this code.

Bug: T334727
Change-Id: I803aec7c6d057616b88a8e3f4845ce8de399aa12
2023-04-17 18:54:48 +02:00
Klein Muçi 100def0a8c Add missing Create account icon on pt.wikinews.org
Bug: T333881
Change-Id: I269f5eb571041af2680e1b4af8afeec4d3563a82
2023-04-17 16:09:26 +00:00
Translation updater bot 60046d5c28 Localisation updates from https://translatewiki.net.
Change-Id: I4a24676142100485f09aed9c3565fd168ec2bccf
2023-04-17 09:18:49 +02:00
Translation updater bot b7ba35e158 Localisation updates from https://translatewiki.net.
Change-Id: Ie3efe32f14aa8f1b322478ac70acea65d055b0df
2023-04-13 08:49:17 +02:00
Thalia 52273510fe Add custom styles for temporary user links
Bug: T334581
Change-Id: I0641bab87a8c942fb58e63c08924f5ff9f4472b0
2023-04-12 18:38:28 +01:00
Umherirrender 69dd6f1c5b build: Convert resources/.eslintrc.js to json file
No javascript code in the file

Follow-Up: If778a8176b8a18cc9a5501f7147cc39fc0a48d45
Change-Id: I556d34a0f9e880cd4a0b97d7ef3e0831e2fef5eb
2023-04-11 19:06:04 +02:00
jenkins-bot 5a1b568e58 Merge "selenium: Refactor WebdriverIO tests from sync to async mode" 2023-04-11 15:28:19 +00:00