Clare Ming
1d574b86f1
Add fade to indicate scrollability in TOC
...
Bug: T302076
Change-Id: Ib803239602333e2a8232a26a10477a0f9933b819
2022-03-28 15:58:26 -06:00
Translation updater bot
ca25b944da
Localisation updates from https://translatewiki.net .
...
Change-Id: I50554c8ac11eeef88a7eec680db9c2d3888d3347
2022-03-28 08:24:40 +02:00
jenkins-bot
9eb243714d
Merge "Improve UserLinks test to mocks registered user"
2022-03-25 21:58:10 +00:00
Translation updater bot
5be027a9c7
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a23e4000a8723cd68395b24dce387ff9fdb7ab1
2022-03-25 08:37:24 +01:00
jenkins-bot
cd04b72058
Merge "Table of contents links to beginning of article"
2022-03-24 23:51:52 +00:00
Jon Robson
dfdf72140c
Table of contents links to beginning of article
...
Bug: T301254
Change-Id: Icb0b0646f81c1070c8f47dd3297225a074f74773
2022-03-24 20:46:35 +00:00
bwang
fea5740f57
Improve UserLinks test to mocks registered user
...
Change-Id: I9d90cea74f9d39550c91c9f761414a7e5e4f2b70
2022-03-24 15:34:02 -05:00
Translation updater bot
dd65dbebf4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic7d541c36777cf1208926d85e5cd9b3eed8ded0e
2022-03-24 08:37:50 +01:00
jenkins-bot
1b8ee10357
Merge "Add data-event-name attributes to legacy and sidebar TOC"
2022-03-23 22:00:45 +00:00
Jon Robson
c73e551d49
Pass script path to URL generator
...
Bug: T288686
Change-Id: I4d4d27de2d52f3486e01c8c70bda1b9c03178a24
2022-03-23 10:37:39 -07:00
jenkins-bot
24b5d5840e
Merge "End migration mode"
2022-03-23 17:03:38 +00:00
Jon Robson
b109e10cf3
End migration mode
...
Can be merged when database rows have been updated to
no longer use skin version.
* Drop migration code
* Drop skin version preference
* Drop default skin version and existing accounts skin version
* Move skin definitions into skin.json
* Repurpose SkinVector as an abstract class
* Update READMEs
Bug: T301930
Bug: T294995
Bug: T302627
Change-Id: I7454d8f1cfdef81e7f3df476d8ce86736b46fff2
2022-03-23 16:46:42 +00:00
jenkins-bot
b3f19854b6
Merge "Revise AB.js to handle other features + server sampling/bucketing"
2022-03-22 22:53:30 +00:00
jenkins-bot
1bc4885b2e
Merge "Drop setId call"
2022-03-22 20:31:06 +00:00
Nicholas Ray
d01dead5a7
Revise AB.js to handle other features + server sampling/bucketing
...
* Eliminates AB.js dependency on sticky header
* Code coverage has been raised to 100%
* Instead of importing ABTestConfig, these props are now passed into the
function along with a token.
* WikimediaEvents hook is now fired when experiment is initialized. The
experiment should not be initialized if it is not enabled.
* Removes several methods (e.g. initAB, getEnabledExperiment) due to the
preceeding changes.
* Adds `isInSample` and `isInTreatmentBucket` methods so that the client
has less work.
Treatment buckets now follow a naming convention so that the client can
do less work querying if the subject is part of the treatment:
* Treatment buckets should have the case-insensitive `treatment`
substring somewhere in their name (e.g. 'treatment',
'stickyHeaderTreatment', 'sticky-header-treatment' )
Bug: T302046
Change-Id: I4febec42b4c471b2f2ef02be2e334bd6d2c31eec
2022-03-22 11:58:48 -06:00
jenkins-bot
c951bcbddd
Merge "Table of contents should be hidden at lower resolutions"
2022-03-22 15:44:41 +00:00
Translation updater bot
8447bb3cd4
Localisation updates from https://translatewiki.net .
...
Change-Id: I37271d33c736f3e9f2f9f3f07d94b50470fca5aa
2022-03-22 08:32:13 +01:00
Jon Robson
4b50b4bbd3
Drop setId call
...
A user with an ID is a registered user and this test requires
an anonymous user.
Follow up to a1afa7ccb3
Not sure why this was working before, but I'm guessing
setId doesn't modify the User associated with the skin
Change-Id: I32bd74bd5aec1b14fb8b725fca2f8cef5f9d2ba1
2022-03-21 16:49:36 -07:00
bwang
ac54984d75
Add data-event-name attributes to legacy and sidebar TOC
...
Bug: T302934
Depends-on: I5ef98d5f5713d3d99bc5f7f8112ba2d1e0f62e22
Change-Id: I5806c346abf0375c85248659c636ae3b2d73f661
2022-03-21 22:32:56 +00:00
Jon Robson
826a97db0e
Table of contents should be hidden at lower resolutions
...
There should be no left margin on article content.
Bug: T298898
Change-Id: I92dafcc8f1bbd0dc4a21c20035b829198c18e8cb
2022-03-21 21:17:21 +00:00
jenkins-bot
eb0e05dff1
Merge "Address some code FIXMEs"
2022-03-21 21:15:49 +00:00
jenkins-bot
1a2197f27d
Merge "Make sure label text is not selectable"
2022-03-21 21:06:29 +00:00
Jon Robson
b86dbc756c
Address some code FIXMEs
...
- Remove references to the removed wgVectorUseWvuiSearch
configuration
- Remove mw-body qualifier on Indicators component.
- Drops some cache related FIXMEs
Change-Id: I6823b9c5bf19a067b56badf29f874a7127867a09
2022-03-21 20:29:58 +00:00
jenkins-bot
9c6d3f7b7b
Merge "Update Hooks tests to cover updateUserLinksItems"
2022-03-21 20:08:16 +00:00
bwang
fec6bf15f5
Update Hooks tests to cover updateUserLinksItems
...
Change-Id: Ia719f34f060e02acb81c7d48ba5885283df0045f
2022-03-21 13:03:44 -05:00
jenkins-bot
08efa139be
Merge "Remove custom handling of aria-expanded in Vector checkbox hack buttons"
2022-03-21 18:03:14 +00:00
Mortal303
ae50914d4e
Remove custom handling of aria-expanded in Vector checkbox hack buttons
...
Removed class "vector-menu-checkbox-expanded" and "vector-menu-checkbox-collapsed" in
includes/templates/Menu.mustache and deleted the necessary lines in
resources/common/components/MenuDropdown.less, tests/jest/stickyHeader.test.js,
includes/templates/skin.mustache, skin.json, i18n/en.json and i18n/qqq.json.
Bug: T299173
Change-Id: Ibf8a08e6e5d1a6c607abf170c030a0285e84ad74
2022-03-21 23:14:51 +05:30
Translation updater bot
ce42cab493
Localisation updates from https://translatewiki.net .
...
Change-Id: I113da15efe3d3b9cba18c188ed5786d09803461b
2022-03-21 08:17:19 +01:00
dylsss
78fcf8e1ea
Make sure label text is not selectable
...
The label text must be enclosed in a span tag in order for it to inherit the rules here: https://gerrit.wikimedia.org/g/mediawiki/core/+/master/resources/src/mediawiki.ui.button/button.less#36
Bug: T296129
Change-Id: I8782a4745704d07fad7ba44c56c476973be90f60
2022-03-21 00:01:06 +00:00
jenkins-bot
0b6905b7e0
Merge "Never show an empty table of contents"
2022-03-18 20:17:14 +00:00
Translation updater bot
4a0fad93c4
Localisation updates from https://translatewiki.net .
...
Change-Id: I966671d652a44b2fb16acfb4f8e537fa6f494e27
2022-03-18 08:47:21 +01:00
Jon Robson
f3f777818c
Never show an empty table of contents
...
This doesn't seem to have got updated when we revised the data format
in T299065.
Bug: T303860
Change-Id: Ib955950e014668fe434da4a1654e977eb43f7dd8
2022-03-17 22:24:24 +00:00
Translation updater bot
2e48d378f0
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc3b798cc31df2e0a296bd6b1fabda62a8f05387
2022-03-17 08:39:32 +01:00
jenkins-bot
822d1957f1
Merge "Revert "build: Update eslint-config-wikimedia to 0.22.1""
2022-03-17 00:18:36 +00:00
jenkins-bot
1d2e4dda6c
Merge "[i18n] Table of contents heading"
2022-03-16 23:40:43 +00:00
Jdlrobson
f7a859bac5
Revert "build: Update eslint-config-wikimedia to 0.22.1"
...
This reverts commit b72c648d21
.
Reason for revert: Causes an issue with the search
(See https://phabricator.wikimedia.org/F35009362 )
Change-Id: I09f7e5c9eab677bfd5a92cf2d8389d20a2d6e87a
2022-03-16 23:40:42 +00:00
bwang
2567e48f64
Fix updateUserLinksDropdownItems not being called
...
Bug: T304002
Change-Id: Idc9cd3a324f48d2c48243b5011d1559839789539
2022-03-16 22:07:57 +00:00
Jon Robson
6855979a92
[i18n] Table of contents heading
...
Should be translateable
Change-Id: I3c4515f16b5300a44f89ebdcd426a9d8ac6ad138
2022-03-16 17:18:51 +00:00
jenkins-bot
0b3d452083
Merge "build: Update eslint-config-wikimedia to 0.22.1"
2022-03-16 17:04:23 +00:00
jenkins-bot
4bb95af10c
Merge "Set position and z-index for mw-page-container"
2022-03-16 16:21:20 +00:00
Ed Sanders
b72c648d21
build: Update eslint-config-wikimedia to 0.22.1
...
Change-Id: If632697f7c3bb3fad6668d791d9408f7b7a3590b
2022-03-16 15:42:07 +00:00
jenkins-bot
218dc95af5
Merge "Update Node version"
2022-03-16 15:09:24 +00:00
Abijeet
3a39708163
Set position and z-index for mw-page-container
...
This forms a stacking context inside mw-page-container. It allows
overlays appended to the body tag to position themselves over the
Vector interface.
Bug: T301452
Change-Id: Ie187fde43dd8e7f108388c848438545c75d19b09
2022-03-16 13:29:07 +05:30
Translation updater bot
448c300603
Localisation updates from https://translatewiki.net .
...
Change-Id: I215f6e0a255ff947900afef9289cf64e182aa30c
2022-03-16 08:09:34 +01:00
Jon Robson
1113492383
Update Node version
...
Change-Id: Ib0f2fcb372e2d89450c26beca691bc7060f11718
2022-03-15 14:26:04 -07:00
Translation updater bot
753c634961
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a6bee90222912f8cdc80501d83cd7c7cfc2aef4
2022-03-15 08:27:13 +01:00
Translation updater bot
094928736c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2ace7e5843efb6bd96891eb63e622fffb81d79ee
2022-03-14 08:16:44 +01:00
bwang
2511e35837
Refactor user links functions in Hooks.php to increase test coverage
...
Change-Id: I8fbf5cdf111dbb1ec06e5e74056ffdef77f77f22
2022-03-11 21:53:06 +00:00
Translation updater bot
749217f782
Localisation updates from https://translatewiki.net .
...
Change-Id: I71ca8af34211b04dea09b4bb28c1d421417bc79b
2022-03-11 08:35:05 +01:00
Translation updater bot
fe9b975f6d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia01d282ccb75d5d8be80672949c84e242a50ea4c
2022-03-10 08:21:35 +01:00