Translation updater bot
289bcb291f
Localisation updates from https://translatewiki.net .
...
Change-Id: Id18884c6f2cdac1d466e458af9ea7811e33ce55e
2021-12-22 08:35:37 +01:00
bwang
80141b61c9
Use core checkbox hack consistently for all dropdown and provide custom JS enhancements for the sidebar button
...
Depends-on: Id74a80cda6cf460cc2b579269b8d5b2ce81c8ca5
Change-Id: Ibd9518dab78d1d9a541b501d920fe3bd4d362093
2021-12-21 23:33:59 +00:00
jenkins-bot
af2b4a0da4
Merge "Add watchstar to sticky header (alternative)"
2021-12-21 19:30:28 +00:00
bwang
bd799ecc2e
Add watchstar to sticky header (alternative)
...
Bug: T294759
Depends-on: I88af8585e8fc75f77ebef867d267199aeb2c6592
Change-Id: I15c409830ef8970ff7319b4dd447904443949b8d
2021-12-21 09:40:48 -08:00
Translation updater bot
6de9169227
Localisation updates from https://translatewiki.net .
...
Change-Id: Id3e18de503799587a52dc82cf2308d2f02060dc9
2021-12-21 08:13:30 +01:00
Translation updater bot
4e8585957e
Localisation updates from https://translatewiki.net .
...
Change-Id: I600452529ab340aa8448db1550444cd819d3fe54
2021-12-20 08:23:34 +01:00
jdlrobson
9444bc3e86
DRY up mw-ui- class generation
...
Repeated in multiple places now, making it harder to change
button/icon classes.
Change-Id: I3799d065ac0c4ccdc900cbebe9140fb8ea657008
2021-12-17 10:06:46 -08:00
Translation updater bot
9684566e4f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb5acda88572da10dff699f2769c5708c898b7da
2021-12-17 08:19:03 +01:00
jenkins-bot
c6691a191d
Merge "Disable table of contents in article body"
2021-12-17 00:17:16 +00:00
jdlrobson
ef59d7b973
Disable table of contents in article body
...
This will currently remove table of contents in article body
for legacy and modern skin.
To prevent us deploying this in current form, a check is
added in generateHTML
This requires an adjustment of OverridableConfigRequirement to
support requirements which do not vary on whether the user is
logged in or not.
Bug: T297610
Change-Id: I847a284229e498b3aa04c16ea3f84c360e735052
2021-12-16 16:11:05 -07:00
jenkins-bot
44ef14574f
Merge "Drop language A/B test bucketing check"
2021-12-16 22:00:45 +00:00
jdlrobson
5a8a3d0d13
Drop language A/B test bucketing check
...
The existence of this code means we can't safely use this service
inside the skin's constructor.
We no longer need this, so that's fine.
Change-Id: Iffd82c00030c4cf1238a931dc971ffb4686d2620
2021-12-16 12:15:47 -08:00
jdlrobson
d79dbf37c9
Don't use ts-ignore. It is hiding real errors
...
We are passing the wrong arguments to
addVisualEditorHooks
Bug: T297119
Change-Id: I2f8ced4513a1e5fcca2a2a2393cbb8fd7a3db388
2021-12-16 10:27:42 +00:00
Translation updater bot
d20e32f8d1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie83c6deba7cd2025907768708e9931902ff69d0a
2021-12-16 08:32:28 +01:00
jenkins-bot
9e710f9a96
Merge "Add composer test:size as shortcut bundle size test"
2021-12-16 00:00:23 +00:00
bwang
321e6b19e1
Move watchlist button out of user menu dropdown and adds temporary feature flag
...
Bug: T289619
Change-Id: I57addbed2ea8ead5d98bce659f3db1f88f8a5094
2021-12-15 23:21:37 +00:00
jenkins-bot
d06a4ab2e7
Merge "Update skin authors to include web team"
2021-12-15 23:17:59 +00:00
jdlrobson
cae801747f
Update skin authors to include web team
...
Change-Id: I0aa3bf23f8b55b215d5429ced5e47e1395cf69bb
2021-12-15 22:43:45 +00:00
jdlrobson
44aeee5d83
Vector uses html-title-heading
...
The H1 is available with the correct attributes in core now, so
we can use that instead of our own markup. This also means Vector
will benefit from updates to the heading in core such as main page
special handling.
Bug: T297728
Change-Id: I4d10370678fad6455d73994bf340891760543b71
2021-12-15 22:27:48 +00:00
jenkins-bot
9efaaf8afa
Merge "Add feature flag for sticky table of contents"
2021-12-15 18:16:16 +00:00
Translation updater bot
3f269d87e3
Localisation updates from https://translatewiki.net .
...
Change-Id: Id4ee92cb91fbab971db99918b52972289f0e1f95
2021-12-15 08:10:44 +01:00
jenkins-bot
8357b2c325
Merge "Validate the value of VectorWebABTestEnrollment"
2021-12-14 23:36:21 +00:00
Clare Ming
72fecd41f2
Add feature flag for sticky table of contents
...
- Add TOC feature requirement.
- Update data for SkinVector.
- Add TOC template.
Bug: T297610
Change-Id: I90bc5e21ba187ac9dd74d5e97763834795a0545b
2021-12-14 16:26:58 -07:00
jenkins-bot
b538d23c57
Merge "Close .vector-menu-dropdown menus in modern Vector beforeunload"
2021-12-14 22:53:54 +00:00
jdlrobson
64ee622c73
Validate the value of VectorWebABTestEnrollment
...
The generation of JavaScript will throw a RuntimeException
making it obvious when an invalid A/B test has been setup.
Bug: T297662
Change-Id: I75b0e923463bf52f8fc5b5c6b7f9baf586053154
2021-12-14 22:22:26 +00:00
Translation updater bot
0cbf9c61d9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia395437065234bf77bbe5c6910382996fb18ed98
2021-12-14 08:44:20 +01:00
Clare Ming
60553ff324
Prevent A/B test enrollment hook from firing for unsampled
...
Bug: T297662
Change-Id: Ibeca32a3c0fab7de403d69ea274c653cf4bd6c0e
2021-12-13 17:31:17 -07:00
Nicholas Ray
3187fa41ad
Close .vector-menu-dropdown menus in modern Vector beforeunload
...
Per T295085, because of the checkbox hack, these menu would stay open
when navigating back to a page.
Bug: T295085
Change-Id: Ief9523030384b4bcaa00379988e2042b4d177dcc
2021-12-13 17:24:44 -07:00
jdlrobson
983437312b
Don't add language button to sticky header on pages without languages in content
...
In Commons languages appear in sidebar.
The language button shouldn't show in the sticky header on these wikis
Bug: T297362
Change-Id: I17d283a7c0ad20bdcaf39b234a7fe766880ab28a
2021-12-13 20:04:50 +00:00
Translation updater bot
326a9db5e3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic347171aa298f0f3befccf52a8e14fdaa5faf7a7
2021-12-13 08:24:32 +01:00
Kosta Harlan
23bfd3ff36
Add composer test:size as shortcut bundle size test
...
Change-Id: Id3c6519eba22babd694cc5fdf3ca85bd44ba7df4
2021-12-10 19:59:19 +00:00
jenkins-bot
1ceb673578
Merge "Move bundlesize test to MediaWikiIntegration test"
2021-12-10 19:55:16 +00:00
Clare Ming
dfa649741d
Fix format of VectorWebABTestEnrollment
...
mw.experiments.getBucket expects buckets to map to numbers
Bug: T295972
Change-Id: Ie3e35f78a42ed633ad2f26a72ad87a8bf190fc51
2021-12-10 12:18:49 -07:00
jenkins-bot
dc6bd9af95
Merge "Remove need for html-class template property"
2021-12-10 18:03:22 +00:00
jenkins-bot
2e492515b3
Merge "Add language switching alert in sidebar for language in header"
2021-12-10 17:04:06 +00:00
jdlrobson
ca501bb581
Remove need for html-class template property
...
Follow up to 9dcfc1f
This simplifies the template by removing the need for the html-class.
The font-size can be provided to the entire content area meaning we don't
need the link-only class
Change-Id: Id5c49358f6ec007b3205ee390cf68334a1e56de5
2021-12-10 08:40:01 -08:00
Kosta Harlan
6270246d44
Move bundlesize test to MediaWikiIntegration test
...
The main motivation is to reduce runtime by not invoking an unneeded
Selenium test phase in Quibble, which currently needs about 1 minute to
install npm dependencies.
Depends-On: Ieb7591f3c0ac843677a2a61b4ad47f920fc2ca2d
Bug: T255149
Change-Id: I0563421b3a3d3e6e81abec987c266ade275b47a1
2021-12-10 08:48:59 +01:00
Translation updater bot
fd690f36fe
Localisation updates from https://translatewiki.net .
...
Change-Id: I5762622cf9946d309fedaa4efabe98d4d13567c7
2021-12-10 08:27:43 +01:00
Clare Ming
9dcfc1ff27
Add language switching alert in sidebar for language in header
...
- Add i18n messages.
- Update relevant data methods in Vector.
- Update sidebar template + styles.
- Add new template partial for sidebar actions.
- Add feature flag to turn on/off alert.
Bug: T295555
Change-Id: I232ce13770917d51495391f4b8d8d1a3a8a7afb8
2021-12-09 16:37:36 -07:00
jenkins-bot
cc44e46229
Merge "Define sticky header ULS behaviour"
2021-12-09 23:15:05 +00:00
jdlrobson
51cce2d0d4
Define sticky header ULS behaviour
...
* It sticks to the header on scroll
* It hides when the sticky header hides
Bug: T296680
Change-Id: I5a4e2ba42e172ea55fbdac8f35ec895f6b2756cd
2021-12-09 22:18:35 +00:00
Clare Ming
454a2845b4
Update A/B test enrollment name
...
Bug: T292587
Change-Id: Ib4174119e18496139bb942032a2401ebc4d1849f
2021-12-09 13:16:54 -07:00
jenkins-bot
d0116e07f9
Merge "Make ULS in header quiet progressive button"
2021-12-09 17:33:03 +00:00
bwang
b79290f5c9
Make ULS in header quiet progressive button
...
Bug: T291286
Change-Id: Id1e056330606b87bafb8f43e7ff28d96290465b4
2021-12-09 15:27:04 +00:00
Translation updater bot
95284c7a8e
Localisation updates from https://translatewiki.net .
...
Change-Id: I5f99067ececef3b9c982a548eeb0e7daf2dfcb05
2021-12-09 08:24:45 +01:00
jenkins-bot
a7c16c7f30
Merge "Feature flag language button in main page header"
2021-12-08 23:11:53 +00:00
Nicholas Ray
24a5817315
Feature flag language button in main page header
...
Per the ticket, when this flag is enabled (and the
VectorLanguageInHeader config is enabled) we want to move the language
button from the bottom of the main page to beside the main page's title.
This config can be toggled with the `languageinmainpageheader` query
param (e.g. `?languageinmainpageheader=1`).
Bug: T293470
Change-Id: I41b4677f80b939810d16907b508ab29936f8629c
2021-12-08 15:11:25 -07:00
Translation updater bot
ac917532fa
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib739f6f4dca431f4598c2c802199d23d95b40f10
2021-12-08 08:14:00 +01:00
Clare Ming
43c1fee6b4
Add data-event-name attribute to sticky search icon.
...
Bug: T296999
Change-Id: I3d5d8534f1946a9e9c876451fb7f7605712827e4
2021-12-07 16:30:15 -07:00
jenkins-bot
662fa2a013
Merge "Align mw.notify()
alerts to avoid overlapping sticky header"
2021-12-07 22:38:02 +00:00