Compare commits

...

1134 Commits

Author SHA1 Message Date
jonny 6e20463fbb Update 'skin.json' 2022-10-10 21:12:48 +00:00
jonny 16d56dc933 change name of skin in metadata 2022-10-10 21:04:38 +00:00
Translation updater bot 5c19c19eb6 Localisation updates from https://translatewiki.net.
Change-Id: I656ca80609e386cd4006e39a8773aaff2ced12c9
2022-10-10 10:23:55 +02:00
jenkins-bot 74bdd375bb Merge "link.prepend is not a function in older browsers" 2022-10-09 09:33:52 +00:00
Jon Robson 8a54c0841b link.prepend is not a function in older browsers
Seen in logstash for Chrome 50.
Icons are not essentially, so gracefully degrade in these browsers
to items without icons.

Change-Id: I083c87c9bf5f256c8bcd2893e251571b97440ce1
2022-10-07 00:59:00 +00:00
Roan Kattouw 5693594bd1 Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl
This allows the URL to the other wiki's rest.php to be configured
exactly, rather than assuming that it has the same wgScriptPath as the
current wiki. This is necessary to make this feature work on PatchDemo,
where wgScriptPath looks like '/123abc456/w'.

$wgVectorSearchHost is removed, since nothing uses it except PatchDemo
(where it's broken) and development setups.

Bug: T319494
Change-Id: Ife042f4f683d366a31a642723746d4aa80774c03
2022-10-07 00:57:58 +00:00
Jon Robson 508d5fc548 phan: Suppress error on Vector master blocking commits
Change-Id: Ib864f4c901db2b589a0f71228154487f9128b0bc
2022-10-07 00:40:50 +00:00
jenkins-bot 21a63b7c42 Merge "Restrict margin between arrow and icon to feature flag" 2022-10-05 21:11:50 +00:00
Jon Robson e62062631d Restrict margin between arrow and icon to feature flag
Follow up to 1bb0a0e8f

Bug: T319070
Change-Id: I850088abdf815c0c65a05aa2a7dfd9445aa688f6
2022-10-05 19:18:55 +00:00
jenkins-bot 9af2908bae Merge "Regression: Restore tab styles to legacy icons" 2022-10-05 19:07:27 +00:00
Jon Robson a36ec92a27 Regression: Restore tab styles to legacy icons
Follow up to d0775a2

Change-Id: I5c3e4ac2ca0ed457863b4e4dd3cc9ccc3dca86d0
2022-10-05 18:44:19 +00:00
jenkins-bot ca3fe05c5e Merge "Move horizontal padding from .mw-body to .mw-page-container, improve .mw-page-container styles" 2022-10-05 17:06:12 +00:00
bwang 7c172531c2 Move horizontal padding from .mw-body to .mw-page-container, improve .mw-page-container styles
Visual changes:
- Footer text and border is aligned with header icons
- Main page content has no padding, slightly wider on certain pages/viewports

Bug: T317573
Change-Id: Id0c4343b8bc4c16006c0b9abd914213ca2f307ca
2022-10-05 10:30:12 -05:00
Translation updater bot 29c97d0134 Localisation updates from https://translatewiki.net.
Change-Id: I102744492e637e00d74d94a569a20efa41ce4d6a
2022-10-05 08:26:31 +02:00
jenkins-bot 142aa4abcd Merge "Visual enhancements next: Fix alignments of icons" 2022-10-05 02:24:16 +00:00
Jdlrobson 1bb0a0e8fa Visual enhancements next: Fix alignments of icons
This reverts commit d1ef0d3aaf.

Reason for revert: Applying again without the impact on styles in
master.

Bug: T319070
Change-Id: I751168e1dc0f6235fd5ba881dc884941edbf4b77
2022-10-05 01:33:09 +00:00
jenkins-bot f8af368121 Merge "search: Reduce skins.vector.search module size" 2022-10-04 23:35:08 +00:00
jenkins-bot e8d5796544 Merge "search: Add some tests for instrumentation.js" 2022-10-04 23:35:06 +00:00
bwang d0775a2af9 Technical: Cached HTML cleanup
Change-Id: I6638a816fba3002289236f50d3d0e976f478affe
2022-10-04 18:23:57 +00:00
jenkins-bot daaa5667a4 Merge "Remove $isDropdownItem param from SkinVector::getCreateAccountHTML" 2022-10-04 17:19:54 +00:00
Translation updater bot 9d218b1e1c Localisation updates from https://translatewiki.net.
Change-Id: I12bdb7ed82cfb124592c82f168732d341ea96191
2022-10-04 08:31:42 +02:00
jenkins-bot fa1f971df5 Merge "Adjust watchstar animation" 2022-10-04 03:27:34 +00:00
Jdlrobson d1ef0d3aaf Revert "Visual enhancements next: Fix alignments of icons"
This reverts commit 2a2496f818.

Reason for revert: CSS rules meant for the new feature flag
were leaking into the non-feature flagged version of Vector which
was not intentional. I'll repost this change shortly.

Bug: T319070
Change-Id: I05504ee6f86c99d4b4cf686066f852ecbe98ee87
2022-10-04 00:17:21 +00:00
Jon Robson cc9fc193f6 Adjust watchstar animation
Rather than infinitely spinning, spin it once 72deg to the right
hand side just how we do on mobile.

Bug: T317371
Change-Id: I1ed89e4ad2b54444f920d850bb4a17e9caa92dc5
2022-10-03 23:53:31 +00:00
Jon Robson 2a2496f818 Visual enhancements next: Fix alignments of icons
* Add 8px margins between mw-list-item in header
* Fixes vertical alignment on watchstar
* Fixes alignment of Echo icons

There should be no visual regressions (on master with defaults)
with this change.

Bug: T319070
Change-Id: I410c051da2129d6de10bc762e1b484cf30b6dab3
2022-10-03 20:59:08 +00:00
Jan Drewniak 98068d9598 Restore navigation landmarks in page toolbar
Adds landmarks to the article toolbar
- Namespace navigation
- View navigation
- More options navigation

Removes the "tools" landmark and associated
aria-label (and translation message).

Makes the #left-navigation and #right-navigation
flexbox to ensure the new <nav> elements, along with
gadgets, align on one line. Moves the styles for
these elements from screen.less to ArticleToolbar.less.

Bug: T317440
Change-Id: Iceff337b0e250c1f368dbaea6cc41a977d8ee868
2022-10-03 10:39:39 -04:00
Translation updater bot 03e793aeec Localisation updates from https://translatewiki.net.
Change-Id: Id12e0082daa2527c42832116e8e41cec86ad7045
2022-10-03 09:48:34 +02:00
Jon Robson db08697b17 Prepare for icon touch area change
Should result in no visual changes with default Vector config (e.g.
Pixel)

Bug: T314323
Change-Id: Id1d72fdede3aabab630f9318516ef0f92b12e23b
2022-09-30 16:35:17 -07:00
bwang 76f73decca Fix page toolbar border
VISUAL CHANGES:
- Minor tweaks to border color

Bug: T318952
Change-Id: I887e9dc922828a64afe010c2c13912711fcfbaa1
2022-09-30 22:25:59 +00:00
Jon Robson 4b17edadd7 Fixes to addPortletLink hook handler
* Ensure addPortletLink hook is only run once
* Mark more menu as not supporting icons so icons are not added

Bug: T317491
Bug: T318495
Change-Id: I99450a5b0410e88cc7cdb2753b9b4256e3fe41db
2022-09-30 20:37:01 +00:00
Jon Robson 785926d8ba Technical: Generalize icon flushing
This code is not resilient to changes in the mw-ui-icon definition
In preparation for changing touch areas we need an easy way to
flush these correctly based on feature flag.

No expected visual changes.

Bug: T314323
Change-Id: Ia10a7c696c690887a37851684215e515474fbd90
2022-09-30 20:12:14 +00:00
Nicholas Ray 849e63b798 Remove $isDropdownItem param from SkinVector::getCreateAccountHTML
The SkinVector::getCreateAccountHTML method only had one caller which always
passed `true` for the $isDropdown argument. Therefore, we can remove this param
and always assume that it is a dropdown item.

Bug: T317789
Change-Id: I19ceecbac152d1399ab323ab14e07db9dc82c244
2022-09-30 14:03:02 -06:00
Lucas Werkmeister 86c9693693 search: Reduce skins.vector.search module size
Change I765d3bbf89 pushes the module over the configured maximum allowed
size (3 KiB, see bundlesize.config.json); shave off some bytes elsewhere
to bring it below the limit again. IMHO all of these changes should be
acceptable:

* arrow functions are already used elsewhere in this module;
* using the mw.config.get() fallback argument is normal (it slightly
  changes behavior, but I don’t think explicitly setting the search
  client or URL generator to a falsy value and expecting to get the
  default behavior should be considered supported);
* not quoting [name="search"] matches [name=title] immediately above;
* using forEach() with a function reference is still readable (initApp()
  is now called with extra arguments, but that doesn’t matter).

Change-Id: I45dda26cb59279d91804b0c2bbf12174fa78ee12
2022-09-30 19:05:03 +02:00
Lucas Werkmeister 0150a0cb26 search: Add some tests for instrumentation.js
Change I45dda26cb5 removes some code, and in the process reduces the
branch coverage of the skins.vector.search module below the threshold of
25% that CI requires; add some tests for instrumentation.js to bring the
branch coverage up again.

Change-Id: I5d7ae019b3219b410c658583a6d72cf56d0cc1c5
2022-09-30 19:05:03 +02:00
Translation updater bot 21573d8288 Localisation updates from https://translatewiki.net.
Change-Id: Ibe07c319ecc139faccd90a7657fb91f193016dec
2022-09-30 08:57:15 +02:00
jenkins-bot a9a8663763 Merge "[Quick Fix] Fix Vector 2022 should display a "log in" link on private wikis" 2022-09-30 01:36:14 +00:00
jenkins-bot ba7fda1a69 Merge "Update name of body class to avoid confusion" 2022-09-29 14:58:38 +00:00
Translation updater bot a25f8d9c78 Localisation updates from https://translatewiki.net.
Change-Id: Ie4450a8b92bca345906f87ec59dc2d8f7a1bf146
2022-09-29 08:29:47 +02:00
jenkins-bot da53130bc8 Merge "[Visual enhancements next] Make the Echo buttons functional" 2022-09-28 23:49:25 +00:00
Jon Robson 44ee12c717 [Visual enhancements next] Make the Echo buttons functional
This completes the changes to Echo inside the
vectorvisualenhancementnext=1 feature flag

Bug: T257143
Change-Id: I8f3904815c90ef1a10a2342c5c70363c8b9e1e47
2022-09-28 17:06:20 -05:00
bwang e7944de81c Add Article Tools feature flag
Bug: T306609
Change-Id: Ia40af4e48c006aeceebd3879ff0aaecbe1b200d4
2022-09-28 15:41:30 -05:00
Jon Robson 6b7bc78bae Update name of body class to avoid confusion
The class vector-feature-table-of-contents-disabled is confusing as
it shows on pages with table of contents. What it actually means
is the A/B test is disabled. This change gives it a more meaningful name.

Use the class name vector-feature-table-of-contents-legacy-toc-enabled
to describe it better.

Bug: T310527
Change-Id: I17e7e6f7f553b8c06b118b5419c98c78ef26ad60
2022-09-28 12:26:38 -07:00
jenkins-bot 8cd41a8c64 Merge "[Visual enhancements next] Restores the badge styling to Echo" 2022-09-28 16:07:36 +00:00
Translation updater bot 3d68e00e12 Localisation updates from https://translatewiki.net.
Change-Id: I0286f481e5fe639bdf4dcf81bbdd18a0ea0bbce4
2022-09-28 08:25:11 +02:00
jenkins-bot 71bc90f225 Merge "Restore unconditional rendering of siteSub with styling modifications" 2022-09-28 03:38:13 +00:00
Jon Robson d8f242c046 [Visual enhancements next] Restores the badge styling to Echo
Currently clicking on icons will result in the icon changing
style. This is fixed in the follow up patch
I4a0637fc19cf07d545b75fa55e15010b74fc474f

Bug: T257143
Change-Id: Ief51ac0bcab20fc87edf747b5347a5ef9dfdf36f
2022-09-27 23:11:45 +00:00
Jon Robson 330dc5f705 Restore unconditional rendering of siteSub with styling modifications
The margin is moved to non-empty elements to avoid extra whitespace
when it is empty

Bug: T315639
Change-Id: I22aa7dbbacc5bc4ac87cffa13113ced9c9400e0b
2022-09-27 15:10:26 -07:00
Translation updater bot 0fb0a187bf Localisation updates from https://translatewiki.net.
Change-Id: Ic36204dd653ec3533665cd7c1b80ce52f0c75d28
2022-09-27 08:33:57 +02:00
jenkins-bot ecba35aeca Merge "Remove VectorLanguage A/B test code (WgVectorLanguageInHeaderTreatmentABTest)" 2022-09-26 23:01:34 +00:00
Nicholas Ray 3613a369eb [Quick Fix] Fix Vector 2022 should display a "log in" link on private wikis
This adds a bit of tech debt and should only be merged if we're looking for a
quick fix of T317789. It overrides the `.emptyPortlet` class that is currently
hiding the user menu on OfficeWiki et. al. to show the user menu  instead. It
also hides the learn more link since the presence of the `emptyPortlet` class
suggests that we do not have anon editor links in the menu.

Bug: T317789
Change-Id: I3deaf6b4896e9ec3a143c5909092caffc600da56
2022-09-26 15:54:29 -06:00
jenkins-bot 0387f14d08 Merge "Modify Vector 2022 skip-links" 2022-09-26 19:07:07 +00:00
jenkins-bot 61b9285c96 Merge "Default alert to on" 2022-09-26 18:36:02 +00:00
Jon Robson 048d25eb93 Default alert to on
This is the case for all production wikis, so let's mimic production

Change-Id: I749675b759d43375bf7b4cc6a2d18e640ebd1a6f
2022-09-26 10:57:22 -07:00
Jan Drewniak 5a951e2159 Modify Vector 2022 skip-links
- Changes the "skip to content" link to point to "#bodyContent"
  instead of "#content".
- Adds a `aria-labelledby` attribute to #bodyContent.
- Changes the table of contents "back to top" link to
  point to "#" instead of "#top-page".
- Removes "#top" link as it appeared unused.
- Updates Jest snapshots.

Bug: T312818
Change-Id: I86443066d45c818d6f137d70ebe36798eba66f13
2022-09-26 17:34:23 +00:00
Translation updater bot c3228c38aa Localisation updates from https://translatewiki.net.
Change-Id: Ie6dc75fbf46be949db7a90e9960f1ae14664e84f
2022-09-26 08:18:51 +02:00
jenkins-bot 5336638945 Merge "Echo: Move skinStyles from Echo extension to Vector" 2022-09-23 18:45:29 +00:00
Jon Robson b452a85fe8 Remove VectorLanguage A/B test code (WgVectorLanguageInHeaderTreatmentABTest)
The removal here is actually relatively straightforward.
References inside OverridableConfigRequirementTest are kept as
the A/B test capability remains after this removal and the tests
here do not relate to the code removed, just examples of how it
can be used.

Bug: T302027
Change-Id: I2dd92adaff1221d8213723e9ee60aa02787d4cc7
2022-09-23 18:18:15 +00:00
Jon Robson 452d59c7ef Echo: Move skinStyles from Echo extension to Vector
Bug: T257143
Change-Id: If52986fe56b65479adabe8233b0fc6df164b5376
2022-09-23 18:13:19 +00:00
Volker E 4df2b12e31 mediawiki.skin.variables: Add `border-style` and `border-width` vars
Already covered in mediawiki.skin.defaults.less.

Change-Id: If57df6cbbbab29ed9775d8d6676bd94a3b4de549
2022-09-23 17:58:42 +00:00
Translation updater bot 77c7608f0d Localisation updates from https://translatewiki.net.
Change-Id: I2796ba1418c04a306636ac0ef6de164140bd8575
2022-09-23 08:32:29 +02:00
Translation updater bot 9b3f0634c2 Localisation updates from https://translatewiki.net.
Change-Id: Id583eed83245553f8efa0e969099f688ec400a4b
2022-09-22 08:50:50 +02:00
bwang 4a115be7a8 Follow-up: remove redundant code in TableOfContents.js
Bug: T316032
Change-Id: Idb46b713c9df9fd1dd70a9955aa222f8b84ac813
2022-09-21 16:44:20 +00:00
jenkins-bot 669174790a Merge "Style active top level section differently than ordinary active TOC sections" 2022-09-21 15:00:07 +00:00
Translation updater bot 895b049e3c Localisation updates from https://translatewiki.net.
Change-Id: I15589e09aad99a3563bc1b9c14e20b8dca4d9d79
2022-09-21 08:31:52 +02:00
bwang 600dd1496a Style active top level section differently than ordinary active TOC sections
Bug: T316032
Change-Id: I662a03f7f7b1e1fb65c365b3db6096cae75fdeb2
2022-09-20 16:57:53 -05:00
Jan Drewniak 06c243da35 Modify the sticky header offset styles
- Prevents the ToC in the sidebar from jumping down when the sticky
  header becomes visible
- Removes the `.sticky-header-element` class from the ToC since that
  only modifies the elements position when the sticky header becomes
  visible (whereas in this case, it should be modified when the sticky
  header is enabled, before it's visible).

Bug: T314330
Change-Id: Ic6f50b8dc4f1507d875825d23eb44c24a998eaf7
2022-09-20 10:34:09 -04:00
jenkins-bot 1352035534 Merge "Icons: Globally set icon colors to `@opacity-icon-base`" 2022-09-20 00:35:58 +00:00
jenkins-bot b590555126 Merge "Add Jest tests for TOC before/after edit" 2022-09-19 23:20:34 +00:00
jenkins-bot 3e5c89df2b Merge "Table of contents: Hide accessible label using color transparent" 2022-09-19 22:51:49 +00:00
jenkins-bot 635ae993ff Merge "Follow-up: Apply min-width to collapsed TOC" 2022-09-19 22:41:23 +00:00
Nicholas Ray 8295148ae2 Add Jest tests for TOC before/after edit
* Also increase code coverage threshold

Bug: T316571
Change-Id: I6eb703bd0d23ff9d038c989562d07ec01cb7b1c8
2022-09-19 16:40:38 -06:00
jenkins-bot e9b79ee39f Merge "Fix border when title is hidden and when toolbar is empty" 2022-09-19 22:20:31 +00:00
bwang c4ec68b13c Fix border when title is hidden and when toolbar is empty
Bug: T317930
Change-Id: Iba89a2e642a8377c3603d099fb1157fc2df465d0
2022-09-19 21:37:27 +00:00
jenkins-bot 8f097163c2 Merge "[RTL, TOC] The arrow before collapsible sections in sidebar is clipped" 2022-09-19 20:11:13 +00:00
Jon Robson 5aadd9f578 Table of contents: Hide accessible label using color transparent
This is showing up in non-screen readers on Bengali wiki

Bug: T314652
Change-Id: I30ec573ae3de4811690183007282ef5f30c228b3
2022-09-19 12:56:19 -07:00
Moh'd Khier Abualruz 5a32955311 [RTL, TOC] The arrow before collapsible sections in sidebar is clipped
The table of contents has since been reflected to
not use calc statement anymore and pre-calculate the value,
cssjanus flips this value properly so this rule can safely be removed.

Bug: T314652
Related-To: I75dd87536f70da55c9fa7e0e29ed6b4040d2ddf4
Change-Id: Ibb390589f449bc20c6f38f66c1e617fa3fa82aab
2022-09-19 19:52:38 +00:00
Jon Robson 83458dd8dd Icons: Globally set icon colors to `@opacity-icon-base`
Also use other icon opacity variables where applicable.

Bug: T317800
Depends-On: If2f99124b01ce99b5131fdb960c60952075f6343
Change-Id: Ib8b3d11bd1bd6f902ff846eeb2a8f9cf3c7077b2
2022-09-19 19:28:19 +00:00
jenkins-bot 95dbf57db5 Merge "Remove unreachable code in tableOfContents.js" 2022-09-19 16:44:26 +00:00
jenkins-bot 00a2ff617a Merge "mediawiki.skin.variables: Add Opacities to skin.defaults variables" 2022-09-19 15:09:41 +00:00
Translation updater bot d900cf2662 Localisation updates from https://translatewiki.net.
Change-Id: I2942f31a770114caa2d25a8250e80058d5fc7118
2022-09-19 08:28:00 +02:00
Volker E ee24a19c8d mediawiki.skin.variables: Add Opacities to skin.defaults variables
Orienting on Codex Opacity tokens as defined in v10 of 2022-04-01 in
https://www.figma.com/file/h9pA2CCl2i0wtlTKNChaES/Opacities---Tokens?node-id=368%3A2139
Also adding legacy opacity icon tokens for use in all non-Codex
products.
Specifically the icon ones are already in use in Vector.

Bug: T317800
Change-Id: Ib699ccf0342030f521ad876d70974b8818f877cb
2022-09-16 22:37:23 -07:00
jenkins-bot 5e96b277a7 Merge "Follow-up: Clean up sticky header and collapsed TOC styles" 2022-09-17 00:11:40 +00:00
jenkins-bot e00603010b Merge "Sidebar: Collapses at lower resolutions, expands when resized" 2022-09-16 22:29:45 +00:00
bwang 88d4aef088 Follow-up: Clean up sticky header and collapsed TOC styles
Bug: T316056
Change-Id: I4c803bfd820aeb7270afa65cf8412415b437ff42
2022-09-16 14:25:02 -05:00
Func c6bf88520e ToC: Handle anchors with % in plaintext
TODO: Remove the fallback to {{anchor}} when all old parser cache expired.

Bug: T315222
Change-Id: I1da089cfef83131cda26859e3346cd2d840b3839
2022-09-16 11:24:27 +08:00
jenkins-bot aad1c4c836 Merge "Revert "Set top value for ToC when sticky header is enabled."" 2022-09-15 22:40:58 +00:00
bwang 0d7a8d751e Follow-up: Apply min-width to collapsed TOC
Bug: T316056
Change-Id: Ib9460cd5f5fa6d37a4aaf3c0dd583d9de46851ee
2022-09-15 20:27:24 +00:00
Bernard Wang 3bdcb4ae2a Revert "Set top value for ToC when sticky header is enabled."
This reverts commit 968787d692.

Reason for revert: Causes TOC visual regressions

Change-Id: I0bfe8ee1d1bc9d5a71d3abadb6636d8cc5d07668
2022-09-15 19:28:41 +00:00
bwang fd783b0499 Update collapsed TOC menu width
Visual changes:
- Collapsed TOC menu width depends on TOC content, with a max width of 51em or 75vw
- Collapsed TOC menu in sticky header no longer has a horizontal scrollbar

Bug: T316056
Bug: T316609
Change-Id: I1da9c16366b55c77ef13bac899ed8ecb2d77fdb9
2022-09-15 17:37:28 +00:00
Jon Robson aa8d628e13 Sidebar: Collapses at lower resolutions, expands when resized
On resize, or when booted in a small window the sidebar will collapse
and remain collapsed for subsequent page views

Bug: T316191
Change-Id: I6625fc3b3f1015d74b484a2a3643def13467ddf5
2022-09-15 10:27:12 -07:00
jenkins-bot fbb283a315 Merge "Set top value for ToC when sticky header is enabled." 2022-09-15 16:57:39 +00:00
bwang e28e197f1f Prevent language button in sticky header from word breaking
Bug: T316609
Change-Id: Ie4d9efad0850dce52a6e383574b14d986a824d4a
2022-09-15 16:28:26 +00:00
Jan Drewniak 968787d692 Set top value for ToC when sticky header is enabled.
Prevents the ToC from jumping down when the sticky header
becomes visible.

Bug: T314330
Change-Id: I11450d9062445d357859c6e48972f2ba37e597c6
2022-09-15 11:04:23 -04:00
Translation updater bot 6fd247640b Localisation updates from https://translatewiki.net.
Change-Id: I305d5955b8ffd92477db07b7b34327563b71e738
2022-09-15 09:57:19 +02:00
Jon Robson 7ebcf3ccff Limit upgrading of Echo icons to Visual enhancements feature flag
Currently we appear to be applying our icon/button enhancements to
notifications menu if the icon field is present.

These fields are not provided yet, but soon will be, so limiting
to the feature flag.

Bug: T257143
Change-Id: I2cf49a24f2db632e3ca23f749064929678bc8e19
2022-09-14 23:00:34 +00:00
Translation updater bot 2d7d60a14a Localisation updates from https://translatewiki.net.
Change-Id: I90a5eec3de6f287859a87aa9cbb5b81582c2cd29
2022-09-14 10:33:21 +02:00
Jon Robson f9a3d795ef Storybook: Update Legacy/codex comparison table
Upgrade Codex to the latest version and add the new icon
only buttons to our side by side table

This is needed to help bring these inline.

Bug: T314323
Change-Id: I7f59968cf5be6242e8002b11ca030c9bd4dd882d
2022-09-13 23:01:28 +00:00
jenkins-bot e0042bceca Merge "Remove unneeded expansion styles from search box code" 2022-09-13 19:30:18 +00:00
Nicholas Ray f79e97cf6b Remove unreachable code in tableOfContents.js
AFAICT the `setInnerHTML` param that was part of the reloadPartialHTML
method was always true. Thus, much of the code contained in this method
can be removed and the `setInnerHTML` param can also be removed.

Bug: T316571
Change-Id: I82e99f902eadba8a9df2166c4f89ba1f1d747a47
2022-09-12 17:45:24 -06:00
bwang 6b7197cf95 Followup: Removed code for cached HTML from T313060
Bug: T313060
Depends-on: Ia263c606dce5a6060b6b29fbaedc49cef3e17a5c
Change-Id: I0626f5c8d92836ecac961bbe213ffd8b0f0e2df5
2022-09-12 21:47:48 +00:00
jenkins-bot 5e02d2b7ea Merge "Minimize search icon" 2022-09-12 18:26:04 +00:00
jenkins-bot b5c46b8294 Merge "icons: Fix arrow stem to be perfectly 45 degrees" 2022-09-12 16:59:49 +00:00
Thiemo Kreuz 80a935cc9a Minimize search icon
Change-Id: I3f6084fc71930378ecb98180f4bd3d07478e9b4e
2022-09-12 18:53:31 +02:00
jenkins-bot 8626e14ec1 Merge "Don't print table of contents on page with no table of contents" 2022-09-12 15:50:22 +00:00
Translation updater bot f33cbf03ca Localisation updates from https://translatewiki.net.
Change-Id: Ib28dcff412c60712cfbae40570e636235d3df6ee
2022-09-12 09:39:01 +02:00
Volker E 2eeb9e45fc icons: Fix arrow stem to be perfectly 45 degrees
Following-up to further optimize icon SVG and provide arrow stem in
perfect 45 degrees angle.

Bug: T261391
Change-Id: I1fa7789182f0fffb7891205a9099884402d37b61
2022-09-11 23:24:29 -07:00
jenkins-bot 77877254da Merge "Revert "Sidebar: Collapses at lower resolutions"" 2022-09-10 00:34:13 +00:00
Jon Robson ccc8df0ef9 Don't print table of contents on page with no table of contents
e.g. Special:BlankPage

This was causing unexpected visual regressions on Pixel

Follow up to 9c6f6709c

Bug: T313060
Change-Id: If8111f95be53e4504ed49d4ea140f62ac98e8e1b
2022-09-09 17:08:40 -07:00
Jdlrobson 475c237a5e Revert "Sidebar: Collapses at lower resolutions"
This reverts commit 365d3902c9.

Reason for revert: Pixel is flagging the sidebar being closed
in cases where it shouldn't. Since I can't debug that I'm
reverting just to be cautious.

Change-Id: Ib88f61eb6a7fda8ce546a24c2d3dbbde836f2c40
2022-09-09 17:08:19 -07:00
jenkins-bot 2f25456534 Merge "Followup: clean up cached HTML code from T315595" 2022-09-09 22:32:55 +00:00
bwang d538835b5a Follow-up: Align sticky header with header and update collapsed TOC in page title padding
Visual changes:
- Sticky header padding will increase on desktop and desktop-wide viewports to match the header
- Padding on collapsed TOC button in page title is 2px wider on each side

Bug: T315261
Change-Id: I9d0df4f4d399fe120a4c1a5d2df610942cc70f02
2022-09-09 20:07:49 +00:00
jenkins-bot 9ac7a23234 Merge "Correct ContentHeader source order to match design" 2022-09-09 17:24:55 +00:00
Translation updater bot 353843dce6 Localisation updates from https://translatewiki.net.
Change-Id: If74efe4874eedd827adc8ce954f72e1f4c1a2325
2022-09-09 10:12:57 +02:00
bwang abad54d0ab Change article toolbar bottom border color
Bug: T311311
Change-Id: I1731510da0c956d0290508b9a2cef7558d3cde00
2022-09-08 23:54:13 +00:00
bwang fc9fe5e719 Add vector-toc-not-collapsed class serverside
Visual changes:
* No reflow on startup

Bug: T316964
Change-Id: I17f2699fec113d92b3f0f223c357654f52eb7eb3
2022-09-08 22:43:56 +00:00
jenkins-bot bcfc94090b Merge "Sidebar: Collapses at lower resolutions" 2022-09-08 20:50:17 +00:00
Jon Robson 97cf735de2 Icons: Watchstar and wikilove are upgraded
Can be tested by appending ?vectorvisualenhancementnext=1
to URL

Bug: T310838
Bug: T234990
Bug: T234550
Depends-On: I76d0d94c9006cc5f5680849ecdd1c382c16e34ba
Depends-On: Ib7c3021db014827b4b88cac855afc0b54a360f8c
Change-Id: Ie2ffa5c3ecf270c1bb1f315937023ae7ace5ed30
2022-09-08 19:43:35 +00:00
bwang 4c622fe8de Correct ContentHeader source order to match design
- Use flexbox instead of float

Visual changes:
- The title wraps differently when the title is very long

Bug: T313947
Change-Id: I2915e36286b21c8fd1a07247ada7754a08a0b574
2022-09-08 19:10:55 +00:00
Jon Robson 365d3902c9 Sidebar: Collapses at lower resolutions
On resize, or when booted in a small window the sidebar will collapse
and remain collapsed for subsequent page views

Bug: T316191
Change-Id: Ib4961975630871d6630cd747a78cc2ec4f1cdeeb
2022-09-08 08:22:20 -07:00
Translation updater bot e629775aff Localisation updates from https://translatewiki.net.
Change-Id: I02a964b9b170504f7591b8a0ed1cf90f9dcaab43
2022-09-08 10:02:42 +02:00
jenkins-bot e60716e63d Merge "Align language button" 2022-09-07 22:21:27 +00:00
jenkins-bot d4094ffa02 Merge "Align header icon buttons and main content" 2022-09-07 22:21:25 +00:00
Moh'd Khier Abualruz 3a10708b4e Deprecate PersonalUrls hook
* Updated usages to use SkinTemplateNavigation::Universal
in preparation for the hard deprecation and removal of the hook.

Bug: T310017
Change-Id: I133c7479da294c0b8c908ad8d34690297f08200b
2022-09-07 15:12:51 +00:00
bwang cdae8b1937 Align language button
- Add margin-right to language button
- Remove @margin-start-sidebar-content CSS variable as it's name isnt accurate anymore, and its value is derived from @icon-padding-md

Bug: T315615
Change-Id: I75dd87536f70da55c9fa7e0e29ed6b4040d2ddf4
2022-09-07 09:47:55 -05:00
Translation updater bot 948027450e Localisation updates from https://translatewiki.net.
Change-Id: Ia2e7632625ea4210c94575f7ee3a00707138cc21
2022-09-07 09:56:41 +02:00
jenkins-bot ddc3125f74 Merge "Remove dependency on `.cdx-typeahead-search--active` class" 2022-09-07 01:29:45 +00:00
Translation updater bot 50c2aab74c Localisation updates from https://translatewiki.net.
Change-Id: I774d16c709adfb26358ddd53e2aa95ba97add5fc
2022-09-05 10:14:28 +02:00
Jon Robson c1e923f120 Icons: Enable feature flag for next set of visual enhancements
Change-Id: I10f5a2ee8fa8121f8e9a5a79c98db492fbec6534
2022-09-02 07:54:13 -07:00
Jon Robson 742f659b10 FeatureManagement: All features have an associated class on the body tag
This is a common need for features, and having these use a standardized
class name will make using them a lot easier.

Change-Id: I0e16c26878e7d4399d2bf57f236523d214951a27
2022-09-01 22:09:48 +00:00
jenkins-bot 75115f841c Merge "Add tests for dropdownMenu.js" 2022-09-01 21:03:34 +00:00
Anne Tomasevich 8e04c79dba Remove dependency on `.cdx-typeahead-search--active` class
This class is no longer needed in Codex and will be removed.
This patch adds a similar dynamic class to the Vector search
app, to be used for showing/hiding the search button on
focus/blur or hover/leave.

Bug: T316893
Change-Id: I738c0f24dcd06ddeb9179cfedc85ed73a6504f1e
2022-09-01 16:42:11 -04:00
jenkins-bot d59885cf89 Merge "Enable related tabs on Vector" 2022-09-01 20:36:15 +00:00
Jan Drewniak f14b4fe5f1 Add tests for dropdownMenu.js
Adds tests for the addPortletLinkHandler, which should
add an icon element to items added via 'mw.util.addPortletLink'
and conditionally move elements from the toolbar into
the more menu at narrow widths.

- Adds tests for dropdownMenu.js
- Adds associated Jest snapshots
- Stubs the mediawiki.page.ready module
- Updates mockMediawiki.js to 4.6.0
- Adds global mock for mw.util.showPortlet()
- Cleans up tests using local versions of these mocks

Bug: T314798
Change-Id: I81394d840321916756a41a23c40d96c4b6341931
2022-09-01 13:11:22 -07:00
Anne Tomasevich eec6d5f608 Remove unneeded expansion styles from search box code
Input expansion behavior has been changed in Codex to expand
the input when the menu opens, instead of when the input is
focused. This patch removes styles targeting the server-
rendered search box that mimicked the expansion behavior
on initial focus to ease the transition between the server-
rendered version and the Vue version.

Bug: T312594
Change-Id: Id716860f52df7585c068a7927bf799129faf4ad3
2022-09-01 15:43:31 -04:00
bwang 3bf377fa7e Followup: clean up cached HTML code from T315595
Bug: T315595
Depends-on: I39959f43f20880e83bef945a7535d58cfe0b6412
Change-Id: I7afb66d6ee2d67d824266ca7240618afdd200c7f
2022-09-01 18:25:39 +00:00
bwang d949621eb2 Align header icon buttons and main content
Technical changes:
- Increase @padding-horizontal-content to align content
- Rename @padding-horizontal-page-container and @padding-horizontal-page-container-wide to @padding-horizontal-page-container-desktop and @padding-horizontal-page-container-desktop-wide respectively
- Replace "gutter" grid area with column-gap
- Clean up TOC styles

Visual changes:
- Below 1000px the header icons spacing is updated
- Above 1000px the page titlebar and articlebar right space is updated

Bug: T315261
Change-Id: I7f51ab3b9613c359db62e918051e942c5c6c878b
2022-09-01 12:42:07 -05:00
Translation updater bot b0b58915d4 Localisation updates from https://translatewiki.net.
Change-Id: If3b50c552f3058d00047a7e10ac9214b139ccab2
2022-09-01 09:37:28 +02:00
bwang 9c6f6709c6 Create new sticky toc container
Bug: T313060
Change-Id: Ia263c606dce5a6060b6b29fbaedc49cef3e17a5c
2022-08-31 21:27:06 +00:00
jenkins-bot 990c7f72b9 Merge "Reduce specificity of siteSub" 2022-08-31 20:49:55 +00:00
jenkins-bot c701486aa2 Merge "Override visited link style in MenuTabs" 2022-08-31 20:38:00 +00:00
Jon Robson 69658483bd Reduce specificity of siteSub
Follow up to I8ab2a554f753348ea2fb0fd4d28053ea17fbe83e
It should be possible to enable the #siteSub element with
a simple #siteSub { display: block; }. When moving these styles
from core we have made them more specific and harder to override

Bug: T316027
Change-Id: I4009c67e97ed0e718c28a1fa18c0059075b7a8a7
2022-08-31 13:07:58 -07:00
bwang 900376f9e4 Override visited link style in MenuTabs
Bug: T316574
Change-Id: I55b6537df709204ff499aa18298721cbec1de405
2022-08-31 19:51:14 +00:00
bwang 1c8af16dfb Replace body:not( .vector-toc-collapsed ) with .vector-toc-not-collapsed class
Follow up to Ibf837775d972deb29e9619cc6c12c919aae5155a

Change-Id: Ib50f6e4a61a09f54763a740bd12cdae3ee63abef
2022-08-31 19:05:50 +00:00
jenkins-bot b6a6296636 Merge "Reduce dependency on core styles" 2022-08-31 18:08:26 +00:00
Translation updater bot e111ac24c4 Localisation updates from https://translatewiki.net.
Change-Id: I5bd1a3ded92b6d3dd754c7d6dc0bb81bce1644b8
2022-08-31 09:37:29 +02:00
jenkins-bot 62c0b80d4f Merge "Change ULS label for sticky header when 0 Languages available." 2022-08-30 21:45:58 +00:00
Jon Robson 486748ac41 Enable related tabs on Vector
Depends-On: I861e8fe9c80569224548b8569452f8c57a446998
Bug: T313409
Change-Id: I871291c91dfe1f92c1131a2403695394ef3d0533
2022-08-30 14:20:11 -07:00
Jon Robson 9689974d0d AB test: Complain when TOC experiment setup incorrectly
Throw a runtime exception if the TOC experiment is setup correctly.
Otherwise this leads to confusion.

There must be 3 buckets, with 0 unsampled and equally weighted
control and experiment.

Bug: T313435
Change-Id: I09da238ff17b77a053b4dc132624ea19a86253b9
2022-08-30 11:59:42 -07:00
Jan Drewniak 87d0630aa2 Change ULS label for sticky header when 0 Languages available.
Modifies the `getULSLabel()` function to centralize the logic
related to the ULS language button messages.

Renames this function `getULSLabels()` since it retrieves both
the text and aria label for this input.

This logic conditionally returns the values based on whether
or not there are multiple languages available for an
title. It method is used in both sticky header and language
button near the page title.

Bug: T315556
Change-Id: I47e313414ae9c86d057e9b65ec67e522e9e7c464
2022-08-30 11:12:50 -04:00
jenkins-bot be7797e012 Merge "Follow-up: Refactor button/icon class helpers, make portlet classes consistent" 2022-08-30 02:35:50 +00:00
jenkins-bot 0d957abf77 Merge "Handle pages without ids in typeahead search" 2022-08-29 21:46:49 +00:00
bwang 659a5244ac Handle pages without ids in typeahead search
Bug: T313658
Change-Id: I6cba07e5e49d0593280017590dfd7cadb825095a
2022-08-29 11:09:28 -05:00
Translation updater bot 81fced891e Localisation updates from https://translatewiki.net.
Change-Id: Id840d7c03fee70f5fa80628071f67a9e9b65e6d7
2022-08-29 09:18:50 +02:00
jenkins-bot 748723e417 Merge "[Regression] Restore show on hover behaviour for dropdowns" 2022-08-28 23:56:38 +00:00
jenkins-bot e00e0b4122 Merge "Support additional content in table of contents" 2022-08-26 20:57:37 +00:00
jenkins-bot 46b4d86477 Merge "Fix site notice spacing" 2022-08-26 20:51:43 +00:00
jenkins-bot 9b7360c0a9 Merge "Table of contents doesn't respect NOTOC after an edit" 2022-08-26 18:59:37 +00:00
jenkins-bot b69cd0fe4a Merge "styles: Unify on standard external link icon (re-applying)" 2022-08-26 16:29:22 +00:00
Moh'd Khier Abualruz 4f47c744fd Table of contents doesn't respect NOTOC after an edit
* majorly done in VE by VE team by sending empty array,
since firing an event in beneficial for removing the TOC if needed

Bug: T315863
Bug: T315862
Change-Id: I128c550f039a812dde36fcefa56334842e36fbe2
2022-08-26 16:47:16 +02:00
Translation updater bot 2b63f5c1c3 Localisation updates from https://translatewiki.net.
Change-Id: I75212b21706b501d7d20b98da6250708bbd2be34
2022-08-26 08:25:12 +02:00
jenkins-bot f8c9c46a52 Merge "Table of contents toggles don't work correctly after update" 2022-08-25 18:53:53 +00:00
bwang 8ad777b896 Fix site notice spacing
- Removes grid row gap in favor of margins
- Add container div around site notice to allow margin collapsing

Bug: T315595
Change-Id: I39959f43f20880e83bef945a7535d58cfe0b6412
2022-08-25 11:13:57 -05:00
Jan Drewniak 934f65ab57 Add clearfix to .mw-body-subheader
Clears the indicators and subtitle in modern Vector.

Bug: T316134
Bug: T316095
Change-Id: I49a4801320f9680c75b2bdcb6e5704e3db70b38b
2022-08-25 13:34:43 +00:00
Moh'd Khier Abualruz 6b91d66eee Table of contents toggles don't work correctly after update
* This was fixed by removing the reattachment of `SubsectionToggleListeners`, as it seems to be already attached and was double toggling on click.
* This will not work with full TOC collapse `CollapseToggleListeners` it has to be reattached for it to work

Bug: T316033
Change-Id: I756b2a929fd94d9167a7b56df668b1202e695a38
2022-08-25 14:19:37 +02:00
Translation updater bot af4d269af7 Localisation updates from https://translatewiki.net.
Change-Id: I90638f59d84c74bc92d85b78cacb779717f402f8
2022-08-25 08:29:58 +02:00
jenkins-bot 0e7c32827d Merge "Revert "Remove grid row gap in favor of margins"" 2022-08-24 17:13:31 +00:00
Jdlrobson 3d719455c4 Revert "Remove grid row gap in favor of margins"
This reverts commit b63244f367.

Reason for revert: Per standup this morning we'll revert this so
that we are back to a known state, and try this again in a second
attempt.

Change-Id: Ie1349fecbab6c49ce63d328aba08162d74145cb9
2022-08-24 16:54:31 +00:00
Jon Robson dfede899d6 Reduce dependency on core styles
Follow up to Ibf837775d972deb29e9619cc6c12c919aae5155a

Depends-On: Ib5ae640bb260cee46e654228b785c776722c7003
Bug: T316027
Change-Id: I8ab2a554f753348ea2fb0fd4d28053ea17fbe83e
2022-08-24 16:16:01 +01:00
Jon Robson 2be7ce5c47 Vector legacy no longer imports variables from Vector modern
In f7f78023e we added new variables to the Vector 2022 variables
that overrode the defaults, but forgot to preserve the defaults
in Vector legacy. This resulted in changes documented in
T213778#8181795

Going forward it makes sense to separate these.

Bug: T213778
Change-Id: I5e4f1729fc0f41b21579807fc83a7dda9c3519ea
2022-08-24 15:08:35 +00:00
Jan Drewniak 5dbc96aaee [Regression] Restore show on hover behaviour for dropdowns
Due to recent updates that affected dropdowns in modern and
legacy Vector, the dropdowns in legacy Vector were not appearing
on hover as they were intended.

Bug: T315418
Change-Id: Iad3c3d89566f211d331233a752d67744d6522af0
2022-08-24 10:33:26 -04:00
Bartosz Dziewoński 2321eeb054 Vector 2022: Align #contentSub with page title (to the left)
(Visual change)

Bug: T307715
Change-Id: Ic4a8d4d55e132cec5df720fdb38eb47c37c8baf0
2022-08-23 20:51:27 +00:00
bwang 3881820483 Follow-up: Refactor button/icon class helpers, make portlet classes consistent
- Make 'updateMenuItem' generic, rename to 'updateItemData'
- Make 'appendListItemClass' generic, rename to 'appendClassToItem'
- Remove 'appendClassToListItem' and replace with 'appendClassToItem'
- Create 'updateMenuItemData', 'updateLinkData', and 'updateDropdownMenuData' wrapper functions to be used in Hooks and SkinVector
- Add and update tests

Bug: T307901
Change-Id: I4b12a0c1aab1224d2658bad30ee629f7266c5b7e
2022-08-23 19:18:03 +00:00
jenkins-bot 6e30fa2c00 Merge "TOC with bold text." 2022-08-23 12:47:58 +00:00
jenkins-bot bd8ceeb3e6 Merge "Remove grid row gap in favor of margins" 2022-08-23 07:40:51 +00:00
Translation updater bot c8eb8fd167 Localisation updates from https://translatewiki.net.
Change-Id: I1d0d3345d0e09c2a2dc5c31d03eeaf4c308dd026
2022-08-23 08:12:34 +02:00
bwang b63244f367 Remove grid row gap in favor of margins
Bug: T315595
Change-Id: Ibf837775d972deb29e9619cc6c12c919aae5155a
2022-08-22 15:49:00 -05:00
jenkins-bot 943104ae5e Merge "Remove FIXME, add variables" 2022-08-22 19:06:07 +00:00
Jon Robson fc2a899b4d Remove FIXME, add variables
These overrides are now redundant now that Vector and Vector 2022
are separate skins.

This override was technical debt, but is now causing inconsistency
in styles as a result of T315321

These are now defined in the variables file instead.

Bug: T315662
Change-Id: I7cb3e7f439daa9d1974ec414ee4c8a905b5e513f
2022-08-22 19:26:09 +01:00
Jon Robson ecbe2c2855 Layout: Restore disabling of max width on certain pages
Bug: T315460
Change-Id: I9bad936c06150cd01d4e60f4a92a5c4d28b5fe16
2022-08-22 10:34:34 +00:00
jenkins-bot 392e251a62 Merge "Localisation updates from https://translatewiki.net." 2022-08-22 08:55:30 +00:00
jenkins-bot 0f4c36169f Merge "[RTL, TOC] The arrow before collapsible sections in sidebar is clipped" 2022-08-22 08:31:25 +00:00
Moh'd Khier Abualruz ff73b36780 [RTL, TOC] The arrow before collapsible sections in sidebar is clipped
* Temp solution for quick fix
* Full solution should be supplied by cssjanus PR shortly after

Bug: T314652
Change-Id: Ic3ac53f884bc1b9bc14c951b7348e2bf263065a2
2022-08-22 08:13:58 +00:00
Translation updater bot 6de03aab95 Localisation updates from https://translatewiki.net.
Change-Id: I7eab506709ea7e8056a3e85e37fe735ab3d57061
2022-08-22 08:27:13 +02:00
jenkins-bot 758297c5ca Merge "Fix CSS selector for 'mw:tocplace' element" 2022-08-19 21:01:01 +00:00
Volker E 19ca22f424 styles: Unify on standard external link icon (re-applying)
Re-applying: Unify on using standard OOUI 'linkExternal' icon, which is
directly replacing Vector's image without relying on ResourceLoader.
This time we have lo- and hi-dpi optimized icon.
Please note that the icon features standard link color `#36c` which is
implemented in a later step. Due to the small icon size and the fact
that current external link icon is also not using the legacy color, this
seems acceptable to move forward with.

Also using relative `em` instead of `px` to support user text zoom
capabilities and introducing a `@size-indicator` variable to be replaced
by WikimediaUI Base variables later.
Alternative to I49de3bfff45.

Replacing images and image names to make quicker lookup with icon
collection possible future-facing.

Note that CSSJanus is flipping the `ltr` string in the background image
rule to `rtl`, therefore making sure that both icons are available.

Bug: T261391
Change-Id: I1c3cfb4cd83fe4d5d08c06b84cdc192cb90c0dfe
2022-08-19 11:41:15 -07:00
bwang 0be4664c02 Add back fixed width to main content
Bug: T315653
Change-Id: Iffd3f219e756b82397264f62fb9f88fc82a92ba9
2022-08-19 13:20:20 +00:00
Translation updater bot 4ff3347d79 Localisation updates from https://translatewiki.net.
Change-Id: I259b7ad8449141a0e6dbe219bbc3e45a157118bb
2022-08-19 08:33:13 +02:00
Bartosz Dziewoński 7107b9d72b Fix CSS selector for 'mw:tocplace' element
The colon needs to be escaped, otherwise it is treated as an invalid
pseudoclass.

Change-Id: I328851cfbd8ab3604b89a43bc5c854d1f90b306e
2022-08-18 23:52:45 +00:00
Jon Robson 4d96034efe Support additional content in table of contents
Bug: T307823
Change-Id: I034a579b7ef51950726c9ac056d6c940a7d7d472
2022-08-18 23:04:47 +00:00
Jan Drewniak e3896ab96d TOC with bold text.
The width of the active link is increased via calc to reduce the
chances that the line will wrap because of the bold text.

Bug: T314670
Change-Id: I58aa72871b7d80c8342df60478894dafcf448ae7
2022-08-18 17:04:30 +00:00
jenkins-bot fd4c4f5c34 Merge "TOC: Prepare for upstream change to mw:tocplace element" 2022-08-18 14:03:27 +00:00
Translation updater bot 8e3c072d01 Localisation updates from https://translatewiki.net.
Change-Id: Ifc711475c6f8dd7c0e0057f0e902526cea99b05d
2022-08-18 08:41:55 +02:00
jenkins-bot b31bea7fd9 Merge "Remove gradient from modern Vector, align SidebarAction with portlet styles and classes" 2022-08-17 21:03:35 +00:00
jenkins-bot 1f5170238a Merge "Append icon to links created via mw.util.addPortletLink" 2022-08-17 20:50:43 +00:00
bwang 5f09892813 Remove gradient from modern Vector, align SidebarAction with portlet styles and classes
Bug: T307771
Change-Id: I92fd11b89d4afbf99dd7ab51990835b9754767a1
2022-08-17 20:41:15 +00:00
jenkins-bot 2f65c4f696 Merge "Follow-up: Clean up left over vector legacy classes" 2022-08-17 20:38:49 +00:00
bwang 81d9b28be1 Follow-up: Clean up left over vector legacy classes
Bug: T313559
Change-Id: I42610ef7ccaea0b7c818f66cfbe5a316d2a5566d
2022-08-17 20:18:37 +00:00
bwang 2d6be2e6f0 Clean up main menu selectors
Change-Id: Icb7595f2ef60108f6eaf6b953f37a291678f793e
2022-08-17 14:08:46 -05:00
jenkins-bot 2450fdeb99 Merge "Prevent dropdown arrow from flipping in modern Vector" 2022-08-17 07:59:36 +00:00
jenkins-bot cf88597ca7 Merge "styles: Update Vector 2022 link colors to conform to WCAG requirements" 2022-08-17 07:35:09 +00:00
Translation updater bot 3e47609440 Localisation updates from https://translatewiki.net.
Change-Id: I415919d2809d69e107ab9ff0746f57da3ebd94f5
2022-08-17 08:26:43 +02:00
bwang 9546bd30c0 Prevent dropdown arrow from flipping in modern Vector
Bug: T314669
Change-Id: Icaae181cac1b399d9c0e90c55c7ee36982b638d3
2022-08-16 16:13:55 -05:00
Jan Drewniak 936bb1d739 Append icon to links created via mw.util.addPortletLink
For modern Vector, the preferred way to place an icon
beside a link is with a dedicated <span> element instead
of a `:before` pseudo-element.

This change appends a <span> element with an icon to
links created by mw.util.addPortletLink instead of
using the `.mw-ui-icon-before` class.

Bug: T314798
Change-Id: I019470d9ca38a6bd63a690882bed03b5f1ac03c4
2022-08-16 15:50:34 -04:00
jenkins-bot ae44bfa327 Merge "Fix collapsed TOC menu positioning with site notice without JS or major CSS changes" 2022-08-16 19:07:44 +00:00
Volker E f7f78023e9 styles: Update Vector 2022 link colors to conform to WCAG requirements
Follow Web Content Accessibility Guidelines and
use Wikimedia Design Style Guide colors with
at least 3:1 contrast with surrounding body text.

Also unify external and normal links as the color difference is
basically opaque to understand beyond a small group of power users.

Bug: T213778
Bug: T315321
Change-Id: I8a309eedd70b9a82fcca91c2cf9a30beea602b6b
2022-08-16 17:56:07 +00:00
bwang 160ef15f30 Fix collapsed TOC menu positioning with site notice without JS or major CSS changes
Bug: T310388
Change-Id: Ifa29dd032534a1c6ea6fcea194b0c65103a2cd52
2022-08-16 10:38:30 -05:00
jenkins-bot 8c3a4792e9 Merge "[ToC] Show new/modified sections after publishing an edit (new floating ToC)" 2022-08-16 08:37:30 +00:00
Translation updater bot 051b9eff60 Localisation updates from https://translatewiki.net.
Change-Id: If2120b82f52f039e7151ade3634bcc90e48d44a7
2022-08-16 08:36:20 +02:00
Jon Robson 6df60895ab TOC: Prepare for upstream change to mw:tocplace element
Bug: T311502
Change-Id: I1f607cf1ef1b61fb4d2e1880de756fb94d5a6b22
2022-08-16 07:04:27 +01:00
Moh'd Khier Abualruz 407046c759 [ToC] Show new/modified sections after publishing an edit (new floating ToC)
- All Frontend
- All in Skin

Bug: T307251
Change-Id: Icae2f03f0005b7607448127b793ff3c0010e5817
2022-08-15 20:02:49 +00:00
Jon Robson 6cd7098d05 [ToC] Content should be centered when TOC is collapsed
Bug: T314579
Change-Id: I8d182893267f740457b7233c38aa4615f08b814f
2022-08-15 14:53:54 -05:00
jenkins-bot 15ed1cf0e1 Merge "Prevent collapsed dropdowns from having height." 2022-08-15 19:31:24 +00:00
jenkins-bot 6a65efc041 Merge "Follow up: Remove .vector-layout-grid, .mw-workspace-container classes" 2022-08-15 18:52:46 +00:00
jenkins-bot aab46eb7ce Merge "Allow composer/installers plugin" 2022-08-15 16:05:22 +00:00
bwang 8eff2d0501 Follow up: Remove .vector-layout-grid, .mw-workspace-container classes
Bug: T313559
Change-Id: If93860d13fb3161c0b66f7ea9e3e1831b0a2fc1e
2022-08-15 10:10:01 -05:00
Translation updater bot 5204763967 Localisation updates from https://translatewiki.net.
Change-Id: I33ce00747118d3e888509a60513d25c4a3aecba0
2022-08-15 08:29:29 +02:00
Translation updater bot 24a9c1f28b Localisation updates from https://translatewiki.net.
Change-Id: I1a93a342986aa92bdae8bb53705ffa4db69ca178
2022-08-12 08:46:25 +02:00
jenkins-bot e367136406 Merge "Revert "styles: Set `background-repeat: no-repeat` for menu tabs"" 2022-08-11 13:11:06 +00:00
jenkins-bot 03b6715713 Merge "Add collapsed TOC to sticky header by moving the TOC" 2022-08-11 12:28:24 +00:00
bwang 006ea3517b Add collapsed TOC to sticky header by moving the TOC
Visual changes:
- TOC icon in sticky header
- Small update to the narrow screens collapsed TOC spacing when open

Bug: T311103
Depends-on: Ic94fda79bd14856ccda14985d5860aa54d3118d0
Change-Id: I977092f951ba2843816609e706bce4b99583f623
2022-08-11 11:25:21 +00:00
Translation updater bot 379ec65c8b Localisation updates from https://translatewiki.net.
Change-Id: I05c9238daf91cf591e5c7464adc183b20df695d5
2022-08-11 08:54:52 +02:00
jenkins-bot 310bf970bd Merge "Remove .mw-ui-button styles from user-links overflow menu" 2022-08-10 07:39:39 +00:00
Translation updater bot d26aaeff94 Localisation updates from https://translatewiki.net.
Change-Id: I83e3e21bdf57e36365a2c2c43a0a8c906ac6ac9a
2022-08-10 08:25:55 +02:00
jenkins-bot 6129fef3a0 Merge "Allow preview on certain article titles" 2022-08-09 16:02:46 +00:00
jenkins-bot 177e57b794 Merge "Refactor TOC A/B test to bucket users on backend" 2022-08-09 10:28:39 +00:00
Translation updater bot 3c0147752d Localisation updates from https://translatewiki.net.
Change-Id: I035cc2d382208d1955e1f7e133a73d33f9e5b139
2022-08-09 08:21:57 +02:00
Jan Drewniak 5676097135 Remove .mw-ui-button styles from user-links overflow menu
Removes the .mw-ui-button styles from the userpage link
and create account link in the user menu.

Overrides the userpage redlink style so that the link
remains blue even if the userpage doesn't exist.

Visual changes: userpage link and create account link
in header are no longer .mw-ui-buttton styles, but
look like standard blue links. The user links menu shifts
slightly because of this as well.

Bug: T312157
Change-Id: Id98e566952e5875527f38d1edbc8f6e058af4518
2022-08-08 22:12:07 -04:00
Clare Ming eb597645c3 Refactor TOC A/B test to bucket users on backend
- Include temporary feature requirement for TOC A/B test.
  - Assumes 100% of logged-in users with even/odd user ids
  being assigned to treatment/control buckets respectively.
  - Sampling rates passed in by config are not considered
  during bucketing.
- Update hook for adding needed TOC A/B test body classes.
- Add test for temp feature.

Note: the temporary feature requirement and associated hooks
should be removed once the 2nd TOC A/B test concludes.

Bug: T313435
Change-Id: If9c75235614af289cd50182baab29bec3155eb81
2022-08-08 15:50:28 -06:00
Jan Drewniak 942cd5b0f6 Sticky header AB test bucketing for 2 treatment buckets
For idwiki/viwiki, we wish to run the sticky header edit button AB
test so that treatment1 group sees the sticky header without edit
buttons, treatment2 groups sees the sticky header with edit buttons,
and the control/unsampled groups see no sticky header at all.

This patch overrides the configuration to make the sticky header
w/o edit buttons for treatment1, sticky header w/ edit buttons for
treatment2, and hides sticky header for everyone else. This depends
on a configuration with the treatment groups having "treatment1"
and "treatment2" as substrings in their bucket names.

The full configuration for idwiki/viwiki would be something like
the following:

```
$wgVectorStickyHeader = [
	"logged_in" =>  true,
	"logged_out" => false,
];

$wgVectorStickyHeaderEdit = [
		"logged_in" => true,
		"logged_out" => false,
];

$wgVectorWebABTestEnrollment = [
	"name" => "vector.sticky_header_edit",
	"enabled" => true,
	"buckets" => [
		"unsampled" => [
			"samplingRate" => 0
		],
                "noStickyHeaderControl" => [
                        "samplingRate" => 0.34
                ],
		"stickyHeaderNoEditButtonTreatment1" => [
			"samplingRate" => 0.33
		],
		"stickyHeaderEditButtonTreatment2" => [
			"samplingRate" => 0.33
		]
	],
];
```

Bug: T312573
Change-Id: I15c360fdf5393f5594602acc33b5b916e904016d
2022-08-08 21:14:02 +00:00
Jon Robson d771a1d60d Allow preview on certain article titles
The list is exposed in mw.config so banners can work out if the
preview mode is active.

We change the skin the same way MobileFrontend changes the skin.

Bug: T314286
Change-Id: Ib3c90d2640f2fa8cac17514b59aa720e4aba6d96
2022-08-08 19:58:07 +00:00
bwang d4d50d2dc5 Fix grid blowout bug
Bug: T314756
Change-Id: If1a84f5c3606dab7195a9b0a320e416fba702027
2022-08-08 18:19:23 +00:00
jenkins-bot 0a7588f55b Merge "Remove vector-layout-legacy styles and grid feature flag" 2022-08-08 17:13:42 +00:00
Jan Drewniak 4bafaa2453 Prevent collapsed dropdowns from having height.
Collapsed dropdowns are hidden via `opacity:0;` and
`visiblility:hidden;`. This doesn't prevent them from having a
height, which can be an issue when the language selector is
at the bottom of the page, producing a large gap near the footer.

Bug: T314546
Change-Id: Iec5d78469c8d5e10bd78e5d062f9e46a54fb3a98
2022-08-08 10:39:29 -04:00
Jon Robson 8a46797eec Express sidebar width in pixel for font size
Bug: T313817
Change-Id: Ic8917bf14eb688f84ca8dfbaea055f93fe829469
2022-08-08 08:25:21 +00:00
bwang ef2b0a2372 Remove vector-layout-legacy styles and grid feature flag
Bug: T313559
Change-Id: I050d0e243186ba4341accc26f8d644f55ff995b7
2022-08-08 08:22:26 +00:00
jenkins-bot f366c2ad9c Merge "Fix collapsible user links issue on tablet breakpoint" 2022-08-08 08:20:21 +00:00
bwang 64566249a3 Fix collapsible user links issue on tablet breakpoint
Bug: T314757
Change-Id: I595d27a03bd607f5b2ab8230e4931a1124222312
2022-08-08 07:59:50 +00:00
Translation updater bot ae82fcf5f9 Localisation updates from https://translatewiki.net.
Change-Id: I4efc2f9cb10bc354e21640b8b2f2e0518b7d7275
2022-08-08 09:01:38 +02:00
jenkins-bot 6a428b6b58 Merge "Minor fixes to TOC hide/show buttons" 2022-08-05 16:43:58 +00:00
Meno25 afe4a93e65 Update link target of the team page
Link redirected on mediawiki.org

Change-Id: Iee32234585411db7031cdb9e73412904f5e71d45
2022-08-05 12:51:44 +00:00
Translation updater bot 89a1ea869c Localisation updates from https://translatewiki.net.
Change-Id: I491b7fc3fce148c7424db5b132da4c9f7b957d90
2022-08-05 08:36:45 +02:00
Clare Ming 5b55a2f894 Minor fixes to TOC hide/show buttons
Bug: T307901
Change-Id: I37c6b3b4c5c20e914423c311795dbccce2a7b3fd
2022-08-04 15:20:58 -06:00
Jdlrobson 86f39007fb Revert "styles: Set `background-repeat: no-repeat` for menu tabs"
This reverts commit 1f94104cdf.

Reason for revert: I3427b9ca05957b33a95bba4de4ddf87b61b5ccc7 would
be a more future proof solution to this problem.

Depends-On: I3427b9ca05957b33a95bba4de4ddf87b61b5ccc7
Change-Id: Ie09ccad772e25689c89608bba73c5248a55b4a7d
2022-08-04 17:29:56 +00:00
jenkins-bot 1a2b6d59a5 Merge "UserLinksLegacy: Move layout rule into UserLinks rule" 2022-08-04 12:14:43 +00:00
jenkins-bot 6a92bad382 Merge "styles: Set `background-repeat: no-repeat` for menu tabs" 2022-08-04 12:10:25 +00:00
Jon Robson 0be8fe1534 UserLinksLegacy: Move layout rule into UserLinks rule
This is component CSS, not a general layout rule

Change-Id: I3b49989b3265b336810beca2e07f68020600f888
2022-08-04 11:54:44 +00:00
jenkins-bot 4f4317c708 Merge "Only apply sticky header offset if it is showing sticky" 2022-08-04 08:08:46 +00:00
Translation updater bot 4c2a1c2211 Localisation updates from https://translatewiki.net.
Change-Id: I6545978c126581242a8471844e077aae37534da9
2022-08-04 08:46:34 +02:00
bwang e1e9552bf3 Followup contentSub contentSub2 styling
Bug: T311421
Change-Id: I4319142361b83758bbbe3c1a22e9b6ccab47352d
2022-08-03 20:57:35 +00:00
jenkins-bot a4949503f6 Merge "Update #siteSub, #contentSub and #contentSub2 to fix spacing, conditionally render #contentSub and #contentSub2" 2022-08-03 20:16:51 +00:00
jenkins-bot c71bd6a27b Merge "Followup to ce007e0 - Unify dropdown styles" 2022-08-03 19:04:52 +00:00
Andre Klapper 1f94104cdf styles: Set `background-repeat: no-repeat` for menu tabs
Images are used e.g. by the ProofreadPage extension.

Bug: T314028
Change-Id: I278fff4f02dd91effe5d8ace2f4a21a437a5114b
2022-08-03 19:00:01 +00:00
Translation updater bot 88a6a7d7ca Localisation updates from https://translatewiki.net.
Change-Id: I4ae9cc00379a7abc41802b975ad7d2e88e543eaf
2022-08-03 08:20:12 +02:00
jenkins-bot 4aeaf4a428 Merge "Ensure collapsible TOC is closed when links are clicked" 2022-08-03 03:15:25 +00:00
bwang b89307c6bb Update #siteSub, #contentSub and #contentSub2 to fix spacing, conditionally render #contentSub and #contentSub2
Visual changes:
- Reduced spacing above #siteSub
- Updated spacing from #contentSub and #contentSub2

Bug: T311421
Change-Id: I7fd78d2c92007b231cfc49af0fbd02a4f74f3901
2022-08-03 01:14:30 +00:00
Jan Drewniak 4aa5602c52 Followup to ce007e0 - Unify dropdown styles
Provide better compatibility with gadgets that create dropdowns
like Twinkle by explicitly setting the font-weight and font-size
on `.vector-menu-heading`.

This is needed because in legacy Vector, menu headings
were <H3>'s, which have bold text and a larger font size.

Bug: T312157
Change-Id: Ic414cef4c7145740812e590f431294bc85a405b4
2022-08-02 16:57:02 -04:00
jenkins-bot feab2431f6 Merge "Remove custom rendering of the user links overflow menu in favor of using 'vector-user-menu-overflow', a vector specific menu bucket in Hooks.php" 2022-08-02 15:40:09 +00:00
Translation updater bot dcebd7c20d Localisation updates from https://translatewiki.net.
Change-Id: I50cb7bba9091a6e2a560a4d0ab6e88b1a3571e42
2022-08-02 08:15:28 +02:00
bwang 37149c9e67 Remove custom rendering of the user links overflow menu in favor of using 'vector-user-menu-overflow', a vector specific menu bucket in Hooks.php
- Rename 'vector-user-menu-more' class to 'vector-user-menu-overflow'
- Update storybook and tests

Visual changes
- Small intentional change on the create account button

Bug: T306662
Change-Id: I371bb11903d8cdd8f0da89266fcf549050c0da8c
2022-08-01 20:18:46 +00:00
jenkins-bot ea5c4d3735 Merge "phpunit: Fix context leak in SkinVectorTest" 2022-08-01 15:47:53 +00:00
Translation updater bot 0315f12c70 Localisation updates from https://translatewiki.net.
Change-Id: I42d7c2cc4c665ff9a8dfb2b9cfd8de7dc46cdc5e
2022-08-01 08:25:42 +02:00
Clare Ming 1d1585d214 Add feature to hide/show collapsible TOC above desktop
- Add hide/show links to TOC template.
- Add i18n messages for hide/show text.
- Add event listener to TOC js.
- Update relevant TOC collapsed styles.
- Update test snapshot.

Bug: T307901
Change-Id: Ic94fda79bd14856ccda14985d5860aa54d3118d0
2022-07-29 14:19:55 -05:00
Translation updater bot 504d04d26d Localisation updates from https://translatewiki.net.
Change-Id: I13937bf561f74ec5b62030356c4826b143a088dc
2022-07-29 08:57:11 +02:00
Timo Tijhof acaaa89c5e phpunit: Fix context leak in SkinVectorTest
There are two issues with context in this test case:

1. The $vectorTemplate object was not given the $context object.
   Calling setContext() is the same as MediaWiki would normally do
   after calling SkinFactory, e.g. as in RequestContext::getSkin.

2. The "main" glboal state was leaking into the test by mutating
   the result of getMain() instead of creating your own for use
   in the test.

Change-Id: I09eb8c3a38c0d4e2c85461b61e6f14ab00995016
2022-07-28 20:55:30 -07:00
jenkins-bot 9e0d9ebcd4 Merge "Unify dropdown styles" 2022-07-28 21:26:23 +00:00
Jan Drewniak ce007e059e Unify dropdown styles
This affects all dropdowns in Vector 2022, including the
user menu in the header and the language variants and
"more" menu in the article toolbar.

By relying on shared styles instead of separate implementations,
this change also reduces the size of the skins.vector.styles
module by 1.6kB (uncompressed).

Visual changes:
- The links in the user menu are now blue
- Dropdown links in the user menu and tabs are blue
- The dropdown labels in the tabs are black not dark gray.

Bug: T312157
Bug: T308344
Change-Id: I002d5454838a5516b6ee6c7c38721209ed28508b
2022-07-28 16:41:39 -04:00
Jdrewniak c035d8babd Revert "styles: Unify on standard external link icon"
This reverts commit cffd494107.

Reason for revert: Reverting due to how the new icon doesn't scale well at 2x resolution. https://phabricator.wikimedia.org/T261391#8111726

Bug: T261391
Change-Id: I6d49fed2b9e249de15cf40216c01153c7b793ee2
2022-07-28 14:43:51 +00:00
Translation updater bot b297c931e0 Localisation updates from https://translatewiki.net.
Change-Id: I2405ce2e53a61e8b6e3df9bdc4c34f726e952a38
2022-07-28 09:00:54 +02:00
jenkins-bot ee91a813d3 Merge "styles: Replace LanguageButton variable nomenclature" 2022-07-27 20:28:18 +00:00
jenkins-bot e4b4f5bf9f Merge "Show ULS button when article exist only in single language" 2022-07-27 20:22:02 +00:00
jenkins-bot 225efaaabb Merge "Page toolbar visual tweaks and code clean up" 2022-07-27 19:40:17 +00:00
jenkins-bot 3fb45cfc14 Merge "Hide TOC button on print" 2022-07-27 17:33:28 +00:00
bwang 7b34e14d25 Page toolbar visual tweaks and code clean up
Visual changes: 11 expected in Pixel
- Elements on the right side of page toolbar are now flush with the rest of the content

Change-Id: Id02cd379687fa292188a447c85951e7a87ade509
2022-07-27 17:10:22 +00:00
jenkins-bot 54ac78bba0 Merge "Make site banner full width in grid layout" 2022-07-27 16:57:05 +00:00
Clare Ming 7a63671b51 Hide TOC button on print
Bug: T313298
Change-Id: Ibf5281ce9deabc32f59df9c088af6dcb29b86ddf
2022-07-27 10:24:19 -06:00
bwang 320175d22c Make site banner full width in grid layout
Bug: T312749
Change-Id: Ia888615762a641f98409b11c6448a32897c4c835
2022-07-27 10:01:49 -05:00
Translation updater bot b32fb8166b Localisation updates from https://translatewiki.net.
Change-Id: Ie828f4dc9bbb514a3516bc18476333173b6d14d7
2022-07-27 08:28:15 +02:00
jenkins-bot 8e36c72144 Merge "Add "Add topic" button to sticky header" 2022-07-26 22:36:04 +00:00
jenkins-bot 77bd2e5fbd Merge "Sticky header: Add a link to the 'subject' page when on talk pages" 2022-07-26 22:36:01 +00:00
Ed Sanders 23a5261ef6 Add "Add topic" button to sticky header
Bug: T304187
Change-Id: Ib497eb91ec7548e2ba6d1d474a196ada770f955d
2022-07-26 22:15:02 +00:00
jenkins-bot aa925d01d9 Merge "Define non-standard colors for legacy Vector" 2022-07-26 21:27:45 +00:00
bwang e5251a1448 Ensure collapsible TOC is closed when links are clicked
Bug: T310828
Depends-on: I2783928740e6a0684476a642f812cc6647be8e3f
Change-Id: I0bab194465f89637eecb43590eb8d29b5f2fd7d2
2022-07-26 19:03:16 +00:00
Derk-Jan Hartman e7f0106917 Only apply sticky header offset if it is showing sticky
Only apply sticky header offset to mw-sticky-header-element if the
header is actually sticky, currently at min-desktop-width of 1000px

Bug: T313187
Bug: T313619
Change-Id: I081c694b263a68498468b837cffa1cbea136d36f
2022-07-26 17:57:46 +00:00
Volker E ee7f59171f styles: Replace LanguageButton variable nomenclature
`height-lang-button` => `height-button-lang`
First component, then subtype.

Bug: T313243
Change-Id: Icd053cb64ef0af84b37e27b0dbfc0e8ceb521863
2022-07-26 07:46:42 -07:00
Translation updater bot b7b338ec14 Localisation updates from https://translatewiki.net.
Change-Id: Icfc0735aa1f57c98103d1a91843984589a977b48
2022-07-26 08:27:23 +02:00
Volker E 23b1fb3b45 icons: Amend external link icon for lo-dpi screens
Following-up I05b832a36e8, which has seen the right canvas of 12x12, but
an older, incorrect version of the icon not perfectly optimized for
the lo-dpi screens.

Bug: T261391
Change-Id: Ia0054372c4d3bd5bb7e4b24a8f412bcaf6bcd80b
2022-07-25 16:09:09 -07:00
jenkins-bot 9fc2f4403e Merge "Update CSS to allow TOC to be collapsed at larger viewports using grid" 2022-07-25 21:41:42 +00:00
jenkins-bot a32a2cc322 Merge "[Refactor] Split MenuDropdown.less for modern and legacy" 2022-07-25 20:39:05 +00:00
Jan Drewniak 697b5deeda [Refactor] Split MenuDropdown.less for modern and legacy
Splits MenuDropdown styles into modern and legacy styles.

Leaves a common MenuDropdownCheckbox.less file (for lack
of a better name) for common styles related to the checkbox
behaviour and dropdown menu resets.

Adds a new file in common/mixins.less for a shared
dropdown mixin.

Bug: T312157
Change-Id: Ib60b25ea3121843ed5ed54820d6295a81289b332
2022-07-25 20:20:18 +00:00
Translation updater bot 479bcc3958 Localisation updates from https://translatewiki.net.
Change-Id: Ib78b2b6129bd1ef4b4cb005b5d2a34bc93f7530c
2022-07-25 08:43:52 +02:00
Ed Sanders c9a04099d0 Sticky header: Add a link to the 'subject' page when on talk pages
The subject link does not have a consistent ID like the talk link,
so it needs to be computed from the canonical namespace name.

Something similar is done in VE.

Bug: T309424
Change-Id: Ie82ca61aef30204edd09793963b25464febb17fe
2022-07-22 22:24:38 +01:00
jenkins-bot 95ce5900bf Merge "Enable sticky header on article and user talk pages" 2022-07-22 21:16:41 +00:00
bwang 4511b94b21 Update CSS to allow TOC to be collapsed at larger viewports using grid
Test by adding .vector-toc-collapsed class to the body
We use grid only when supported for grade C browsers.

Visual changes:
* Slight changes to position of the button and title
(movement by a pixel or 2)

Bug: T311447
Change-Id: Ib16c7b5b35be66776d013833e29f24f3f5316d9b
2022-07-22 20:59:14 +00:00
Jan Drewniak 34a8bc6690 [Regression] Restore proper watchstar icons in Vector 2022
Wrong watchstar icons were specified when splitting the watchstar
into modern and legacy Vector in 3c0559a7.

Change-Id: Ice369f5d81818b093014cf508c2d4336c66368ed
2022-07-22 15:29:04 -04:00
Clare Ming 1297733a65 Add text to TOC collapsible button label for accessibility.
- Provide message translations.
- Include other TOC message that was missing.

Bug: T310810
Change-Id: Ibd612b48ea3ef3f9f31f4bb5791c0cb82e447ece
2022-07-22 10:45:40 -06:00
Ed Sanders acc4b3c413 Enable sticky header on article and user talk pages
Don't show the talk page link on talk pages themselves.

Bug: T304188
Bug: T309424
Change-Id: I5f4c9373c18d65245416cc3f5b603381abc3de1c
2022-07-22 17:22:24 +01:00
Santhosh Thottingal 40f6c5e29d Show ULS button when article exist only in single language
When the article exist only in one language, currently we do not show
language selector. This prevents showing the entry points to create article
in other languages by various means.

Show the language selector so that options like translate, interlanguage
links, language settings can be shown.

Bug: T275147
Bug: T290436
Depends-On: I42c5d44ec15e291d71723c9738ddb8f0d1cf0b09
Change-Id: I7fb68457c1203d824fe7433c9f272f300a483c44
2022-07-21 16:28:22 -07:00
bwang 2d9585c8e3 Table of contents: Update TOC styles
Visual changes:
* Changes to table of contents text alignment and padding

Bug: T312156
Change-Id: Icfde60d053a786054de6608f2ed4f0b1b5b5b252
2022-07-21 22:30:35 +00:00
jenkins-bot 6ecbd5e970 Merge "Refactor chevron across components + separate watchstar" 2022-07-21 22:01:49 +00:00
Jon Robson 96a12622c2 Define non-standard colors for legacy Vector
Bug: T213778
Change-Id: I7e350c1d6d6c584ce97d210a9d62190a453693c4
2022-07-21 21:31:31 +00:00
Jon Robson 75ffe2eb36 Layout: Release CSS grid
Results in the following visual changes:
- Footer will always span full screen
- The top of the TOC should align with the hr under the page title

Bug: T312241
Change-Id: I3fc9de5900aff441715f004aed786f95b14657a5
2022-07-21 14:15:12 -07:00
jenkins-bot 64f724903e Merge "Remove Table of Contents feature flag" 2022-07-21 20:06:45 +00:00
Volker E 3315b33217 styles: Make external icon indicator size for lo-dpi environments
Using indicator 12x12 canvas, following up Ibd15517f3adf, to cater to
lo-dpi screens.
We've already had that canvas in the original patch, but in the first
new patch left it behind.

Bug: T261391
Change-Id: I05b832a36e89f6d75ab4f620b8db60b6eb578f73
2022-07-21 12:25:29 -07:00
Clare Ming 28732cf4f7 Remove Table of Contents feature flag
- Update related selectors, styles.
- Remove unneeded styles.
- Remove link hijack js.
- Simplify hook to only add experiment name to body.

Bug: T310527
Change-Id: I25527261d529a16e28f1b90f2f5af234d26fd40f
2022-07-21 12:41:39 -06:00
Jan Drewniak 3c0559a71d Refactor chevron across components + separate watchstar
Consolidates the CSS responsible for styling chevrons into one
implementation. This removes the need for custom padding and
background positioning for the following components:

- "more" menu
- user menu
- watchstar
- language button
- languge button in sticky header

Instead of absolutely positioning the chevron on these components,
the parent label element is set to `display: inline-flex` so that
the chevron is vertically aligned and given enough space by default.

The watchstar, although not a chevron, is also given the
`display: inline-flex` treatment so that it can be aligned with
other elements in the toolbar.

This new implementation requires splitting the watchstar
component into legacy and modern due to a quirk in Firefox that
causes a bug with the watchstar in legacy Vector.

NOTE: This change causes visual changes due to the difference in
centering the chevrons via flexbox vs percentage positions.

Bug: T308344, T310838
Change-Id: Ie9e0fce1366cd25a5899fee49770de4a09424fe2
2022-07-21 10:14:21 -04:00
Translation updater bot 66cf502e17 Localisation updates from https://translatewiki.net.
Change-Id: I1819790abbaabd418d477a61919a7f1e4ac043ce
2022-07-21 09:06:58 +02:00
jenkins-bot e83ca244af Merge "styles: Unify on standard external link icon" 2022-07-21 00:07:17 +00:00
jenkins-bot 0bb47ce2e2 Merge "styles: Remove `linear-gradient` hack for non-supported browsers" 2022-07-20 23:40:23 +00:00
jenkins-bot 966975ea2c Merge "styles: Replace IE hack `list-style: none none`" 2022-07-20 23:36:07 +00:00
Volker E d365148f8d styles: Replace IE hack `list-style: none none`
Hack has first been introduced in I7d4b075ac90 more than 4 years ago.
It has been introduced to tackle IE <=8.

Bug: T306486
Bug: T308344
Change-Id: Ie84a177f79d226be98298a42ebfdd447e33a1372
2022-07-20 22:20:15 +00:00
Volker E 46514f2d2e styles: Remove `linear-gradient` hack for non-supported browsers
`linear-gradient` hack was necessary for browsers, that weren't
supporting SVGs.

Bug: T306486
Bug: T308344
Change-Id: Ie61ba7955ece62015436d2aee44a66bacf42e552
2022-07-20 12:40:41 -07:00
jenkins-bot 22969cb39d Merge "styles: Remove IE9 Flexbox fallback" 2022-07-20 16:45:37 +00:00
jenkins-bot 02451be660 Merge "search: Mark App.vue as being compatible with Vue 3" 2022-07-20 16:38:34 +00:00
jenkins-bot caf0221164 Merge "styles: Replace `@top-margin…` with `@margin-top…` variable names" 2022-07-20 16:38:32 +00:00
Volker E 2d0428b02a styles: Remove IE9 Flexbox fallback
IE9 is out of basic supported browsers, so removing this fallback.
Also using “Flexbox” as standard term in comment.

Bug: T306486
Bug: T308344
Change-Id: I6fcb0c4b54fea3d05593ae294c05e046131c93d2
2022-07-20 08:13:00 -07:00
Volker E cffd494107 styles: Unify on standard external link icon
Unify on using standard OOUI 'linkExternal' icon, which is directly
replacing Vector's image without relying on ResourceLoader.
Please note that the icon features standard link color `#36c` which is
implemented in a later step. Due to the small icon size and the fact
that current external link icon is also not using the legacy color, this
seems acceptable to move forward with.

Also using relative `em` instead of `px` to support user text zoom
capabilities and introducing a `@size-indicator` variable to be replaced
by WikimediaUI Base variables later.
Alternative to I49de3bfff45.

Replacing images and image names to make quicker lookup with icon
collection possible future-facing.

Note that CSSJanus is flipping the `ltr` string in the background image
rule to `rtl`, therefore making sure that both icons are available.

Bug: T261391
Change-Id: Ibd15517f3adf06010807901e8fb3299e2046a473
2022-07-20 04:41:14 -07:00
Translation updater bot fce9cfc652 Localisation updates from https://translatewiki.net.
Change-Id: Ia4c23a2bc3e02d00e548aafc185b2d1bdaad04ac
2022-07-20 08:29:59 +02:00
Roan Kattouw 21b9dda2a2 search: Mark App.vue as being compatible with Vue 3
This doesn't change any behavior, it just suppresses a compatibility
warning and ensures that future changes to this file won't introduce
code that relies on Vue 2 compatibility features.

Change-Id: Id15af7d5d5035f59dc8f402f00d8f7f0d73a77f7
2022-07-19 16:23:06 -07:00
Jan Drewniak d709bb5606 Update to 4ab2b1bf: Refactor Vector tabs layout
Removes a height:100% rule that was causing a shift in layout.

Change-Id: I7b29ba201e9937174852ba0d7919fd65e530851f
2022-07-19 17:24:05 -04:00
Volker E 0c7cc69e30 styles: Replace `@top-margin…` with `@margin-top…` variable names
Bug: T313243
Change-Id: Ibdcc50d2a67074bc7b3f28c58baf73ad39db922d
2022-07-19 12:16:28 -07:00
Volker E 048e40d0bf styles: Remove divider image fallbacks for now non-basic support browsers
Removing old PNG divider fallbacks, which were included for IE9, old
Firefox and Chrome browsers and are not mission critical even when not
rendered to unknown browsers.

Bug: T306486
Bug: T308344
Change-Id: I8a6622237a1cbb8116930a12e632329618d5c291
2022-07-19 18:29:09 +00:00
Jan Drewniak 4ab2b1bff1 Refactor Vector tabs layout for reduced size & complexity
Fix for iOS Safari 13 & 14 (T309223):
- Replaces flex-box layout from the top-level #right-navigation
  and #left-navigation tab elements with floats.
  Then for vertical alignment, sets the child <li> elements and
  <a> elements to inline block.

Opportunistic refactor (T308344):
- Moves the font-size rules to top-level #left/right-navigation,
  but leaving them as-is for legacy Vector.
- Removes a (seemingly) unnecessary `display:none` rule from
  Vector 2022, which previously applied to H3 labels in the
  sidebar, which are no longer targeted by the styles in
  MenuTabs.less.
- Removes an unnecessary selector and duplicated rules from
  ArticleToolbar.less

This change fixes a flexbox issue on iOS Safari 13 & 14, but also
reduces the CSS bytesize of the skins.vector.styles module by
0.9kB (uncompressed), from 54.2kB in the previous commit to
53.3kB with this commit.

Expected visual changes:
* The tab underline now overlaps with the toolbar underline, and text
pushed down on certain tabs
* The variant tab is now equally spaced
* Right navigation tabs slightly shifted to the right

Unexpected visual changes:
* More menu shifts to the left [see note at top of commit, will be
fixed in a follow up]

NOTE: this introduces a visual regression in the mobile viewport in that
the more menu.
Given this viewport is still experimental, after talking to Jan
we agreed to address this in a follow-up.

NOTE: Update addresses the reason for revert 5599cf2 and compatibility
with CSS Grid layout by adding a clearfix (display:flow-root)
for #right-navigation and #left-navigation elements inside toolbar.

Bug: T309223
Bug: T308344
Bug: T312212
Change-Id: I1482a81d16c53e0ba1977b0d98ba8c8a21362a6c
2022-07-19 13:26:49 -04:00
jenkins-bot 1ebf8c148d Merge "styles: Use default `border-width` and `border-style` vars" 2022-07-19 16:46:31 +00:00
jenkins-bot f7979192a8 Merge "styles: Apply `@background` var to Sidebar `background`" 2022-07-19 16:45:21 +00:00
jenkins-bot 9f7f292a6f Merge "styles: Rename `border-tabs` to `border-bottom-tabs`" 2022-07-19 16:45:17 +00:00
jenkins-bot 9a177a2f8f Merge "styles: Use mediawiki.skin.variables `transition-duration` vars" 2022-07-19 16:43:32 +00:00
jenkins-bot 22b4e4f31a Merge "styles: Replace distinct color var with standard variable" 2022-07-19 16:43:30 +00:00
jenkins-bot 3c8796ee04 Merge "Search: Use Codex and Vue 3 instead of WVUI and Vue 2." 2022-07-19 15:18:29 +00:00
Volker E 8d21f557c1 styles: Use default `border-width` and `border-style` vars
Bug: T313243
Change-Id: I8e40fbcff3d739318f6a53104128ed52ef8f294f
2022-07-19 05:11:39 -07:00
Volker E fca7726a17 styles: Apply `@background` var to Sidebar `background`
Also de-coupling border and background vars as they are aimed to
be fully replaced by tokens in future.

Bug: T313243
Change-Id: I5b7e46b6d2a0cc6975cb3c760645eaf2d5d30de5
2022-07-19 04:35:09 -07:00
Volker E b62f7fa4dd styles: Rename `border-tabs` to `border-bottom-tabs`
And use `@border-width-base` var.

Bug: T313243
Change-Id: Ic5febd54a6f28ef8998f4278589b08c6e5977d9f
2022-07-19 04:24:33 -07:00
Volker E 026b19925e styles: Use mediawiki.skin.variables `transition-duration` vars
Bug: T313243
Change-Id: Ic592dfe0a8711f33196d84a222ffa1d6214545e8
2022-07-19 04:19:08 -07:00
Translation updater bot d5ce552394 Localisation updates from https://translatewiki.net.
Change-Id: I82330f9f0f1a47e0ffda821057599dceed089cd4
2022-07-19 08:19:22 +02:00
Gergő Tisza bd57c4b851
Allow composer/installers plugin
`composer update --no-interactive` errors out if this flag is not set.
Setting it to true, as that was the status quo before Composer 2.2.

Bug: T298283
Change-Id: I9805e130a0fd8f9871693a08eec9a35194f19e4e
2022-07-18 19:24:19 -07:00
jenkins-bot cfe21914ce Merge "Revert "Refactor Vector tabs layout for reduced size & complexity"" 2022-07-18 23:46:12 +00:00
Jdlrobson 5599cf23af Revert "Refactor Vector tabs layout for reduced size & complexity"
This reverts commit 0c5e6ed9fe.

Reason for revert:  I was so focused on testing the current layout
I forgot to test the more important grid layout, which is being
deployed this week. The "from mediawiki" tagline is overlapping
with the tabs.

Change-Id: I3c53a8d243caf84e5c2766d730ced3d7da345026
2022-07-18 23:28:01 +00:00
jenkins-bot 1721b23ac2 Merge "Refactor Vector tabs layout for reduced size & complexity" 2022-07-18 23:01:07 +00:00
Jan Drewniak 0c5e6ed9fe Refactor Vector tabs layout for reduced size & complexity
NOTE: this introduces a visual regression in the mobile viewport in that
the more menu.
Given this viewport is still experimental, after talking to Jan
we agreed to address this in a follow-up.

Fix for iOS Safari 13 & 14 (T309223):
- Replaces flex-box layout from the top-level #right-navigation
  and #left-navigation tab elements with floats.
  Then for vertical alignment, sets the child <li> elements and
  <a> elements to inline block.

Opportunistic refactor (T308344):
- Moves the font-size rules to top-level #left/right-navigation,
  but leaving them as-is for legacy Vector.
- Removes a (seemingly) unnecessary `display:none` rule from
  Vector 2022, which previously applied to H3 labels in the
  sidebar, which are no longer targeted by the styles in
  MenuTabs.less.
- Removes an unnecessary selector and duplicated rules from
  ArticleToolbar.less

This change fixes a flexbox issue on iOS Safari 13 & 14, but also
reduces the CSS bytesize of the skins.vector.styles module by
0.9kB (uncompressed), from 54.2kB in the previous commit to
53.3kB with this commit.

Expected visual changes:
* The tab underline now overlaps with the toolbar underline, and text
pushed down on certain tabs
* The variant tab is now equally spaced
* Right navigation tabs slightly shifted to the right

Unexpected visual changes:
* More menu shifts to the left [see note at top of commit, will be
fixed in a follow up]

Bug: T309223
Bug: T308344
Bug: T312212
Change-Id: I77f3dd8e8ccfe3a1d9693746106d9783cc0d38b9
2022-07-18 22:34:11 +00:00
jenkins-bot 9cc22f9c7d Merge "Fix config overrides in SkinVectorTest." 2022-07-18 20:42:33 +00:00
Roan Kattouw ce77018b7c Search: Use Codex and Vue 3 instead of WVUI and Vue 2.
[Visual changes]
This should result in 9 visual regression failures relating to
increased height of search results and loading bar

[More details about change]
- Migrate search app from Vue 2 to Vue 3; update tests
  accordingly
- Remove dependence on WVUI and use Codex instead, via the special
  `@wikimedia/codex-search` package
- Update search app to use CdxTypeaheadSearch, which no longer
  takes in props related to the search client or fetch start/end
  instrumentation. Instead, directly use the restSearchClient
  and call fetch start/end events in the search app.
- Handle hideDirection in the search app/API response formatting
  code, not within the TypeaheadSearch component
- Handle showing/hiding the search button in the app
- Move the WVUI URL generator into Vector
- Update server-rendered search box styles to match design updates
  included with CdxTypeaheadSearch
- Replace references to WVUI with references to Codex
- Update values of various LESS variables to match Codex, and update
  searchBox styling to prevent jankiness when the searchBox is replaced
  with the Codex TypeaheadSearch component

The VectorWvuiSearchOptions config variable has been maintained and
will be updated to a code-agnostic name in a future patch.

Bug: T300573
Bug: T302137
Bug: T303558
Bug: T309722
Bug: T310525
Co-Authored-By: Anne Tomasevich <atomasevich@wikimedia.org>
Change-Id: I59fa3a006d988b14ebd8020cbd58e8d7bedbfe01
2022-07-18 12:54:47 -07:00
Volker E d4b205e149 styles: Replace distinct color var with standard variable
To safely looking forward to standard Codex tokens.

Bug: T313243
Change-Id: I3ed5dedab2b5f2edc2b1da13d07e21b77791f08a
2022-07-18 11:17:16 -07:00
Jan Drewniak c9c5c9e5a4 Followup to 33a6fb6 - remove is-title-above-tabs from template
The configuration for this feature was removed, so the conditional
in the skin.mustache template should be removed as well.

Bug: T311773
Change-Id: I6a8e671c5f08d9af73145b900398b185febb3bc7
2022-07-18 10:43:36 -04:00
Translation updater bot c0d752cbe0 Localisation updates from https://translatewiki.net.
Change-Id: I678ccbe7fe725add25b69444d8cf30f7d1092596
2022-07-18 08:17:51 +02:00
daniel bf67540431 Fix config overrides in SkinVectorTest.
Use overrideConfigValues instead of installMockMwServices and setMwGlobals.
This ensures that configuration overrides are handled consistently.

This also fixes a data provider that relied on a service, which causes
the test to fail when not run via the pgpunit wrapper.

Depends-On: I898927717ce961d98617a7fcd9c7fa8e19bec412
Change-Id: I6354fa39e1e9adf4be6eb6b26db82b8f106c593e
2022-07-16 16:05:16 +00:00
Translation updater bot cf3d3b453f Localisation updates from https://translatewiki.net.
Change-Id: I8a640a80e707da91be15407167930726098db3f9
2022-07-15 08:52:00 +02:00
jenkins-bot 3369c7e259 Merge "styles: Remove obsolete variable" 2022-07-14 16:03:45 +00:00
jenkins-bot 3aa6c7baf1 Merge "Move code for adding sticky header class to SkinVector22.php" 2022-07-14 15:22:49 +00:00
Volker E a651d5e86b styles: Remove obsolete variable
Following-up Idf943449b5e4.

Bug: T308344
Change-Id: I06588d42e3e5c95248886df33ddda45d4f1eaf1f
2022-07-14 07:21:12 -07:00
Translation updater bot a15d652b4a Localisation updates from https://translatewiki.net.
Change-Id: I77f415079a652c4e4d11e55a16dfb6badc1d8bc2
2022-07-14 08:50:40 +02:00
Translation updater bot 084956980c Localisation updates from https://translatewiki.net.
Change-Id: I413cf595ccc623aec15cff4096bc688009907fb5
2022-07-13 08:19:42 +02:00
Translation updater bot 1e99e24c96 Localisation updates from https://translatewiki.net.
Change-Id: Ibff5edcec16c47f01adda3b1483211d4ea4bf6dc
2022-07-12 08:17:27 +02:00
jenkins-bot 1be236aa5a Merge "TOC: CSS clean up and spacing fix" 2022-07-11 21:05:05 +00:00
Jon Robson a3905e9acd CSS cleanup: Revise CSS that is no longer needed per FIXME guidelines
Bug: T311773
Bug: T308344
Change-Id: Idf943449b5e4358749be47435b3032215e533353
2022-07-11 15:43:44 +00:00
Ed Sanders e2d70c383e Move code for adding sticky header class to SkinVector22.php
Per the comment at the top of the file, much more of this code
needs to be moved to SkinVector22.php, but this is causing a specific
regression, so can be moved now.

Bug: T312782
Change-Id: Ief7581782f1e4eefc7474cceb81830783dff99a8
2022-07-11 16:11:58 +01:00
Translation updater bot 88b7d9534a Localisation updates from https://translatewiki.net.
Change-Id: I7cd613a6203858a2a2f8846db1c79944ac633a8c
2022-07-11 09:52:34 +02:00
jenkins-bot 4df9e30757 Merge "Restore #siteSub font size" 2022-07-08 21:35:22 +00:00
bwang 42f863a936 TOC: CSS clean up and spacing fix
- Update TOC bottom padding to match spec in T304166.
  Before (30px): https://phabricator.wikimedia.org/F35312302
  After (20px): https://phabricator.wikimedia.org/F35312299
- Rearrange/combine some selectors in TableOfContents.less
- Delete some unnecessary styles/selectors
- Rename variables in TableOfContents.less

Change-Id: Ifffc434dcab4256a0c3ae8faf43a342935b820ff
2022-07-08 19:36:19 +00:00
bwang f0955e8ae3 Restore #siteSub font size
Bug: T311421
Change-Id: I9c6d66f91c071a23e02d646ace143f9605354eae
2022-07-08 19:26:03 +00:00
jenkins-bot ccbfa4c895 Merge "[Storybook] Fixes state of various components" 2022-07-08 19:17:26 +00:00
Jon Robson c8d2c6e460 [Storybook] Fixes state of various components
Change-Id: Icd3fef87485aaa7abc2f10534ccdc8960ef06f1d
2022-07-08 11:36:43 -07:00
Clare Ming c18c9856b5 TOC scrollbar should not fade
Bug: T311436
Change-Id: I50e2d82982515f045596c1a19dd7f9932cde25ef
2022-07-08 13:03:39 -05:00
Translation updater bot 189b953096 Localisation updates from https://translatewiki.net.
Change-Id: Id4cd63a452d170e8fbea05ef8619ff14ddfbc366
2022-07-08 08:54:58 +02:00
Jon Robson 2a4ac3152b Move Vector menu class logic into Menu mustache template
Cleaned 'vector-menu' in SkinVector file, updated
includes/templates/Menu.mustache and includes/templates/legacy/Menu.mustache.

Bug: T290281
Change-Id: I7286fa82abfd437a228b9ac07ac781210d7cd98f
2022-07-07 12:34:23 -05:00
Translation updater bot f9676bda10 Localisation updates from https://translatewiki.net.
Change-Id: Iaed5d20f947ee04a5026f4f4a2494e03fe8fea44
2022-07-07 08:52:58 +02:00
Jon Robson 33a6fb6028 Layout: Title should always be above tabs
**UI CHANGES**
- This change will result in expected UI changes so will flag problems
with Pixel.
- Before merging please confirm Pixel reports 31 passed, 47 failed
- After merging, we should update LocalSettings.php to reset these
changes.

Bug: T310054
Change-Id: Ib35c6bfa5493f7dc81b63c42e7fedb8f1e47226b
2022-07-06 15:25:42 +00:00
jenkins-bot a975f920c4 Merge "Layout: Fixes table of contents alignment issues" 2022-07-06 12:57:18 +00:00
Translation updater bot 31733c9682 Localisation updates from https://translatewiki.net.
Change-Id: I4753d1a33da6fd4bfaaf77cd0987ebe2c3036370
2022-07-06 10:20:20 +02:00
Jon Robson e8130d6628 Layout: Fixes table of contents alignment issues
This patch also adds some grid variables to be reused

Bug: T311793
Change-Id: Ib985e929b5ff013dfe9dcff1d0f33cebc24bbed6
2022-07-05 21:11:47 +00:00
Translation updater bot 43677cfe63 Localisation updates from https://translatewiki.net.
Change-Id: Iac833fc63b1901aaf8e286b8a32b847325b880ba
2022-07-05 08:40:34 +02:00
Translation updater bot 70721d89fd Localisation updates from https://translatewiki.net.
Change-Id: I0631e040519756ba9d88e4de6700bf14e6378973
2022-07-04 08:24:49 +02:00
jenkins-bot 197fab6905 Merge "Remove tablet specific styles for collapsed TOC, and misc CSS clean up" 2022-07-01 17:53:35 +00:00
bwang a84549f243 Remove tablet specific styles for collapsed TOC, and misc CSS clean up
This patch also fixes a regression for non grid layout Vector on tablet viewports when the sidebar and collapsed TOC is open
https://jmp.sh/xZhkU6q

No pixel regressions

Change-Id: Ic371f9b7ddd017af835565834e26a65ad3c2afc8
2022-07-01 15:25:34 +00:00
Jon Robson d8a66f0d49 Layout: Fixes content alignment issues
Bug: T311793
Change-Id: I256750d546e2ab818bca1f153a2b6a675db79a54
2022-07-01 14:54:10 +00:00
Translation updater bot 9ef3149c90 Localisation updates from https://translatewiki.net.
Change-Id: I52e2aa92d0b2e75ea75265bc0ed8e5b183690e20
2022-07-01 08:56:19 +02:00
Jon Robson bcb6ca36ba Layout: Fixes header margin between search and user links
Restore header margin between search and user links, as its
still needed for grid (Fixes F35282398)

Bug: T303484
Change-Id: Ie8cf4adcadff430ebfc675029635e6c22061b238
2022-06-30 16:03:28 -07:00
Jdlrobson e16a8e4775 Revert "Layout: restore sticky toc behavior by adding additional TOC container"
This reverts commit 3a26cc220c.

Reason for revert: Pixel flagged a UI regression relating to this change https://phabricator.wikimedia.org/F35291665

Change-Id: Id0b3d13da7dfbd8a55605e9f1fae157fe45abd2f
2022-06-30 22:53:19 +00:00
bwang 3a26cc220c Layout: restore sticky toc behavior by adding additional TOC container
Fix sticky behavior changed by impacted by e23fc1f

Change-Id: I7ead5e1d5954f772a533e1116f8c55d2d9cfd143
2022-06-30 21:40:14 +00:00
Jon Robson 615181154c Layout: Grid columns are restricted to desktop views
On tablet, where the table of contents is hidden, the
sidebar should take up the full screen when open.

Fixes Pixel regression
MediaWiki_Test_vector-2022_sidebar-open_0_html_1_tablet.png

Bug: T303484
Change-Id: Ie0aa9f661a652e137d691a1fa4b05e69f0c5f8ab
2022-06-30 20:30:20 +00:00
bwang e23fc1fe11 Grid: fix footer styles
Fixes https://phabricator.wikimedia.org/F35289862

Change-Id: If14bfb357d077ebd3886ce7290f0d46d19588dc6
2022-06-30 13:34:25 -05:00
jenkins-bot 9d7b62b85d Merge "Layout: Use sibling selectors rather than adjacent sibling" 2022-06-30 15:10:58 +00:00
Jon Robson 79403a87e3 Fixes Content sub unreadable in Vector 22
Bug: T311564
Change-Id: Id9c3693796a197f4cacf6fee902b553ba077dc71
2022-06-30 00:52:24 +00:00
Jon Robson 9ac4fbb165 Layout: Use sibling selectors rather than adjacent sibling
Fixes MediaWiki_Main_Page_vector-2022_0_viewport_1_tablet.png
UI regression

Additional change:
- Remove inactive selector - nothing matches this media query

Bug: T303484
Change-Id: I25a21ed54189dd1ca371a0755eb4d726b20f965f
2022-06-29 23:12:42 +00:00
bwang 73ecf0f4f3 Refactor some max-width media queries to use min width
Bug: T310536
Change-Id: I900c2446b64533775b37d6e0a0ce781ab0ff890a
2022-06-29 18:09:19 +00:00
jenkins-bot e952a051c3 Merge "Cleanup ArticleToolbar grid styles" 2022-06-29 17:34:00 +00:00
bwang fabd2d6579 Cleanup ArticleToolbar grid styles
Change-Id: I0a0444cbbd460340b7bf000535d4cca252e58f2f
2022-06-29 11:19:38 -05:00
Jon Robson 257430ec13 Layout: Fix footer margin
Since CSS grid uses row-gap we need to decrease
the margin we used in the legacy layout to keep these
the same

Bug: T303484
Change-Id: Ib28f0d5ee0afbb809591c99ef18cd3cbecf1f800
2022-06-29 08:33:36 -07:00
jenkins-bot 80bcd7fef3 Merge "Grid: Add table of contents to grid" 2022-06-29 15:16:42 +00:00
Translation updater bot 17cf0d78df Localisation updates from https://translatewiki.net.
Change-Id: I3286dcf13e223c53a5d17d8c91b439f2642cace5
2022-06-29 08:36:56 +02:00
Jon Robson 11618b5d81 Grid: Add table of contents to grid
Bug: T303484
Change-Id: Ic854b34b739b59e2d1efd864a711c961548f079f
2022-06-29 00:00:06 +00:00
bwang 8a88f61e89 Introduce media query breakpoint variables and replace all media query usage with new variables
Pixel shows 15 regressions, these are expected changes that are
fixing issues on specific viewports that fixes the following:

[At exactly the tablet breakpoint]
* the more menu dropdown was being
shown at the same time as the other menu items, resulting in duplicates
(see https://phabricator.wikimedia.org/F35285379)

[At exactly the desktop breakpoint]
* The table of contents AND the
table of contents toggle button to the left of the title were showing
(see https://phabricator.wikimedia.org/F35285392)
* The sticky header was not showing
* The fly out table of contents was showing instead of the sidebar
table of contents on scroll
* The top of the sidebar is brought into alignment with the tabs
(see https://phabricator.wikimedia.org/F35285408)

Bug: T310536
Change-Id: I6e870a032c8ba4ec003d00ff3f91732aaa2f38b0
2022-06-28 23:19:52 +00:00
bwang 4ab798441e Refactor SkinVector to use Hooks::updateMenuItems code to process menu data
SkinVector and Hooks both had code to add classes and handle Vector specific template data. This patch simplifies the way we handle menu data to always use Hooks:updateMenuItem. This has an additional side effect of removing instances of mw-ui-icon-before.

Bug: T306628
Change-Id: I73514a0eada4d92705b70e7c2ebd91092fc12544
2022-06-28 21:53:51 +00:00
jenkins-bot f83e53d8a4 Merge "Layout: Align content with hamburger icon" 2022-06-28 18:16:28 +00:00
Translation updater bot 0ab849a4d3 Localisation updates from https://translatewiki.net.
Change-Id: I7fd113437aa392307fcacdc96ebde3fee872abfe
2022-06-28 08:42:54 +02:00
Jon Robson 82f0433a11 Layout: Align content with hamburger icon
Content should always be aligned with the hamburger icon in the
new design between the tablet and desktop breakpoints.

Fixes: F35282438

Bug: T303484
Change-Id: I15215703d6392cd69ec57212d25c9a52149a6ac0
2022-06-28 00:07:34 +00:00
jenkins-bot 63e6daeb53 Merge "Fix table of contents when sidebar is open" 2022-06-27 23:36:00 +00:00
Jon Robson 89d9cf76b0 Remove hover and focus states on article toolbar links
Bug: T310886
Change-Id: I3b75d461ff0298e1ca3707e2cf4e79fd3db6497a
2022-06-27 22:26:03 +00:00
Jon Robson 393928a280 Fix table of contents when sidebar is open
Bug: T309807
Change-Id: If370246d13984981f4c3477fda2b2dce45337d91
2022-06-27 15:01:18 -07:00
jenkins-bot a47f46009e Merge "Attach VE to `#content` while title-above-tabs feature is disabled." 2022-06-27 20:15:35 +00:00
Jan Drewniak 05a1c330fe Attach VE to `#content` while title-above-tabs feature is disabled.
Limits the usage of the `data-mw-ve-target-container` attribute,
which changes the position of VE, to be enabled only when the
title-above-tabs feature is enabled.

Bug: T310197
Change-Id: I846135a88acf713bed608ad4f147f7602ce7cc2b
2022-06-27 15:44:19 -04:00
Jon Robson 6efcf775c0 Technical: Use unambigious menu template
Follow up to 49c8b5f514
Our PHP parser resolves >Menu to the parent directory which
differs from the frontend Mustache library.

Best to have different names for these files to avoid this problem.

Bug: T311319
Change-Id: Iea708718a0b928c4902dc7bac0c5ee304b89f961
2022-06-27 12:29:03 -07:00
jenkins-bot a34b564192 Merge "Layout: Don't hide footer < 1000px when sidebar closed" 2022-06-27 15:26:21 +00:00
Translation updater bot ed0fd37d03 Localisation updates from https://translatewiki.net.
Change-Id: Ie5b4b4c82db8f8537f285b4694ea55bf8a4f94c4
2022-06-27 08:20:27 +02:00
Jon Robson 5beadc4bc2 Layout: Don't hide footer < 1000px when sidebar closed
The 'mw-workspace-container' class is present on both
the footer and the sidebar. The CSS rule should only hide
the latter.

When there is no table of contents on the page, and the sidebar
is closed, the content
should always span the grid columns and the sidebar container
closed.

Bug: T293443
Change-Id: I852b9024fbd21339b7c78dbb4deba811ab17c7e7
2022-06-25 00:03:41 +00:00
bwang 61e723c541 TOC: Ensure TOC spacing is correct when grid is enabled
Fix usage of CSS calc

Change-Id: I6dcf3751a4b478a14d8052a70720e138238203d3
2022-06-24 23:09:50 +00:00
jenkins-bot 0a00ad5b40 Merge "Revise margin collapsing rules with new layout" 2022-06-24 16:25:54 +00:00
Jon Robson ec6b6ebd9a Revise margin collapsing rules with new layout
Follow up to 97783e5

Bug: T311283
Change-Id: Ia0581713fd182b9236e398a2453efd06ce8b9f1f
2022-06-24 15:55:08 +00:00
Translation updater bot 09142a87c1 Localisation updates from https://translatewiki.net.
Change-Id: I9e478b74074ef6c03a868fc1ab507d9066f7545f
2022-06-24 09:34:31 +02:00
Jan Drewniak 6e96a8e936 Rename `data-ve-target-container` attribute to `data-mw-ve-target-container`
Updates the data attribute for placing VE on the pages.

Bug: T310197
Depends-On: Ia6f87535f11ccc7aadb26b7dd9e1ac8a867c377c
Change-Id: I081d5e23a15902e1429e68ac4ae191e498e6aba6
2022-06-23 10:53:44 -04:00
Translation updater bot 770da51809 Localisation updates from https://translatewiki.net.
Change-Id: I579271f25d92dafdce7bf179a78247c05ccd17f9
2022-06-23 09:15:36 +02:00
Jan Drewniak 97783e5bd8 Use the data-ve-target-container attribute to position VE
Uses the data attribute `data-ve-target-container` to determine where
on the page to insert VisualEditor. Also moves the #siteSub back into
the #bodyContent container. This makes the SiteSub match the font-size
it had in legacy Vector & positions the VE toolbar between the tabs
and the tagline.

Bug: T310197
Bug: T310839
Depends-On: Idae6755c90eacaab1a9daa88c6e28850d427810c
Change-Id: Idb2a743c93316786d6d36e1989cf6620a6092281
2022-06-23 00:39:19 +00:00
Jon Robson 49c8b5f514 [Fix] Adjustment to legacy menu templates
Follow up to c5cfd4d

1) Partial paths are incorrect
These are not a problem with our current Mustache template
parser but could break with any changes in our PHP implementation

2) Add dedicated class to legacy menus

On the longer term this will allow us to further separate the
old and new CSS.

Change-Id: I056b033855c28f919a4af99784620503f10b9dcb
2022-06-22 22:42:39 +00:00
jenkins-bot bf117d1fc8 Merge "Restore sticky header class and update TOC styles" 2022-06-22 20:34:07 +00:00
Clare Ming 75cc9bdcd9 Restore sticky header class and update TOC styles
Bug: T311170
Change-Id: Ib12b6f79a20b2a25b49110e5a7de59d199917dc9
2022-06-22 14:46:07 -05:00
Jon Robson 25c3fc1863 Table of contents: Cached HTML is no longer a problem
Bug: T307900
Change-Id: Ic03bc15b8a15d6d095130c8346c399a2ac93d955
2022-06-22 18:17:52 +00:00
Jon Robson e1942cec4e Fix sticky header edit icons during A/B test init
- Add test case for T310750

Bug: T310750
Change-Id: Ie52a7227f337dd6cdb0ab441986aa2be6139f949
2022-06-22 09:38:19 -06:00
Translation updater bot ed5de2cd99 Localisation updates from https://translatewiki.net.
Change-Id: I71deecf87866093852bf0042bfd4c204a39f2ede
2022-06-22 08:15:30 +02:00
bwang f473129485 Add support for floating TOC lower down the page
This patch only handles the first case listed in the task description

Bug: T308689
Change-Id: I4e7dbded7a8206633a98653aaf4ced3fd2b6f69d
2022-06-21 16:02:11 +00:00
Translation updater bot 8a9eebad06 Localisation updates from https://translatewiki.net.
Change-Id: I4b69874e18663515ecfd07d571c86b139cbefbbe
2022-06-21 08:34:18 +02:00
Translation updater bot 5db783c04c Localisation updates from https://translatewiki.net.
Change-Id: I17b6c78abc6642dc7e45104a547ff878414a1837
2022-06-20 08:20:10 +02:00
jenkins-bot 42127622dc Merge "Show scrollbars in sticky TOC" 2022-06-17 15:57:37 +00:00
bwang f8c910ed09 Update a11y config to hide central notice
Change-Id: Iabc635d909724c0a59c1dba73ed59c33df1b44ec
2022-06-17 10:33:47 -05:00
jenkins-bot 86f81f968b Merge "Cached CSS is no longer a problem" 2022-06-16 18:21:46 +00:00
jenkins-bot 0fff66b638 Merge "Add a URL parameter to edit links in the sticky header" 2022-06-16 18:00:37 +00:00
Jon Robson 64ee3686b8 Cached CSS is no longer a problem
The !important is retained for cached HTML and will be retained
for another release cycle

Cached HTML will continue to be a problem until next deploy. The CSS
cleanup will thus be fixed in a follow up
(I47b7a0bc9c5dad5451f1dbb5e32e513643a1534b)

Bug: T307900
Change-Id: I47b7a0bc9c5dad5451f1dbb5e32e513643a1534b
2022-06-16 17:48:29 +00:00
Clare Ming b6e76eb797 Show scrollbars in sticky TOC
Bug: T310540
Change-Id: I36af416901f9fde268f59a3e3fd690b743748514
2022-06-16 10:19:04 -06:00
Translation updater bot 27e81c5e4d Localisation updates from https://translatewiki.net.
Change-Id: I52e774c46460550df4fe031d8ddbd229bc148e39
2022-06-16 09:27:11 +02:00
David Lynch 734902811a Add a URL parameter to edit links in the sticky header
Briefly add it onto the originals when the click is being proxied so
that VE can pick up on it.

Bug: T309364
Change-Id: I871494b6e783018b1433f294e09b0d53dded6c3d
2022-06-15 18:20:59 -05:00
Clare Ming 536e53af7a Minor adjustments to collapsible TOC
Bug: T307900
Change-Id: Iec0c5c6e3dbede85e549fc9558b9d5c7be4fa10d
2022-06-15 09:56:27 -05:00
Translation updater bot 0b2c4b7faa Localisation updates from https://translatewiki.net.
Change-Id: I1e1af93ec72a2726917acf1bea507b9f1ade9a79
2022-06-15 08:43:54 +02:00
jenkins-bot def2a366bc Merge "[Regression] Revert border color of page title." 2022-06-14 22:20:23 +00:00
jenkins-bot 27a23465da Merge "Fix sticky header searchbox width and misc searchbox CSS cleanup" 2022-06-14 22:01:52 +00:00
bwang b6e7b5e880 Fix sticky header searchbox width and misc searchbox CSS cleanup
Bug: T310366
Change-Id: Id403f818b19747e3279df3112d93301f31323f9d
2022-06-14 15:58:53 -05:00
jenkins-bot 0f0dfd532e Merge "Match default config of TOC to pilot wikis" 2022-06-14 17:23:54 +00:00
jenkins-bot 8d41918b6d Merge "Update checkbox.js comments" 2022-06-14 16:49:56 +00:00
Translation updater bot a9e1920cb3 Localisation updates from https://translatewiki.net.
Change-Id: Ifb00c90d693d0d604480add66f30c18df1315d41
2022-06-14 08:51:38 +02:00
Jan Drewniak 011a7b273b [Regression] Revert border color of page title.
Reverts the border color of the page title introduced in
I5d807f09bfbbceaded756daa78dbb023efcc91dc

Bug: T310533
Change-Id: I877f91bcd4c0915cc495b5237a53bda6ad971497
2022-06-13 14:38:09 -04:00
Clare Ming 6a0907a70b Match default config of TOC to pilot wikis
Bug: T309683
Change-Id: I7f1e727fbf06655daf2b6a359580fc6bf10ca1b9
2022-06-13 10:44:22 -06:00
bwang 61c571ffb5 Update checkbox.js comments
Change-Id: I44d2087fefb28adf20c7ff938cff411cb0678a7e
2022-06-13 11:32:34 -05:00
jenkins-bot d529efeaf8 Merge "Follow-up: Update menu label elements" 2022-06-13 14:37:25 +00:00
Translation updater bot f607dad3bc Localisation updates from https://translatewiki.net.
Change-Id: Ib529f9bef80e6bea9f421e16a20173a17a7c91f8
2022-06-13 08:31:19 +02:00
Jon Robson 5fdd66fa3b Disable table of contents toggle on VE activation
While the table of contents is not updated by VisualEditor
we should hide it.

Bug: T307900
Change-Id: I246fbe0069329ef78735147b8d3f280433155158
2022-06-10 15:39:21 -07:00
bwang 93e8cfcd90 Collapse ToC into page title at narrow view ports with CSS/template changes only
Bug: T307900
Change-Id: I72607ec9d8b46401468de5815cf47dac9f4612a5
2022-06-10 15:49:06 -06:00
jenkins-bot 98cffb3f19 Merge "[Refactor] Generalize checkbox hack code" 2022-06-10 21:39:05 +00:00
jenkins-bot 677684d839 Merge "[Refactor] Separate sidebar persistence code from checkbox hack code" 2022-06-10 21:37:49 +00:00
Jon Robson 10810ec1da [Refactor] Generalize checkbox hack code
Allow it to apply to any appropriately marked up checkbox hack
element.

Change-Id: Ic3770877ee8e92574900715413a51acc964741be
2022-06-10 13:56:56 -07:00
Jon Robson de0729e604 [Refactor] Separate sidebar persistence code from checkbox hack code
Change-Id: I5d7d8897f656419a71b1327c37e88c9dd7f0767c
2022-06-10 13:55:22 -07:00
Translation updater bot 6f56c7b77c Localisation updates from https://translatewiki.net.
Change-Id: I3dd252157662f63d0ec37a6ee582adc45f086f2f
2022-06-10 08:53:23 +02:00
jenkins-bot 268ec7795f Merge "Hide TOC in print mode and clean up other print styles" 2022-06-10 00:12:45 +00:00
bwang e9ea4cee29 Hide TOC in print mode and clean up other print styles
Bug: T306719
Change-Id: I706225e01d1cc09bd387a008b56d9c2dcf8bdf4f
2022-06-09 19:15:27 +00:00
Ed Sanders 10322dbd29 skin.json: Fix 'tittle' typo in documentation
Change-Id: I7e27ae3dcc1ade05b00c817a948ec271bc437fc9
2022-06-09 18:50:33 +00:00
Translation updater bot 9e6db341d2 Localisation updates from https://translatewiki.net.
Change-Id: I9cf24a68deb46cfa79283d47febbae4af4459100
2022-06-09 08:19:17 +02:00
bwang d6e1dbd843 Move menu border style to legacy
Bug: T309398
Change-Id: Idfd88d98cb51ee35a359eef90ed54bc0a9feea87
2022-06-08 21:23:23 +00:00
jenkins-bot d91c921daa Merge "Make footer take up full width" 2022-06-08 19:33:12 +00:00
Jan Drewniak c5cfd4dce8 Restyle Vector tabs in modern Vector
Removes gradients from tabs (i.e. article toolbar) in new Vector, moving
the existing MenuTabs.less component into the skins.vector.styles.legacy module
and creating a new MenuTabs.less component for modern Vector.

Bug: T309398
Change-Id: I5d807f09bfbbceaded756daa78dbb023efcc91dc
2022-06-08 11:26:17 -07:00
Jon Robson c9fe4e83a1 Make footer take up full width
Bug: T293443
Change-Id: I0cea23fc6f7e013900211f10cc3da4066acf4d0c
2022-06-08 14:48:40 +00:00
Translation updater bot 2adf046c9a Localisation updates from https://translatewiki.net.
Change-Id: I741afd2d46911fe88a3529fcd2858664b1fef873
2022-06-08 08:29:57 +02:00
Jon Robson 664b6c5cc5 [Grid] Vector 2022 layout uses CSS grid
It gracefully degrades to a single column
layout on grade C browsers, IE11, and Safari 9.

Bug: T303484
Change-Id: Iaa3c1bee146dc39b1259a1ce712a29c6b22305d1
2022-06-07 17:23:08 +00:00
jenkins-bot 304027073a Merge "[Grid] Minor HTML restructure for grid" 2022-06-07 14:31:31 +00:00
Translation updater bot fb4ce31536 Localisation updates from https://translatewiki.net.
Change-Id: I2729abc4c140e55d59a06024c8953985bf8a9966
2022-06-07 10:03:34 +02:00
bwang 467d994123 Follow-up: Update menu label elements
- Update the modern menu template to avoid using aria-hidden on the `label` element, and avoid using a `label` element when no checkbox is present.
- Revert legacy menu template to use h3 elements


Bug: T301051
Change-Id: I6ab10e35f0d67d70877e55cca5a512c2af4cb972
2022-06-06 23:59:13 +00:00
Jon Robson a018a909d9 [Grid] Minor HTML restructure for grid
Make the sidebar and content siblings of the header element. This
will allow us to easily apply grid column and rows to these elements.

Bug: T303484
Change-Id: I0a91eddbddbe58781892eddb93edfc3d58777968
2022-06-06 14:58:20 -07:00
jenkins-bot 1bc1ead2e9 Merge "Hide central notice from a11y tests" 2022-06-06 21:51:56 +00:00
bwang 41997db7bf Hide central notice from a11y tests
Change-Id: I4c9a58642cdba94996cab82d5f699e398e858adc
2022-06-06 15:51:34 -05:00
Jon Robson e4aaf02ce8 [Grid] Move header rule into search rules
This will also apply to the grid layout so this seems a more
appropriate place, given the class relates to search.

Bug: T303484
Change-Id: Ib5b57fd948ecb5eefbf1d66e0e71045aed6e3102
2022-06-06 19:24:09 +00:00
Translation updater bot 556b32f326 Localisation updates from https://translatewiki.net.
Change-Id: Id47b25bfc527a0d9ba9b3e2e9700925cba811b79
2022-06-06 09:28:56 +02:00
Jon Robson 02fb90531b [Grid] Add TableOfContentsContainer
In preparation for grid work where the table of contents will
be moved into a new container.

Bug: T303484
Change-Id: I931d5148e314c1c05f0474b47be5efd7c166144d
2022-06-03 22:27:22 +00:00
jenkins-bot 3bc8b3a40e Merge "[Grid] Remove vector-layout-legacy selector from sidebar rules" 2022-06-03 22:05:34 +00:00
Jon Robson e801f917ae [Grid] Remove vector-layout-legacy selector from sidebar rules
These should actually be retained in the new design.

Bug: T303484
Change-Id: Ie1755e3cf5dec5da64615084ddc815fab7eb8bb1
2022-06-03 21:29:55 +00:00
bwang c45a4dd1e1 Add back search title to WVUI component
Bug: T291671
Change-Id: I30a917b4392256c0d23e57da882e0a1dc7b59562
2022-06-03 19:08:47 +00:00
Translation updater bot d75fd2d963 Localisation updates from https://translatewiki.net.
Change-Id: I998615f94051d56f7b000204a9d98044b6075131
2022-06-03 08:59:52 +02:00
Translation updater bot 148bc95ca0 Localisation updates from https://translatewiki.net.
Change-Id: I68209e71f2552bce17bc89abf220b55e0d2b7bd5
2022-06-02 08:17:16 +02:00
Jon Robson deb54f9452 Correctly hide the sticky header when it is not in use
When the  vector-sticky-header-enabled class is removed from the body
it means the feature is not enabled, it doesn't mean the sticky header
should be invisible.

Call the hide method instead, and move it out of the function given
its a side effect

Bug: T308343
Change-Id: I4ecd6524146f203af926847812e20275c9573cab
2022-06-01 19:07:49 +00:00
Jon Robson b8701a3b58 [Grid preparation] Restrict certain rules to old layout
Having a clean slate to work from will help with the development of
introducing the grid

Bug: T303484
Change-Id: I8fb9a9d958e4e73e8bfbf4b797cee1353c915db5
2022-06-01 17:24:47 +00:00
jenkins-bot 8c4ed23069 Merge "Adds tests for stickyHeader A/B test logic" 2022-06-01 16:22:13 +00:00
jenkins-bot 5bf70d7fbb Merge "Sticky header edit button A/B test bucketing (updated)" 2022-06-01 16:20:33 +00:00
jenkins-bot f94c86c3e0 Merge "Exclude from max-width via query string patterns" 2022-06-01 16:15:01 +00:00
jenkins-bot 54991e1d13 Merge "Remove unnecessary inner-tag whitespace and self-closing tags" 2022-06-01 15:05:50 +00:00
jenkins-bot 1f8a3c5318 Merge "i18n: Use correct direction for collapse Table of Contents" 2022-06-01 08:17:54 +00:00
Translation updater bot b208c352d9 Localisation updates from https://translatewiki.net.
Change-Id: I417af8b3001e4457fad0a1b9fbf9713a05a11f00
2022-06-01 08:22:34 +02:00
Sam Wilson 87e4ca9a21 Exclude from max-width via query string patterns
Add action=edit to the exclusions in $wgVectorMaxWidthOptions
and update the parsing of the query string values for that config
variable to accept a regex.

Bug: T307725
Change-Id: Iba526033d45e18cb340a2648378d3d90ef3ae3c6
2022-06-01 10:00:39 +08:00
Jon Robson b031247336 Adds tests for stickyHeader A/B test logic
Follow up to I3effbb3e5f0bb1c8663255936458e3849511dfca

Bug: T299959
Change-Id: I8703587a6e616c426638e44ca6dad12617f10ae7
2022-05-31 17:10:49 -07:00
Jan Drewniak d7e6690b52 Sticky header edit button A/B test bucketing (updated)
Adds behaviour for conditionally adding the edit button
to the sticky-header based on A/B test bucketing.

This behaviour depends on having the `$wgVectorStickyHeaderEdit` config
set to true for logged-in users:

    $wgVectorStickyHeaderEdit = [
        "logged_in" => true,
        "logged_out" => false
    ];

as well as an AB test configured with the following buckets:

    $wgVectorWebABTestEnrollment = [
        'name' => 'vector.sticky_header_edit',
        'enabled' => true,
        'buckets' => [
            'unsampled' => [
                'samplingRate' => 0
            ],
            'stickyHeaderEditButtonControl' => [
                'samplingRate' => 0
            ],
            'stickyHeaderEditButtonTreatment' => [
                'samplingRate' => 1
            ]
        ]
    ];

With that config, this change hides the sticky header for all users
except those in the stickyHeaderEditButtonTreatment bucket.

NOTE: This patch address the sticky header being visible on incorrect
namespaces when the AB test is enabled and the revert of
42b808738a.

Bug: T299959
Bug: T309370
Change-Id: I3effbb3e5f0bb1c8663255936458e3849511dfca
2022-05-31 15:58:35 -07:00
Jan Drewniak a3cef30154 Move page title above article toolbar menus
Moves the page's title above the article toolbar (i.e. tabs) based
on the VectorTitleAboveTabs config option. This feature remains
off by default, but can be accessed via the query parameter `vectortitleabovetabs`.

Removes the Navigation.mustache template since it's just a wrapper
for the sidebar + tabs elements, which, with this change, are placed
in different locations in the DOM and don't need a common parent element.

Bug: T303549
Change-Id: Id4816b753a1b2133c53c3b1d390b45631c704daf
2022-05-31 18:06:11 -04:00
jenkins-bot a6f5acd9de Merge "In max-width mode, constrain the width of page previews" 2022-05-31 15:29:26 +00:00
jenkins-bot 0a0bd88d9e Merge "Follow-up I1dee51009: Add url() to list-style-image" 2022-05-30 19:10:55 +00:00
Translation updater bot b7029084ca Localisation updates from https://translatewiki.net.
Change-Id: I5b4824e38db95b0dfe4a4f56590cfc5a23f6bbce
2022-05-30 09:26:28 +02:00
Sam Wilson 0ebae6c4ef In max-width mode, constrain the width of page previews
This allows the editing form to be wide, but makes sure that the
preview seen will more closely match how the page will end up
after being saved.

Bug: T307725
Change-Id: Ib2085eece69fe08b7fca4aaeacef66b26cdd5f16
2022-05-30 11:52:59 +08:00
Ebrahim Byagowi aebd782d75 i18n: Use correct direction for collapse Table of Contents
Collapse Table of Contents has incorrect direction for RTL, this fixes it.

Bug: T309478
Change-Id: I43f2d225aed7c3a74e35f8e72c1e261b39af9737
2022-05-30 02:37:10 +04:30
Ed Sanders 72d2653f59 Follow-up I1dee51009: Add url() to list-style-image
Bug: T309374
Change-Id: I91d690700cf82e315e98be7bfcadd8bdb4cc3450
2022-05-28 23:00:49 +01:00
jenkins-bot 8be6a96b7c Merge "Revert "Sticky header edit button A/B test bucketing"" 2022-05-27 18:30:19 +00:00
Jdlrobson 0df8d35b43 Revert "Sticky header edit button A/B test bucketing"
This reverts commit 42b808738a.

Reason for revert: The sticky header is now showing up in unexpected
places e.g. special pages.

Bug: T299959
Bug: T309370
Change-Id: Ie7f224d84440279ba28e031e13d05984c81a3ad4
2022-05-27 18:10:29 +00:00
Translation updater bot 088d49581b Localisation updates from https://translatewiki.net.
Change-Id: I16c8ff8e3e79b6723eb822c6331c11d535b06276
2022-05-27 10:29:24 +02:00
jenkins-bot 3c847290c5 Merge "Sticky header edit button A/B test bucketing" 2022-05-26 22:35:54 +00:00
Translation updater bot 24f078ce7c Localisation updates from https://translatewiki.net.
Change-Id: I87de623fdb6f2b61b70adb84c608f78a1b74acf3
2022-05-26 08:53:24 +02:00
Jan Drewniak 42b808738a Sticky header edit button A/B test bucketing
Adds behaviour for conditionally adding the edit button
to the sticky-header based on A/B test bucketing.

This behaviour depends on having the `$wgVectorStickyHeaderEdit` config
set to true for logged-in users:

    $wgVectorStickyHeaderEdit = [
        "logged_in" => true,
        "logged_out" => false
    ];

as well as an AB test configured with the following buckets:

    $wgVectorWebABTestEnrollment = [
        'name' => 'vector.sticky_header_edit',
        'enabled' => true,
        'buckets' => [
            'unsampled' => [
                'samplingRate' => 0
            ],
            'stickyHeaderEditButtonControl' => [
                'samplingRate' => 0
            ],
            'stickyHeaderEditButtonTreatment' => [
                'samplingRate' => 1
            ]
        ]
    ];

With that config, this change hides the sticky header for all users
except those in the stickyHeaderEditButtonTreatment bucket.

Bug: T299959
Change-Id: If252956bc530d8ce54eeda61f42a93ffa48255cb
2022-05-25 10:15:47 -04:00
Sam Wilson c32c64481d Use new ResourceLoader namespace
To fix Phan errors with the now-deprecated ResourceLoaderContext
class alias.

Bug: T308718
Change-Id: Ifd265d29cee5f8a68e7b3036deaf2ba2b6c49d2e
2022-05-25 10:36:40 +00:00
Translation updater bot fcead5e634 Localisation updates from https://translatewiki.net.
Change-Id: I357be001fe353a4c814fce44809d59e235cbfa3d
2022-05-25 08:34:35 +02:00
Volker E 06708ba198 Remove unnecessary inner-tag whitespace and self-closing tags
Self-closing tags are so XHTML. HTML5 allows them on some elements, but
doesn't require them. Cleaning up for consistency and for a few bits
saved to clients.

Change-Id: I781b8d79bbd5dd1ee75a167718964c1142ecfc5d
2022-05-24 14:46:37 -07:00
jenkins-bot dafe3c8fd4 Merge "Handle accessible labels differently for dropdown and portal menus" 2022-05-24 15:09:04 +00:00
Translation updater bot aea22d25e3 Localisation updates from https://translatewiki.net.
Change-Id: Ib1ee05c6d3ad1a8e48dee807d0754c54374f69ca
2022-05-24 08:27:23 +02:00
jenkins-bot 5ddebf96c8 Merge "Fixes Vector 2022 sidebar overlap when table of contents disabled" 2022-05-24 00:13:17 +00:00
jenkins-bot 501bdab2aa Merge "Normalise PHP namespaces used in Vector" 2022-05-23 23:30:34 +00:00
Jon Robson 4e67384131 Fixes Vector 2022 sidebar overlap when table of contents disabled
Bug: T308130
Change-Id: Ieec44e8f1657319962e2a7922d04186c260123fe
2022-05-23 23:13:29 +00:00
Mo Abualruz e46eef19d0 Normalise PHP namespaces used in Vector
- `MediaWiki\Skins\Vector\Tests` is now the prefix for all tests in the skin
- we followed PSR conventions of following folder structure after the prefix
- Optimize imports/use order
- update namespace in skin.json

Bug: T303102
Change-Id: Ib76374d81d973c83adfd6c8e7863ff6d797e655d
2022-05-23 09:32:40 +02:00
Translation updater bot 9d6d8e116d Localisation updates from https://translatewiki.net.
Change-Id: I64963ef6b5268dc7c9f79d552b63e62a226e4fc7
2022-05-23 08:19:38 +02:00
libraryupgrader 7d5398bf3e build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* 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: I58dd3aad02958d7dc1c031fb159f2951d5d744dd
2022-05-21 19:16:03 +00:00
libraryupgrader 80fc9dcace build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* jsdoc: 3.6.7 → 3.6.10
* node-fetch: 2.6.1 → 2.6.7

Additional changes:
* Set `name` in package.json.
* .gitignore: Added .phpunit.result.cache (T242727).

Change-Id: Iac03b8d02dd1edf3707ea569779fadd77b2e1016
2022-05-20 11:41:53 +00:00
jenkins-bot e9cb96cde2 Merge "styles: Replace more deprecated mixins" 2022-05-19 23:27:07 +00:00
Translation updater bot 4f486fb883 Localisation updates from https://translatewiki.net.
Change-Id: I9058968b10e135f35ee761126cd34d5784e68108
2022-05-19 08:21:01 +02:00
Jon Robson f91c3cd5a8 Use upstream reduces motion skin option
The new accessibility rules default to on, so no need to list
it in skin.json but we need to remove the now duplicated style.

Depends-On: Ie1c6c1ba7263c232d874263fdae7427a5ec489f6
Change-Id: I92f622b92adb8735c38a4ebe56eaf5bfc4ae37bf
2022-05-18 14:29:05 -07:00
jenkins-bot 7761ed4aff Merge "Revert "Move a max-width Less variable up into variables.less"" 2022-05-18 18:50:50 +00:00
Jdlrobson 55b5283148 Revert "Move a max-width Less variable up into variables.less"
This reverts commit bf4d843d97.

Reason for revert: These variables were intended as local to layout.
Only layout stylesheet should have access to layout variables. The
risk of having this in the global variables file is that non-layout
rules can be added to components.

Change-Id: I91fd01ed5333555052c243e25d37cd30d6d9bef6
2022-05-18 15:12:59 +00:00
jenkins-bot ce8ddbe0ea Merge "build: Update eslint-config-wikimedia to 0.22.1" 2022-05-18 00:41:00 +00:00
jenkins-bot 336b8eefb7 Merge "build: Update stylelint-config-wikimedia to 0.13.0" 2022-05-18 00:40:09 +00:00
Ed Sanders bf494b89fd build: Update eslint-config-wikimedia to 0.22.1
Change-Id: I25e0cf131c7d2ea53d362f4836a451b68cd31366
2022-05-17 23:40:46 +01:00
Translation updater bot 73bae60258 Localisation updates from https://translatewiki.net.
Change-Id: I2d7f8513499ca866ad73c9d5383607bb08808a8f
2022-05-17 08:31:15 +02:00
Ed Sanders 4a8eba29df styles: Replace more deprecated mixins
* .transform-origin
* .list-style-image

Change-Id: I1dee510097c179d23c5cc2192c70ca006869f5d0
2022-05-16 23:25:44 +01:00
Volker E 7eb818543e styles: Replace deprecated Less `.transform()` mixin with standard CSS
Replacing Less mixin calls of `.transform()`, deprecated
since MW 1.37, with CSS property.

Bug: T308360
Change-Id: Ic965193782a447d34eac4bd19816a7b753c36d44
2022-05-16 23:24:53 +01:00
Ed Sanders 7f7d5c4ae5 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I122005b6817cf1997002dbe7a1bcbd249c9842cb
2022-05-16 17:44:12 +01:00
jenkins-bot 36a4001a01 Merge "Move a max-width Less variable up into variables.less" 2022-05-16 09:06:47 +00:00
Translation updater bot 1cd446ba6b Localisation updates from https://translatewiki.net.
Change-Id: I8092c966745a44756b1f94a1c61d1df98ab5bb9b
2022-05-16 08:27:43 +02:00
Sam Wilson bf4d843d97 Move a max-width Less variable up into variables.less
This makes it accessible elsewhere (such as within WikiEditor; see
the dependent patch) without having to include
all of screen.less.

Bug: T307725
Change-Id: I3fda9886c27fe0b78cf5bd5647d7e497a3aaba0e
2022-05-16 13:15:00 +08:00
jenkins-bot dc2b25ac65 Merge "styles: Replace deprecated Less `.transition()` mixin with standard CSS" 2022-05-13 22:30:37 +00:00
jenkins-bot 1fe1942dff Merge "[Grid preparation] Add feature flag for grid" 2022-05-13 22:07:57 +00:00
Volker E 2adab440a5 styles: Replace deprecated Less `.transition()` mixin with standard CSS
Replacing Less mixin calls of `.transition()`, deprecated
since MW 1.37, with CSS property, but constituent properties.
This has been an outcome of recent discussions around design tokens,
which will be simpler to define, more modular, and better scoped. See
T304443 for further information.
Also clarifying, aligning comments.

Bug: T308351
Change-Id: Iab9d04c9a9f31f3842d076ce8fd8bf6e3534fc89
2022-05-13 20:37:22 +00:00
Nicholas Ray 8038c2e545 Add message for the desktop improvements project's talk page
Vector-2022 skin requires that a link to the desktop improvements page
is shown next to the "Preview" link in the skin preferences options.
Adding this message will enable that.

Depends-On: I4e944504f013344661d0c6f05896a4fc1fe8f4b4
Bug: T307113
Change-Id: I370d820e12e9517d11423977b2fabebaf7df428a
2022-05-13 09:59:54 -06:00
jenkins-bot 2cbb390edd Merge "styles: Replace deprecated Less `.box-sizing()` mixin with standard CSS" 2022-05-13 15:42:11 +00:00
Jon Robson d74890df63 [Grid preparation] Add feature flag for grid
Additional changes:
* Make the query string parameter optional and if not defined set it
to lowercase configuration name. I think this makes it more predictable
as some configuration flags are prefixed with vector and some without.

This has the following consequences:
languageinheader => vectorlanguageinheader
languageinmainpageheader => vectorlanguageinmainpageheader
languagealertinsidebar => vectorlanguagealertinsidebar
titleabovetabs => vectortitleabovetabs

Note since table of contents query string is used in the A/B test
I've kept that as tableofcontents for now.

Bug: T303484
Change-Id: Iaca026ef5f32836098dc3b6f0f18632fe84fa8d0
2022-05-13 15:21:52 +00:00
Translation updater bot 32069a75fe Localisation updates from https://translatewiki.net.
Change-Id: Ic4dcaa95037367c5103b34615f31c1756e28fab3
2022-05-13 08:29:40 +02:00
bwang 9e665f9034 Handle accessible labels differently for dropdown and portal menus
An issue was found in QA where certain browser/screenreader combos could not read `aria-labelledby`+`aria-label`. Instead, we avoid using `aria-labelledby` and the `label` element entirely and apply the accessible label directly to the `input`. This great simplifies our labelling and improves screenreader support, while also allowing us to hide the `label` element to reduce verbosity.
Because the `label` element is used differently in the portal menu, we use the `is-portal` variable to maintain the old markup for portal menus

Bug: T301051
Change-Id: I5a0f7d5d78838fabe561095b33176e7162b31aea
2022-05-12 22:11:22 +00:00
jenkins-bot a14228696b Merge "[Grid preparation] Use variables for selectors with state" 2022-05-12 21:51:34 +00:00
Volker E e4d8c573a9 styles: Replace deprecated Less `.box-sizing()` mixin with standard CSS
Bug: T306488
Change-Id: I299e50397c4bf6f99b9892e83c966fffadd24048
2022-05-12 13:41:30 -07:00
jenkins-bot 2924c9ec38 Merge "Omit ArticleToolbar in Navigation when title above tabs" 2022-05-12 20:41:06 +00:00
Jon Robson 2213963241 [Grid preparation] Use variables for selectors with state
The checkbox hack adds complexity to our layout rules as we must
describe elements based on their siblings. To make these long selectors
easier to reason with and reduce the risk of rebase conflicts as these
shift I'd like to make these variables.

Change-Id: Ie5ff163d0449778a7d343870187da7703d20b754
2022-05-12 20:26:46 +00:00
Jon Robson 78369c51d3 Omit ArticleToolbar in Navigation when title above tabs
Change-Id: Ib3d9c28e4dbbf1deb85adccec84f208f086c1a04
2022-05-12 11:04:10 -07:00
bwang dd8cc5dfe8 Add snapshot class to sticky header tests
Change-Id: Id1383f234bd0518786feebbbb2d92f7345aa6e70
2022-05-12 10:51:43 -05:00
Translation updater bot 3a302bccea Localisation updates from https://translatewiki.net.
Change-Id: I4fff6d4b493ac5d012684e5296ede710dfaf7ae9
2022-05-12 08:15:02 +02:00
jenkins-bot 7dda175aed Merge "Update package-lock, move peer deps into dev deps" 2022-05-12 02:49:10 +00:00
jenkins-bot 3507b366dd Merge "Hide gadget in beta cluster, update reporter" 2022-05-12 01:40:02 +00:00
bwang c9bda9195c Hide gadget in beta cluster, update reporter
Change-Id: I9ee8dcfdac1d73182abf7933d6383518ec16409c
2022-05-11 20:24:59 -05:00
bwang 74f56886cc Update package-lock, move peer deps into dev deps
Change-Id: I4b5fd7f19ce65ea202140bbae8938865229ccea6
2022-05-11 15:08:41 -05:00
jenkins-bot ef42ef7e66 Merge "Create feature flag for VectorTitleAboveTabs feature" 2022-05-11 19:53:11 +00:00
Translation updater bot ec3ea816dc Localisation updates from https://translatewiki.net.
Change-Id: Ic6122536cc8774bea1d3bcc0139c4703b92cfb86
2022-05-11 08:13:34 +02:00
jenkins-bot 8d1dbab356 Merge "Simplify TOC spacing styles/logic by reusing the visible sticky header class" 2022-05-10 22:18:26 +00:00
jenkins-bot 0a596e3f98 Merge "Fix personal tools navigation landmark label" 2022-05-10 17:27:58 +00:00
bwang 2f32d1378c Fix personal tools navigation landmark label
Bug: T291304
Change-Id: I62c24cf739048b794cc33045cbe2333ecb51efdb
2022-05-10 17:12:46 +00:00
Jan Drewniak 29d938b0f9 Create feature flag for VectorTitleAboveTabs feature
Adds a feature called VectorTitleAboveTabs that will be used to
toggle a forthcoming feature that moves the page title above the
tabs (the ones that link to talk/history etc).

Bug: T303549
Change-Id: Ibadb4293eca16a83e5e7a9f90ddcf51fab0a0e41
2022-05-10 12:53:31 -04:00
bwang 91e2e55a10 Simplify TOC spacing styles/logic by reusing the visible sticky header class
- Remove the 'vector-scrolled-below-table-of-contents' class, reducing the number of classes added with JS and simplifying the scrollObserver logic
- Move the 'vector-sticky-header-visible' class from the sticky header element to the body element. Hopefully, this is where other feature specific classes can go in the future
- This approach means the TOC will not need JS to update it's spacing when the sticky header is not enabled

Bug: T307345
Change-Id: I1084defc7025f5c946e22a36d373224fae6f8bd6
2022-05-10 11:39:05 -05:00
Translation updater bot 5f341fbb36 Localisation updates from https://translatewiki.net.
Change-Id: I848204caedb7f1f318ecd575ec64c67d9f057f43
2022-05-10 08:11:22 +02:00
bwang 94be7578f5 Factor out a separate scroll observer for the TOC A/B test, which should be fired separately from the page title observer used by the sticky header and TOC
Bug: T307952
Bug: T307345
Change-Id: I3f247730fa1c399e6d2e4d866677703fc24e8c58
2022-05-09 20:44:54 +00:00
Translation updater bot 24ad8721b1 Localisation updates from https://translatewiki.net.
Change-Id: Idfaead7bfd6d2202cce852d66d286e639a4fa40b
2022-05-09 08:14:01 +02:00
bwang d06dabe897 Ensure main menu is open in a11y tests
Change-Id: Ib1077797a51af216c7fe014a8b1adfe93fefde7a
2022-05-06 14:04:29 -05:00
jenkins-bot b6847038f8 Merge "[HTML] Refactor Content header templates" 2022-05-06 18:43:34 +00:00
Jan Drewniak 1288c97179 [HTML] Refactor Content header templates
Creates two new templates:
- ContentHeader.mustache containing the site header and indicators or languages
- ContentSubheader.mustache containing site tagline and conditionally indicators

This changes DOM order.
- It adds the `<header class="mw-body-header">` to all pages,
  including special pages & edit pages, not just pages with the language button.
- It moves the #siteSub element (tagline) outside of the
  `<div id="bodyContent">` element.
- Adds a clearfix (or margin-collapse fix) to `.vector-body`.

This changes causes a minor difference (perhaps improvement) where on special pages,
the beginning of the content, starting with the `mw-specialpage-summary` element,
was positioned closer to the page title than on regular pages.

The clearfix ensures that the height between the page title and content is consistent across all pages.

Bug: T303549
Change-Id: I29ba337dbd6f9b0cf58c9a0ca517a9ba59cef414
2022-05-06 15:37:04 +00:00
Translation updater bot dba3050645 Localisation updates from https://translatewiki.net.
Change-Id: Ida7254c9506a331a51d15d98a10b71b852ae1802
2022-05-06 08:21:25 +02:00
jenkins-bot b614616581 Merge "[Grid preparation] ArticleToolbar component" 2022-05-05 22:45:24 +00:00
jenkins-bot 1c723f581c Merge "Update reporter to include screenshot, remove try statement to ensure CI fails when an error occurs" 2022-05-05 22:00:21 +00:00
Jon Robson 305fbdacf8 [Grid preparation] ArticleToolbar component
Structural change to prepare for CSS grid usage.
ArticleToolbar component is defined and self contained with
all layout rules relating to toolbar

UI regression testing suite shows 6 failures due to pixel alignment
changes to tabs. When comparing to the current release, you should
see 34 failures before /and/ after this change.

Notable changes:
- #mw-head element is no longer present in modern Vector skin
to allow us to distinguish between cached HTML and modern HTML

Bug: T303484
Change-Id: Ia261ea53931217f32a21b33c2ab3d4ec64efa48a
2022-05-05 21:13:01 +00:00
Jon Robson 9a2b3d6275 [Grid preparation] Structure the header
Restructure the header to have two child elements

Change-Id: Ib5b7f31419ae6b62f62878947651b8ab843a3955
2022-05-05 17:54:28 +00:00
bwang 6b814da689 Update reporter to include screenshot, remove try statement to ensure CI fails when an error occurs
Change-Id: I685c8a74352b4172d7a086467a9b3cfc84d57cee
2022-05-05 12:35:29 -05:00
jenkins-bot 2f25970dae Merge "Change "Article tools" to "Tools"" 2022-05-05 17:26:58 +00:00
jenkins-bot cdd144f928 Merge "a11y: create report in LOG_DIR or 'a11y/'" 2022-05-05 17:05:29 +00:00
Željko Filipin 09fe15e939 a11y: create report in LOG_DIR or 'a11y/'
If LOG_DIR environment variable is set, create report there.
If it is not set, create the report in 'a11y/'.

Bug: T301184
Change-Id: I74fa6e8ee59d43e5a6e57083999107ac27446a62
2022-05-05 11:46:13 -05:00
jenkins-bot 17bb448244 Merge "Disable max width on article toolbar container" 2022-05-05 16:14:25 +00:00
Amir E. Aharoni 4af78713ef Change "Article tools" to "Tools"
"Article" is a Wikipedia-specific term.

See https://phabricator.wikimedia.org/T291304#7905753

Bug: T291304
Change-Id: I678e7bed8c32dee35c7047e3ae5bb1ec5d26f452
2022-05-05 10:20:29 +00:00
Translation updater bot db60481d2b Localisation updates from https://translatewiki.net.
Change-Id: I982c2c6eddf423c3134980de00e7c29fcb02ae1e
2022-05-05 08:08:09 +02:00
Jon Robson 3b4b101459 Disable max width on article toolbar container
Bug: T306353
Change-Id: I1c9e223ebc22cf0e0a337856041f34449e6c483b
2022-05-05 02:21:17 +00:00
bwang cdc46e70da Fix TOC fadeout placement
Bug: T306893
Change-Id: Ib6fa8836948b6d6f202eb5365ae660acf210b473
2022-05-04 23:37:43 +00:00
jenkins-bot 3373d065c7 Merge "Fix Sidebar.less auto merge commit" 2022-05-04 20:19:12 +00:00
jenkins-bot a68409d262 Merge "[TOC] Remove pointer-events:none on .sidebar-toc-link" 2022-05-04 19:38:32 +00:00
bwang 6cc98aa449 Fix Sidebar.less auto merge commit
Auto merge commit for the 'Adjust table of contents margins at 1000-1200 breakpoint' patch incorrectly deleted a line from Sidebar.less. I need that deletion in 789210, because it will be backported later today
https://phabricator.wikimedia.org/F35103224

Change-Id: I0404c02d71160ec4537e49fc77489a8a5027a183
2022-05-04 17:05:42 +00:00
jenkins-bot 8a2f61ee02 Merge "Adjust table of contents margins at 1000-1200 breakpoint" 2022-05-04 16:49:53 +00:00
Jon Robson 9c26833af6 Adjust table of contents margins at 1000-1200 breakpoint
Bug: T307004
Change-Id: Ibb7be459305eaee57503d4efd67e19cd0f00046b
2022-05-04 16:04:33 +00:00
Željko Filipin f601fe480e a11y: create report in log folder
The report was created in log/a11y folder until now. Looks like Jenkins
expects it to be in log folder.

Bug: T301184
Change-Id: I9926e7446e4fc86526dab963066511bf8da2271e
2022-05-04 16:36:57 +02:00
Translation updater bot 7861e9b8f1 Localisation updates from https://translatewiki.net.
Change-Id: Ifa0a2d0a45e181320e3718da0a72c93ad7464067
2022-05-04 08:20:15 +02:00
bwang 0b27b29475 Hide navigation menu label and remove legacy sidebar styles from modern styles
Change-Id: I701860ce0bf5f34c8318a999cddd7eede94aee3a
2022-05-03 16:50:58 -05:00
jenkins-bot ff3d879ee2 Merge "Remove nav element from Vector menus and only render label elements in Vector menus when needed. Add new nav landmarks corresponding to user links, main site nav, and article editing tools. Split out legacy Menu template." 2022-05-03 15:42:02 +00:00
Translation updater bot d33a1a0fa3 Localisation updates from https://translatewiki.net.
Change-Id: Iea125ed24698ee1d6853f2b55842721ae406efb6
2022-05-03 08:47:15 +02:00
jenkins-bot 5fc5bb4ad2 Merge "On special page do not show empty more menu to low resolutions" 2022-05-02 21:25:22 +00:00
Jon Robson a1e5fd5fcc On special page do not show empty more menu to low resolutions
This is a follow up to I34ace0aeb3e23d8f6a8c5a8680bb492f37e343ad
On Special:Userlogin a "more" menu appears that's visible but empty
that should not

 Bug: T306229
Change-Id: I9384b3015de9991db41bde8ccc8f404ac533f198
2022-05-02 20:22:44 +00:00
Jan Drewniak 7e81c26712 [TOC] Remove pointer-events:none on .sidebar-toc-link
Previously, we relied on setting pointer-events:none on all child
elements of ToC links.

This propagated the click event up to the link itself in Javascript
and allowed us check if an element with the class `.sidebar-toc-link`
was clicked.

Unfortunately as of Chromium 101 this approach causes the entire link
in the sidebar to be unclickable.

Instead, this patch checks if the ToC link or any of it's children
have been clicked (using the less efficient `Element.closest()` ).

Bug: T307271
Change-Id: I2264b7862f6e1ef50c5c722daee81acc39eea54e
2022-05-02 19:48:30 +00:00
Translation updater bot 4a23431c58 Localisation updates from https://translatewiki.net.
Change-Id: I680e6186a20d348dd39ca39dbec90518fa46bf01
2022-05-02 08:22:28 +02:00
Translation updater bot 235c0872a6 Localisation updates from https://translatewiki.net.
Change-Id: I49bbd02b6087e31f7ea9cfb8652d0f666d06f524
2022-04-29 08:47:04 +02:00
jenkins-bot 3d36fac0ef Merge "Updates for core temp user autocreation feature" 2022-04-28 20:53:35 +00:00
jenkins-bot a5e54669a7 Merge "Fix a11y test runner setup issue" 2022-04-28 20:52:09 +00:00
Tim Starling 8d0659b1e6 Updates for core temp user autocreation feature
* Use pt-tmpuserpage for the temp user name.
* Use the userAnonymous icon for the temp user personal tools menu.
* Suppress the logout menu item for temp users.

Depends-On: Ib14a352490fc42039106523118e8d021844e3dfb
Bug: T300263
Change-Id: I8ac5de82f76a9ec58b0fbef85546bc7fd5b793d2
2022-04-28 20:32:53 +00:00
bwang 1d46d78ced Disable TOC in edit mode
Bug: T307112
Change-Id: Ic7bf195972d3f5bfe781a15fc805d7ef1b56e496
2022-04-28 20:09:05 +00:00
bwang 76c8435167 Fix a11y test runner setup issue
Change-Id: Ib6b41ba0410dacf6a13d9fe64bf60eb5b84b9e07
2022-04-28 14:54:14 -05:00
bwang b075c90f60 Update TOC heading and link styles
Bug: T306562
Change-Id: Iafe335547a1e3c432efce303b5c0e5f8f5a23a15
2022-04-28 13:32:59 -05:00
jenkins-bot 1b78e80de8 Merge "Remove dancing tabs with CSS only solution" 2022-04-28 18:14:50 +00:00
Jon Robson 64df4fde20 Remove dancing tabs with CSS only solution
Remove JavaScript that collapses tabs and replace with an easier
to maintain breakpoint based solution.

Tabs will now collapse below the tablet breakpoint

Note: In the case of mw.util.addPortletLink, to add items to the
`views` menu, these will not be collapsed into the more menu and
must now be explicitly added to both menus, ie. if the window is
resized these will hide and not appear in the more menu.

However, when mw.util.addPortletLink attempts to add to `views` menu
when there is not available space, we will redirect those links to
the more (`cactions`) dropdown menu.

Bug: T306229
Change-Id: I34ace0aeb3e23d8f6a8c5a8680bb492f37e343ad
2022-04-28 17:57:10 +00:00
Translation updater bot b92fc7f931 Localisation updates from https://translatewiki.net.
Change-Id: Ia60aebfd624579fdf24d2221b930b3bd6601db6f
2022-04-28 09:30:23 +02:00
jenkins-bot 0f31961e35 Merge "Add word-break CSS to TOC links" 2022-04-27 22:21:17 +00:00
jenkins-bot ea5b4565fe Merge "Hooks: Migrate Vector skin hooks to the new MediaWiki hook system" 2022-04-27 19:29:04 +00:00
bwang 61eec96090 Add word-break CSS to TOC links
Bug: T306913
Change-Id: I95420c837a779a85e55c20c7a9d1ae74b632c6cf
2022-04-27 19:24:18 +00:00
bwang af8cf470fd Fix TOC bottom fade
Additional change: Fixes an eslint warning

Bug: T306893
Change-Id: I778470ec5fa2081e4412f40b0180efbff7013d1b
2022-04-27 19:07:17 +00:00
bwang d54029a523 Remove nav element from Vector menus and only render label elements in Vector menus when needed. Add new nav landmarks corresponding to user links, main site nav, and article editing tools. Split out legacy Menu template.
Bug: T291304
Bug: T301051
Change-Id: I35c20103e4b45139ef1d3f73c23f6a744aa87a3c
2022-04-27 16:52:20 +00:00
jenkins-bot b06aba7619 Merge "Enable collapsible TOC sections for user with preferred reduced motion" 2022-04-27 14:48:51 +00:00
jenkins-bot 3e1f96a163 Merge "Disable animations when user prefers reduced motion" 2022-04-27 14:48:48 +00:00
Translation updater bot b75bab1369 Localisation updates from https://translatewiki.net.
Change-Id: I1bf413845ddc96efa46587b47849735f2bac5432
2022-04-27 08:09:59 +02:00
bwang ea64b86f33 Enable collapsible TOC sections for user with preferred reduced motion
Bug: T306652
Change-Id: Ia94b9dd32484f5f8b4c8bfe28d7c5b1f303855bf
2022-04-26 23:38:14 +00:00
Jon Robson c269419af3 Disable animations when user prefers reduced motion
When browser preference for reduced motion is enabled:
* Disables bolding of table of contents
* Disables sticky header transition

Bug: T254399
Change-Id: I8ef9e59b258fed977ce370da352b1924832d842b
2022-04-26 23:31:38 +00:00
Derick A 80b60c153a
Hooks: Migrate Vector skin hooks to the new MediaWiki hook system
Per https://www.mediawiki.org/wiki/Manual:Hooks#Handling_hooks_in_MediaWiki_1.35_and_later,
MediaWiki provides a new hook system. Vector is able to utilize this new
hook system because it requires a MW version >= 1.35, hence the migration.

Bug: T271009
Change-Id: I6e01b151751485339a0d6a6dc6a843f7141d54bb
2022-04-26 23:58:13 +01:00
Jon Robson 7d75bb37ad [ToC] Increase threshold for ToC collapsing to 1000px
Bug: T306904
Change-Id: Ib3ad66a8f4ccf9c5ba323031821d6e681069bde5
2022-04-26 17:46:51 +00:00
Translation updater bot 70e61fdfa8 Localisation updates from https://translatewiki.net.
Change-Id: I259fb7e497b2d7b2bf74e219afcc5f2b2539f9de
2022-04-26 08:56:33 +02:00
Translation updater bot 6fbbe8779a Localisation updates from https://translatewiki.net.
Change-Id: I1fa10fccaf28eee749074c6004c398fb5a1fc421
2022-04-25 08:21:35 +02:00
Translation updater bot 6c8d547e56 Localisation updates from https://translatewiki.net.
Change-Id: I680b2ff93174d5dc7d5d43e58dab1555d8b7f7c7
2022-04-22 08:25:05 +02:00
jenkins-bot cdc2df8e66 Merge "Always collapse Echo alert on "wide" headers" 2022-04-20 16:39:12 +00:00
Translation updater bot a7d875d24e Localisation updates from https://translatewiki.net.
Change-Id: I4d37abde8e4d073264aaaead9f31b41a909c1897
2022-04-20 08:20:22 +02:00
jenkins-bot 8acf956c6f Merge "Fix empty space on left when bucketed in the control/unsampled group" 2022-04-19 21:18:02 +00:00
jenkins-bot ff4a1ba89c Merge "Replace h2 in TOC with p and remove aria-hidden" 2022-04-19 21:04:20 +00:00
Jon Robson 5ef40f2f73 Always collapse Echo alert on "wide" headers
Bug: T301583
Change-Id: Ib4baab3ab814a79f45d8d19cfe4e499307852d52
2022-04-19 21:02:54 +00:00
Nicholas Ray 718bcef6f9 Fix empty space on left when bucketed in the control/unsampled group
When the AB test is enabled both the old and new TOC's are in the page's
html but only one is visible. The `.vector-toc-visible` class is also
present and will try to apply a left margin even if the page has been
bucketed into the control or unsampled group.

This patch takes the simplest approach to fix this problem with CSS only
especially given the transient nature of this code (will be removed when
AB test is finished):

* When the page bucketed in the control or unsampled group, prevent
  .vector-toc-visible from applying a left-margin through the use of
  `:not` selectors.

Additionally:

* Remove unnecessary `margin-left` rule that used to apply to the
  mw-workspace-container. Due to the work done in
  I2f95d5938674bb8263b6203c5f6a469762bf0cc2, the workspace container
  will now always have a computed left margin of zero because it is the
  same width as the page container.

Bug: T306366
Change-Id: Icd9572353bb5e29cfda91b095ceb8c2e652864e7
2022-04-19 14:35:49 -06:00
jenkins-bot 065f3409b5 Merge "Replace Action::getActionName by IContextSource::getActionName" 2022-04-19 18:11:25 +00:00
bwang 9473758efd Replace h2 in TOC with p and remove aria-hidden
Ideally the TOC has an h2 after the article title h1, but because of the TOC sticky positioning and its placement in the grid, we cant use an h2 without messing up the heading order.

Bug: T301051
Change-Id: I462ddfb618ddd422c9f71293280d1790c4846f50
2022-04-19 17:51:36 +00:00
Umherirrender d0ac534749 Replace Action::getActionName by IContextSource::getActionName
Change-Id: I41bb15527e5ff9296a53205608c596291d485876
2022-04-19 10:46:48 +02:00
Translation updater bot b2c1625d48 Localisation updates from https://translatewiki.net.
Change-Id: I42e98ecdfdcedd28c1da1c462402c0a0f042daa6
2022-04-19 10:18:10 +02:00
jenkins-bot 7565486e09 Merge "Restore persistent sidebar" 2022-04-18 21:47:34 +00:00
Mortal303 8b51041003 Move Vector menu class logic into Menu mustache template
Replaced “vector-menu-heading” with ‘’(empty string) in “$portletData['heading-class'] = '';”
in includes/SkinVector.php and updated accordingly the includes/templates/Menu.mustache file.
Updated “vector-menu-heading” with ‘’(empty string) in stories/LanguageButton.stories.data.js,
stories/UserLinks.stories.data.js, and tests/phpunit/integration/SkinVectorTest.php respectively
SkinVector and Storybook are cleaned up.

Bug: T290281
Change-Id: I4ca16953799b3dc52e45674bb398c78f14cfc842
2022-04-18 15:18:53 -05:00
Jon Robson f38a2afbf6 Restore persistent sidebar
Bug: T305989
Change-Id: I1304c777ad9581cd8b9153ad1e4483e31660857e
2022-04-18 19:44:11 +00:00
jenkins-bot 79cde24aff Merge "Adjust alignment of searchbox in header" 2022-04-18 16:26:15 +00:00
Translation updater bot cd67706c04 Localisation updates from https://translatewiki.net.
Change-Id: Ief114091d184a2331630af01e024472b3bdf7b99
2022-04-18 10:09:00 +02:00
jenkins-bot 8e583116de Merge "Update a11y tests to output files in log/" 2022-04-15 20:00:28 +00:00
Clare Ming 5800b80596 Adjust alignment of searchbox in header
Per T305069#7832390, left edge of searchbox input should line up with
the left edge of the main content area.

Bug: T305069
Change-Id: I737c3cac09ae18c598164b232b6461f72451b3e3
2022-04-15 13:56:32 -06:00
bwang a77fed0a55 Update a11y tests to output files in log/
This makes built assets available in jenkins,
Also addresses miscellaneous feedback relating to configuration
variable name and track topic name.

Change-Id: Ic70d517eba96aab6512a96ea19d6be56b3664871
2022-04-15 19:43:53 +00:00
jenkins-bot 3df381be52 Merge "Fix missing create account link follow up" 2022-04-15 19:13:28 +00:00
bwang 282fe1aa51 Fix missing create account link follow up
Follow up to 58b6831

Bug: T306116
Change-Id: I2989657f871b0a312e68c4af7757029b0c9c9f24
2022-04-15 18:57:14 +00:00
Clare Ming f12659fff6 Layout + visual style changes for sticky TOC
- Layout updates per design review.
- Visual updates per design review.

Bug: T304166
Bug: T305069
Change-Id: I2f95d5938674bb8263b6203c5f6a469762bf0cc2
2022-04-15 10:24:46 -06:00
Translation updater bot 66ee043a6e Localisation updates from https://translatewiki.net.
Change-Id: I994a706f735f3f34464d4c1919ffd197b7e2889d
2022-04-15 09:59:25 +02:00
bwang 58b6831e4d Rely on core to provide accesskey/title attributes, update search toggle location in DOM
Bug: T299980
Depends-on: Ide214de5f246b38689799e20db9e8a4671d9b7ac
Change-Id: I43eb04ec095cc9c1d683df9da05887595c2eddfb
2022-04-14 13:53:07 -07:00
bwang 21f124dad5 Fix missing create account link icon and ensure icon attributes aren't showing up in rendered HTML
Bug: T306116
Depends-on: I509dd153ea2c1e04cb89415f185b7abbe0403773
Change-Id: Iaea83098fda7d77fda6629722dcef3e17e21fe06
2022-04-14 11:03:56 -05:00
Translation updater bot 7b85a7d88a Localisation updates from https://translatewiki.net.
Change-Id: I634c48b62b85f76db868395539d1784344fd6e9b
2022-04-14 08:29:06 +02:00
Translation updater bot cabd1e78d2 Localisation updates from https://translatewiki.net.
Change-Id: I101d62380809ac2aead8eeca26786242fe202a0b
2022-04-13 08:34:20 +02:00
Translation updater bot 7acd382329 Localisation updates from https://translatewiki.net.
Change-Id: Ie20ecfb916c77ce967194fc40d2537b91c8d8481
2022-04-12 08:16:38 +02:00
jenkins-bot b7268dd661 Merge "Fix position of search box in vector-22" 2022-04-12 00:41:52 +00:00
Nicholas Ray 5eacd5e629 Fix position of search box in vector-22
Looks like the selector for `vector-search-box-show-thumbnail` needs to
be adjusted as it is on the same element as the `vector-search-box-vue`
class.

Change-Id: Ief1dadddc082add65ae4bf29c951f2ddefb15d5b
2022-04-11 18:01:19 -06:00
Clare Ming 28a3c06cdf Replace TOC arrow icon
Bug: T304166
Change-Id: I182c9e5399d95ecea58dcdabb563a98b4e34e47e
2022-04-11 14:56:42 -06:00
Jon Robson 9f6295426f Prepare for grid layout
Add a legacy class to allow us to transition out certain CSS
with new grid system

Bug: T303484
Change-Id: Ie85451b721b64aee42eb4b356f38c3621ce40b5e
2022-04-11 18:12:43 +00:00
Translation updater bot 1f6430a001 Localisation updates from https://translatewiki.net.
Change-Id: I8fcbb258c77ac3a839bc7c8a1fc07029f781de19
2022-04-11 08:16:20 +02:00
jenkins-bot 107abe79a0 Merge "Scope ULS styles to when language button is in header" 2022-04-09 00:07:09 +00:00
Jon Robson 3432cf2c80 Only consider article ID if A/B test enabled
The article ID shouldn't matter for display of table of contents
unless the A/B test is enabled.

This also has the added benefit of making the content provider
work with table of contents on articles again (content provider articles
always have a page id of 0)

Change-Id: I6af5e1476827828d0974ecbb110476ac1e5dc0c9
2022-04-08 20:04:24 +00:00
Translation updater bot 193b33d85e Localisation updates from https://translatewiki.net.
Change-Id: I05dbfe917e41570b6018330590b0f71225bf1ce5
2022-04-08 08:30:42 +02:00
jenkins-bot e527168978 Merge "Force legacy TOC to render at lower resolutions" 2022-04-07 23:39:14 +00:00
jenkins-bot e2149ee0c1 Merge "Remove TOC margin to not always show fade out" 2022-04-07 21:20:26 +00:00
jenkins-bot a961f3fb28 Merge "Remove env option from a11y test to enable tests to run in docs env" 2022-04-07 21:12:33 +00:00
Clare Ming b24cf900fe Force legacy TOC to render at lower resolutions
- If TOC A/B test is enabled, page is in treatment group, and
viewport is below tablet, force legacy TOC to render.
- If TOC A/B test is disabled and new TOC feature is enabled,
and viewport is below tablet, neither TOC should render.

Bug: T300975
Change-Id: Ib30c3473eb47d6ac60924f40ccd0e42d29625407
2022-04-07 15:06:30 -06:00
bwang 18c65141f9 Remove env option from a11y test to enable tests to run in docs env
Change-Id: Ieef80011996b8e7c5ff11239f2c9ae53da9b3e99
2022-04-07 15:13:17 -05:00
bwang 40045c6e0e Scope ULS styles to when language button is in header
Bug: T304468
Change-Id: Iebacb6a7bf3412a6ee76eb5c9fdb9471c02dd16c
2022-04-07 14:47:44 -05:00
jenkins-bot 1e75d6f373 Merge "Clean up unused constants and outdated comments" 2022-04-07 18:19:28 +00:00
Clare Ming 805c6c97c2 Remove TOC margin to not always show fade out
Bug: T302076
Change-Id: I06dd5fc56c30299aceeae46b16d3ebd3e3cf11aa
2022-04-07 11:49:47 -06:00
jenkins-bot 125a8641e5 Merge "Prepare Vector for temporary user accounts" 2022-04-07 17:35:15 +00:00
jenkins-bot 72e842e1f7 Merge "Update puppeteer chrome config for a11y tests" 2022-04-07 16:55:52 +00:00
jenkins-bot 6fc95b72ba Merge "Drop the Vector.Config service" 2022-04-07 16:54:01 +00:00
bwang b51aa00a03 Update puppeteer chrome config for a11y tests
Change-Id: I9e7940445f18c8a9d01273208545cd60c260279a
2022-04-07 11:20:44 -05:00
Func 12c7d6a0ca Clean up unused constants and outdated comments
Change-Id: If6462e3a67726234abe62fd4d02a5d19ff4f02e0
2022-04-07 16:10:52 +00:00
jenkins-bot a56698c706 Merge "Update sticky header to use ARIA attributes for section collapsing and add accessible label to toggle buttons" 2022-04-07 15:51:56 +00:00
Translation updater bot 9092f6cf85 Localisation updates from https://translatewiki.net.
Change-Id: Ib3242b86b0cb88292e8f254c61e49abff14abf42
2022-04-07 08:11:18 +02:00
Func b61a92f052 Drop the Vector.Config service
It didn't vary by the skin version as documented in the Constants class,
and merely another instance of GlobalVarConfig.

Change-Id: I0acd0366a241e04bb79f6aae5dc52284dfa578df
2022-04-07 04:30:20 +00:00
Clare Ming a0b1b5b056 Fix TOC fadeout proper
Bug: T302076
Change-Id: I247a1a92e6eaa3413053514866966393ff3c1964
2022-04-06 16:25:07 -06:00
bwang f1c70e99b7 Update sticky header to use ARIA attributes for section collapsing and add accessible label to toggle buttons
Bug: T303766
Change-Id: Idda4f286a42152af1d233588a1839ada5491ce95
2022-04-06 17:24:34 -05:00
jenkins-bot 94d9445ba3 Merge "Add automated a11y tests with pa11y" 2022-04-06 19:48:39 +00:00
bwang dd9b6e1dbc Add automated a11y tests with pa11y
Bug: T301184
Change-Id: If3d5aa74b9b1f5bf0f7aa2ea6950853c9a5f5ada
2022-04-06 19:29:58 +00:00
Ed Sanders f04f62ec05 Update debounce param order
Parameter order was changed in
I2ef1c949d68c5642943a614e2cb3f2f0a4cb140c

Change-Id: Iefc61dd84e53de60a95a69275d5c5619b0db25ff
2022-04-06 17:15:20 +01:00
Translation updater bot 54897659fc Localisation updates from https://translatewiki.net.
Change-Id: Ie76303942a2df27922a79ec4e0d9ea08f14d3fac
2022-04-06 08:28:21 +02:00
jenkins-bot ec3b66e0ed Merge "Only track headings that are included in the table of contents" 2022-04-05 22:10:33 +00:00
jenkins-bot 8842c61422 Merge "Revert unnecessary TOC section id change" 2022-04-05 21:14:55 +00:00
bwang aa8ec1a878 Revert unnecessary TOC section id change
Change-Id: I62736b47557b79929b8ad984d6709e762b3db549
2022-04-05 15:38:00 -05:00
Clare Ming 83f324e863 Add fixes for sticky TOC fade out
Bug: T302076
Change-Id: I9fffb17e60182ef2d667ed86218b8f24e1d76f5c
2022-04-05 13:52:40 -06:00
jenkins-bot e3684ba8a0 Merge "Build A/B test bucketing infrastructure for the table of contents." 2022-04-05 17:25:08 +00:00
Translation updater bot e48a8101b5 Localisation updates from https://translatewiki.net.
Change-Id: Ibeba7b06be25b72dedf4aef57be809da7c34daa9
2022-04-05 08:27:43 +02:00
Nicholas Ray 6fbf08a198 Build A/B test bucketing infrastructure for the table of contents.
* Bucket and sample on server by using the
  `WikimediaEvents.WebABTestArticleIdFactory` service from
  WikimediaEvents (soft dependency)
* Add linkHijack.js so that users bucketed in one group have the
  possibility of remaining in that group if they click a link to another
  page.

Bug: T302046
Depends-On: Ie6627de98effb3d37a3bedda5023d08af319837f
Change-Id: Iff231a976c473217b0fa4da1aa9a8d1c2a1a19f2
2022-04-04 17:06:29 -06:00
jenkins-bot 19f114281a Merge "Drop the LatestSkinVersionRequirement" 2022-04-04 20:18:35 +00:00
jenkins-bot b7b5976a13 Merge "Small clean up and TOC update" 2022-04-04 19:54:23 +00:00
Jon Robson 7e3d0828d5 Prepare Vector for temporary user accounts
Bug: T300263
Change-Id: I603b232da338655e54f372bec5df68dd96adfb2e
2022-04-04 19:45:14 +00:00
Jon Robson eca9fcbf79 Drop the LatestSkinVersionRequirement
The LatestSkinVersionRequirement is problematic for various reasons:

1) It uses the "useskin" query string
parameter which may or may not refer to the correct
skin (in the case of a non-existent skin it will always come to the conclusion that
it is not modern Vector and thus must be legacy).

2) It uses the User object which may or may not be safeToLoad
depending on when called.

The feature seems redundant at this point, as we are separating code
into separate classes Vector and Vector22 and all the features only apply
to modern Vector. I suggest we remove it and use the features explicitly in the skin
intended.

Bug: T305232
Bug: T305262
Bug: T302627
Change-Id: I92fa33547bd601e05ddc8c1468e681892e47c16b
2022-04-04 19:22:38 +00:00
Translation updater bot dc6936fe5d Localisation updates from https://translatewiki.net.
Change-Id: I17deb4b18c86d58e6b44d0d3d334a8fc21bc4eb3
2022-04-04 09:37:23 +02:00
bwang 733990f881 Small clean up and TOC update
Change-Id: Ic093888cb2b06d8eef95a1317d791e7e1627d0f6
2022-04-01 13:14:02 -05:00
Translation updater bot 4755086474 Localisation updates from https://translatewiki.net.
Change-Id: I17a6b7c654ecc13b169f906abbae43fbe01362a8
2022-04-01 08:29:41 +02:00
jenkins-bot 1521cfe0a8 Merge "Scroll active TOC links to midpoint when past threshold" 2022-03-31 23:21:23 +00:00
bwang 4a81d0e4eb Scroll active TOC links to midpoint when past threshold
Bug: T301150
Change-Id: I282dbeab8e0b121b71c04f921ab11311f1514da7
2022-03-31 15:50:54 -05:00
Jon Robson 94c7f31082 Only track headings that are included in the table of contents
Headings can also appear in templates inside divs and subtitles.
These do not
get rendered in the table of contents and should not be tracked.

This also excludes headings from the legacy table of contents which
may be in the article during the A/B test

See English Wikipedia examples [[Portal:Biography]] and [[Main page]]

Change-Id: I4ca8933a0e7736157f80e5e68077b153e5bfc81d
2022-03-31 17:35:00 +00:00
jenkins-bot b25e0ac738 Merge "Don't set a user preference on new accounts by default" 2022-03-31 15:23:15 +00:00
Translation updater bot 24bc9671cb Localisation updates from https://translatewiki.net.
Change-Id: I07fb4cce485af9b1a2ddddbd7f33800075da8d5e
2022-03-31 08:37:50 +02:00
Tim Starling 254ffbb55a Don't set a user preference on new accounts by default
Make it possible for Vector to be a non-default skin. Only set a user
preference on newly created accounts if that has been explicitly
requested in config.

This should have no effect on WMF production.

Change-Id: I52f62cf7eb78d2be4c59821a3cf29da9619602d9
2022-03-31 14:52:20 +11:00
bwang 607f3279bd Move sticky header DOM queries into main.js
- Remove isStickyHeaderAllowed() from stickyHeader.js, move to main.js
- Rename variables in stickyHeader.js to be consistent

Bug: T301429
Change-Id: Ib445a19cbfab52a008b749ea63cef178d6288e6a
2022-03-30 09:21:25 -05:00
Translation updater bot 3590f4aac9 Localisation updates from https://translatewiki.net.
Change-Id: I238b7d16a953f76f01f3e10f67c851f559b1cca5
2022-03-30 08:19:59 +02:00
Clare Ming 2bfdbe74b6 Do not show footer menu in print mode
Bug: T300178
Change-Id: I48df6c39019dc0551ffb0ee559c51d5f6b31c825
2022-03-29 17:24:18 -06:00
jenkins-bot 0529f8cb26 Merge "Update scroll instrument for TOC" 2022-03-29 21:43:41 +00:00
jenkins-bot 530658f160 Merge "Enable table of contents on all namespaces" 2022-03-29 21:34:18 +00:00
jenkins-bot ac5c82cfb8 Merge "Drop SkinVector global class alias" 2022-03-29 17:54:46 +00:00
jenkins-bot 67639d313a Merge "Restore the classes skin-vector and skin-vector-search-vue to body" 2022-03-29 16:50:27 +00:00
Reedy 0d5e2d184e Drop SkinVector global class alias
Change-Id: I0e35a3c88aced671ef23318bf3970f7f3f261f6a
2022-03-29 17:32:39 +01:00
jenkins-bot 056b242682 Merge "Make beginning bold on scroll" 2022-03-29 16:05:39 +00:00
Jon Robson 413f92561d Restore the classes skin-vector and skin-vector-search-vue to body
The option is set incorrectly.

Change-Id: Iafccb427b87f9a877374745b48b4ec1519de7e11
2022-03-29 08:50:10 -07:00
Clare Ming f2c60983bb Update scroll instrument for TOC
- Leverage scrollObserver to use for TOC scroll events.
- Add new hooks to target legacy TOC intersection.
- See corresponding changes (not strict dependency) in related
WME patch 773628 for capturing scroll events from Vector TOC:
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikimediaEvents/+/773628
- Dependency on https://github.com/wikimedia/typescript-types/pull/30
which updates mwHookInstance interface with fire property to prevent
TS error on fire method of mw.hook in scrollObserver.

Bug: T303297
Change-Id: I5c2dd5f3a25ffcb0ed03b76ae28e65eb18ad8d33
2022-03-29 09:45:30 -06:00
jenkins-bot cda8df1cb2 Merge "Add fade to indicate scrollability in TOC" 2022-03-29 15:17:10 +00:00
Clare Ming ccdfbf2e58 Update @wikimedia/types-wikimedia to latest version
- Remove some @ts-ignore statements.
- Update invocation of mw.util.debounce to have correct order of
parameters.

Bug: T303297
Change-Id: I4bb795fbd4d026c21c66e9a3d161afff4d7ef09f
2022-03-28 23:33:50 +00:00
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
Jon Robson a2c7c024df Make beginning bold on scroll
Bug: T301254
Change-Id: I4469575ea8590ae22023b98c3dbd31bc672d5766
2022-03-25 01:13:42 +00: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
Jon Robson 56164a4275 Enable table of contents on all namespaces
Bug: T304168
Change-Id: Ib61f801640e77c34573c166072f0fb302687e8b1
2022-03-24 08:56:13 -07: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
Translation updater bot 9d511288e3 Localisation updates from https://translatewiki.net.
Change-Id: I82745027cf8c81492362d029e943b827f3055b24
2022-03-09 08:11:35 +01:00
jenkins-bot 61e2e0fbd8 Merge "Add support for icons not prefixed with `wikimedia-`." 2022-03-08 16:26:06 +00:00
Translation updater bot 15f3c8032e Localisation updates from https://translatewiki.net.
Change-Id: I104b3e52eb390bb38486d942e62eaf5f631e91f5
2022-03-08 09:03:30 +01:00
bwang a1afa7ccb3 Ensure watchlist in user menu dropdown has the collapsible class
Bug: T302084
Change-Id: I27d7c0e46ee809185133fd787fc0c6fa5fcdac2e
2022-03-07 23:12:49 +00:00
Jon Robson 35721398b2 Add support for icons not prefixed with `wikimedia-`.
Needed for I0226892b2047e55d336c085c173e04a6fb4ecfa5

Bug: T257143
Change-Id: Ia24ac074aea329293c443c772229a0d5ac7246f9
2022-03-07 21:56:53 +00:00
Translation updater bot 832c1bc3bd Localisation updates from https://translatewiki.net.
Change-Id: I32845c9244928082ed94ccfa2a56c2e630a1d2d2
2022-03-07 08:13:38 +01:00
Reedy fc11a4dc46 Namespace Vector integration tests
Rest of phpunit tests are namespaced...

But under two different namespaces

Change-Id: I875ba8225d97674b4150b594d0f80527d0988ee3
2022-03-04 13:35:05 +00:00
Reedy 1dcfe80ac3 Namespace SkinVector* PHP classes
Namespaceless class aliases are left behind for migration purposes.

They can be removed at a later date when dependant extensions
and skins are fully updated.

Bug: T301204
Change-Id: I2b37c1889ff862ec8bb41325fc9f654c673cd115
2022-03-04 13:30:21 +00:00
Translation updater bot ec9ecbfb27 Localisation updates from https://translatewiki.net.
Change-Id: Ic70a1359f8ca92cc323276d7d05d1f3164ff3c84
2022-03-04 08:35:15 +01:00
jenkins-bot d6c0b94ee5 Merge "Unset data-toc in SkinVector" 2022-03-03 19:18:42 +00:00
Jon Robson a0d399b1e2 Unset data-toc in SkinVector
Bug: T302461
Change-Id: I61cf5d3c9016d5997ae56ba18c5eb877e9f68d91
2022-03-03 11:00:10 -08:00
jenkins-bot fc897266bc Merge "Use explicit line height for user menu items" 2022-03-03 17:47:44 +00:00
Translation updater bot 5192f7a6b7 Localisation updates from https://translatewiki.net.
Change-Id: I7d5e0ca3630831eec85bcc2dc096a940bc65e4d1
2022-03-03 08:24:50 +01:00
jenkins-bot 9205554552 Merge "Render sidebar menu above TOC" 2022-03-03 00:26:38 +00:00
bwang 9fb8af8ae8 Render sidebar menu above TOC
Can only be merged after I8c0924f6de28b15602969de873a843b4cd69548b
has been in production for 3 days

Bug: T300875
Change-Id: I924a69b37214a34f989f49f0425c701650928e17
2022-03-02 17:04:47 -06:00
jenkins-bot 288c8b95b2 Merge "Update Vector menu CSS to use `vector-menu-heading` instead of `h3`" 2022-03-02 19:21:10 +00:00
Mortal303 ab11cc9adb Update Vector menu CSS to use `vector-menu-heading` instead of `h3`
Replaced h3 tag in includes/templates/Menu.mustache with label tag.
Replaced h3 elements in .storybook/icons.less, resources/common/components/Menu.less,
resources/common/components/MenuDropdown.less, resources/common/components/MenuPortal.less,
resources/common/components/MenuTabs.less,resources/skins.vector.styles.legacy/components/MenuDropdown.less,
resources/skins.vector.styles/components/UserLinks.less, resources/skins.vector.styles.legacy/components/Sidebar.less
and resources/skins.vector.styles.legacy/layouts/screen.less
by vector-menu-heading.

Bug: T290280
Change-Id: I6eee7d6bc47c74a62166d4579fd4d3da3dc88e88
2022-03-02 20:05:36 +05:30
Translation updater bot 370321a54d Localisation updates from https://translatewiki.net.
Change-Id: I9c591d0db2c1d4f4ca06d94c77d4c0614017261a
2022-03-02 09:38:26 +01:00
Clare Ming 338e0e72ac Fix language alert regression
- Add test for SkinVector::shouldLanguageAlertBeInSidebar() method.
- Change some methods to protected status -- acknowledging this is not
an optimal change. Until we can pull out some of the language checks
into its own class with injected dependencies (title, feature manager,
languages), this is an interim solution to try to catch regressions
since the conditional states for showing the alert are complex and
ultimately temporary. Extracting the language checks into their own
class can be done in a follow up ticket to help optimize testing
language checks in isolation.

Bug: T302018
Change-Id: I99b7df3029e0af86e4d67b3f446d4ce99260d33e
2022-03-01 15:37:43 -07:00
jenkins-bot 9c9d8693c5 Merge "Only show scrollbars when needed in language menu" 2022-03-01 20:20:09 +00:00
Translation updater bot fead8fa661 Localisation updates from https://translatewiki.net.
Change-Id: I4cfce7deaf9c5fb8db5b4c743a56f32707a93c12
2022-03-01 14:34:27 +01:00
jenkins-bot 5dccb7ec04 Merge "Hide sticky header and ULS button in print mode" 2022-02-28 23:00:40 +00:00
Translation updater bot ee5e8681ea Localisation updates from https://translatewiki.net.
Change-Id: Ibf8e5f769b15d7a181fb1e2713184d317f014cac
2022-02-28 14:31:30 +01:00
Volker E f2d7158616 build: Update 'svgo' to latest v2.8.0 & re-crush images
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: Ie48f5e78b3f9b6e7f01b65618c1d6089fa4a2f54
2022-02-28 00:00:05 +00:00
bwang be2abb581c Hide sticky header and ULS button in print mode
Bug: T300178
Change-Id: Ie1eb02530ec62fa011da4be45a61d26522c1650b
2022-02-25 17:32:35 +00:00
Translation updater bot f8560e27ac Localisation updates from https://translatewiki.net.
Change-Id: I4add582c90f34d8698fe0e8d013669abc7b6c6ec
2022-02-25 09:49:58 +01:00
Translation updater bot 9426c40d22 Localisation updates from https://translatewiki.net.
Change-Id: I401e8ca32ce0168796bb2e06e6281d33890eb0f5
2022-02-24 08:53:49 +01:00
jenkins-bot 835e8673e4 Merge "Add icon classes to portlet links without IDs" 2022-02-23 19:21:37 +00:00
jenkins-bot 98bc2ee412 Merge "Switch order of sidebar menu and article toolbar in DOM" 2022-02-23 16:39:20 +00:00
BrandonXLF 1b0af9022b Add icon classes to portlet links without IDs
Only limit the mw-ui-icon-vector-gadget-ID class to portlet links with
IDs.

Bug: T301012
Change-Id: Ib69957b8d44d9b2a02df9f453de262beb8740799
2022-02-23 16:23:58 +00:00
jenkins-bot 11b968cf18 Merge "Clean up: Remove ts-ignores in stickyheader.js" 2022-02-23 16:18:06 +00:00
Translation updater bot cbefe871fa Localisation updates from https://translatewiki.net.
Change-Id: I753ce8d6b0afc7fbefdb4ac6f52d67330bdb2e66
2022-02-23 08:20:54 +01:00
jenkins-bot d93f9e9bed Merge "Use TOC template data for showing collapsible section arrows" 2022-02-22 22:16:18 +00:00
bwang 5f0c0cb294 Use TOC template data for showing collapsible section arrows
Bug: T299361
Depends-on: I8ab5c0543b898d1df9399a1cb39672c45daf2acd
Change-Id: Ib68de8cd97cc1111a5a33e100e688d6832fc7e6e
2022-02-22 15:47:23 -06:00
Nicholas Ray 27939ac6c9 Revert "Improve jsdoc for tableOfContents.js and sectionObserver.js"
This mostly reverts commit f5ad6fe78a but
keeps the SectionObserverProps typedef.

Instead, we will use @module introduced in
Ib68de8cd97cc1111a5a33e100e688d6832fc7e6e.

Change-Id: I7aff49a3d922889cc99bc4313a6cb416410a7a0d
2022-02-22 12:36:35 -07:00
bwang e9d2f5e37f Switch order of sidebar menu and article toolbar in DOM
In order to make the TOC go below the sidebar menu, we must reorder the sidebar menu to be directly before the sticky TOC element.
This change involves cached HTML, so this change is separated out from the rest of the CSS changes to be merged first.

Bug: T300875
Change-Id: I8c0924f6de28b15602969de873a843b4cd69548b
2022-02-22 17:21:10 +00:00
jenkins-bot 8b5ea941e5 Merge "Improve jsdoc for tableOfContents.js and sectionObserver.js" 2022-02-22 16:35:55 +00:00
Translation updater bot 9dd22acfaf Localisation updates from https://translatewiki.net.
Change-Id: I20f33c9afa63de06a0879662bdd29957c897684a
2022-02-22 14:21:30 +01:00
Translation updater bot a96e2b6a90 Localisation updates from https://translatewiki.net.
Change-Id: Ib346a4e6fd8bb6f49f72e2129b992c025ceb9e3f
2022-02-22 08:13:50 +01:00
Nicholas Ray f5ad6fe78a Improve jsdoc for tableOfContents.js and sectionObserver.js
Switch to using @namespace which seems to have the best jsdoc support
for the revealing module pattern [1] that these two files use.

Additionally:

* Add typedef for section observer props

[1] https://www.oreilly.com/library/view/learning-javascript-design/9781449334840/ch09s03.html

Change-Id: I3eeda191e5da0294ad40533053adb57e1fc9c8e9
2022-02-21 17:40:10 -07:00
jenkins-bot a47f14658c Merge "Move table of contents code to SkinVector22" 2022-02-21 23:53:50 +00:00
Jon Robson ed4b45f44a Move table of contents code to SkinVector22
This avoids the RuntimeException in old Vector, and means
we can safely enable this on the beta cluster

Note, for any users that are in migration mode e.g. skin is
set to 'vector' and the skin version is set to 2 they will
not see a table of contents in the sidebar or article.

This won't be a problem in production provided T299104
is resolved before we enable.

Change-Id: I942a1cb933e7364600fe1af7491aca20546545e5
2022-02-21 23:36:15 +00:00
Nicholas Ray 6e9506dcad Dynamically expand/collapse sub-sections in ToC based on # of headings
Server render the table of contents in a collapsed state when the total
number of headings is equal or greater than the value of
`$wgVectorTableOfContentsCollapseAtCount`. Otherwise, the table of
contents will be server rendered in its "expanded" state.

In addition:

* Revise table of contents tests to call one `assertion` per element so
  that it is easier to see the exact element that may fail an assertion.
* Revise table of contents tests to call a mount function that can merge
  props to allow for a more flexible set of tests.
* Revise table of contents tests by wrapping a `describe` around tests
  that expect the same prop state.
* Adds typedef for table of sections props

Bug: T300973
Depends-On: Ifaee451e1903f2accd0ada2f2ed6dfa3f83037b6
Change-Id: I382200bc603b6abf757a91f14a8a55a6581969bd
2022-02-21 14:58:51 -07:00
bwang 48f1f1355b Clean up: Remove ts-ignores in stickyheader.js
From what I could tell, most instances of `toHTMLElement` or @ts-ignore could be fixed by using typeguards or using Element over HTMLElement.
Element is a looser typing than HTMLElement, but given `querySelector` returns `Element|null` and the fact that we were already inconsistently using both Element and HTMLElement in this file, I feel it was a worthwhile tradeoff

Change-Id: I3512a98fa67c13a4383b9497e8588960259b5b68
2022-02-21 11:41:12 -06:00
jenkins-bot 8dde172451 Merge "Sticky header dropdown should not contain gadgets in personal menu" 2022-02-21 17:35:41 +00:00
Translation updater bot abf3725b27 Localisation updates from https://translatewiki.net.
Change-Id: I3819d51e8a8971b20284c3ec3938e21d174d97d8
2022-02-21 08:19:22 +01:00
jenkins-bot db902a3250 Merge "Offset the TableOfContents `top` property only when the sticky header is shown" 2022-02-19 01:32:03 +00:00
Clare Ming 098f65712e Fix long titles with wbr tags in sticky header
Bug: T300134
Change-Id: Ice45acf026e4ef0deee9c6d6f905634cad59c2e3
2022-02-18 17:14:15 -07:00
Jon Robson 2dcd99ed21 Sticky header dropdown should not contain gadgets in personal menu
Bug: T302087
Change-Id: Iae1f42c3c526398d7dea038786ae9001e118307b
2022-02-18 21:30:29 +00:00
Translation updater bot 08d2ae3171 Localisation updates from https://translatewiki.net.
Change-Id: I779eb40afb07e836d7e4f0deffb04293d600ab05
2022-02-18 08:42:51 +01:00
Nicholas Ray 29e40714bc Offset the TableOfContents `top` property only when the sticky header is shown
This uses the sticky header's `.mw-sticky-header-element` utility class
to conditionally offset the table of contents to the height of the
sticky header only when the sticky header is enabled.

Bug: T300077
Change-Id: Ibad97a11e708ba19acf27ca82320f7c3e5f80447
2022-02-17 12:20:15 -06:00
Translation updater bot ad4e582a8a Localisation updates from https://translatewiki.net.
Change-Id: I06c4e94437b7971ce82b87f1edc46bdbfa5b0af3
2022-02-17 08:13:44 +01:00
jenkins-bot 9b7d5ad473 Merge "Toggle ToC sections when clicking toggle button" 2022-02-16 22:30:25 +00:00
jenkins-bot 914e3d55e6 Merge "Add fetch tests from WVUI" 2022-02-16 22:07:18 +00:00
bwang 301e09916d Toggle ToC sections when clicking toggle button
Bug: T300167
Change-Id: If1150a9e018b232da900187383aaee9c9cf331a1
2022-02-16 15:48:28 -06:00
Translation updater bot 0d9166829d Localisation updates from https://translatewiki.net.
Change-Id: I0c4e5bf3f92da9bcf898ef7b1660e25f290a68cc
2022-02-16 08:14:50 +01:00
bwang a560fb814a Add fetch tests from WVUI
Bug: T288686
Change-Id: Ifeb2e355482d3d5920c2535c89193cc4f36a13c9
2022-02-15 14:00:40 -06:00
jenkins-bot 0f49a257d1 Merge "Collapse ToC by default & expand sections when clicking section headings" 2022-02-15 19:31:18 +00:00
jenkins-bot 45badb5127 Merge "Revert "Add fetch tests from WVUI"" 2022-02-15 19:16:06 +00:00
Bernard Wang 3c161cf49e Revert "Add fetch tests from WVUI"
This reverts commit 7e79ad5686.

Bug: T301810
Change-Id: Icc8ecf6b0f8b1106e0a69364da251ff52161f523
2022-02-15 18:47:37 +00:00
Translation updater bot 91ebd9da17 Localisation updates from https://translatewiki.net.
Change-Id: Ibcf44808de6fac4359b27c530cdd8023b7e962ff
2022-02-15 08:19:13 +01:00
Jan Drewniak 7d32ec80d3 Collapse ToC by default & expand sections when clicking section headings
Collapses sub-sections in the new table of contents by default
(except for non-js and reduced-motion users) and expands the
sections when the top-level section link has been clicked.

Refactors the `activateSection` TableOfContents methods into separate
`activateSection` and `deactivateSection` functions.
Adds `expandSection` and `collapseSection` methods.

Adds triangle icon as a visual expand/collapsed indicator
next to all ToC section headings and are hidden via CSS based on
whether or not the section contains subsections.

Adds test for tableOfContents.

Bug: T299361
Change-Id: I36b3ae7f9f633877683bc17a9444c970d7fa7293
2022-02-15 00:09:50 -05:00
jenkins-bot bdef6990fb Merge "Add fetch tests from WVUI" 2022-02-14 22:08:04 +00:00
bwang 7e79ad5686 Add fetch tests from WVUI
Bug: T288686
Change-Id: Ic95b620087fc14b055a3108999540769ac123ec8
2022-02-14 13:52:16 -08:00
jenkins-bot 97f231d0fb Merge "Trigger a window resize event when toggling sidebar state" 2022-02-14 21:06:39 +00:00
bwang 2a83dad477 Add back flex-grow for sticky header search bar
Change-Id: Id503163d85dfc519d4c47f95e4567dcacfa7458e
2022-02-14 13:08:07 -06:00
jenkins-bot 4557c0910b Merge "Use new ve.activationStart hook to hide header earlier when loading editor" 2022-02-14 18:33:19 +00:00
jenkins-bot a541859743 Merge "[eslint] Disable mediawiki/class-doc" 2022-02-14 16:15:34 +00:00
Translation updater bot 98c9673321 Localisation updates from https://translatewiki.net.
Change-Id: I6274a3144d0660bb72b24727099f2585bf9bd2af
2022-02-14 08:17:04 +01:00
Nicholas Ray 6b73bd2b41 Fix jsdoc comments for sectionObserver.js
Move jsdoc comment closer to the methods they are describing. This also
enables better typehint support.

I36b3ae7f9f633877683bc17a9444c970d7fa7293 will handle revising tableOfContents.js.

Change-Id: Ifcac7cfd88cd3f1c0405611c880a0d101d2aed3b
2022-02-11 12:17:38 -07:00
bwang 52c7c2ee75 [eslint] Disable mediawiki/class-doc
Given our use of constants for tracking classes this eslint rule
is more an annoyance than helpful.

Change-Id: I37570e3e851997d058f2d93777990dddb3d04089
2022-02-11 16:31:33 +00:00
Translation updater bot d4fb2960d6 Localisation updates from https://translatewiki.net.
Change-Id: I24f076cdda8875e95b8d88380f3cd9a02b7b213e
2022-02-11 08:44:49 +01:00
bwang 3e92800bd6 Move REST search client out of WVUI into Vector
Bug: T288686
Depends-on: I4afc8c38dc9c51d55b46b766a1417b1266963482
Change-Id: Iac6023bb6edca5c8dddc3bfd362db727b2534946
2022-02-10 10:17:10 -06:00
Translation updater bot 7084f9a9df Localisation updates from https://translatewiki.net.
Change-Id: I07c5527841015cf0377762fe02903dae522b0930
2022-02-10 08:44:14 +01:00
jenkins-bot 5ac2b88293 Merge "Move #mw-sidebar-button layout styles to Header.less" 2022-02-09 23:11:56 +00:00
jenkins-bot 306dc89bf8 Merge "Limit WVUI search to ES6 browsers" 2022-02-09 23:01:03 +00:00
Jon Robson 0c2981d772 Limit WVUI search to ES6 browsers
Rather than test for fetch, limit the code to ES6 browsers.

Depends-On: I96a03796628a74ace93579d45a582711400c09c1
Change-Id: I4ca10182491118e61e155f99c713d4cb1b4fc7f0
2022-02-09 22:10:11 +00:00
Ammarpad 5c4d917497 Update Vector SpecialVersion description
Bug: T300994
Change-Id: I3f624013ec4ce408c50d66eca7a91b55b1288ae9
2022-02-09 20:23:09 +01:00
Nicholas Ray 390155c67f Move #mw-sidebar-button layout styles to Header.less
Given that these styles deal with the layout of the sidebar button in
the main header and don't make sense in any other context (at least
currently), I think they belong in Header.less.

Change-Id: I191b9a404c82c5a1a80f97d98fa54535fdd53944
2022-02-09 09:29:47 -06:00
Translation updater bot 260c9a8c20 Localisation updates from https://translatewiki.net.
Change-Id: If1bc1d00bfa288da5a8f9b5735e58aeae4e9a102
2022-02-09 08:14:08 +01:00
jenkins-bot c621e0e91d Merge "HTMLLegacySkinVersionFieldTest: Adjust tests to closer to real situation" 2022-02-08 23:48:21 +00:00
Nicholas Ray 80a111d0e4 Fix TOC section activation on link click bug
We want the link that the user has clicked inside the TOC to be "active"
(e.g. bolded) regardless of whether the browser's scroll position
corresponds to that section. Therefore, we need to temporarily ignore
section observer until the browser has finished scrolling to the section
(if needed).

However, because the scroll event happens asyncronously after the user
clicks on a link and may not even happen at all (e.g. the user has
scrolled all the way to the bottom and clicks a section that is already
in the viewport), determining when we should resume section observer is
a bit tricky.

Because a scroll event may not even be triggered after clicking the
link, we instead allow the browser to perform a maximum number of
repaints before resuming sectionObserver. Per T297614#7687656, Firefox
wasn't consistently activating the table of contents section that the
user clicked even after waiting 2 frames. After further investigation,
it sometimes waits up to 3 frames before painting the new scroll
position so we have that as the limit.

Bug: T297614
Change-Id: If3632529f58c15348a7200258f4f5999ea0dadc4
2022-02-08 14:45:16 -07:00
jenkins-bot d94c685f02 Merge "Use bodyClasses option to register static classes on skin" 2022-02-08 16:25:02 +00:00
Func 1d67da02f8 HTMLLegacySkinVersionFieldTest: Adjust tests to closer to real situation
The behavior of data loading can differ between submitting and display,
so use FauxRequest to customize the method.
Also fix the order of parameters passing to assertSame(), the first one
should be the expected one.

Change-Id: Icfa062eada75c50cd2c8bc5db2930602d80e9ae7
2022-02-08 09:34:49 +00:00
Translation updater bot 6ec87052e9 Localisation updates from https://translatewiki.net.
Change-Id: Ieca15e7e87a50e79a3259b1f46bdacf5e2348251
2022-02-08 08:30:23 +01:00
Jon Robson 29498112ed Migration mode is now the default
- Reflect production.
- Update SkinVector migration notes.

Depends-On: Ia527e60901de59f9e094ca0f1ba62a67a2f808a2
Change-Id: I8efa56fa0644b2ceb33fdab16da5df1d44ee621f
2022-02-07 22:20:16 +00:00
jenkins-bot bcd4ee0ee1 Merge "Fixes for sticky header:" 2022-02-07 16:16:47 +00:00
Translation updater bot f322eaa6ea Localisation updates from https://translatewiki.net.
Change-Id: I4d188788b4c3be4e524302e683dbb92af58f2bbd
2022-02-07 08:24:55 +01:00
Reedy ee76b72905 SkinVector: Minor cleanup
Change-Id: I788710e17ebed933cc70b0cd88138b0a1051d72c
2022-02-06 22:48:51 +00:00
BrandonXLF 936bbc427a Only show scrollbars when needed in language menu
Bug: T301058
Change-Id: I19af6c27b7adf8a35ccbc4163c585e338240eb72
2022-02-05 21:24:47 -05:00
jenkins-bot b570e149e2 Merge "Remove `getElementsByClassName` usage from sectionObserver" 2022-02-04 23:47:02 +00:00
Clare Ming 19e5d2885a Fixes for sticky header:
- Make page title width fill container.
- Remove page title fadeout, replace with ellipsis.
- Prevent language button contents from wrapping.

Bug: T298885
Bug: T300036
Bug: T298887
Change-Id: I6b09f89ed89a9da7406cdf8b3a00698a9dd66d10
2022-02-04 15:36:35 -07:00
Jon Robson 6f7a6bb24b Use bodyClasses option to register static classes on skin
Bug: T298734
Change-Id: Ia2ae8e1c655aff8783c2602da992632cd5877bf8
2022-02-04 18:44:43 +00:00
Translation updater bot 985299ef9a Localisation updates from https://translatewiki.net.
Change-Id: Ie1f9e4e1ea4f9bf4b93d39202c107082a24ae628
2022-02-04 08:23:51 +01:00
Nicholas Ray 4d2ad52374 Remove `getElementsByClassName` usage from sectionObserver
Based on prior discussion [1], using getElementsByClassName probably
isn't worth it.

[1] https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/756675/8..13/resources/skins.vector.es6/main.js#104

Change-Id: Id7f8aff73a1d2082ebfeaa9488a815d96317c156
2022-02-03 17:33:42 -07:00
jenkins-bot 99294ce088 Merge "Hide sticky header below 1000px port width" 2022-02-03 22:20:53 +00:00
jenkins-bot 3ea4800c40 Merge "Add recursive template for toc" 2022-02-03 20:55:15 +00:00
Clare Ming 4d8b548f5f Hide sticky header below 1000px port width
Bug: T298836
Change-Id: Ie524f997d2f9847252afc215d3ac589e511ace07
2022-02-03 13:54:16 -07:00
Jon Robson ddcf51a9ec Drop skin override
This is often used by gadgets/scripts to request
information from the API. Given `vector` means old Vector
now that leads to styling issues.

The unfortunate side effect of this is that any code
checking mw.config('skin') === 'vector' will no longer work
and we'll likely need to patch various gadgets accordingly.

Bug: T300814
Change-Id: Ic920e91960cf81790096395256b75f8ed0dc4173
2022-02-03 19:00:24 +00:00
David Lynch 19edeeabe0 Trigger a window resize event when toggling sidebar state
Other page elements outside of Vector should be notified that the
content area is changing size, in case they need to adjust the size of
fixed elements. Triggering window.resize should allow them to adapt
without needing to write Vector-specific code.

A specific case of this: the floating edit toolbar when VisualEditor is
open would be incorrectly sized / aligned if you toggled the sidebar in
edit mode.

Bug: T300826
Change-Id: I79e0fc67b5e35c2fb975a0a3048184de0d63813e
2022-02-03 12:18:42 -06:00
jenkins-bot 59c89b2db7 Merge "Overriding getPortletData will soon be deprecated" 2022-02-03 16:28:27 +00:00
Translation updater bot b9d9167d9d Localisation updates from https://translatewiki.net.
Change-Id: I532d663d0b93cb3108fd5b0717028877445b0721
2022-02-03 08:47:00 +01:00
jenkins-bot c03a5974cb Merge "Pass skin name to Hooks::isSkinLegacy" 2022-02-02 22:52:54 +00:00
Jon Robson 9b8d1b64cb Overriding getPortletData will soon be deprecated
See Ib8fc4cd183df3ed059a2d7000c56ab0a11d34f47

Bug: T299456
Change-Id: I743088e2665f8b304fb6273e912f9a6e5ff92e66
2022-02-02 14:37:36 -08:00
Jon Robson 2a2ee9b4d4 Pass skin name to Hooks::isSkinLegacy
Hooks::isSkinLegacy is only checking the skin version
but not the skin name. This is likely why we are seeing
errors due a mismatch between the result of Hooks::isSkinLegacy
and SkinVector::isLegacy

The parameter is made optional as it is not
always needed. For example in the onGetPreferences
method the skin hasn't been set at this point so all
we need to do is check the skin version.

Bug: T299971
Change-Id: I98465d5f6429f0a57dd0a95efcda71f380f3e842
2022-02-02 13:55:16 -08:00
Jon Robson c59a3b756f Fix the opt in URl
Hash fragment is wrong

Bug: T300097
Change-Id: I9e63606b66195a3b3db95e519514019dbd7d1bdb
2022-02-02 18:54:13 +00:00
Translation updater bot 96db3770df Localisation updates from https://translatewiki.net.
Change-Id: Ia05854ef2d4429faa2b7a647335dcb2e66fc505c
2022-02-02 08:21:30 +01:00
Translation updater bot 5dc8f73f90 Localisation updates from https://translatewiki.net.
Change-Id: I5a2fdadec8e517263736892f6692acf15a3d06da
2022-02-01 08:28:45 +01:00
jenkins-bot 63b1bdbb2b Merge "Drop search related feature flags" 2022-01-31 22:05:45 +00:00
jdlrobson d8382ec96b Drop search related feature flags
Given Wikidata is the only project using modern Vector,
and the only project where the search API is not applicable,
this will result in a loss of autocomplete on Wikidata.org
which will fall back to the non-JS mode.

Bug: T290688
Change-Id: Iece5a4efd43e09cd90c842c9c134ca115b35f2b2
2022-01-31 21:00:22 +00:00
bwang 66359e8fa5 Setup jest unit tests and add basic test cases for AB.js and App.vue
Bug: T300561
Change-Id: Ib7c314b094bd823ae233374f63c9094724d6c06f
2022-01-31 20:50:33 +00:00
jenkins-bot 44e6289f8d Merge "Tests: Limit testGetTemplateData to current values to allow expansion" 2022-01-31 20:26:49 +00:00
jenkins-bot acbf2fb739 Merge "Changes the labels of the Vector skins" 2022-01-31 19:03:13 +00:00
Ed Sanders 1cd5bf4d41 Use new ve.activationStart hook to hide header earlier when loading editor
Bug: T299907
Depends-On: I0eaeb98719bf7a43e4a87366cfcd204f35b74650
Change-Id: I8e8b635b46e79c63c4dafbd2418c9be94528ec06
2022-01-31 18:32:55 +00:00
jenkins-bot fa3c528bef Merge "Don't show language alert on main page if it has no languages" 2022-01-31 18:15:49 +00:00
jenkins-bot af39ad98ea Merge "Language alert box should use Html::noticeBox" 2022-01-31 17:05:57 +00:00
Clare Ming 5d2bc68da1 Don't show language alert on main page if it has no languages
Bug: T299581
Change-Id: Idc5b702626249ebec5d627e7b88fd6adf3e3750a
2022-01-31 09:43:15 -07:00
Jon Robson c87f6a8b2e Tests: Limit testGetTemplateData to current values to allow expansion
In I0cd49e6d621cd437e440ac7f7627eaa064ab870c a new field will be
added. Our tests in Vector shouldn't fail every time this happens

Change-Id: Ieb4923e9f58f950ee02ce3eb1446b982d1f5724a
2022-01-31 08:05:33 -08:00
Translation updater bot 5daf29df0d Localisation updates from https://translatewiki.net.
Change-Id: Ic1ff753ee327d588c1da99758ded315102ce0b2b
2022-01-31 08:24:19 +01:00
Jon Robson ac084e930a [config] Vector should default to language button
This reflects production and avoids confusion during development
e.g. T299581#7660160

We already have overrides in place for all wikis where this should not
apply.

Change-Id: I45ecda031f83fc63c9c878c9caef42d327b2463f
2022-01-28 15:38:27 -07:00
jenkins-bot 6a43f3af49 Merge "Fix issues with language alert in sidebar:" 2022-01-28 22:26:21 +00:00
Clare Ming 588d273360 Fix issues with language alert in sidebar:
- Don't show language alert if:
  - language button is not in header
  - on main page
  - on special page
- Update message with sitename.

Bug: T299581
Bug: T295555
Change-Id: I6290ea440e6b4673f29939376ac47ab53a882001
2022-01-28 13:58:31 -07:00
Jon Robson e1f1899dae Add recursive template for toc
Depends-On: I5ceec7f7bdea8b16ba0b300486ec0c4f2202b602
Bug: T299065
Change-Id: I0205596f0f7c0f452e80bd6a1f49e59e8388b4b8
2022-01-28 19:58:57 +00:00
Clare Ming a1ba537f6a Enable sticky header by default
Bug: T297924
Change-Id: If95a917ab3fbbe49271c62e0ce1da8b74d0bd7b8
2022-01-28 10:46:48 -07:00
Jon Robson 029110810e Language alert box should use Html::noticeBox
Html::noticeBox doesn't output any deprecated classes so
will not conflict with any user gadgets now.

Bug: T299625
Change-Id: Ic9aef5c8ff3fae6a79c7cf82cc3c97714cf40b3d
2022-01-27 15:35:38 -08:00
jenkins-bot 0e08ae8c17 Merge "Rely on core TOC data to show the TOC in Vector" 2022-01-27 20:10:29 +00:00
jdlrobson a357b13ce0 Changes the labels of the Vector skins
In preparation for roll out of SkinMigration everywhere.
(Change to configuration will be done via backports throughout
the week)

Bug: T299927
Change-Id: Iebe60b560069c8cfcdeed3f5986b8be35501dcbc
2022-01-27 19:13:55 +00:00
jenkins-bot 24e7430734 Merge "Add sectionObserver and tableOfContents component JS to respond to intersection changes" 2022-01-27 17:13:08 +00:00
Jon Robson 6534f01162 Opt out of external link icons
This was related to two unintentional regressions as we switched
off the legacy feature in July 58c87018 in legacy Vector,
and 722b5fbf in modern Vector.

Bug: T298433
Change-Id: Id258e328d1691f7bd31d2b3c57d64d5434706561
2022-01-27 15:26:39 +00:00
bwang d244f43e39 Rely on core TOC data to show the TOC in Vector
Bug: T298796
Depends-on: I406acf333d28b3898e3bc4968d05224febd09b3c
Change-Id: Iebb9c86b409a49d211c320f540b9af409b604b5b
2022-01-26 16:14:17 -06:00
Nicholas Ray 3c433a5315 Add sectionObserver and tableOfContents component JS to respond to intersection changes
This commits sets up the Table of Contents to bold the active section
when the section is scrolled.

Unfortunately, because our content does not have actual sections but
instead has a flat list of headings and paragraphs, we can't use
IntersectionObserver in the conventional way as it is optimized to find
intersections of elements that are *within* the viewport and the
callback will not reliably fire during certain scenarios (e.g. with fast
scrolling or when the headings are not currently within the viewport).
Furthermore, iterating through a list of elements and calling
`getBoundingClientRect()` can be expensive and can also cause
significant forced synchronous layouts that block the main thread.

The best compromise in terms of performance and function that I've found
is to use a combination of a throttled scroll event listener and
IntersectionObserver's ability to asyncronously find the
boundingClientRect of all elements off the main thread when `.observe`
is called which is the approach this patch takes. Although this is an
unorthodox way to use IntersectionObserver, performance profiles
recorded while holding the "down" arrow and scrolling for 10 seconds
with a 6x CPU throttle are comparable between master and this patch:

master: https://phabricator.wikimedia.org/F34930737
this patch:  https://phabricator.wikimedia.org/F34930738

Bug: T297614
Change-Id: I4077d86a1786cc1f4a7d85b20b7cf402960940e7
2022-01-26 14:11:43 -07:00
Translation updater bot 3c7b1e0eef Localisation updates from https://translatewiki.net.
Change-Id: Ic08803bce8ca2761d3eaacdad81cd38d68298143
2022-01-26 08:26:59 +01:00
Jon Robson 9fba9b6b9e Do not load common.js twice
An error in both of these modules. This module is additive (it doesn't
replace the existing user module) so only needs to add new pages, not
append to existing pages.

Bug: T300070
Change-Id: I3ba2ce82ba924972d0f9fea763328510aef41f8e
2022-01-25 20:10:31 +00:00
Translation updater bot 252b41de79 Localisation updates from https://translatewiki.net.
Change-Id: Ie414f6d9506a5de628a0e75a1e924dd719a2fc53
2022-01-25 08:34:31 +01:00
jenkins-bot e4b73894b8 Merge "Update typescript to latest (v4.5.5)" 2022-01-25 02:19:31 +00:00
Jon Robson b1cdf4acae Opt in link should be different in migration mode
In migration mode the control for opting out is different

Bug: T299927
Change-Id: Ie824c9051c929641e5ebab7a7b4a062e469ed6a0
2022-01-25 00:54:51 +00:00
Nicholas Ray 76eb7caa2f Update typescript to latest (v4.5.5)
Vector's tsc version is currently reporting errors that the latest
typescript version doesn't report and vice versa. Upgrade to the latest
version to avoid these discrepancies.

Additionally:

Fix tsc errors that are now reported by updated version

Bug: T297614
Change-Id: I0eb67bcc1a5ce214fcf2d6f6433a5de3a845b6a6
2022-01-24 16:35:45 -07:00
Jon Robson 435c903523 Fix bug in SkinVersionLookup
Bug: T299971
Change-Id: Icd8874315bf3c5846b00e8c34eb1a739c4a0feba
2022-01-24 13:34:06 -08:00
Translation updater bot 26835ad0ce Localisation updates from https://translatewiki.net.
Change-Id: I4386c70c08b9ed4f024a065280460c0878612257
2022-01-24 08:29:35 +01:00
jenkins-bot 92e5d4fd46 Merge "Avoid escaping TOC section titles" 2022-01-21 16:30:47 +00:00
Translation updater bot c75bbde795 Localisation updates from https://translatewiki.net.
Change-Id: Ie10210c79628b683d1963b90db6f143e3c3c423e
2022-01-21 08:15:44 +01:00
jenkins-bot efb6b4d152 Merge "Respect useskin when operating in MigrationMode" 2022-01-20 22:20:33 +00:00
bwang 3abd70392b Avoid escaping TOC section titles
Change-Id: I81f92627642c20d0770b2bc3223e056fc646365a
2022-01-20 12:31:11 -06:00
jenkins-bot 555db12047 Merge "Use 'toc' skin option and render with new TableOfContents mustache template" 2022-01-20 18:09:34 +00:00
Jon Robson 6cd9cc5be0 Do not try to make watchlist collapsible on wikis where watchlist is disabled
Bug: T299671
Change-Id: I9b44401ad753881ca986157dc06bb4402edc1017
2022-01-20 09:42:58 -08:00
jenkins-bot bb3fae5adb Merge "Ensure sticky header ULS menu appears in default location right underneath the button" 2022-01-20 16:27:59 +00:00
Translation updater bot 9d8a36731b Localisation updates from https://translatewiki.net.
Change-Id: I84b6ee222b2b472028199eb32efefdc7977da1e9
2022-01-20 09:20:25 +01:00
Jon Robson 94bab9f45f Respect useskin when operating in MigrationMode
Bug: T299171
Change-Id: I7c183949c358a5eb07c273044f63ac6474a62ad2
2022-01-19 22:33:28 +00:00
bwang 8a957c0163 Use 'toc' skin option and render with new TableOfContents mustache template
Bug: T297611
Change-Id: I8332f7b9c9574d8dece4f7111b299b95533cf386
2022-01-19 14:38:51 -06:00
bwang c761aa2067 Ensure sticky header ULS menu appears in default location right underneath the button
Bug: T298835
Change-Id: I2e061d87ccdc95e052d84ab8ba8a6d041801f184
2022-01-19 19:37:25 +00:00
Jon Robson 1149d3d611 Drop watchlist in user menu feature flag
Working correctly. No longer needed.

Additional change:
* add tooltip to menu

Depends-On: I418ce75bda8015520d1f1742ddcdfefbc8b9a162
Bug: T289619
Change-Id: I42f21ca8836e5042d07102e1516ca386478dfabc
2022-01-19 16:10:32 +00:00
Translation updater bot 3b034ff49f Localisation updates from https://translatewiki.net.
Change-Id: I54d67ab88317d1a10c25cc3392c516f5582df303
2022-01-19 08:25:32 +01:00
Jon Robson 37ee126a85 Restore icons to user links dropdown
Follow up to
I62562969a00eb96c83af4519e0e34e4a77ed8b19

Bug: T289619
Change-Id: I88a2d4af97227bb69dc9a11ea7ceac54895d2376
2022-01-18 11:14:44 -08:00
Translation updater bot 593cf2c2a3 Localisation updates from https://translatewiki.net.
Change-Id: Ibcda721ba3256d9a6379bdc501587c7d1c697b20
2022-01-18 08:12:36 +01:00
Jon Robson 55bcce3cc0 Don't run Vector hook when menu absent from page
While editing I was seeing a fatal due to this error being null
Err on side of caution and check for existence of menu
Follow up to I8309492881142d47eec4da5cc4aa5c6febbd1b35

Bug: T289619
Bug: T299352
Change-Id: I62562969a00eb96c83af4519e0e34e4a77ed8b19
2022-01-18 02:05:37 +00:00
jenkins-bot 863cdc34bf Merge "Use field name for the hide-if statement" 2022-01-17 20:10:04 +00:00
Translation updater bot 688af2c851 Localisation updates from https://translatewiki.net.
Change-Id: I91657d3db1ccaf13eea6e7fec481343e87f90ebe
2022-01-17 08:15:25 +01:00
Func 0bd3a30343 Use field name for the hide-if statement
Field name without 'wp' prefix (which is used as the key in html descriptor) is required.
After I58f9df384df8ecc5ebae8cac68ec2251351bc984, values of fields that are supposed to be disabled would be loaded from default, use a miss-matched field name would be treated as disabled.
It works in UI now, but it's not a good idea to strip the 'wp' prefix on the server-side.

Bug: T298819
Change-Id: If98368ad400986afaef3187867f201044ebf0efb
2022-01-17 03:24:10 +00:00
jenkins-bot 7368a7d6e1 Merge "Add watchlist icon to Vector" 2022-01-14 17:19:43 +00:00
Ed Sanders da1fb74554 Sticky header: Wait for some repainting to happen after VE teardown
Waiting for one animation frame seems to make the sticky header
re-appear consistently.

Bug: T299114
Change-Id: Ie1230bf861f12e4e18a6adb0f6779c199d6954a1
2022-01-14 14:41:36 +00:00
Jon Robson dc6d020410 Add watchlist icon to Vector
Depends-On: I5b1af082503fe22ec6049784fc43b324534c5b95
Bug: T289619
Change-Id: Idda8c49fe2833f3a64d7cc6d6db91bb6c3cde07e
2022-01-14 01:25:11 +00:00
Jon Robson 591e1d296c [Refactor] simplify watchlist link generation and adopt new icon
Bug: T289619
Change-Id: I8309492881142d47eec4da5cc4aa5c6febbd1b35
2022-01-14 00:26:10 +00:00
Nicholas Ray 699579e646 Add clarifying comment for why scroll padding is applied to html tag.
Change-Id: I9f4b44536b1e8aace41c8699a0d1946a54aa0bfe
2022-01-13 11:59:59 -07:00
jenkins-bot 467283247c Merge "Cleanup: Only need to import one variable file" 2022-01-13 17:06:23 +00:00
Translation updater bot e05460d1b2 Localisation updates from https://translatewiki.net.
Change-Id: I83e653836c833a78498122d3397aabdc681afe62
2022-01-13 08:28:41 +01:00
jdlrobson f7e6e044dd Use configuration to skip vector-2022 skin
This allows us to manage changes going forward in configuration

Depends-On: If50fedaccf959f7ae74c86caf81555ef4f46abd1
Bug: T298923
Change-Id: I09e2b417b496678db0841354e90fdaf6237eb226
2022-01-12 22:32:13 +00:00
Jon Robson 5a0932835a Cleanup: Only need to import one variable file
Change-Id: I120a66ec7013d249e8c42e6e631ae568effaa925
2022-01-12 20:58:16 +00:00
jenkins-bot f6d9e155e0 Merge "SkinLessImportPaths should work on Vector 2022 edition" 2022-01-12 20:55:26 +00:00
Jon Robson df84ed42d2 SkinLessImportPaths should work on Vector 2022 edition
Change-Id: Ib3cf9c8820dc9baf1a2f85752b17e3dba3195f84
2022-01-12 11:38:27 -08:00
Translation updater bot 36981a3610 Localisation updates from https://translatewiki.net.
Change-Id: I46903f67df744e09c2a4a64e45d867ad8f9559ac
2022-01-12 08:26:59 +01:00
Clare Ming f4aafdd263 Update hook to check for new vector skin key.
Bug: T298916
Change-Id: I2946b773b8214cb277be61990df46b109a13748c
2022-01-11 16:44:20 -07:00
jenkins-bot 3159664ac7 Merge "Hide language button in sticky header if compact links disabled" 2022-01-11 21:22:02 +00:00
jenkins-bot 68b2bb23d1 Merge "Use .vector-search-box-auto-expand-width class to style intermediate search components" 2022-01-11 19:42:02 +00:00
Translation updater bot 2fa9ac3d66 Localisation updates from https://translatewiki.net.
Change-Id: I32d70849993cbbc8ca620af8d409613f5e495f72
2022-01-11 08:24:42 +01:00
Nicholas Ray 72120a36a0 Use .vector-search-box-auto-expand-width class to style intermediate search components
Before Vue/WVUI lazy loads, we have intermediate search components that
are rendered on the server and that need to be styled based on the
`autoExpandWidth` prop passed to the search component. This commit
refactors VueEnhancedSearchBox to use this class if present.

Additionaly:

* Cleanup fixmes from Id8d3bd4aa74113b91ecaf66cb58cf5625db8a302
* Replace `vector-search-box-show-thumbnail` class with
  `.vector-search-box-auto-expand-width` class in Header.less now that
  the class has been cached in the HTML.

Depends-On: Ic914ecaee591008f987bd6d754fda8628125de7b
Bug: T297531
Change-Id: Ia6b7afa990fa4b04578740b483ba21dbef45a016
2022-01-10 23:35:45 +00:00
Jon Robson cb94cf0ab9 Hide language button in sticky header if compact links disabled
Bug: T297579
Change-Id: I8d5294a986d76574284419efc7d384fc954a86c8
2022-01-10 14:42:26 -08:00
jenkins-bot 948f0392c9 Merge "Fix TypeError: document.querySelectorAll(...).forEach is not a function" 2022-01-10 20:59:09 +00:00
Nicholas Ray d9ef1ad66d Fix TypeError: document.querySelectorAll(...).forEach is not a function
Bug: T298910
Change-Id: Iaa67f36278af7805c5d915737d6b30e98b3f8484
2022-01-10 13:34:01 -07:00
Translation updater bot f8dd98ad6b Localisation updates from https://translatewiki.net.
Change-Id: I319b5e123f4d4b54da8a836a1f53d5155423d41e
2022-01-10 08:13:31 +01:00
jenkins-bot 25bfcf4d00 Merge "Ensure sticky header language button only shows when there are multiple languages and when ULS is enabled" 2022-01-07 23:42:51 +00:00
bwang 3dda2dda5b Ensure sticky header language button only shows when there are multiple languages and when ULS is enabled
Bug: T298705
Bug: T297579
Change-Id: Iae5db6fd0ec6ae66bb16e8579f14d3e799bf3cbd
2022-01-07 15:42:57 -06:00
jenkins-bot 0488310612 Merge "Restore gadget support to new internal skins" 2022-01-07 20:41:44 +00:00
jenkins-bot 84ed8343c2 Merge "Vector is split into 2 skins" 2022-01-07 20:16:57 +00:00
Translation updater bot 7476acadb6 Localisation updates from https://translatewiki.net.
Change-Id: I607c0571aa7c96dc574b02fcd39f52eb397530e1
2022-01-07 08:27:00 +01:00
jenkins-bot 97c3674d22 Merge "Reset scroll position when sticky header search input receives focus to fix Safari bug" 2022-01-07 01:30:45 +00:00
Nicholas Ray 416f4c3284 Use explicit line height for user menu items
IE11 doesn't support the `initial` value which results in hidden user
menu item text. Instead set an explicit value.

Bug: T298746
Change-Id: I89511419b2d2c753be96f9c1eb842ef80623bce7
2022-01-06 17:52:15 -07:00
jdlrobson 99cf6eb5be Restore gadget support to new internal skins
For vector-2022 skin:
* MediaWiki:Vector.css and MediaWiki:Vector.js are added via the
existing ResourceLoader hook.
* User:<name>/vector.js and User:<name>/vector.css are added via new
VectorResourceLoader modules

Bug: T297758
Change-Id: I37e9a9d353695502213c7a651530995252d9505f
2022-01-07 00:18:17 +00:00
jdlrobson 7d2d50873f Vector is split into 2 skins
A new vector-2022 skin is added. This will be the eventual home
of the new Vector skin when we are ready to migrate.

Please see SkinVector class for the migration plan to simulate this
as part of testing.

Bug: T291098
Change-Id: Ibaddf94a5bfb5e21bbbaf1e0aa1b343a3f566d2d
2022-01-06 15:52:10 -08:00
Nicholas Ray 17e742e2ab Reset scroll position when sticky header search input receives focus to fix Safari bug
I haven't found any code responsible for making the scroll position
jump. It looks like Safari is doing this on its own. Looking at the
focus event in detail [1], it looks like there is an `preventScroll`
option you can pass to .focus() which might help in this situation, but
unfortunately, Safari doesn't seem to support this. Therfore, a hack
like this may be necessary.

[1] https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus

Bug: T297636
Change-Id: I90651293b7dd0f7f2970ba06255a12617b43661f
2022-01-06 15:30:21 -07:00
bwang dca94de026 Fix caction menu button from having a width that's 1px too small
Bug: T294883
Change-Id: Ibda07f60d8e94305d36a6bdc2c095b1a93dd6cba
2022-01-05 20:55:43 +00:00
jenkins-bot 42fec59f54 Merge "Refactor search component expand behavior and add auto-expand-width prop to search component" 2022-01-05 17:52:35 +00:00
Translation updater bot 142d6614c5 Localisation updates from https://translatewiki.net.
Change-Id: I0694072b377f82a537b5128518e31a281e801c5a
2022-01-05 08:17:28 +01:00
Nicholas Ray 3028a4f9d8 Refactor search component expand behavior and add auto-expand-width prop to search component
In preparation for I30c670e3f195f77a27715c6b494a3088b7a55712, refactor
the search component expand behavior so that it can accomodate the new
changes in WVUI while maintaining backwards compatibility with the
status quo.

Additionally, pass/enable the `auto-expand-width` prop to the main
header's search. This will be inert until the new changes in WVUI have
landed.

Bug: T297531
Change-Id: Id8d3bd4aa74113b91ecaf66cb58cf5625db8a302
2022-01-04 15:14:49 -07:00
jenkins-bot dce2ea9566 Merge "Update Abkhaz language name" 2022-01-04 17:01:02 +00:00
Translation updater bot b1ec274b4a Localisation updates from https://translatewiki.net.
Change-Id: I34f31ccaa68a80a2878b0a6407eeb43acc80ce55
2022-01-04 08:29:39 +01:00
Translation updater bot b302054e98 Localisation updates from https://translatewiki.net.
Change-Id: Ife2af7ef89bd703abb02e83c2678e21b30bdb92e
2022-01-03 08:13:01 +01:00
Translation updater bot c7966b2041 Localisation updates from https://translatewiki.net.
Change-Id: I3514243feb90ac9831d4188a30cba788f12ddab1
2021-12-30 09:39:22 +01:00
Translation updater bot 2d8246e11f Localisation updates from https://translatewiki.net.
Change-Id: Ic9b33e22bad39df40bdab2225c7a8ad6681a5542
2021-12-27 09:33:10 +01:00
Amir E. Aharoni b064c131d6 Update Abkhaz language name
Bug: T298309
Change-Id: I735da5e1ce214fa41d4401274daa3ad361987344
2021-12-25 14:08:46 +02:00
Translation updater bot 939c89a72b Localisation updates from https://translatewiki.net.
Change-Id: I1807c6fa10d4d9d82266875481dccd8137ab493a
2021-12-24 09:11:05 +01:00
Translation updater bot 69a91758a0 Localisation updates from https://translatewiki.net.
Change-Id: Ibe92055267945b84e3d6f4389940387bc52b8aa2
2021-12-23 08:39:55 +01:00
jenkins-bot eccf02edfc Merge "Fix dependencies for debug mode" 2021-12-22 15:35:23 +00:00
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
jdlrobson d8010c321a Fix dependencies for debug mode
Saw Query.Deferred exception: mw.user.getId is not a function
when using debug mode due to missing dependency

Change-Id: I9ff89e5632da6941bce77b079dee36f47a5fbcc8
2021-12-21 23:00:12 +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
jenkins-bot fa5cf0890a Merge "Use sans-serif for figures" 2021-12-07 22:12:00 +00:00
Arlo Breault 4df9857726 Use sans-serif for figures
This matches the .thumb class for the new media structure.

Bug: T287965
Change-Id: I55c2f8fdc6c1b882bd1c7b8411e7aa5c475ead3c
2021-12-07 21:44:21 +00:00
Jan Drewniak aa44696222 Align `mw.notify()` alerts to avoid overlapping sticky header
Aligns the notifications produced by `mw.notify` so that they don't
obstruct the sticky header or usage of elements inside the sticky header.

Bug: T260338
Change-Id: If00f27ec19e71f6803231678fbb733ffaa6c6aaf
2021-12-07 14:41:46 -05:00
jdlrobson fbc5241c45 [Documentation] Document decision in T293441 in code
Not 100% clear why it works this way so recording.

Change-Id: I8c6eb4c1e17916fe06b071dfc98f1c0d4529731d
2021-12-07 18:48:45 +00:00
Translation updater bot 13744f3bad Localisation updates from https://translatewiki.net.
Change-Id: Ica4ebff670a3734db02776c3e7b993272c7586f6
2021-12-07 08:13:47 +01:00
jdlrobson bb0b3373c7 Mount search to parent node of search form
Follow up to 5dee570cb2.

It seems the mount works slightly different in that it creates a div,
appends by the App element to the element you give it, after
clearing all it's child nodes.

The previous behaviour was that the old element was /replaced/
by the App element.

Bug: T296889
Change-Id: Iee7493c032f4de5389207bba288a1a70e4cd14f3
2021-12-06 22:42:31 +00:00
Translation updater bot 2088dd9793 Localisation updates from https://translatewiki.net.
Change-Id: I901a2fdac5cc80a724e3935b664c0de53a1b5833
2021-12-06 08:22:19 +01:00
jdlrobson d834329e15 [Sticky header refactor] Separate responsibilities
Move A/B test code to AB.js
Consolidate the show/hide code spread across scrollObserver
and stickyHeader by adding a show and hide function.

This is needed to fix T296680

Change-Id: Ia2e0c50278df0dfc1600610f281be20f4cc755c2
2021-12-03 14:30:10 -07:00
Translation updater bot 2bccc4e8d4 Localisation updates from https://translatewiki.net.
Change-Id: I593a9f1928a56147a565cd998f98ad92f95bf96d
2021-12-03 08:44:59 +01:00
jenkins-bot 23ac01428b Merge "Update search box margin in sticky header." 2021-12-02 22:37:36 +00:00
Translation updater bot bee9ef0695 Localisation updates from https://translatewiki.net.
Change-Id: I2e71fc39621751dfc4800dc574c91ae6c4571a69
2021-12-02 08:44:29 +01:00
Clare Ming 37c9a24f75 Update scroll observer to allow event logging
- Permits logging for scroll events without sticky header.
- Update function name to be more precise.

Bug: T292586
Change-Id: I441b4bf81bc4a36a03f0f1c215d86b01dce2911d
2021-12-01 16:12:06 -07:00
Clare Ming f45cd69381 Update search box margin in sticky header.
Bug: T296318
Change-Id: Icc70723a79ca9b2632229226ef43a1d29d025d09
2021-12-01 22:52:30 +00:00
Translation updater bot ca251c25f8 Localisation updates from https://translatewiki.net.
Change-Id: Ifc1ad14f60b9b6d7c983b2993541030fd70c30be
2021-12-01 08:16:56 +01:00
jdlrobson f0ed70d709 Restores language button icon font size
The font size of icons should never be changed. Since it's also a span

Bug: T296212
Change-Id: I8bf4e9a7d43a9e5206d3ff6d89e2c3f74fa0d25a
2021-12-01 01:08:49 +00:00
Translation updater bot 0b232afc06 Localisation updates from https://translatewiki.net.
Change-Id: Ibc1f508538927b4bf8bef1aabd46b69a21c0042a
2021-11-30 08:24:03 +01:00
vladshapik 262a520a2c Avoid using User::getOption
Remove using of User:getOption since this method
will be hard-deprecated. Now it is soft-deprecated.

Bug: T296083
Change-Id: I3194a9c1c5c70592f88bc4dbedc78846d1141768
2021-11-29 23:46:05 +00:00
jenkins-bot 8c19f565d1 Merge "Update style for page title in sticky header" 2021-11-29 23:11:58 +00:00
jenkins-bot 0b8c30cc25 Merge "Update sticky header height." 2021-11-29 22:56:37 +00:00
Translation updater bot abecd7b66d Localisation updates from https://translatewiki.net.
Change-Id: I782ae1872950d14a6320b31d8cd95c8ebdc646d3
2021-11-29 08:14:31 +01:00
Translation updater bot 6d7ba2bca6 Localisation updates from https://translatewiki.net.
Change-Id: I7df367a116031aee0ce653ce3c04ac84cbef2e70
2021-11-25 09:04:24 +01:00
Clare Ming d8eff021e1 Update sticky header height.
Bug: T296321
Change-Id: Ic8efa9404282a98aee37dcf9ba33a0b26d6abaff
2021-11-24 14:20:31 -07:00
Clare Ming 101c438c02 Update style for page title in sticky header
Bug: T296320
Change-Id: I0deabfb598e92f07296824c94a9c7c81daefe486
2021-11-24 13:59:16 -07:00
jenkins-bot 1c96e32b6f Merge "Remove unused markup icon" 2021-11-24 20:21:55 +00:00
jenkins-bot 409405474a Merge "Update sandbox user menu icon" 2021-11-24 19:35:51 +00:00
Translation updater bot a8c243134d Localisation updates from https://translatewiki.net.
Change-Id: Ia685ce317233109b5552b409394b6a6df26b5859
2021-11-24 08:24:38 +01:00
bwang a364e93d94 Remove unused markup icon
Bug: T288928
Depends-on: I553bbcc9f1a98d75e160ede7a66ffcf6510fa28a
Change-Id: I4c4ce87012325c239838de7dc0a7555ba6298d2b
2021-11-23 17:26:10 +00:00
bwang 3981333271 Update sandbox user menu icon
Bug: T288928
Change-Id: I9b781ade0cdc1114dc1cb2aa087fb49bf8aa4acd
2021-11-23 11:21:45 -06:00
jenkins-bot 5e7dc81e38 Merge "Ensure sticky header ULS is tracked by DesktopWebUIActionsTracking" 2021-11-23 16:09:45 +00:00
jenkins-bot ed4ec0079a Merge "HTMLLegacySkinVersionField: accept string 'default' value" 2021-11-23 11:27:41 +00:00
Translation updater bot 5c9f05c105 Localisation updates from https://translatewiki.net.
Change-Id: Ia5dd5e7d8dab4534b6ede62530b2ac0e014af44f
2021-11-23 08:28:11 +01:00
MusikAnimal 5207a15b91 HTMLLegacySkinVersionField: accept string 'default' value
After I628435a4a, we were asserting a boolean was given because we're
extending HTMLFormField which requires a boolean value. This was safe
because GlobalPrefs would provide a boolean, but that changed with
I594f6297.

We could rework GlobalPrefs once again to ensure only a boolean is
passed in, but since HTMLLegacySkinVersionField already has special
handling around the data types, it seems to make sense to contain the
type transformation in this class.

Simply removing the Assertion is enough to prevent T296068, however
depending on when the global preference was saved (such as since MW
1.38.0-wmf.9 but before wmf.10), it's possible either a bool or a string
was saved, hence we check for both to ensure correct display.

Bug: T296068
Change-Id: If10b948617d2bb8346475f207fe425fb768cb987
2021-11-23 00:57:25 -05:00
Translation updater bot ed61ffc192 Localisation updates from https://translatewiki.net.
Change-Id: Ia362619cfa11f461d83e9eca2419661d1be86ecb
2021-11-22 09:05:48 +01:00
bwang 90a3a226e7 Ensure sticky header ULS is tracked by DesktopWebUIActionsTracking
Bug: T289815
Change-Id: I1960614e12a50a20af157874b925610d29dfa2c7
2021-11-19 16:51:37 +00:00
Translation updater bot b8d0ee861b Localisation updates from https://translatewiki.net.
Change-Id: I9b9761cc1044e8037314ccd1557caebfe455dd84
2021-11-19 08:31:17 +01:00
bwang 54639c4af3 Fix icon button spacing, make it consistent with margin defined in core
Since a margin was added to adjacent sibling spans of icons (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/736919), Vector icon buttons have had too much spacing. This patch removes the extra spacing defined in Vector CSS and the accidental whitespace that was included in the ULS buttons..

Change-Id: I308d1941c5f82cb144c2a9d233fbf44c730413a7
2021-11-18 18:55:00 +00:00
Translation updater bot 4cbfdcb2f7 Localisation updates from https://translatewiki.net.
Change-Id: I6b66bcc6dcc1d27b820e3d8360a66fe419218c9a
2021-11-18 08:44:01 +01:00
Clare Ming ea0fccb5b8 Disable edit button in sticky header for logged users.
Bug: T294926
Change-Id: I9c987a6962155b04b161111e1a1783d750fee74b
2021-11-17 13:54:02 -07:00
Translation updater bot d3e7ce493b Localisation updates from https://translatewiki.net.
Change-Id: I909f89e2042be6b526b2b340bc4db1942a533ddd
2021-11-17 08:32:23 +01:00
Translation updater bot 633275e093 Localisation updates from https://translatewiki.net.
Change-Id: Ica5e8e60220689ba2b5fb9521e45271e78133215
2021-11-16 08:17:34 +01:00
jenkins-bot 611af67401 Merge "Revert "Fix font size in editor preview"" 2021-11-15 20:11:19 +00:00
Esanders ad9492896d Revert "Fix font size in editor preview"
This reverts commit 058551e9b9.

Bug: T287733
Bug: T295712
Change-Id: Ic239d1334f09d2a1ecbb7f28d69abd0a349128e5
2021-11-15 18:03:50 +00:00
Translation updater bot 1d8b6d5d38 Localisation updates from https://translatewiki.net.
Change-Id: I96f516e20ecb200aa5104c3f32be22d421050f19
2021-11-15 08:15:52 +01:00
Umherirrender 0c154bba36 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Ic16a1f89fc5ccae3eddd31b1d566128e60592b90
2021-11-13 19:01:31 +01:00
jenkins-bot 4982868628 Merge "search: Prepare for Vue 3 migration" 2021-11-13 00:09:18 +00:00
jdlrobson 058551e9b9 Fix font size in editor preview
Depends-On: I7eaef3ef89a23932edd5abdd74703eb3297ee061
Bug: T287733
Change-Id: I42c6a8da06d1ab9c4d546b940bc4d627b118e2a6
2021-11-12 17:50:31 +00:00
bwang b196d68326 Use searchFooterText slot in typeahead search component
- Create new 'vector-searchsuggest-containing' translation for WVUI search footer text
- Use 'search-footer-text' slot in WVUI typeahead search
- Remove instances of old 'footerSearchText' prop

Bug: T290392
Depends-on: I8fb7761e60be330e58cd017872318fe3675c0be1
Change-Id: I9c946f85c3e4a603c362c3ea4b8016c585cdd212
2021-11-12 10:47:55 -06:00
Translation updater bot 7a57ae93fe Localisation updates from https://translatewiki.net.
Change-Id: I772990e90deee00bc966f2f064e5efe1b81d4828
2021-11-11 10:04:42 +01:00
jenkins-bot 39ffd2c8e3 Merge "Revert "Apply typography rules to `.mw-body-content` elements outside `.vector-body`"" 2021-11-10 20:58:37 +00:00
Jdlrobson 0b6636d587 Revert "Apply typography rules to `.mw-body-content` elements outside `.vector-body`"
This reverts commit da832cc53d.

Reason for revert: Bartosz reports this made
things worse, so probably best to go with
the VisualEditor selector approach.

Change-Id: Ifcb18c7a388986df44424f9a58be35314c3d3e2c
2021-11-10 15:07:19 +00:00
jenkins-bot e95e48ce51 Merge "Add scroll event + init A/B test logging to sticky header, AB js" 2021-11-09 23:26:17 +00:00
Clare Ming 457dcfc472 Add scroll event + init A/B test logging to sticky header, AB js
- Pull IntersectionObserver into new file to share observer with different callbacks:
  - Wrap show/hide functionality of sticky header in conditionals based on user test group or by default.
  - Fire hooks for scroll event tracking in WME.
- Add new js for A/B test functions and variables:
  - Fire hook to send data for A/B test initialization.
- Update main js to include scrollObserver, A/B test init functionality.
- Add A/B test config.
- Update ResourceLoader package dependencies for sticky header.
- Though not a strict dependency, see I42e3e7c2084c1e88363d5d1662630ed23a28c4d2 in WME repo which uses these hooks to log scroll events.
- This patch includes changes from I56f40e706f8706fde1c0891a0561dd32c5e02bfc which were consolidated here for simplicity and ease of review - related to T292587 which calls for logging an init event for bucketing of users during A/B testing.

Bug: T292586
Change-Id: If6446e1e84cea3649905808c4f0e9f6862255fa3
2021-11-09 15:00:25 -07:00
jenkins-bot e3b5356aab Merge "Apply typography rules to `.mw-body-content` elements outside `.vector-body`" 2021-11-09 21:38:11 +00:00
jenkins-bot 4efa75aa7f Merge "Fix specificity of widespread `.external` selector" 2021-11-09 17:14:03 +00:00
jdlrobson da832cc53d Apply typography rules to `.mw-body-content` elements outside `.vector-body`
Bug: T287733
Change-Id: Ib737f215104b2aa234bf694e734de12fccff2fc3
2021-11-09 06:32:01 +00:00
Translation updater bot 63af267555 Localisation updates from https://translatewiki.net.
Change-Id: Ic5cf468df7639856dbcc7450f32db46e47519e7b
2021-11-09 07:31:41 +01:00
Volker E 2ba2af97cf Fix specificity of widespread `.external` selector
Returning to `a.external` over only `.external` as it's used widely
within MediaWiki and skins and it needs to kick in in appropriate
places.
`.external` is besides one false positive only for anchor elements,
nonetheless more specific is simpler and more fail-safe than the
other way round.

Change-Id: I3e2fec26d1f835b11f9a66fdf4ba7faeca12d9d2
2021-11-08 21:58:57 -08:00
Translation updater bot a20bf464b3 Localisation updates from https://translatewiki.net.
Change-Id: Iaa8925f1fa698a237b90b5e0fbf493809129c1cf
2021-11-08 08:19:02 +01:00
Roan Kattouw 5dee570cb2 search: Prepare for Vue 3 migration
Port the initialization code for the Vue search to use Vue.createMwApp()
instead of new Vue( ... ). The former mimicks Vue 3's API for mounting
components.

Without this change, this code breaks in Vue 3 (even in compatibility
mode) because the compat support for new Vue(...) is imperfect. By the
time renderFn is called, the searchForm container has already been
emptied by Vue's internal mounting code.

Instead, inspect searchForm and generate the prop list before mounting,
then pass the props to createMwApp() and mount the component.

Bug: T294476
Depends-On: I1fcdcf7bf87f5af2deb9763a231f2c360ea45b23
Change-Id: I5b6e66051d97e75f8f03b8258894daba22525797
2021-11-05 15:53:34 -07:00
jenkins-bot 04ff34bd0c Merge "Initialize the skins.vector.es6 module before the skins.vector.js module" 2021-11-04 18:11:29 +00:00
Translation updater bot ac481991e6 Localisation updates from https://translatewiki.net.
Change-Id: I1a8224d993adff5b85afd5b071eba88ab621fe06
2021-11-04 10:09:25 +01:00
jenkins-bot 2d501e987c Merge "Add comment to dropdownMenus.js regarding the CHECKBOX_HACK_BUTTON_SELECTOR" 2021-11-03 17:47:00 +00:00
Nicholas Ray c741759cab Initialize the skins.vector.es6 module before the skins.vector.js module
stickyHeader.js, a file in the "skins.vector.es6" module, clones the
user menu. Because of this, it must initialize before dropdownMenu.js, a
file in the "skins.vector.js" module, in order for dropdownMenu.js to
bind the correct checkboxHack event listeners to the user menu in the
sticky header.

Therefore, change the es6 module to export its main method. The
skins.vector.js module can then use mw.loader.using to ensure the
skins.vector.es6 module initialization happens first in browsers that
support es6. Browsers that don't support es6 will continue to initialize
the skins.vector.js module.

Bug: T291096
Change-Id: I1bb6f2da9703ed2679eacfdb42b9818efe614ab9
2021-11-03 11:03:18 -06:00
Translation updater bot 89b98d68b4 Localisation updates from https://translatewiki.net.
Change-Id: Ie14f5eba012ac013cff825fdc123085105e5c824
2021-11-03 08:22:59 +01:00
Nicholas Ray 7f58c88934 Add comment to dropdownMenus.js regarding the CHECKBOX_HACK_BUTTON_SELECTOR
Per request [1], a clarifying comment was added explaining that our
checkbox hack implementation has drifted from the core's recommendation.

[1] https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/732732/2/resources/skins.vector.js/dropdownMenus.js#7

Bug: T291096
Change-Id: I3a5bc9d463bace11185affbb21320d86fc1c5d99
2021-11-02 17:58:52 -06:00
Translation updater bot ea0f0a26fd Localisation updates from https://translatewiki.net.
Change-Id: Ib77428aa8c7473ecbed0fe6d43b3b127b8f2cbe1
2021-11-01 09:36:48 +01:00
Translation updater bot 43f6b74b6b Localisation updates from https://translatewiki.net.
Change-Id: I83035de7b29bc9c4ca49a2f015b1aea33f987094
2021-10-29 08:24:04 +02:00
Translation updater bot 9e81c8434e Localisation updates from https://translatewiki.net.
Change-Id: If87d6cf38a3f73b5830de352be80096865051748
2021-10-28 08:31:48 +02:00
jdlrobson 768a07ec6c Add sticky header edit feature flag
Can be disabled via &vectorstickyheaderedit=0 or configuration
change.

This will allow us to fine tune the edit features without blocking
deploying the existing feature.

Bug: T294383
Change-Id: Ic282ea4f2ff0108eeaa154c8a77e4e5fd30daeae
2021-10-26 21:59:29 +00:00
jenkins-bot 34d77d5e41 Merge "Sticky header edit icons trigger via JavaScript" 2021-10-26 17:32:50 +00:00
jenkins-bot 5641a38edf Merge "Fix title getting cut off in sticky header." 2021-10-26 15:51:01 +00:00
Translation updater bot 85d05d7a9a Localisation updates from https://translatewiki.net.
Change-Id: I764bc19247ebf3f036714def5170096ce8d0a6ce
2021-10-26 08:20:19 +02:00
Clare Ming 741d59df06 Fix title getting cut off in sticky header.
- Add padding to title class selector.

Bug: T289814
Change-Id: Iab167414d10ce256be8e966f115ae164c1bd3331
2021-10-25 20:51:43 -06:00
jenkins-bot 68aa856916 Merge "Remove duplicate `vector-menu-dropdown` class" 2021-10-25 22:59:52 +00:00
jdlrobson 0663087dd5 Sticky header edit icons trigger via JavaScript
Current expected behaviour: the editor experience will
load and the user will be thrown to the top of the page.

Bug: T293158
Change-Id: I3585616c2244a6b91ef5f160beb1cf51af3599aa
2021-10-25 22:35:13 +00:00
jenkins-bot c822029e38 Merge "Combine return paths in getLanguagesCached" 2021-10-25 21:52:02 +00:00
Nicholas Ray 24dbcd1a1a Remove duplicate `vector-menu-dropdown` class
This class is already being added via SkinVector::decoratePortletClass
so the one in the Menu template can be removed.

Bug: T291096
Change-Id: Icb9fa7a1e583ad4ef0138c5bd069aa68598c9b6e
2021-10-25 09:55:42 -06:00
Translation updater bot 028f3e7316 Localisation updates from https://translatewiki.net.
Change-Id: I099186b3472e8bf636d7b9710492c06250a50a84
2021-10-25 08:55:49 +02:00
Fomafix 574bbfd549 Combine return paths in getLanguagesCached
Also use single quotes instead of double quotes and fix typos.

Change-Id: Ibfd855f55f38ea824d38ad858b654d8229838cd1
2021-10-23 12:55:37 +00:00
Translation updater bot 4768a3695d Localisation updates from https://translatewiki.net.
Change-Id: I49207f7ba86f7fea8e3f4da0c5a0140685238820
2021-10-22 08:16:43 +02:00
jdlrobson ca0401789d ES6-ify sticky header code
- Can now use const/let
- No need for feature detection for things like fetch and closest
as we can assume they exist if ES6 support is available

Change-Id: I85b01add13fd74e1514119498815403e42a09af0
2021-10-21 23:44:30 +00:00
jdlrobson b8122cc40b Separate code from ES6 browsers from ES5 code
This will allow us to write ES6 code for the new features which
is limited to those browsers.

For browsers that do not support ES6, the code will not execute
because of the "es6" flag. Doing this will help us avoid issues
like T293402

Change-Id: Iffb7098cb22395e33b87352fb4f08516f6f25e6f
2021-10-21 15:55:04 -07:00
jenkins-bot 62347f0a74 Merge "Make dropdown menus toggle with enter key" 2021-10-21 20:22:41 +00:00
Nicholas Ray 876d3ddf39 Make dropdown menus toggle with enter key
Bug: T291096
Change-Id: Ia5d1a33aa04dab09f1454ade4816fdb9d48f1eca
2021-10-21 09:59:58 -06:00
jdlrobson c16fa80006 Sticky header: Add user page link to user menu in sticky header
Bug: T292557
Change-Id: Ia72c214ef6384dfeae21556aa4007eb6075f0057
2021-10-21 15:15:51 +00:00
Translation updater bot 1c3dde072b Localisation updates from https://translatewiki.net.
Change-Id: I1e8beed945466dc89ec154e885ef79209287bb8f
2021-10-21 08:24:30 +02:00
Translation updater bot b87a979d26 Localisation updates from https://translatewiki.net.
Change-Id: I7a72e3709125d3db4223bc33eefaf1d84e37a120
2021-10-20 08:40:09 +02:00
jdlrobson ae28c427d6 Vector should be notified by addPortletLink to collapsible where needed
Bug: T139830
Change-Id: Ibf17a3df7f9409a02f1a316d5da16b32fabcc5a2
2021-10-19 23:24:28 +00:00
jenkins-bot b1dd172a5f Merge "[a11y] Add title attributes to logout, talk and history and DRY up code." 2021-10-19 16:36:58 +00:00
jdlrobson 358d81ddce [a11y] Add title attributes to logout, talk and history and DRY up code.
* Addresses feedback in:
** T289816#7440605
** T283505#7440585
Change-Id: I98abdab8c3eb20567af527e6a8bf75faa5670d6b
2021-10-19 08:47:00 -07:00
jenkins-bot 7b63f7c751 Merge "Define documentable types in eslintrc instead of inline" 2021-10-18 21:14:26 +00:00
Clare Ming fa15608f3e Fix article title in sticky header template.
Bug: T289814
Change-Id: Ie12097f722053eb9efb557a1e9668d26104a7091
2021-10-18 14:00:47 -06:00
Ed Sanders 90b5ff5149 Define documentable types in eslintrc instead of inline
Change-Id: I80f0557a6355208d2694f3776cce2ee858573a9c
2021-10-18 18:08:32 +00:00
bwang a1b523a9d5 Avoid calling forEach on searchbox NodeList for older browsers
Bug: T293402
Change-Id: Ic2d10ca9c664c284fc9b5433b5ff1cc32d98c960
2021-10-18 17:56:05 +00:00
Translation updater bot ea58308a48 Localisation updates from https://translatewiki.net.
Change-Id: I68d3a0b8a1c1ed12ef53addf110cdeb5e917f663
2021-10-18 15:24:59 +02:00
jenkins-bot 041496585b Merge "Revert "Use searchFooterText slot in typeahead search component"" 2021-10-13 15:01:39 +00:00
Bernard Wang 7575cf97a5 Revert "Use searchFooterText slot in typeahead search component"
This reverts commit b7728ddda5.

Reason for revert: Depends on WVUI release

Change-Id: If97551a8609433b569fbc88800a7bf9ffc137587
2021-10-13 14:34:08 +00:00
Clare Ming 6c009f87c0 Make edit icons in sticky header untabbable for VO/screen readers.
Bug: T290201
Change-Id: I5248db6ab29b1a9a995a5053d84e63cfb7b9fd93
2021-10-12 16:02:52 -06:00
jenkins-bot 529ccd1a86 Merge "Use searchFooterText slot in typeahead search component" 2021-10-12 21:34:45 +00:00
Alexander Vorwerk e924b9b01c MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I9f8c1e134e9de9e7142ea18e2a9b903e6583cfdb
2021-10-12 01:10:33 +02:00
jenkins-bot e85783cb12 Merge "Update vector-intro-page translation description" 2021-10-08 21:47:39 +00:00
bwang ef889fec69 Update vector-intro-page translation description
Change-Id: I288f5d47cf272bfdfca5c2f5bba1445942cc4571
2021-10-07 16:27:08 -05:00
jdlrobson ba7d228cea [cleanup] Drop unused messages
Messages listed in ValidSkinNames must be used in a template.
None of these messages are used in templates (confirm by prefixing
with msg- and searching the repository.

Change-Id: I77387d67c27888d9726b1f67aaea484abddc4e2e
2021-10-07 17:03:12 +00:00
Translation updater bot 0cef8deeb8 Localisation updates from https://translatewiki.net.
Change-Id: Ib3fcbfae0103bffb35b11eb09431c7fd78ec4a36
2021-10-07 09:05:26 +02:00
bwang b7728ddda5 Use searchFooterText slot in typeahead search component
- Create new 'vector-searchsuggest-containing' translation for WVUI search footer text
- Use 'search-footer-text' slot in WVUI typeahead search
- Remove instances of old 'footerSearchText' prop

Bug: T290392
Depends-on: Ic92721d5aaf6b833c882a26e9a60b42ab91546fa
Change-Id: I34a184cc8f10172a7ebf67981731c3694d008446
2021-10-06 11:37:26 -05:00
Clare Ming c4d1d8c579 Switch order of edit icons in sticky header.
Bug: T289723
Change-Id: If54184eb28d32a189e539c74967918241ddcae41
2021-10-06 09:32:35 -06:00
Translation updater bot 755b20d8ad Localisation updates from https://translatewiki.net.
Change-Id: I61836dc3bad629ee24354ad1a99473e108b56af1
2021-10-06 09:30:23 +02:00
jenkins-bot 06475e55e7 Merge "Remove @min-width-logo, @margin-top-sidebar variables from screen.less" 2021-10-05 23:59:41 +00:00
jenkins-bot 29b35c25ac Merge "Add edit icons to sticky header" 2021-10-05 23:49:35 +00:00
Clare Ming 67e7eab714 Add edit icons to sticky header
- Add edit icons.
- Update data passed to sticky header, button templates.
- Show/hide edit icons client-side based on ids in fixed header.
- Disable sticky header when in Visual Editor mode.
- Use Visual Editor hooks to toggle IntersectionObserver.
- Remove extraneous js for setting offsets for other sticky elements (simplify by moving known sticky element th to css - follow up to https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/722475/comment/7b8ab2db_cd5c7e78/).

Bug: T289723
Change-Id: Ifbab2f1c4d716f8fc261e3d7fa35fc71c6065ec5
2021-10-05 23:31:19 +00:00
Nicholas Ray 87b565a5f0 Remove @min-width-logo, @margin-top-sidebar variables from screen.less
AFAICT these variables are unused.

Change-Id: I675de18cf4b2bb0b7aa913d4ad5801ca0e7eb155
2021-10-05 16:53:52 -06:00
jenkins-bot a2a6aabb6c Merge "Address cache related FIXMEs" 2021-10-05 22:20:12 +00:00
jdlrobson 95e3271e79 Address cache related FIXMEs
Follows up the sticky header search refactors
in caed16e

Change-Id: I5832bc04f0c675ff8bc1a00fff17b6b9f8399e6e
2021-10-05 21:53:09 +00:00
jenkins-bot ba00180eed Merge "Logo scales with font-size" 2021-10-05 19:21:04 +00:00
Translation updater bot 338a9eeb8b Localisation updates from https://translatewiki.net.
Change-Id: Ia78dc95a20961a2e1e838f01313b1816f90fa691
2021-10-05 08:31:29 +02:00
jenkins-bot bf3e17ab1c Merge "Replace getVectorMenu function with jQuery equivalent" 2021-10-04 19:00:45 +00:00
bwang 8758f87c4b Replace getVectorMenu function with jQuery equivalent
Bug: T292319
Change-Id: I9c9a179b3bcce9eccdf7037818823568f77f2b35
2021-10-04 17:55:49 +00:00
Translation updater bot 6960919063 Localisation updates from https://translatewiki.net.
Change-Id: Ib2b193edef177d4c02cbdeed7472fe74c8d4c78f
2021-10-04 08:58:36 +02:00
Translation updater bot d1b9eb9c04 Localisation updates from https://translatewiki.net.
Change-Id: I33e3809d051b3b694d52acaaf2ccf9d37eaf1a30
2021-10-01 09:31:34 +02:00
jenkins-bot 17ccb9ab3a Merge "Accommodate other sticky elements with sticky header" 2021-09-30 23:17:26 +00:00
Clare Ming e30c3408cf Accommodate other sticky elements with sticky header
- Update sticky header js to apply top offsets.

Bug: T289817
Change-Id: Id0e7bf7b018fbbfb2a9c1932314bf67f245b465d
2021-09-30 16:35:55 -06:00
bwang 405b52054f Update sticky header to be hidden to screen readers and not tabbable
- Adds aria-hidden="true" to the sticky header
- Adds tabindex="-1" support to Button.mustache and update sticky header button data
- Add tabindex to cloned user menu

Bug: T290201
Change-Id: I270db0485f08af310fb40365703da1efc07d3cb9
2021-09-30 09:47:57 -05:00
Translation updater bot cc8ff2170f Localisation updates from https://translatewiki.net.
Change-Id: Icd074626c3a6b649c3a8d91f1afc6bce79e3fa9c
2021-09-30 08:59:25 +02:00
jenkins-bot 74736571e7 Merge "templates: Move spaces into conditions for cleaner html" 2021-09-29 22:39:06 +00:00
jenkins-bot 8419d063cc Merge "Restore original more menu padding in legacy Vector" 2021-09-29 22:20:59 +00:00
jenkins-bot ac3382e91c Merge "Add scroll padding to the root element when the sticky header is enabled" 2021-09-29 22:18:05 +00:00
jdlrobson 4e8a3186a6 Restore original more menu padding in legacy Vector
One of the goals with desktop improvements is to not make any
visible changes to the original Vector skin.

In T289163 we wrapped links in a span, and moved the font-size
declaration to the span. The padding of the link is now applying
with font-size 16px.

Bug: T289163
Change-Id: Ifbf6f7a4c5cb6fda6389b33fc9962bdb03dd1f43
2021-09-29 21:33:38 +00:00
Nicholas Ray 1209b388e9 Add scroll padding to the root element when the sticky header is enabled
When the sticky header is visible, it has a global impact on the
scrolling UX. For example, it can undesirably overlap elements when the
user clicks on a jump link and when the user tabs through elements in
reverse order. Therefore, we need to add scroll padding to the root
element when the sticky header is enabled (when the feature flag is on
and at higher resolutions)

Known limitations:

* Scroll padding is supported by all the latest modern browsers except
for Safari [1]. This was considered an acceptable tradeoff with the
caveat that this decision may be revisited in the future as we learn
more about user interaction with the sticky header.

[1] https://caniuse.com/mdn-css_properties_scroll-padding-top

Bug: T290518
Change-Id: Ie5eb01d7eafd18ce740be620dfb5c8849386af6e
2021-09-29 14:25:26 -06:00
Umherirrender 5e4b0ef26a templates: Move spaces into conditions for cleaner html
When looking at raw html it always looks like something is missing when
there are trailing or leading spaces on attributes.
Just move the space into the conditions and it looks better.

Change-Id: I2a8d3246c43b8345eb819eae5887a39f68cfbdc0
2021-09-29 14:06:07 +02:00
Translation updater bot 67c309e27f Localisation updates from https://translatewiki.net.
Change-Id: Ibedf20d3ba84e86857e3785504147d09252d7469
2021-09-29 09:03:36 +02:00
jdlrobson e12fe1dbb0 Logo scales with font-size
Bug: T291895
Depends-On: Ie86a5b59fbf93a400796a4cac3724207830092b5
Change-Id: I194a11316e8ac68319f41c6a79b2c9cd081a4b66
2021-09-28 21:44:53 +00:00
Translation updater bot 253442da67 Localisation updates from https://translatewiki.net.
Change-Id: I46975cd7cc46cddf42b4d32bd08e65f4bbe33a34
2021-09-28 08:20:39 +02:00
448 changed files with 24803 additions and 8951 deletions

View File

@ -1,5 +1,7 @@
/.storybook/
/docs/
/a11y/
/i18n/
/node_modules/
/vendor/
/coverage/

View File

@ -11,6 +11,7 @@
"ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."
],
"no-implicit-globals": "off",
"compat/compat": "warn"
"compat/compat": "warn",
"mediawiki/class-doc": "off"
}
}

27
.eslintrcEs6.json Normal file
View File

@ -0,0 +1,27 @@
{
"root": true,
"extends": [
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"env": {
"browser": true
},
"globals": {
"exports": true
},
"parserOptions": {
"sourceType": "module"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"VectorHeaderObserver": "VectorHeaderObserver"
}
}
},
"rules": {
"mediawiki/class-doc": "off"
}
}

3
.gitignore vendored
View File

@ -20,8 +20,10 @@ sftp-config.json
# Building & testing
/composer.lock
/docs
/a11y
/node_modules
/vendor
/coverage
# Operating systems
## Mac OS X
@ -46,3 +48,4 @@ Thumbs.db
/.storybook/resolve-imports/
/.storybook/integration.less
.vscode
/.phpunit.result.cache

2
.nvmrc
View File

@ -1 +1 @@
12.21.0
14.17.5

View File

@ -22,3 +22,7 @@ ul {
.printfooter {
display: none;
}
.vector-storybook-example-table tr {
vertical-align: top;
}

View File

@ -1,4 +1,4 @@
.vector-menu-dropdown h3:after {
.vector-menu-dropdown .vector-menu-heading:after {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23202122' d='m11.05 3.996-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5'/%3E%3C/svg%3E%0A") !important;
}
@ -47,8 +47,8 @@
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Euser talk%3C/title%3E%3Cpath d='M18 0H2a2 2 0 00-2 2v18l4-4h14a2 2 0 002-2V2a2 2 0 00-2-2zm-4 4a1.5 1.5 0 11-1.5 1.5A1.5 1.5 0 0114 4zM6 4a1.5 1.5 0 11-1.5 1.5A1.5 1.5 0 016 4zm4 8c-2.61 0-4.83-.67-5.65-3h11.3c-.82 2.33-3.04 3-5.65 3z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-markup:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Emarkup%3C/title%3E%3Cpath d='M6.5 3.5L0 10l1.5 1.5 5 5L8 15l-5-5 5-5zm7 0L12 5l5 5-5 5 1.5 1.5L20 10z'/%3E%3C/svg%3E");
.mw-ui-icon-wikimedia-sandbox:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Esandbox%3C/title%3E%3Cpath d='M8 12V9l6-6 3 3-6 6H8zm10-7l-3-3 2-2 3 3-2 2zM8 2h2v2H8zM4 2h2v2H4zM0 3a1 1 0 011-1h1v2H0V3zm0 3h2v2H0zm0 4h2v2H0zm0 4h2v2H0zm0 4h2v2H1a1 1 0 01-1-1v-1zm4 0h2v2H4zm4 0h2v2H8zm4 0h2v1a1 1 0 01-1 1h-1v-2zm0-4h2v2h-2z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-settings:before {
@ -83,7 +83,12 @@
background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Euser avatar%3C/title%3E%3Cpath d='M10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z'/%3E%3Ccircle cx='10' cy='5.5' r='4.5'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-watchlist:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E watchlist %3C/title%3E%3Cpath d='M1 3h16v2H1V3Zm0 6h6v2H1V9Zm0 6h8v2H1v-2Zm8-4.24h3.85L14.5 7l1.65 3.76H20l-3 3.17.9 4.05-3.4-2.14L11.1 18l.9-4.05-3-3.19Z'/%3E%3C/svg%3E")
}
.vector-user-menu-legacy #pt-anonuserpage,
.vector-user-menu-legacy #pt-tmpuserpage,
.vector-user-menu-legacy #pt-userpage a {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAx0lEQVQ4jdXSzQmEQAwFYEuYUixhSwgkA8mQgKXYgS3YgXZgCZagHWgHuxf14t8osssGcv145CVJvjk+hBRFK2TrkK1D0cqHkN7CUBRI7L21KAqXMIDModiwD9oAkLlH0i3L+ooGiTWPAPPfJQTIHLGOB9h46YZnKS+3PI8PISW2GkV7FO2Jrb79h4+ODyElsYJYm437NSRWRCWdylgj++U0u+UAZI5E22hsWW03UWQtr2NT66zlCjz8uzNQbFiDN7F5/xB8aj57Ynp2FKI0bAAAAABJRU5ErkJggg==") !important;
}

View File

@ -3,3 +3,4 @@
/node_modules/
/skinStyles/jquery.ui/
/vendor/
/coverage/

View File

@ -1,8 +1,13 @@
{
"extends": "stylelint-config-wikimedia",
"extends": [
"stylelint-config-wikimedia/support-modern",
"stylelint-config-wikimedia/mediawiki"
],
"reportNeedlessDisables": true,
"rules": {
"selector-max-id": null,
"declaration-property-unit-disallowed-list": null,
"no-descending-specificity": null,
"declaration-property-unit-disallowed-list": null
"selector-class-pattern": null,
"selector-max-id": null
}
}

View File

@ -1,55 +1,40 @@
/**
* SVGO Configuration
* Compatible to v2.4.0+
* Recommended options from:
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
*/
const { extendDefaultPlugins } = require( 'svgo' );
module.exports = {
multipass: true,
plugins: extendDefaultPlugins( [
plugins: [
{
name: 'cleanupIDs',
active: false
// Set of built-in plugins enabled by default.
name: 'preset-default',
params: {
overrides: {
cleanupIDs: false,
removeDesc: false,
removeTitle: false,
removeViewBox: false,
// If the SVG doesn't start with an XML declaration, then its MIME type will
// be detected as "text/plain" rather than "image/svg+xml" by libmagic and,
// consequently, MediaWiki's CSSMin CSS minifier. libmagic's default database
// currently requires that SVGs contain an XML declaration:
// https://github.com/threatstack/libmagic/blob/master/magic/Magdir/sgml#L5
removeXMLProcInst: false
}
}
},
{
name: 'removeDesc',
active: false
},
{
name: 'removeRasterImages',
active: true
},
{
name: 'removeTitle',
active: false
},
{
name: 'removeViewBox',
active: false
},
{
// If the SVG doesn't start with an XML declaration, then its MIME type will
// be detected as "text/plain" rather than "image/svg+xml" by libmagic and,
// consequently, MediaWiki's CSSMin CSS minifier. libmagic's default database
// currently requires that SVGs contain an XML declaration:
// https://github.com/threatstack/libmagic/blob/master/magic/Magdir/sgml#L5
name: 'removeXMLProcInst',
active: false
},
{
name: 'sortAttrs',
active: true
}
] ),
// Configure the indent (default 4 spaces) used by `--pretty` here:
// @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
//
// Unfortunately EOL cannot be configured, SVGO uses the platform's EOL marker.
// On non-unix systems the linebreaks will be normalized to LF (unix) only at git commit,
// assuming `core.autocrlf` is 'true' (default) or 'input'.
'removeRasterImages',
'sortAttrs'
],
// Set whitespace according to Wikimedia Coding Conventions.
// @see https://github.com/svg/svgo/blob/v2.8.0/lib/stringifier.js#L41 for available options.
js2svg: {
indent: "\t",
pretty: true,
}
}
eol: 'lf',
finalNewline: true,
// Configure the indent to tabs (default 4 spaces) used by `--pretty` here.
indent: '\t',
pretty: true
},
multipass: true
};

View File

@ -29,30 +29,6 @@ project are noted at:
<https://www.mediawiki.org/wiki/Reading/Web/Coding_conventions>
URL query parameters
--------------------
- `useskinversion`: Like `useskin` but for overriding the Vector skin version
user preference and configuration. E.g.,
http://localhost:8181?useskin=vector&useskinversion=2.
Skin preferences
----------------
Vector defines skin-specific user preferences. These are exposed on
Special:Preferences when the `VectorShowSkinPreferences` configuration is
enabled. The user's preference state for skin preferences is used for skin
previews and any other operation unless specified otherwise.
### Version
Vector defines a "version" preference to enable users who prefer the December
2019 version of Vector to continue to do so without any visible changes. This
version is called "Legacy Vector." The related preference defaults are
configurable via the configurations prefixed with `VectorDefaultSkinVersion`.
Version preference and configuration may be overridden by the `useskinversion`
URL query parameter.
### Pre-commit tests
A pre-commit hook is installed when executing `npm install`. By default, it runs

View File

@ -1,15 +1,15 @@
[
{
"resourceModule": "skins.vector.styles.legacy",
"maxSize": "7.8 kB"
"maxSize": "7.9 kB"
},
{
"resourceModule": "skins.vector.styles",
"maxSize": "10.1 kB"
"maxSize": "11.0 kB"
},
{
"resourceModule": "skins.vector.legacy.js",
"maxSize": "2 kB"
"maxSize": "2.2 kB"
},
{
"resourceModule": "skins.vector.search",
@ -17,6 +17,6 @@
},
{
"resourceModule": "skins.vector.icons",
"maxSize": "500 B"
"maxSize": "1 kB"
}
]

View File

@ -33,11 +33,13 @@
"installer-name": "Vector"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "37.0.0",
"mediawiki/mediawiki-phan-config": "0.11.0",
"johnkary/phpunit-speedtrap": "^3.1",
"mediawiki/mediawiki-codesniffer": "39.0.0",
"mediawiki/mediawiki-phan-config": "0.11.1",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.3.1"
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2",
"phpunit/phpunit": "^8.5.0"
},
"scripts": {
"fix": [
@ -49,7 +51,13 @@
"@phpcs",
"minus-x check ."
],
"test:size": "phpunit -c ../../phpunit.xml.dist tests/phpunit/structure/BundleSizeTest.php --verbose",
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
},
"config": {
"allow-plugins": {
"composer/installers": true
}
}
}

View File

@ -1,14 +1,19 @@
{
"@metadata": {
"authors": [
"Fraxinus.cs",
"Pupsik-ipa",
"Temuri rajavi"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 абызшәа|$1 абызшәақәа}}",
"vector-action-addsection": "Атема ацҵатәуп",
"vector-action-delete": "Ианыхтәуп",
"vector-action-move": "Ахьӡ аԥсахра",
"vector-view-create": "Арҿиара",
"vector-view-edit": "Ариашамҭа",
"vector-view-edit": "Аредакциазура",
"vector-view-history": "Аҭоурых",
"vector-view-view": "Аԥхьара",
"vector-view-viewsource": "Ахәаԥшра"
"vector-view-viewsource": "Ахәаԥшра",
"vector-more-actions": "Еиҭа"
}

View File

@ -5,6 +5,7 @@
"Si Gam Acèh"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 bahsa}}",
"vector-action-addsection": "Tamah bhaih",
"vector-action-delete": "Sampôh",
"vector-action-move": "Pupinah",

15
i18n/acm.json Normal file
View File

@ -0,0 +1,15 @@
{
"@metadata": {
"authors": [
"Ahmedadeljaff"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 لغـة|$1 لغـات}}",
"vector-action-addsection": "شارك مقالة",
"vector-view-create": "سوي",
"vector-view-edit": "تعديل",
"vector-view-history": "شوف التاريخ",
"vector-view-view": "اقرأ",
"vector-more-actions": "بعد",
"vector-searchsuggest-containing": "بحث عن صفحات تحوي <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -3,10 +3,11 @@
"authors": [
"Csisc",
"Meno25",
"Michel Bakni",
"علاء"
]
},
"vector-action-addsection": "أضف موضوعا",
"vector-action-addsection": "أضف موضوعاً",
"vector-action-delete": "احذف",
"vector-action-move": "حوّل",
"vector-action-protect": "احم",

View File

@ -1,10 +1,14 @@
{
"@metadata": {
"authors": [
"Amire80",
"Byeboer",
"Naudefj"
"Naudefj",
"Rooiratel"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 taal|$1 tale}}",
"vector-no-language-button-label": "Voeg tale by",
"vector-action-addsection": "Nuwe onderwerp",
"vector-action-delete": "Skrap",
"vector-action-move": "Skuif",
@ -16,5 +20,11 @@
"vector-view-history": "Wys geskiedenis",
"vector-view-view": "Lees",
"vector-view-viewsource": "Wys bronteks",
"vector-more-actions": "Meer"
"vector-more-actions": "Meer",
"vector-searchsuggest-containing": "Soek vir bladsye wat <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> bevat",
"vector-toc-heading": "Inhoud",
"vector-toc-toggle-position-title": "versteek",
"vector-toc-beginning": "Begin",
"vector-toc-menu-tooltip": "Inhoudsopgawe",
"vector-toc-collapsible-button-label": "Wissel die inhoudsopgawe"
}

View File

@ -2,6 +2,7 @@
"@metadata": {
"authors": [
"Akamycoco",
"Amire80",
"Vickylin77s"
]
},
@ -9,10 +10,10 @@
"vector-action-delete": "masopitay to",
"vector-action-move": "malinah",
"vector-action-protect": "midipot",
"vector-view-create": " misanga",
"vector-view-create": "misanga",
"vector-view-edit": "misinanot",
"vector-view-history": " misongila a minengneng to likisi",
"vector-view-view": " miasip",
"vector-view-history": "misongila a minengneng to likisi",
"vector-view-view": "miasip",
"vector-view-viewsource": "misongila a minengneng to yin-se-ma",
"vector-more-actions": "matongal ko adihay"
}

View File

@ -1,16 +1,19 @@
{
"@metadata": {
"authors": [
"Angpradesh"
"Angpradesh",
"Proabscorp!"
]
},
"vector-action-addsection": "विषय जोड़ऽ",
"vector-action-delete": "मेटाबऽ",
"vector-action-move": "चलऽ",
"vector-action-protect": "सुरक्षित करऽ",
"vector-view-create": "सृजन करऽ",
"vector-view-edit": "संपादन करऽ",
"vector-view-history": "इतिहास देखऽ",
"vector-view-view": "पढ़ऽ",
"vector-more-actions": "आरू जादा"
"vector-language-button-label": "{{PLURAL:$1|$1 भाषा|$1 भाषा सिनी}}",
"vector-action-addsection": "विषय जोड़ौ",
"vector-action-delete": "मेटाबौ",
"vector-action-move": "स्थानांतरित करौ",
"vector-action-protect": "सुरक्षित करौ",
"vector-view-create": "बनाबौ",
"vector-view-edit": "संपादन करौ",
"vector-view-history": "इतिहास देखौ",
"vector-view-view": "पढ़ौ",
"vector-more-actions": "आरू जादा",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> सँ युक्त पन्ना खोजौ"
}

View File

@ -2,13 +2,19 @@
"@metadata": {
"authors": [
"Abanima",
"Amire80",
"Bachounda",
"Beginneruser",
"Calak",
"Dyolf77 (WMF)",
"Khaled",
"Meno25",
"Michel Bakni",
"Mido",
"NEHAOUA",
"OsamaK",
"Shbib Al-Subaie",
"Wahrani",
"أحمد",
"ديفيد",
"زكريا",
@ -16,24 +22,31 @@
"محمد أحمد عبد الفتاح"
]
},
"skinname-vector": "فكتور",
"vector-skin-desc": "نسخة حديثة من مونوبوك بمظهر جديد وتحسينات لسهولة الاستخدام",
"prefs-vector-enable-vector-1-label": "استخدم Legacy Vector",
"prefs-vector-enable-vector-1-help": "على مدار السنوات القليلة القادمة، سنقوم بتحديث واجهة Vector بشكل تدريجي. سيسمح لك Legacy Vector بمشاهدة الإصدار القديم من Vector (اعتبارا من ديسمبر 2019). لمعرفة المزيد حول التحديثات، انتقل إلى [[mw:Reading/Web/Desktop_Improvements|صفحة المشروع]].",
"skinname-vector": "فكتور القديم (2010)",
"skinname-vector-2022": "فيكتور (2022)",
"vector-skin-desc": "توفر نسختان من مظهر فيكتور:\n* 2021 - النسخة الحديثة من مظهر مونوبوك بمظهر أحدث وتحسينات لسهولة الاستخدام.\n* 2022 - نسخة فيكتور المبنيّة كجزءٍ من مشروع مؤسسة ويكيميديا [[mw:Desktop Improvements|لتحسينات نسخة سطح المكتب]].",
"prefs-vector-enable-vector-1-label": "استخدم النسخة القديمة لفيكتور",
"prefs-vector-enable-vector-1-help": "على مدار السنوات القليلة القادمة، سنقوم بتحديث واجهة فيكتور بشكل تدريجي. ستسمح لك النسخة القديمة لفيكتور بمشاهدة الإصدار القديم من فيكتور (اعتبارا من ديسمبر 2019). لمعرفة المزيد حول التحديثات، انتقل إلى [[mw:Reading/Web/Desktop_Improvements|صفحة المشروع]].",
"vector-opt-out": "التبديل إلى الشكل القديم",
"vector-opt-out-tooltip": "غير الإعدادت للعودة إلى طريقة العرض التقليدية",
"vector-opt-out-tooltip": "غيِّر الإعدادت للعودة إلى طريقة العرض القديمة (النسخة القديمة لفيكتور)",
"vector.css": "/* ستؤثِّر الأنماط المتراصة CSS المعروضة هنا على مستخدمي واجهة فكتور */",
"vector.js": "/* سيُحمَّل أي نص برمجي مكتوب بلغة جافا للمستخدمين الذين يستعملون واجهة فكتور */",
"vector-action-toggle-sidebar": "تبديل الشريط الجانبي",
"vector-language-button-label": "بلغات أخرى ($1)",
"vector-languages": "لغات",
"vector-language-button-aria-label": "{{GENDER:|اذهب|اذهبي}} إلى المقالة في لغةٍ أخرى. مُتاحة في {{PLURAL:$1|لا لغة|لغة واحدة|لغتين|$1 لغات|$1 لغة}}",
"vector-language-button-label": "{{PLURAL:$1|$1 لغة|$1 لغات}}",
"vector-no-language-button-label": "أضف لغات",
"vector-no-language-button-aria-label": "هذه المقالة تتواجد فقط في هذه اللغة. أضفها إلى اللغات الأخرى.",
"vector-language-redirect-to-top": "في نسخة {{SITENAME}} هذه، وصلات اللغات موجودة في الزاوية العليا اليسرى بجانب العنوان. [[#p-lang-btn|انتقل إلى الأعلى]].",
"vector-language-variant-switcher-label": "غيّر لهجة اللغة",
"vector-action-addsection": "أضف موضوعًا",
"vector-action-delete": "احذف",
"vector-action-move": "انقل",
"vector-action-move": "انقُل",
"vector-action-protect": "احمِ",
"vector-action-undelete": "ألغ الحذف",
"vector-action-undelete": "ألغِ الحذف",
"vector-action-unprotect": "غيِّر الحماية",
"vector-view-create": "أنشئ",
"vector-view-edit": "عدل",
"vector-view-edit": "عدِّل",
"vector-view-history": "تاريخ",
"vector-view-view": "اقرأ",
"vector-view-viewsource": "اعرض المصدر",
@ -42,12 +55,20 @@
"vector-jumptocontent": "انتقل إلى المحتوى",
"vector-more-actions": "المزيد",
"vector-search-loader": "تحميل اقتراحات البحث",
"vector-anon-user-menu-pages": "صفحات للمحررين الذين سجلوا خروجهم",
"vector-anon-user-menu-pages-learn": "تعلم المزيد",
"vector-anon-user-menu-pages-label": "تعلم المزيد بخصوص التحرير",
"vector-personal-more-label": "وصلات المستخدم",
"vector-searchsuggest-containing": "ابحث عن صفحات تحتوي <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "ويكيبيديا:مقدمة",
"vector-toc-heading": "المحتويات",
"vector-toc-toggle-position-sidebar": "انقل للشريط الجانبي",
"vector-toc-toggle-position-title": "أخف",
"vector-toc-beginning": "المقدمة",
"vector-toc-toggle-button-label": "ثبِّت القسم الفرعي $1",
"vector-anon-user-menu-pages": "صفحات للمحررين الذين سجَّلوا خروجهم",
"vector-anon-user-menu-pages-learn": "تعلَّم المزيد",
"vector-anon-user-menu-pages-label": "تعلَّم المزيد بخصوص التحرير",
"vector-main-menu-tooltip": "القائمة الرئيسة",
"tooltip-vector-anon-user-menu-title": "المزيد من الخيارات",
"vector-menu-checkbox-expanded": "معروض كاملاً",
"vector-menu-checkbox-collapsed": "مخفي"
"vector-toc-menu-tooltip": "جدول المحتويات",
"vector-toc-collapsible-button-label": "تبديل عرض جدول المحتويات",
"vector-site-nav-label": "الموقع",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|نقاش]]",
"tooltip-vector-anon-user-menu-title": "المزيد من الخيارات"
}

View File

@ -2,19 +2,22 @@
"@metadata": {
"authors": [
"Clerc",
"Fiestoforo"
"Fiestoforo",
"Manke ruLpa"
]
},
"vector-action-addsection": "Püñamtun dungu",
"vector-language-button-label": "{{PLURAL:$1|$1 zugun}}",
"vector-action-addsection": "Püñamtun zungu",
"vector-action-delete": "Liftun",
"vector-action-move": "Wiñamün",
"vector-action-move": "Nengümün",
"vector-action-protect": "Nürüfkünun",
"vector-action-undelete": "Wüñoñamümün",
"vector-action-unprotect": "Kalekünun Nürüfkünun",
"vector-view-create": "Dewman",
"vector-view-create": "Zewman",
"vector-view-edit": "Kümeelün",
"vector-view-history": "Pengelün rupañmael",
"vector-view-history": "Pengepe tukulpan",
"vector-view-view": "Chillkatun",
"vector-view-viewsource": "Kimam chew küpan chi wirin",
"vector-more-actions": "Doy"
"vector-more-actions": "Zoy",
"vector-searchsuggest-containing": "Kintun kom tapülh nielu <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -2,6 +2,7 @@
"@metadata": {
"authors": [
"Abdeaitali",
"Amire80",
"Enzoreg",
"Reda Benkhadra",
"SADI9I",
@ -9,6 +10,8 @@
"Zanatos"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 لوغة|$1 لوغات}}",
"vector-language-redirect-to-top": "ف هاد لويكيپيديا ليانات د لوغات كاينين ف لفوق د صفحة حدا لعنوان. [[#p-lang-btn|سير لفوق]].",
"vector-action-addsection": "زيد شي موضوع",
"vector-action-delete": "محي",
"vector-action-move": "حوّل",
@ -19,6 +22,7 @@
"vector-view-edit": "بدل",
"vector-view-history": "تاريخ",
"vector-view-view": "قرا",
"vector-view-viewsource": "شوف المصدر",
"vector-more-actions": "كتر"
"vector-view-viewsource": "شوف لمصدر",
"vector-more-actions": "كتر",
"vector-searchsuggest-containing": "قلب علا صفاحي فيهم <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -8,6 +8,7 @@
},
"vector.css": "/* CSS اللى هنا حتأثر على اليوزرز اللى بيستخدموا واجهة فكتور */",
"vector.js": "/* اى جافاسكريبت هنا حتتحمل لكل يوزر بيستخدم واجهة فكتور */",
"vector-language-button-label": "{{PLURAL:$1|$1 لغه|$1 لغات}}",
"vector-action-addsection": "ضيف موضوع",
"vector-action-delete": "مسح",
"vector-action-move": "نقل",

View File

@ -1,22 +1,31 @@
{
"@metadata": {
"authors": [
"Amire80",
"Bishnu Saikia",
"Chaipau",
"Gitartha.bordoloi",
"Simbu123"
]
},
"skinname-vector": "ভেক্টৰ",
"vector-skin-desc": "নতুন ৰূপ আৰু বহুতো ব্যৱহাৰযোগ্যতাৰ উন্নতিৰ সৈতে ম'ন'বুকৰ আধুনিক সংস্কৰণ",
"skinname-vector": "পুৰণা ভেক্টৰ (২০১০)",
"skinname-vector-2022": "ভেক্টৰ (২০২২)",
"vector-specialversion-name": "ভেক্টৰ",
"vector-skin-desc": "২টা ভেক্টৰ ৰূপ প্ৰদান কৰে:\n* ২০১১ - নতুন ৰূপ আৰু বহুতো ব্যৱহাৰযোগ্যতাৰ উন্নতিৰ সৈতে ম'ন'বুকৰ আধুনিক সংস্কৰণ।\n* ২০২২ - WMF-ৰ [[mw:Desktop Improvements]] প্ৰকল্পৰ অংশ হিচাপে নিৰ্মিত ভেক্টৰ।",
"prefs-vector-enable-vector-1-label": "পুৰণা ভেক্টৰ ব্যৱহাৰ কৰক",
"prefs-vector-enable-vector-1-help": "পৰৱৰ্তী কেইবছৰমানত, আমি ক্ৰমান্বয়ে ভেক্টৰ আৱৰণ আপডেট কৰিম। পুৰণা ভেক্টৰ আৱৰণে আপোনাক ভেক্টৰৰ পুৰণি সংস্কৰণ চাবলৈ অনুমতি দিব (ডিচেম্বৰ ২০১৯ লৈকে)। আপডেটবোৰৰ বিষয়ে অধিক জানিবলৈ, আমাৰ [[mw:Reading/Web/Desktop_Improvements|প্ৰকল্প পৃষ্ঠালৈ]] যাওক।",
"vector-opt-out": "পুৰণি ৰূপলৈ যাওক",
"vector-opt-out-tooltip": "আৱৰণৰ পুৰণি ৰূপলৈ ঘূৰি যাবলৈ আপোনাৰ ছেটিংছ সলনি কৰক (পুৰণা ভেক্টৰ)",
"vector.css": "/* ভেক্টৰ আৱৰণৰ ব্যৱহাৰকাৰীসকলৰ বাবে ইয়াত সকলো CSS লোড কৰা হ'ব */",
"vector.js": "/* ভেক্টৰ আৱৰণৰ ব্যৱহাৰকাৰীসকলৰ বাবে ইয়াত সকলো জাভাস্ক্ৰিপ্ট লোড কৰা হ'ব */",
"vector-action-toggle-sidebar": "পাৰ্শ্বদণ্ড টগল কৰক",
"vector-action-toggle-sidebar": "পাৰ্শ্বদণ্ড টগ'ল কৰক",
"vector-languages": "ভাষা",
"vector-language-button-aria-label": "অন্য এটা ভাষাৰ প্ৰবন্ধলৈ যাওক। {{PLURAL:$1|$1টা ভাষাত}} উপলব্ধ।",
"vector-language-button-label": "{{PLURAL:$1|$1টা ভাষা}}",
"vector-no-language-button-label": "ভাষা যোগ কৰক",
"vector-no-language-button-aria-label": "এই প্ৰবন্ধটো কেৱল এই ভাষাতহে আছে। অন্য ভাষাত প্ৰবন্ধটো যোগ কৰক",
"vector-language-redirect-to-top": "এই {{SITENAME}}ত ভাষাৰ সংযোগসমূহ প্ৰবন্ধৰ শিৰোনামৰ কাষত পৃষ্ঠাৰ ওপৰত আছে। [[#p-lang-btn|ওপৰলৈ যাওক]]।",
"vector-language-variant-switcher-label": "ভাষাৰ প্ৰকাৰ সলনি কৰক",
"vector-action-addsection": "বিষয় যোগ",
"vector-action-delete": "বিলোপ কৰক",
"vector-action-move": "স্থানান্তৰ কৰক",
@ -32,5 +41,21 @@
"vector-jumptosearch": "সন্ধানলৈ যাওক",
"vector-jumptocontent": "সমললৈ যাওক",
"vector-more-actions": "অধিক",
"vector-search-loader": "সন্ধান পৰামৰ্শ লোড কৰা হৈছে"
"vector-search-loader": "সন্ধান পৰামৰ্শ লোড কৰা হৈছে",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> থকা পৃষ্ঠাসমূহ সন্ধান কৰক",
"vector-intro-page": "Help:পৰিচয়",
"vector-toc-heading": "সূচী",
"vector-toc-toggle-position-sidebar": "পাৰ্শ্বদণ্ডলৈ যাওক",
"vector-toc-toggle-position-title": "লুকুৱাওক",
"vector-toc-beginning": "পাতনি",
"vector-toc-toggle-button-label": "$1 উপ-অনুচ্ছেদ টগ'ল কৰক",
"vector-anon-user-menu-pages": "লগ-আউট কৰা সদস্যৰ বাবে পৃষ্ঠাসমূহ",
"vector-anon-user-menu-pages-learn": "অধিক শিকক",
"vector-anon-user-menu-pages-label": "সম্পাদনাৰ বিষয়ে অধিক জানক",
"vector-main-menu-tooltip": "মুখ্য মেনু",
"vector-toc-menu-tooltip": "সূচীপত্ৰ",
"vector-toc-collapsible-button-label": "সূচীপত্ৰ টগ'ল কৰক",
"vector-site-nav-label": "ছাইট",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|আলোচনা]]",
"tooltip-vector-anon-user-menu-title": "অধিক বিকল্প"
}

View File

@ -2,6 +2,7 @@
"@metadata": {
"authors": [
"Esbardu",
"Tokvo",
"Xuacu"
]
},
@ -10,6 +11,7 @@
"prefs-vector-enable-vector-1-label": "Utilizar versión anticuada de Vector",
"vector.css": "/* Los CSS allugaos equí afeutarán a los usuarios del aspeutu Vector */",
"vector.js": "/* Cualesquier JavaScript que tea equí se cargará pa los usuarios del aspeutu Vector */",
"vector-language-button-label": "{{PLURAL:$1|$1 llingua|$1 llingües}}",
"vector-action-addsection": "Amestar seición",
"vector-action-delete": "Desaniciar",
"vector-action-move": "Treslladar",

View File

@ -2,20 +2,23 @@
"@metadata": {
"authors": [
"Gazimagomedov",
"Omarov M.",
"Умар"
]
},
"vector-skin-desc": "MonoBook'алъул цӀияб версия цияб куцгун ва цӀиял юзабилитиялгун",
"vector-skin-desc": "Бихьизабула 2 векторияб скин:\n* 2011 - The Modern version of MonoBook with fresh look and many usability improvements.\n* 2022 - The Vector built as part of the WMF [[mw:Desktop Improvements]] project.",
"vector-languages": "МацӀал",
"vector-language-button-label": "{{PLURAL:$1|$1 мацӀ}}",
"vector-action-addsection": "Тема жубазе",
"vector-action-delete": ацIцIине",
"vector-action-delete": "Гилдизабизе",
"vector-action-move": "ЦӀар хисизе",
"vector-action-protect": "Хиса-басияздасан цIунизе",
"vector-action-undelete": "БукӀараб гӀадин гьабизе",
"vector-action-protect": "ЦӀунизе",
"vector-action-undelete": "БукӀахъинабизе",
"vector-action-unprotect": "ЦӀуни хисизе",
"vector-view-create": ьабизе",
"vector-view-create": IуцIизе",
"vector-view-edit": "Хисизабизе",
"vector-view-history": "Тарих балагьизе",
"vector-view-history": "Тарихалъухъ ралагьизе",
"vector-view-view": "ЦӀализе",
"vector-view-viewsource": "Вики-текст балагьизе",
"vector-view-viewsource": "Кодалъухъ ралагьизе",
"vector-more-actions": "Жеги"
}

View File

@ -6,6 +6,7 @@
"Gulmammad",
"NMW03",
"Sortilegus",
"Toghrul Rahimli",
"Vago",
"Vugar 1981",
"Wertuose"
@ -18,6 +19,8 @@
"vector.css": "/* Burada yerləşən CSS Vector istifadəçilərinə tətbiq olunur */",
"vector.js": "/* Burada Vector skin istifadəçiləri üçün istənilən JavaScript yüklənəcək */",
"vector-language-button-label": "{{PLURAL:$1|$1 dildə|$1 dildə}}",
"vector-no-language-button-label": "Dil əlavə et",
"vector-language-redirect-to-top": "Bu {{SITENAME}} layihəsində dil keçidləri məqalənin başlıq hissəsində verilmişdir. [[#p-lang-btn|Yuxarı get]].",
"vector-action-addsection": "Mövzu əlavə et",
"vector-action-delete": "Sil",
"vector-action-move": "Adını dəyiş",
@ -30,5 +33,11 @@
"vector-view-view": "Oxu",
"vector-view-viewsource": "Mənbəyə bax",
"vector-more-actions": "Daha çox",
"vector-search-loader": "Axtarış təklifləri yüklənir"
"vector-search-loader": "Axtarış təklifləri yüklənir",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> ehtiva edən səhifələri axtar",
"vector-toc-heading": "Mündəricat",
"vector-toc-toggle-position-sidebar": "yan panelə keçir",
"vector-toc-toggle-position-title": "gizlə",
"vector-toc-beginning": "Giriş",
"vector-toc-toggle-button-label": "$1 alt bölməsini göstər/gizlə"
}

View File

@ -3,12 +3,14 @@
"authors": [
"Alp Er Tunqa",
"Amir a57",
"Bir morty",
"E THP",
"Ebrahimi-amir",
"Ilğım",
"Mousa"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 دیل|$1 دیل‌لر}}",
"vector-action-addsection": "مؤوضوع آرتیر",
"vector-action-delete": "سیل",
"vector-action-move": "داشی",

View File

@ -6,9 +6,11 @@
"Tok Pisin"
]
},
"vector-action-addsection": "ᬯᭂᬯᭂᬄᬢᭀᬧᬶᬓ᭄",
"vector-action-delete": "ᬳᬸᬲᬧ᭄",
"vector-action-move": "ᬕᬶᬗ᭄ᬲᬶᬭᬗ᭄",
"vector-view-create": "ᬓᬃᬤᬶ",
"vector-view-edit": "ᬳᬄ",
"vector-view-edit": "ᬳᬸᬳᬄ",
"vector-view-history": "ᬘᬶᬗᬓ᭄ᬩᬩᬤ᭄",
"vector-view-view": "ᬯᬘᬾᬦ᭄",
"vector-more-actions": "ᬮᬶᬬᬦᬦ᭄"

View File

@ -2,6 +2,7 @@
"@metadata": {
"authors": [
"Adi Mayndra",
"Amire80",
"BASAbali",
"Carma citrawati",
"Chinamoonroll",
@ -29,5 +30,6 @@
"vector-jumptocontent": "Cebur nuju daging",
"vector-more-actions": "Lianan",
"vector-search-loader": "Ngamuat saran parerehan",
"vector-searchsuggest-containing": "Selehin kaca sané madaging <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-anon-user-menu-pages-learn": "pelajahin malih"
}

View File

@ -1,9 +1,11 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kjeanclaude"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 aniein|$1 aniein moun}}",
"vector-action-addsection": "Fa ndè ouflè goua sou",
"vector-action-delete": "Nounnoun",
"vector-action-move": "Katchi floua boué nga i douman",
@ -12,5 +14,6 @@
"vector-view-edit": "Klè noun",
"vector-view-history": "Nian laa sa",
"vector-view-view": "Kanngan",
"vector-more-actions": "Ouflè ékun"
"vector-more-actions": "Ouflè ékun",
"vector-searchsuggest-containing": "Kounndè floué boué moun nga liké nga wo noun: <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,21 +1,26 @@
{
"@metadata": {
"authors": [
"Amire80",
"Daramlagon",
"Filipinayzd",
"Geopoet",
"Kunokuno",
"ShimunUfesoj"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 lenggwahe|$1 mga lenggwahe}}",
"vector-action-addsection": "Magdagdag nin pag-uulayan",
"vector-action-delete": "puráon",
"vector-action-move": "Ibalyó",
"vector-action-delete": "puraon",
"vector-action-move": "Ibalyo",
"vector-action-protect": "Protektaran",
"vector-action-undelete": "Bawion sa pagkapara",
"vector-action-unprotect": "Ribayan an proteksyon",
"vector-view-create": "Magmukna",
"vector-view-edit": "Liwatón",
"vector-view-history": "Tanawon sa historiya",
"vector-view-view": "Basáhon",
"vector-view-create": "Gibuhon",
"vector-view-edit": "Baguhon",
"vector-view-history": "Hilingon an kasaysayan",
"vector-view-view": "Basahon",
"vector-view-viewsource": "Hilingón an ginikánan",
"vector-more-actions": "Kadugangan"
"vector-more-actions": "Labi pa",
"vector-searchsuggest-containing": "Maghanap nin mga pahinang igwang <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -4,6 +4,9 @@
"Tofeiku"
]
},
"vector-action-delete": "Penelanyap",
"vector-action-move": "Pinali",
"vector-action-protect": "Sindung",
"vector-view-edit": "Niuba",
"vector-view-history": "Ngenda' kisa dau-dau",
"vector-view-view": "Boso",

View File

@ -8,10 +8,19 @@
"Wizardist"
]
},
"skinname-vector": "Вэктар",
"vector-skin-desc": "Сучасная вэрсія MonoBook з абноўленым выглядам і шматлікімі паляпшэньнямі",
"skinname-vector": "Стары Вэктар (2010)",
"skinname-vector-2022": "Вэктар (2022)",
"vector-specialversion-name": "Вэктар",
"vector-skin-desc": "Прадастаўляе 2 тэмы Вэктару:\n* 2011 — сучасная вэрсія MonoBook з абноўленым выглядам і шматлікімі паляпшэньнямі;\n* 2022 — Вэктар, збудаваны ў межах праекту ФВМ [[mw:Desktop Improvements]].",
"prefs-vector-enable-vector-1-label": "Выкарыстаць стары Вэктар",
"prefs-vector-enable-vector-1-help": "Цягам наступных некалькіх гадоў мы будзем паступова абнаўляць тэму „Вэктар“. Пераемны Вэктар дазволіць вам праглядаць старую вэрсію Вэктара (паводле стану на сьнежань 2019 року). Каб даведацца пра абнаўленьні болей, зайдзіце на старонку [[mw:Reading/Web/Desktop_Improvements|нашага праекту]].",
"vector-opt-out": "Пераключыцца на стары выгляд",
"vector-opt-out-tooltip": "Зьмяніце налады, каб вярнуцца да старой тэмы (старога Вэктару)",
"vector.css": "/* Усе зьмешчаныя тут CSS будуць загружаныя для ўдзельнікаў, якія выкарыстоўваюць тэму афармленьня Вэктар */",
"vector.js": "/* Увесь зьмешчаны тут JavaScript будзе загружаны для ўдзельнікаў, якія выкарыстоўваюць тэму афармленьня Вэктар */",
"vector-language-button-aria-label": "Перайсьці да артыкула на іншай мове. Выбраць з: {{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-button-label": "{{PLURAL:$1|$1 мова|$1 мовы|$1 моваў}}",
"vector-language-redirect-to-top": "У гэтым праекце {{SITENAME}} моўныя спасылкі знаходзяцца ўверсе старонкі насупраць назвы артыкулу. [[#p-lang-btn|Перайсьці ўгору]].",
"vector-action-addsection": "Дадаць тэму",
"vector-action-delete": "Выдаліць",
"vector-action-move": "Перанесьці",
@ -25,5 +34,6 @@
"vector-view-viewsource": "Паказаць крыніцу",
"vector-jumptonavigation": "Перайсьці да навігацыі",
"vector-jumptosearch": "Перайсьці да пошуку",
"vector-more-actions": "Болей"
"vector-more-actions": "Болей",
"vector-searchsuggest-containing": "Пошук старонак, якія маюць <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,16 +1,31 @@
{
"@metadata": {
"authors": [
"Amire80",
"Artsiom91",
"Chadyka",
"Kareyac",
"Mikalai Udodau",
"No Sleep till Krupki",
"Tomato Cream",
"Yury Tarasievich",
"Дзяніс Тутэйшы",
"Хомелка"
]
},
"vector-skin-desc": "Сучасная версія вокладкі Манабук, з абноўленым відам і шматлікімі зручнымі паляпшэннямі",
"vector-skin-desc": "Забяспечвае 2 вокладкі Вектар:\n* 2011 — Сучасная версія вокладкі Манабук, з абноўленым відам і шматлікімі зручнымі паляпшэннямі.\n* 2022 — Вектар, створаны ў рамках праекта WMF [[mw:Desktop Improvements]].",
"prefs-vector-enable-vector-1-label": "Ужыць Legacy Vector",
"prefs-vector-enable-vector-1-help": "Цягам наступных некалькіх гадоў мы будзем паступова абнаўляць шаблон Vector. Legacy Vector дазволіць праглядаць старую версію Vector (станам на снежань 2019 года). Каб даведацца больш, перайдзіце на нашу [[mw:Reading/Web/Desktop_Improvements|старонку праекта]].",
"vector-opt-out": "Пераключыцца на стары выгляд",
"vector-opt-out-tooltip": "Змяніце налады, каб вярнуцца да старога выгляду вокладкі (Стары Vector)",
"vector-action-toggle-sidebar": "Пераключыць бакавую панэль",
"vector-languages": "Мовы",
"vector-language-button-aria-label": "Перайсці да артыкула на іншай мове. Даступны на $1 {{PLURAL:$1|мове|мовах}}.",
"vector-language-button-label": "{{PLURAL:$1|$1 мова|$1 мовы|$1 моваў}}",
"vector-no-language-button-label": "Дадаць мовы",
"vector-no-language-button-aria-label": "Гэты артыкул ёсць толькі на гэтай мове. Дадайце артыкул для іншых моў",
"vector-language-redirect-to-top": "У гэтай пляцоўцы {{SITENAME}} моўныя спасылкі знаходзяцца ўверсе старонкі насупраць загалоўка артыкула. [[#p-lang-btn|Перайсці ўверх]].",
"vector-language-variant-switcher-label": "Зменіць моўны варыянт",
"vector-action-addsection": "Дадаць тэму",
"vector-action-delete": "Выдаліць",
"vector-action-move": "Перанесці",
@ -22,5 +37,25 @@
"vector-view-history": "Паказаць гісторыю",
"vector-view-view": "Чытаць",
"vector-view-viewsource": "Паказаць зыходны тэкст",
"vector-more-actions": "Яшчэ"
"vector-jumptonavigation": "Перайсці да навігацыі",
"vector-jumptosearch": "Перайсці да пошуку",
"vector-jumptocontent": "Перайсці да зместу",
"vector-more-actions": "Яшчэ",
"vector-search-loader": "Загрузка прапановаў пошуку",
"vector-searchsuggest-containing": "Шукаць старонкі, якія змяшчаюць <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Даведка",
"vector-toc-heading": "Змест",
"vector-toc-toggle-position-sidebar": "перанесці да бакавой панэлі",
"vector-toc-toggle-position-title": "схаваць",
"vector-toc-beginning": "Пачатак",
"vector-toc-toggle-button-label": "Змяніць стан падраздзелу $1",
"vector-anon-user-menu-pages": "Старонкі для ананімных рэдактараў",
"vector-anon-user-menu-pages-learn": "даведацца больш",
"vector-anon-user-menu-pages-label": "Даведацца больш пра праўку",
"vector-main-menu-tooltip": "Галоўнае меню",
"vector-toc-menu-tooltip": "Змест",
"vector-toc-collapsible-button-label": "Пераключыць змест",
"vector-site-nav-label": "Праект",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Размова]]",
"tooltip-vector-anon-user-menu-title": "Больш магчымасцей"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Amire80",
"Borislav",
"DCLXVI",
"ShockD",
@ -12,6 +13,7 @@
"prefs-vector-enable-vector-1-label": "Използване на стария Vector",
"vector-opt-out": "Превключване към стария изглед",
"vector-action-toggle-sidebar": "Превключване на страничната лента",
"vector-language-button-label": "{{PLURAL:$1|$1 език|$1 езика}}",
"vector-action-addsection": "Добавяне на тема",
"vector-action-delete": "Изтриване",
"vector-action-move": "Преместване",
@ -26,5 +28,6 @@
"vector-jumptonavigation": "Направо към навигацията",
"vector-jumptosearch": "Направо към търсенето",
"vector-jumptocontent": "Направо към съдържанието",
"vector-more-actions": "Още"
"vector-more-actions": "Още",
"vector-searchsuggest-containing": "Търсене на страници съдържащи <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,10 +1,13 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ezagren",
"J Subhi"
"J Subhi",
"Mnam23"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 basa}}",
"vector-action-addsection": "Tambahi tupik",
"vector-action-delete": "Hapus",
"vector-action-move": "Pindahakan",
@ -13,8 +16,11 @@
"vector-action-unprotect": "Palindungan",
"vector-view-create": "Ulah",
"vector-view-edit": "Babak",
"vector-view-history": "Tiringi sajarah",
"vector-view-history": "Janaki riwayat",
"vector-view-view": "Baca",
"vector-view-viewsource": "Tiringi asal mula",
"vector-more-actions": "Lainnya"
"vector-view-viewsource": "Janaki asal-mulanya",
"vector-more-actions": "Lainnya",
"vector-searchsuggest-containing": "Gagai laman nang baisi <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-anon-user-menu-pages-learn": "palajari labih lanjut",
"vector-anon-user-menu-pages-label": "Palajari labih lanjut pasal mambabak"
}

View File

@ -4,6 +4,9 @@
"Muskwatch"
]
},
"vector-language-button-label": "{{PLURAL:$1|smawiixw wa slhk'msta|$1 wa slhk'msta}}",
"vector-action-move": "sasttxw",
"vector-view-create": "sikstucw ti umat t'ayc",
"vector-view-edit": "qw'lasiitucw",
"vector-view-history": "sik'cicw ti s7alh7ayts ti umat t'ayc alh tu patsalh txw",
"vector-view-view": "sipaapqanu",

27
i18n/blk.json Normal file
View File

@ -0,0 +1,27 @@
{
"@metadata": {
"authors": [
"Khun Kt",
"Ninjastrikers",
"咽頭べさ"
]
},
"vector-languages": "ဘာႏသာႏငဝ်းငွါဖုံႏ",
"vector-language-button-label": "{{PLURAL:$1|$1 ဘာႏသာႏငဝ်းငွါ|$1 ဘာႏသာႏငဝ်းငွါဖိုင်ႏ}}",
"vector-action-addsection": "ထဲမ်သော့ꩻထဲင်း အကျောင်ꩻခရာႏတသာ",
"vector-action-delete": "ယားကုဲင်",
"vector-action-move": "ခြုဲင်း",
"vector-action-protect": "ရဲးကမ်းသွော့",
"vector-action-undelete": "ယားကုဲင်တဝ်းဒုမ်",
"vector-action-unprotect": "ပြောင်ꩻလုဲင်ႏ အရဲးအကမ်း",
"vector-view-create": "ဖန်ဆင်ꩻ",
"vector-view-edit": "မွဉ်းဖျင်",
"vector-view-history": "ထွားရာႏဇာႏဝင်ႏ",
"vector-view-view": "ဟော်ꩻ",
"vector-view-viewsource": "ထွားအရွီးအခိုႏ",
"vector-more-actions": "ထဲင်းယင်း",
"vector-intro-page": "Help:ငဝ်းတယ်ႏအွဉ်",
"vector-anon-user-menu-pages-learn": "လွူꩻထွားထဲင်းအသွုပ်",
"vector-anon-user-menu-pages-label": "လွူꩻထွားထဲင်း မွဉ်းဖျင်ခရာႏအထဲင်း",
"tooltip-vector-anon-user-menu-title": "လွိုက်ခရာႏအထဲင်းဖိုင်ႏ"
}

View File

@ -3,25 +3,36 @@
"authors": [
"Aftab1995",
"Aftabuzzaman",
"Amire80",
"Bellayet",
"Leemon2010",
"Nasir8891",
"Sourav Halder",
"Tauhid16",
"Wikitanvir",
"Yahya",
"আজিজ",
"আফতাবুজ্জামান"
]
},
"skinname-vector": "ভেক্টর",
"vector-skin-desc": "নতুন চেহারায় মনোবুকের আধুনিক সংস্করণ এবং আরো অনেক ব্যবহারযোগ্যতার উন্নতি",
"skinname-vector": "ভেক্টর উত্তরাধিকার (২০১০)",
"skinname-vector-2022": "ভেক্টর (২০২২)",
"vector-specialversion-name": "ভেক্টর",
"vector-skin-desc": "২টি ভেক্টর আবরণ প্রদান করে:\n* ২০১১ - নতুন চেহারায় মনোবুকের আধুনিক সংস্করণ এবং ব্যবহারযোগ্যতায় আরো অনেক উন্নতি।\n* ২০২২ - ডব্লিউএমএফ [[mw:Desktop Improvements|ডেক্সটপ উন্নয়ন]] প্রকল্পের অংশ হিসেবে নির্মিত ভেক্টর।",
"prefs-vector-enable-vector-1-label": "উত্তরাধিকার ভেক্টর ব্যবহার করুন",
"prefs-vector-enable-vector-1-help": "আগামী কয়েক বছর ধরে, আমরা ধীরে ধীরে ভেক্টর আবরণ হালনাগাদ করব। উত্তরাধিকার ভেক্টর আপনাকে ভেক্টরের পুরনো সংস্করণ দেখার অনুমতি দেবে (ডিসেম্বর ২০১৯ অনুযায়ী)। এই হালনাগাদ সম্পর্কে আরও জানতে, আমাদের [[mw:Reading/Web/Desktop_Improvements|প্রকল্প পাতায়]] যান।",
"vector-opt-out": "পুরনো চেহারাতে যান",
"vector-opt-out-tooltip": "আবরণটির পুরনো চেহারাতে ফিরে যেতে আপনার সেটিংস পরিবর্তন করুন (উত্তরাধিকার ভেক্টর)",
"vector.css": "/* এখানের সকল CSS ভেক্টর আবরণ ব্যবহারকারীদের জন্য লোড হবে */",
"vector.css": "/* এখানের সকল সিএসএস ভেক্টর আবরণ ব্যবহারকারীদের জন্য লোড হবে */",
"vector.js": "/* এখানের সকল জাভাস্ক্রিপ্ট ভেক্টর আবরণ ব্যবহারকারীদের জন্য লোড হবে */",
"vector-action-toggle-sidebar": "পার্শ্বদণ্ড দেখান",
"vector-languages": "ভাষা",
"vector-language-button-aria-label": "অন্য ভাষার একটি নিবন্ধে যান। {{PLURAL:$1|$1টি ভাষায়}} উপলব্ধ রয়েছে।",
"vector-language-button-label": "{{PLURAL:$1|$1টি ভাষা}}",
"vector-no-language-button-label": "ভাষা যোগ করুন",
"vector-no-language-button-aria-label": "এই নিবন্ধটি শুধুমাত্র এই ভাষায় বিদ্যমান। অন্যান্য ভাষার জন্য নিবন্ধ যোগ করুন",
"vector-language-redirect-to-top": "এই উইকিতে, ভাষার লিঙ্কগুলি পাতার উপরের দিকে নিবন্ধের শিরোনামের পাশে রয়েছে। [[#p-lang-btn|উপরে চলুন]]।",
"vector-language-variant-switcher-label": "ভাষার রূপভেদ পরিবর্তন করুন",
"vector-action-addsection": "আলোচনা যোগ করুন",
"vector-action-delete": "অপসারণ",
"vector-action-move": "স্থানান্তর",
@ -38,7 +49,20 @@
"vector-jumptocontent": "বিষয়বস্তুতে চলুন",
"vector-more-actions": "আরও",
"vector-search-loader": "অনুসন্ধানের পরামর্শ লোড করা হচ্ছে",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> থাকা পাতাগুলিতে অনুসন্ধান করুন",
"vector-intro-page": "Help:ভূমিকা",
"vector-toc-heading": "পরিচ্ছেদসমূহ",
"vector-toc-toggle-position-sidebar": "পার্শ্বদণ্ডে নিন",
"vector-toc-toggle-position-title": "লুকান",
"vector-toc-beginning": "শুরু",
"vector-toc-toggle-button-label": "$1 উপঅনুচ্ছেদ টগল করুন",
"vector-anon-user-menu-pages": "অনিবন্ধিত সম্পাদকের জন্য পাতা",
"vector-anon-user-menu-pages-learn": "আরও জানুন",
"vector-personal-more-label": "ব্যবহারকারী সংযোগ"
"vector-anon-user-menu-pages-label": "সম্পাদনা করা সম্পর্কে আরও জানুন",
"vector-main-menu-tooltip": "প্রধান মেনু",
"vector-toc-menu-tooltip": "সূচিপত্র",
"vector-toc-collapsible-button-label": "সূচিপত্র টগল করুন",
"vector-site-nav-label": "সাইট",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|আলোচনা]]",
"tooltip-vector-anon-user-menu-title": "আরও বিকল্প"
}

View File

@ -2,27 +2,60 @@
"@metadata": {
"authors": [
"Adriendelucca",
"Amire80",
"Fulup",
"Huñvreüs",
"Y-M D"
]
},
"skinname-vector": "Vektor",
"vector-skin-desc": "Stumm modern MonoBook freskaet e dres hag enni meur a wellaenn implijout",
"skinname-vector": "Vektor mod kozh (2010)",
"skinname-vector-2022": "Vektor (2022)",
"vector-specialversion-name": "Vektor",
"vector-skin-desc": "Pourchas a ra 2 wiskadur Vektor:\n* 2011 - Stumm modern MonoBook freskaet e dres hag ennañ meur a wellaenn implijout\n* 2022 - Vektor aozet evel perzh eus raktres [[mw:Desktop Improvements|Gwellaat ar burev]] ar WMF.",
"prefs-vector-enable-vector-1-label": "Ober gant stumm kozh Vektor",
"prefs-vector-enable-vector-1-help": "E-pad ar bloavezhioù a zeu e vo nevesaet ar gwiskadur Vektor tamm-ha-tamm. Gant stumm kozh Vektor e chelloch gwelout stumm Vektor eus miz Du 2019. Evit gouzout hiroch diwar-benn an nevesaat, kit da [[mw:Reading/Web/Desktop_Improvements|bajenn ar raktres]].",
"vector-opt-out": "Distreiñ d'an tres kozh",
"vector-opt-out-tooltip": "Kemmañ hoc'h arventennoù evit distreiñ da dres kozh ar gwiskadur (Vector istorel)",
"vector.css": "/* Talvezout a raio ar CSS lakaet amañ evit implijerien ar gwiskadur Vektor */",
"vector.js": "/* Kement JavaScript amañ a vo karget evit an implijerien a ra gant ar gwiskadur Vektor */",
"vector-language-button-label": "{{PLURAL:$1|$1 yezh|$1 yezhoù}}",
"vector.css": "/* Kement CSS a zo amañ a vo karget evit implijerien ar gwiskadur Vektor */",
"vector.js": "/* Kement JavaScript a zo amañ a vo karget evit implijerien ar gwiskadur Vektor */",
"vector-action-toggle-sidebar": "Diskwel/kuzhat ar varrenn gostez",
"vector-languages": "Yezhoù",
"vector-language-button-aria-label": "Mont dur pennad en ur yezh all. {{PLURAL:$1|$1 yezh}} a zo.",
"vector-language-button-label": "{{PLURAL:$1|$1 yezh}}",
"vector-no-language-button-label": "Ouzhpennañ yezhoù",
"vector-no-language-button-aria-label": "Neus eus ar pennad-mañ nemet er yezh-mañ. Ouzhpennit ar pennad e yezhoù all.",
"vector-language-redirect-to-top": "Er {{SITENAME}}-mañ emañ al liammoù yezh e deroù ar bajenn en tu all da ditl ar pennad. [[#p-lang-btn|Mont dan deroù]].",
"vector-language-variant-switcher-label": "Kemmañ adstumm yezh",
"vector-action-addsection": "Rannbennad nevez",
"vector-action-delete": "Diverkañ",
"vector-action-move": "Adenvel",
"vector-action-protect": "Gwareziñ",
"vector-action-undelete": "Diziverkañ",
"vector-action-unprotect": "Cheñch gwarez",
"vector-action-unprotect": "Kemmañ ar gwarez",
"vector-view-create": "Krouiñ",
"vector-view-edit": "Kemmañ",
"vector-view-history": "Gwelet an istor",
"vector-view-view": "Lenn",
"vector-view-viewsource": "Sellet ouzh tarzh an destenn",
"vector-more-actions": "Muioc'h"
"vector-jumptonavigation": "Mont dar merdeerezh",
"vector-jumptosearch": "Mont dar chlask",
"vector-jumptocontent": "Mont dan endalchad",
"vector-more-actions": "Muioc'h",
"vector-search-loader": "O kargañ alioù klask",
"vector-searchsuggest-containing": "Klask pajennoù a zo <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> enno",
"vector-intro-page": "Help:Introduction",
"vector-toc-heading": "Taolenn",
"vector-toc-toggle-position-sidebar": "mont dar varrenn gostez",
"vector-toc-toggle-position-title": "kuzhat",
"vector-toc-beginning": "Deroù",
"vector-toc-toggle-button-label": "Diskwel/kuzhat isrann $1",
"vector-anon-user-menu-pages": "Pajennoù evit implijerien digevreet",
"vector-anon-user-menu-pages-learn": "gouzout hiroc'h",
"vector-anon-user-menu-pages-label": "Gouzout hiroch a-zivout degas kemmoù",
"vector-main-menu-tooltip": "Lañser pennañ",
"vector-toc-menu-tooltip": "Taolenn",
"vector-toc-collapsible-button-label": "Gwintañ an daolenn",
"vector-site-nav-label": "Lec'hienn",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Kaozeadenn]]",
"tooltip-vector-anon-user-menu-title": "Muioc'h a zibaboù"
}

View File

@ -14,7 +14,9 @@
"prefs-vector-enable-vector-1-help": "Kroz narednih nekoliko godina postepeno ćemo ažurirati temu Vector. Stari Vector pružit će Vam mogućnost da koristite raniju verziju Vectora (zamrznutu u decembru 2019). Za detalje o ažuriranjima, posjetite našu [[mw:Reading/Web/Desktop_Improvements|projektnu stranicu]].",
"vector-opt-out": "Prebaci na stari izgled",
"vector-opt-out-tooltip": "Promijenite postavke da biste vratili stari izgled teme (stari Vector)",
"vector-languages": "Jezici",
"vector-language-button-label": "{{PLURAL:$1|$1 jezik|$1 jezika}}",
"vector-language-redirect-to-top": "Linkovi na druge jezike nalaze se u gornjem desnom uglu stranice pored naslova članka. [[#p-lang-btn|Idi na vrh]].",
"vector-action-addsection": "Dodaj temu",
"vector-action-delete": "Izbriši",
"vector-action-move": "Premjesti",
@ -29,5 +31,10 @@
"vector-jumptonavigation": "Idi na navigaciju",
"vector-jumptosearch": "Idi na pretragu",
"vector-more-actions": "Više",
"vector-search-loader": "Učitavam prijedloge pretrage"
"vector-search-loader": "Učitavam prijedloge pretrage",
"vector-toc-heading": "Sadržaj",
"vector-toc-beginning": "Početak",
"vector-anon-user-menu-pages-learn": "detaljnije",
"vector-main-menu-tooltip": "Glavni meni",
"tooltip-vector-anon-user-menu-title": "Više opcija"
}

View File

@ -4,6 +4,7 @@
"Filipinayzd"
]
},
"vector-action-addsection": "Magrugang sa paksa",
"vector-action-delete": "Puraon",
"vector-action-move": "Ilipat",
"vector-action-protect": "Protektaran",

View File

@ -3,6 +3,7 @@
"authors": [
"Abella",
"Aleator",
"Amire80",
"Anskar",
"Calak",
"Fitoschido",
@ -14,14 +15,19 @@
"Vriullop"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Versió moderna del MonoBook amb un nou aspesctes i moltes millores en la usabilitat",
"skinname-vector": "Vector (versió 2010)",
"vector-skin-desc": "Proporciona dues aparences Vector:\n* 2011 - La versió moderna de MonoBook amb aspecte refrescat i moltes millores d'usabilitat.\n* 2022 - La versió Vector construïda com a part del projecte [[mw:Desktop Improvements]] de la Fundació Wikimedia.",
"prefs-vector-enable-vector-1-label": "Usa la versió antiga de Vector",
"prefs-vector-enable-vector-1-help": "En els propers anys, s'anirà actualitzant gradualment l'aparença Vector. La versió antiga de Vector us permet deixar-la tal com està a desembre de 2019. Per a saber més sobre les actualitzacions, vegeu la [[mw:Reading/Web/Desktop_Improvements|pàgina del projecte]].",
"vector-opt-out": "Canvia a l'aspecte d'abans",
"vector-opt-out-tooltip": "Canvia la configuració a la versió antiga (legacy Vector)",
"vector-action-toggle-sidebar": "Mostra o oculta la barra lateral",
"vector-languages": "Llengües",
"vector-language-button-aria-label": "Vés a un article en una altra llengua. Disponible en {{PLURAL:$1|$1 llengua|$1 llengües}}",
"vector-language-button-label": "{{PLURAL:$1|$1 llengua|$1 llengües}}",
"vector-no-language-button-label": "Afegeix llengües",
"vector-language-redirect-to-top": "En aquest projecte {{SITENAME}}, els enllaços de llengua són a dalt de la pàgina a l'altre costat del títol. [[#p-lang-btn|Vés a dalt]].",
"vector-language-variant-switcher-label": "Canvia la variant de llengua",
"vector-action-addsection": "Afegeix un tema",
"vector-action-delete": "Esborra",
"vector-action-move": "Reanomena",
@ -37,5 +43,18 @@
"vector-jumptosearch": "Salta a la cerca",
"vector-jumptocontent": "Vés al contingut",
"vector-more-actions": "Més",
"vector-search-loader": "Carregant els suggeriments de cerca"
"vector-search-loader": "Carregant els suggeriments de cerca",
"vector-searchsuggest-containing": "Cerca les pàgines que continguin <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Introducció",
"vector-toc-heading": "Contingut",
"vector-toc-beginning": "Inici",
"vector-toc-toggle-button-label": "Commuta la subsecció $1",
"vector-anon-user-menu-pages": "Pàgines per a editors no registrats",
"vector-anon-user-menu-pages-learn": "més informació",
"vector-anon-user-menu-pages-label": "Vegeu més informació sobre l'edició",
"vector-main-menu-tooltip": "Menú principal",
"vector-toc-menu-tooltip": "Taula de continguts",
"vector-site-nav-label": "Lloc",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Discussió]]",
"tooltip-vector-anon-user-menu-title": "Més opcions"
}

View File

@ -16,6 +16,6 @@
"vector-view-edit": "Siŭ-gāi",
"vector-view-history": "Káng lĭk-sṳ̄",
"vector-view-view": "Tĕ̤k",
"vector-view-viewsource": "看源代碼",
"vector-view-viewsource": "Káng nguòng-dâi-mā",
"vector-more-actions": "Gó-sâ̤"
}

View File

@ -6,25 +6,40 @@
"Умар"
]
},
"skinname-vector": "Векторан",
"skinname-vector": "Вектор, ширйеларг (2010)",
"skinname-vector-2022": "Вектор (2022 шо)",
"vector-specialversion-name": "Векторан",
"vector-skin-desc": "ХӀокху хенан MonoBook-ан верси кечдинчу карладахаршца а, дуккха а тодаршца юзабилити чохь",
"prefs-vector-enable-vector-1-label": "Лелайе Векторан темин шира верси",
"prefs-vector-enable-vector-1-help": "ТӀедогӀучу массийта шарахь «Векторан» тема карлайоккхура йу. «Векторан хьалхара версис» шуьна аьтту бо «Векторан» хьалхара вариант лело (2019 декабрь). Кхин сов цуьнах лаьцна хаа хьажа [[mw:Special:MyLanguage/Reading/Web/Desktop_Improvements|проектан агӀонга]].",
"vector-opt-out": "Латайе шира хатӀ",
"vector-opt-out-tooltip": "Шира тема латайан, хийца нисдаран гӀирс (Ширйелла векторан)",
"vector-action-toggle-sidebar": "АгӀорара панель хийца",
"vector-languages": "Меттанаш",
"vector-language-button-label": "{{PLURAL:$1|$1 мотт}}",
"vector-language-redirect-to-top": "ХӀокху сайтехь меттанийн хьажоргаш йу агӀонан йуьхьегехь, йаззаман цӀеран дуьхьала. [[#p-lang-btn|Йуьхье гӀо]].",
"vector-action-addsection": "Тема тӀетоха",
"vector-action-delete": "ДӀайаккхар",
"vector-action-move": "ЦӀе хийцар",
"vector-action-protect": "Ларйар",
"vector-action-undelete": "МеттахӀоттайе",
"vector-action-unprotect": "Ларйар хийцар",
"vector-view-create": "Кхоллар",
"vector-view-create": "БӀаьра кхолла",
"vector-view-edit": "Нисйе бӀаьра",
"vector-view-history": "АгӀонан хийцамаш",
"vector-view-view": "Йеша",
"vector-view-viewsource": "Билглонашка хьажа",
"vector-view-viewsource": "Коде хьажар",
"vector-jumptonavigation": "Навигацин тӀегӀо",
"vector-jumptosearch": "Лахарна тӀегӀо",
"vector-more-actions": "Кхин",
"vector-jumptocontent": "Чулацаман тӀегӀо",
"vector-more-actions": "Кхин а",
"vector-search-loader": "Чудохуш ду лахаран кховдинарш",
"vector-intro-page": "Help:Хаам",
"vector-toc-heading": "Чулацам",
"vector-toc-beginning": "Йуьхь",
"vector-anon-user-menu-pages-learn": "совнаха хаа",
"vector-anon-user-menu-pages-label": "Хийцамашбарах мадарра",
"vector-main-menu-tooltip": "Коьрта меню",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Дискусси]]",
"tooltip-vector-anon-user-menu-title": "Дукха таронаш"
}

View File

@ -1,17 +1,21 @@
{
"@metadata": {
"authors": [
"Aram",
"Asoxor",
"Calak",
"Muhammed taha",
"Sarchia",
"ئارام بکر"
]
},
"skinname-vector": "ڤێکتۆر",
"skinname-vector-2022": "ڤێکتۆر (٢٠٢٢)",
"prefs-vector-enable-vector-1-label": "ڤێکتۆری سپاردە بەکاربێنە",
"prefs-vector-enable-vector-1-help": "لەماوەی چەند ساڵی داھاتوو، ھەوڵی نوێکردنەوەی پێستەی ڤێکتۆر دەدەین. ڤێکتۆری سپاردە ڕێگەت پێ دەدات کە وەشانە کۆنەکەی ڤێکتۆر (لە کانوونی یەکەمی ٢٠١٩) ببینیت. بۆ زیاتر زانیاری لەسەر نوێکردنەوەکان، بڕۆ بۆ [[mw:Reading/Web/Desktop_Improvements|پەڕەی پرۆژەکەمان]].",
"vector-opt-out": "بۆ دیمەنە کۆنەکە بیگۆڕە",
"vector-opt-out-tooltip": "ڕێکخستنەکانت بۆ گەڕانەوەی دیمەنە کۆنەکەی پێستەکە (ڤێکتۆری سپاردە) بگۆڕە",
"vector-language-button-label": "{{{{PLURAL:$1|$1 زمان|$1 زمان}}}}",
"vector-action-addsection": "بابەت دابنێ",
"vector-action-delete": "سڕینەوە",
"vector-action-move": "گواستنەوە",

View File

@ -1,9 +1,19 @@
{
"@metadata": {
"authors": [
"ChoiChong"
"ChoiChong",
"Kahin He"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1语言}}",
"vector-action-addsection": "添加话题",
"vector-action-delete": "刪",
"vector-action-move": "移动",
"vector-view-edit": "修改"
"vector-action-protect": "保护",
"vector-view-create": "創建",
"vector-view-edit": "修改",
"vector-view-history": "看历史",
"vector-view-view": "读",
"vector-more-actions": "価兮",
"vector-searchsuggest-containing": "寻讨含有<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>兮页面"
}

View File

@ -1,9 +1,13 @@
{
"@metadata": {
"authors": [
"Don Alessandro"
"Amire80",
"Don Alessandro",
"TayfunEt."
]
},
"vector-languages": "Tiller",
"vector-language-button-label": "{{PLURAL:$1|$1 til|$1 tiller}}",
"vector-action-addsection": "Mevzu qoş",
"vector-action-delete": "Yoq et",
"vector-action-move": "Adını deñiştir",
@ -15,5 +19,6 @@
"vector-view-history": "Keçmişini köster",
"vector-view-view": "Oqu",
"vector-view-viewsource": "Menba kodunı köster",
"vector-more-actions": "Başqa areketler"
"vector-more-actions": "Başqa areketler",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> içeren saifelerni qıdır"
}

View File

@ -1,16 +1,21 @@
{
"@metadata": {
"authors": [
"Amire80",
"Dvorapa",
"Fraxinus.cs",
"Jaroslav Cerny",
"Kareyac",
"Matěj Suchánek",
"Mormegil",
"Patriccck",
"Patrik L."
]
},
"skinname-vector": "Vektor",
"vector-skin-desc": "Moderní verze vzhledu Kniha s novějším vzhledem a vylepšenou použitelností",
"skinname-vector": "Starý Vektor (2010)",
"skinname-vector-2022": "Vektor (2022)",
"vector-specialversion-name": "Vektor",
"vector-skin-desc": "Poskytuje 2 vzhledy Vektor:\n* 2011 - Moderní verze vzhledu Kniha s novějším vzhledem a vylepšenou použitelností.\n* 2022 - Vektor vytvořený jako součást projektu WMF [[mw:Desktop Improvements]].",
"prefs-vector-enable-vector-1-label": "Použít starý Vektor",
"prefs-vector-enable-vector-1-help": "V následujících letech budeme postupně aktualizovat vzhled Vektor. Starý Vektor vám umožní používat starou verzi Vektoru z prosince 2019. Více o aktualizacích se dozvíte na naší [[mw:Reading/Web/Desktop_Improvements|projektové stránce]].",
"vector-opt-out": "Přepnout na starý vzhled",
@ -18,7 +23,12 @@
"vector.css": "/* Veškeré zde uvedené CSS bude načítáno uživatelům vzhledu „Vektor“ */",
"vector.js": "/* Veškerý zde uvedený JavaScript bude načítán uživatelům vzhledu „Vektor“ */",
"vector-action-toggle-sidebar": "Přepnout postranní panel",
"vector-languages": "Jazyky",
"vector-language-button-aria-label": "Přejděte k článku v jiném jazyce. Je dostupný v {{PLURAL:$1|$1 jazyce|$1 jazycích}}",
"vector-language-button-label": "{{PLURAL:$1|$1 jazyk|$1 jazyky|$1 jazyků}}",
"vector-no-language-button-label": "Přidat jazyky",
"vector-language-redirect-to-top": "Tady na {{GRAMMAR:6sg|{{SITENAME}}}} jsou mezijazykové odkazy nahoře na stránce, napravo od názvu článku. [[#p-lang-btn|Jít nahoru]].",
"vector-language-variant-switcher-label": "Změnit variantu jazyka",
"vector-action-addsection": "Přidat téma",
"vector-action-delete": "Smazat",
"vector-action-move": "Přesunout",
@ -35,8 +45,18 @@
"vector-jumptocontent": "Přeskočit na obsah",
"vector-more-actions": "Další",
"vector-search-loader": "Načítají se návrhy pro hledání",
"vector-searchsuggest-containing": "Vyhledat stránky obsahující „<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>“",
"vector-intro-page": "Nápověda:Úvod",
"vector-toc-heading": "Obsah",
"vector-toc-toggle-position-sidebar": "přesunout do postranního panelu",
"vector-toc-toggle-position-title": "skrýt",
"vector-toc-beginning": "Začátek",
"vector-anon-user-menu-pages": "Stránky pro odhlášené editory",
"vector-anon-user-menu-pages-learn": "dozvědět se více",
"vector-personal-more-label": "Uživatelské odkazy",
"vector-main-menu-tooltip": "Hlavní menu"
"vector-anon-user-menu-pages-label": "Více informací o editování",
"vector-main-menu-tooltip": "Hlavní menu",
"vector-toc-menu-tooltip": "Obsah",
"vector-toc-collapsible-button-label": "Přepnout obsah",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Diskuse]]",
"tooltip-vector-anon-user-menu-title": "Další možnosti"
}

View File

@ -1,9 +1,11 @@
{
"@metadata": {
"authors": [
"JonesT143",
"Lloffiwr"
]
},
"vector-language-button-label": "$1 iaith",
"vector-action-addsection": "Ychwanegu adran",
"vector-action-delete": "Dileu",
"vector-action-move": "Symud",

View File

@ -1,20 +1,28 @@
{
"@metadata": {
"authors": [
"Amire80",
"Antonla",
"Byrial",
"Christian List",
"Jan Friberg",
"Peter Alberti",
"Saederup92",
"Weblars"
]
},
"vector-skin-desc": "Moderne version af MonoBook med frisk udseende og mange forbedringer af brugervenligheden",
"vector-skin-desc": "Der findes 2 Vector skins:\n\n* 2011 - Den moderne version af MonoBook med frisk udseende og mange forbedringer af brugervenligheden.\n* 2022 - Den version som er udviklet som en del af WMFs [[mw:Desktop Improvements]] project.",
"prefs-vector-enable-vector-1-label": "Brug klassisk Vector",
"prefs-vector-enable-vector-1-help": "I løbet af de næste år vil vi gradvis opdatere Vector-udseendet. Klassisk Vector vil vise den gamle version af Vector (per december 2019). For at læse mere om opdateringen, se [[mw:Reading/Web/Desktop_Improvements|vores projektside]].",
"vector-opt-out": "Skift til det gamle udseende",
"vector-opt-out-tooltip": "Ændr indstillingerne for at gå tilbage til det gamle udseende (klassisk Vector)",
"vector-action-toggle-sidebar": "Vis/skjul venstremenuen",
"vector-action-addsection": "Nyt emne",
"vector-languages": "Sprog",
"vector-language-button-aria-label": "Gå til en artikel på et andet sprog. Tilgængelig på {{PLURAL:$1|$1 sprog}}",
"vector-language-button-label": "{{PLURAL:$1|$1 sprog}}",
"vector-language-redirect-to-top": "På denne {{SITENAME}} er sproglinkene i toppen af siden overfor artiklens titel.\n[[#p-lang-btn|Gå til toppen]].",
"vector-language-variant-switcher-label": "Ændr sprogvariant",
"vector-action-addsection": "Tilføj emne",
"vector-action-delete": "Slet",
"vector-action-move": "Flyt",
"vector-action-protect": "Beskyt",
@ -29,6 +37,12 @@
"vector-jumptosearch": "Spring til søgning",
"vector-jumptocontent": "Spring til indhold",
"vector-more-actions": "Mere",
"vector-search-loader": "Henter søgeforslag",
"vector-searchsuggest-containing": "Søgning for sider der indeholder <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Introduktion",
"vector-anon-user-menu-pages": "Sider for redaktører som er logget ud",
"vector-anon-user-menu-pages-learn": "lær mere",
"vector-main-menu-tooltip": "Hovedmenu"
"vector-anon-user-menu-pages-label": "Læs mere om redigering",
"vector-main-menu-tooltip": "Hovedmenu",
"tooltip-vector-anon-user-menu-title": "Flere mugligheder"
}

View File

@ -7,6 +7,7 @@
"Dnshitobu",
"Jahinfo",
"Masssly",
"Musahfm",
"Ruky Wunpini"
]
},
@ -20,5 +21,6 @@
"vector-view-edit": "Mali niŋ",
"vector-view-history": "Lihimi tarihi",
"vector-view-view": "Karimma",
"vector-more-actions": "Lihimi n pahi"
"vector-more-actions": "Lihimi n pahi",
"vector-searchsuggest-containing": "Yuli bo yaɣi shɛŋa din mali <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Brettchenweber",
"CennoxX",
"Kghbln",
"Metalhead64",
@ -8,8 +9,9 @@
"Umherirrender"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Stellt eine modernisierte Benutzeroberfläche bereit",
"skinname-vector": "Vector alt (2010)",
"skinname-vector-2022": "Vector (2022)",
"vector-skin-desc": "Bietet 2 Varianten der Benutzeroberfläche:\n* 2011 - Die moderne Version mit frischem Aussehen und vielen Verbesserungen der Benutzerfreundlichkeit.\n* 2022 - Der neueste Version, die als Teil des WMF-Projekts [[mw:Desktop Improvements]] entwickelt wurde.",
"prefs-vector-enable-vector-1-label": "Verwende klassischen Vector",
"prefs-vector-enable-vector-1-help": "Im Laufe der kommenden Jahre wird die Benutzeroberfläche Vector schrittweise modernisiert. Mit dem klassischen Vector kannst du die bisherige Version von Vector (Stand: Dezember 2019) weiterhin verwenden. Mehr über die Modernisierungen findest du auf der [[mw:Reading/Web/Desktop_Improvements|Projektseite]].",
"vector-opt-out": "Umschalten zum bisherigen Aussehen",
@ -17,8 +19,12 @@
"vector.css": "/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. */",
"vector.js": "/* Das folgende JavaScript wird für Benutzer der Vector-Benutzeroberfläche geladen. */",
"vector-action-toggle-sidebar": "Seitenleiste umschalten",
"vector-languages": "Sprachen",
"vector-language-button-aria-label": "Zu einem Artikel in einer anderen Sprache gehen. Verfügbar in {{PLURAL:$1|$1 Sprache|$1 Sprachen}}",
"vector-language-button-label": "{{PLURAL:$1|$1 Sprache|$1 Sprachen}}",
"vector-no-language-button-label": "Sprachen hinzufügen",
"vector-no-language-button-aria-label": "Dieser Artikel existiert nur in dieser Sprache. Füge den Artikel für andere Sprachen hinzu",
"vector-language-redirect-to-top": "In {{SITENAME}} befinden sich die Sprachlinks am oberen Rand der Seite gegenüber dem Artikeltitel. [[#p-lang-btn|Zum Anfang]].",
"vector-language-variant-switcher-label": "Sprachvariante ändern",
"vector-action-addsection": "Abschnitt hinzufügen",
"vector-action-delete": "Löschen",
@ -36,13 +42,20 @@
"vector-jumptocontent": "Zum Inhalt springen",
"vector-more-actions": "Mehr",
"vector-search-loader": "Laden von Suchvorschlägen",
"vector-searchsuggest-containing": "Suche nach Seiten, die <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> enthalten",
"vector-intro-page": "Help:Einführung",
"vector-toc-heading": "Inhaltsverzeichnis",
"vector-toc-toggle-position-sidebar": "In die Seitenleiste verschieben",
"vector-toc-toggle-position-title": "Verbergen",
"vector-toc-beginning": "Anfang",
"vector-toc-toggle-button-label": "Unterabschnitt $1 umschalten",
"vector-anon-user-menu-pages": "Seiten für abgemeldete Benutzer",
"vector-anon-user-menu-pages-learn": "Weitere Informationen",
"vector-anon-user-menu-pages-label": "Erfahre mehr über das Bearbeiten",
"vector-personal-more-label": "Benutzerlinks",
"vector-main-menu-tooltip": "Hauptmenü",
"tooltip-vector-anon-user-menu-title": "Weitere Optionen",
"vector-menu-checkbox-expanded": "ausgeklappt",
"vector-menu-checkbox-collapsed": "eingeklappt"
"vector-toc-menu-tooltip": "Inhaltsverzeichnis",
"vector-toc-collapsible-button-label": "Inhaltsverzeichnis umschalten",
"vector-site-nav-label": "Website",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Diskussion]]",
"tooltip-vector-anon-user-menu-title": "Weitere Optionen"
}

View File

@ -2,6 +2,7 @@
"@metadata": {
"authors": [
"1917 Ekim Devrimi",
"Amire80",
"Asmen",
"Calak",
"Dılmıc",
@ -22,6 +23,7 @@
"vector-opt-out": "Ravêr asayışê verêni",
"vector-opt-out-tooltip": "Kehan asayışê cildi şiyayışi rê eyaranê ho bıvurnê (Vektoro kehan)",
"vector-action-toggle-sidebar": "Toggle sidebar",
"vector-language-button-label": "{{PLURAL:$1|$1 zıwan|$1 zıwani}}",
"vector-action-addsection": "Mewzu ake",
"vector-action-delete": "Bestere",
"vector-action-move": "Bıkırışe",
@ -37,5 +39,6 @@
"vector-jumptosearch": "Xıl de cıgeyrayışi",
"vector-jumptocontent": "Ravêr zerreki",
"vector-more-actions": "Zêde",
"vector-search-loader": "Tewsiye cıgeyrayışi bar benê"
"vector-search-loader": "Tewsiye cıgeyrayışi bar benê",
"vector-searchsuggest-containing": "Pelanê tede <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> esto, cı geyre"
}

View File

@ -1,7 +1,8 @@
{
"@metadata": {
"authors": [
"Michawiki"
"Michawiki",
"Vlad5250"
]
},
"vector-action-addsection": "Temu pśidaś",
@ -14,5 +15,6 @@
"vector-view-edit": "Wobźěłaś",
"vector-view-history": "Wersije a awtory",
"vector-view-view": "Cytaś",
"vector-view-viewsource": "Žrědło se woglědaś"
"vector-view-viewsource": "Žrědło se woglědaś",
"vector-more-actions": "Wěcej"
}

View File

@ -2,11 +2,16 @@
"@metadata": {
"authors": [
"Aguve",
"Amuzujoe",
"Azorbli",
"Natsubee"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 gbe|$1 gbeawo}}",
"vector-action-addsection": "Tsɔ tanya kpi",
"vector-action-delete": "Tutui",
"vector-action-move": "Ɖɔli eƒe nɔƒe",
"vector-action-protect": "Kpɔ eta",
"vector-view-create": "Dze egɔme",
"vector-view-edit": "Trɔ asi le eŋu",
"vector-view-history": "Kpɔ xoxoawo",

9
i18n/efi.json Normal file
View File

@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Samatics"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 usem|$1 mme usem}}",
"vector-view-view": "Kot"
}

View File

@ -7,13 +7,14 @@
"Geraki",
"NikosLikomitros",
"Nikosgranturismogt",
"Norhorn",
"Omnipaedista",
"Protnet",
"ZaDiak",
"Αντιγόνη"
]
},
"vector-skin-desc": "Σύγχρονη έκδοση του MonoBook με φρέσκια ματιά και πολλές βελτιώσεις χρηστικότητας",
"vector-skin-desc": "Παρέχει 2 Vector θέματα:\n* 2011 - Τη σύγχρονη έκδοση του MonoBook με φρέσκια εμφάνιση και πολλές βελτιώσεις στη χρηστικότητα.\n* 2022 - Το Vector που δημιουργήθηκε ως μέρος του έργου [[mw:Desktop Improvements]] του WMF.",
"prefs-vector-enable-vector-1-label": "Χρήση του Legacy Vector",
"prefs-vector-enable-vector-1-help": "Κατά τα επόμενα χρόνια, θα αναβαθμίζουμε σταδιακά το περιβάλλον Vector. Το Legacy Vector θα σας επιτρέψει να δείτε την παλιά έκδοση του Vector (ως τον Δεκέμβριο του 2019). Για να μάθετε περισσότερα σχετικά με τις αναβαθμίσεις, μεταβείτε στη [[mw:Reading/Web/Desktop_Improvements|σελίδα του έργου]] μας.",
"vector-opt-out": "Εναλλαγή στην παλιά εμφάνιση",
@ -21,7 +22,13 @@
"vector.css": "/* Όλα τα CSS εδώ θα φορτώσουν για χρήστες του Vector skin */",
"vector.js": "/* Όλη η JavaScript εδώ θα φορτωθεί για χρήστες που χρησιμοποιούν το Vector skin */",
"vector-action-toggle-sidebar": "Εναλλαγή πλευρικής στήλης",
"vector-languages": "Γλώσσες",
"vector-language-button-aria-label": "Μεταβείτε σε ένα λήμμα σε άλλη γλώσσα. Διαθέσιμο σε {{PLURAL:$1|μία γλώσσα|$1 γλώσσες}}",
"vector-language-button-label": "{{PLURAL:$1|$1 γλώσσα|$1 γλώσσες}}",
"vector-no-language-button-label": "Προσθήκη γλωσσών",
"vector-no-language-button-aria-label": "Αυτό το λήμμα υπάρχει μόνο σε αυτή τη γλώσσα. Προσθέστε το λήμμα για άλλες γλώσσες",
"vector-language-redirect-to-top": "Σε αυτή τη {{SITENAME}} οι σύνδεσμοι γλώσσας βρίσκονται στο επάνω μέρος της σελίδας απέναντι από τον τίτλο του λήμματος. [[#p-lang-btn|Μετάβαση στην κορυφή]].",
"vector-language-variant-switcher-label": "Αλλαγή παραλλαγής γλώσσας",
"vector-action-addsection": "Προσθήκη θέματος",
"vector-action-delete": "Διαγραφή",
"vector-action-move": "Μετακίνηση",
@ -37,5 +44,21 @@
"vector-jumptosearch": "Πήδηση στην αναζήτηση",
"vector-jumptocontent": "Μετάβαση στο περιεχόμενο",
"vector-more-actions": "Περισσότερα",
"vector-search-loader": "Φόρτωση προτάσεων αναζήτησης"
"vector-search-loader": "Φόρτωση προτάσεων αναζήτησης",
"vector-searchsuggest-containing": "Αναζητήστε σελίδες που περιέχουν <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Εισαγωγή",
"vector-toc-heading": "Περιεχόμενα",
"vector-toc-toggle-position-sidebar": "μετακίνηση στην πλαϊνή μπάρα",
"vector-toc-toggle-position-title": "απόκρυψη",
"vector-toc-beginning": "Αρχή",
"vector-toc-toggle-button-label": "Εναλλαγή $1 υποενότητας",
"vector-anon-user-menu-pages": "Σελίδες για αποσυνδεμένους συντάκτες",
"vector-anon-user-menu-pages-learn": "μάθετε περισσότερα",
"vector-anon-user-menu-pages-label": "Μάθετε περισσότερα σχετικά με την επεξεργασία",
"vector-main-menu-tooltip": "Κύριο μενού",
"vector-toc-menu-tooltip": "Πίνακας Περιεχομένων",
"vector-toc-collapsible-button-label": "Εναλλαγή του πίνακα περιεχομένων",
"vector-site-nav-label": "Ιστότοπος",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Συζήτηση]]",
"tooltip-vector-anon-user-menu-title": "Περισσότερες επιλογές"
}

View File

@ -1,15 +0,0 @@
{
"@metadata": {
"authors": [
"Andibing",
"Chase me ladies, I'm the Cavalry",
"Nemo bis"
]
},
"vector-action-addsection": "Add topic",
"vector-view-create": "Create",
"vector-view-edit": "Edit",
"vector-view-history": "View history",
"vector-view-view": "Read",
"vector-more-actions": "More"
}

View File

@ -2,8 +2,10 @@
"@metadata": {
"authors": []
},
"skinname-vector": "Vector",
"vector-skin-desc": "Modern version of MonoBook with fresh look and many usability improvements",
"skinname-vector": "Vector legacy (2010)",
"skinname-vector-2022": "Vector (2022)",
"vector-specialversion-name": "Vector",
"vector-skin-desc": "Provides 2 Vector skins:\n* 2011 - The Modern version of MonoBook with fresh look and many usability improvements.\n* 2022 - The Vector built as part of the WMF [[mw:Desktop Improvements]] project.",
"prefs-vector-enable-vector-1-label": "Use Legacy Vector",
"prefs-vector-enable-vector-1-help": "Over the next few years, we will be gradually updating the Vector skin. Legacy Vector will allow you to view the old version of Vector (as of December 2019). To learn more about the updates, go to our [[mw:Reading/Web/Desktop_Improvements|project page]].",
"vector-opt-out": "Switch to old look",
@ -11,8 +13,12 @@
"vector.css": "/* All CSS here will be loaded for users of the Vector skin */",
"vector.js": "/* All JavaScript here will be loaded for users of the Vector skin */",
"vector-action-toggle-sidebar": "Toggle sidebar",
"vector-languages": "Languages",
"vector-language-button-aria-label": "Go to an article in another language. Available in {{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-button-label": "{{PLURAL:$1|$1 language|$1 languages}}",
"vector-no-language-button-label": "Add languages",
"vector-no-language-button-aria-label": "This article exist only in this language. Add the article for other languages",
"vector-language-redirect-to-top": "On this {{SITENAME}} the language links are at the top of the page across from the article title. [[#p-lang-btn|Go to top]].",
"vector-language-variant-switcher-label": "Change language variant",
"vector-action-addsection": "Add topic",
"vector-action-delete": "Delete",
@ -30,13 +36,20 @@
"vector-jumptocontent": "Jump to content",
"vector-more-actions": "More",
"vector-search-loader": "Loading search suggestions",
"vector-searchsuggest-containing": "Search for pages containing <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Introduction",
"vector-toc-heading": "Contents",
"vector-toc-toggle-position-sidebar": "move to sidebar",
"vector-toc-toggle-position-title": "hide",
"vector-toc-beginning": "Beginning",
"vector-toc-toggle-button-label": "Toggle $1 subsection",
"vector-anon-user-menu-pages": "Pages for logged out editors",
"vector-anon-user-menu-pages-learn": "learn more",
"vector-anon-user-menu-pages-label": "Learn more about editing",
"vector-personal-more-label": "User links",
"vector-main-menu-tooltip": "Main menu",
"tooltip-vector-anon-user-menu-title": "More options",
"vector-menu-checkbox-expanded": "expanded",
"vector-menu-checkbox-collapsed": "collapsed"
"vector-toc-menu-tooltip": "Table of Contents",
"vector-toc-collapsible-button-label": "Toggle the table of contents",
"vector-site-nav-label": "Site",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Discussion]]",
"tooltip-vector-anon-user-menu-title": "More options"
}

View File

@ -4,6 +4,7 @@
"KuboF",
"Mirin",
"Objectivesea",
"Robin van der Vliet",
"Yekrats"
]
},
@ -11,6 +12,7 @@
"vector-skin-desc": "Moderna versio de MonoBook kun freŝa aspekto kaj plibonigo de uzebleco",
"vector.css": "/* La jena CSS influos la paĝaspekton por uzantoj de la Vektora temo. */",
"vector.js": "/* La jena Ĝavaskripto ŝargiĝos por uzantoj de la Vektora temo. */",
"vector-language-button-label": "{{PLURAL:$1|$1 lingvo|$1 lingvoj}}",
"vector-action-addsection": "Aldoni temon",
"vector-action-delete": "Forigi",
"vector-action-move": "Alinomi",

View File

@ -1,10 +1,15 @@
{
"@metadata": {
"authors": [
"Adam N.",
"Amire80",
"Armando-Martin",
"Avengium",
"Crazymadlover",
"Dalton2",
"DarkGames26",
"Dgstranz",
"DiegoAmbrocio",
"Fitoschido",
"Geryescalier",
"Ihojose",
@ -18,16 +23,24 @@
"Vivaelcelta"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Versión moderna de MonoBook, con un aspecto actualizado y muchas mejoras de usabilidad",
"skinname-vector": "Versión heredada de Vector (2010)",
"skinname-vector-2022": "Vector (2022)",
"vector-specialversion-name": "Vector",
"vector-skin-desc": "Proporciona dos apariencias de Vector:\n* 2011 - Versión moderna de MonoBook, con un aspecto actualizado y muchas mejoras de usabilidad\n* 2022 - Vector construido como parte del proyecto [[mw:Desktop Improvements|Mejoras a la IU de escritorio]] de la Fundación Wikimedia.",
"prefs-vector-enable-vector-1-label": "Utilizar versión heredada de Vector",
"prefs-vector-enable-vector-1-help": "Durante los próximos años, actualizaremos gradualmente la piel Vector. La versión heredada de Vector te permitirá ver la versión anterior de Vector (a diciembre de 2019). Para obtener más información sobre las actualizaciones, ve a nuestra [[mw:Reading/Web/Desktop_Improvements|página del proyecto]].",
"vector-opt-out": "Cambiar a la apariencia anterior",
"vector-opt-out-tooltip": "Cambie su configuración para volver al aspecto anterior de la máscara (Vector heredado)",
"vector.css": "/* El CSS colocado en esta página afectará a los usuarios que usen la apariencia \"Vector\" */",
"vector.js": "/* Cualquier código JavaScript escrito aquí se cargará para todos los usuarios que usen la apariencia Vector */",
"vector.css": "/* Todo CSS colocado en esta página será cargado para los usuarios que usen la apariencia \"Vector\" */",
"vector.js": "/* Todo código JavaScript escrito aquí se cargará para todos los usuarios de la apariencia Vector */",
"vector-action-toggle-sidebar": "Mostrar u ocultar la barra lateral",
"vector-languages": "Idiomas",
"vector-language-button-aria-label": "Ir a un artículo en otro idioma. Disponible en {{PLURAL:$1|$1 idioma|$1 idiomas}}",
"vector-language-button-label": "{{PLURAL:$1|$1 idioma|$1 idiomas}}",
"vector-no-language-button-label": "Añadir idiomas",
"vector-no-language-button-aria-label": "Este artículo existe sólo en este idioma. Añade el artículo para otros idiomas",
"vector-language-redirect-to-top": "En este {{SITENAME}}, los enlaces de idiomas se encuentran en la parte superior de la página, frente al título del artículo. [[#p-lang-btn|Ir arriba]].",
"vector-language-variant-switcher-label": "Cambiar variante de idioma",
"vector-action-addsection": "Añadir tema",
"vector-action-delete": "Borrar",
"vector-action-move": "Trasladar",
@ -44,9 +57,20 @@
"vector-jumptocontent": "Ir al contenido",
"vector-more-actions": "Más",
"vector-search-loader": "Cargando sugerencias de búsqueda",
"vector-anon-user-menu-pages": "Páginas para editores que han cerrado la sesión",
"vector-searchsuggest-containing": "Buscar páginas que contengan <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Introducción",
"vector-toc-heading": "Contenidos",
"vector-toc-toggle-position-sidebar": "mover a la barra lateral",
"vector-toc-toggle-position-title": "ocultar",
"vector-toc-beginning": "Inicio",
"vector-toc-toggle-button-label": "Alternar subsección $1",
"vector-anon-user-menu-pages": "Páginas para editores desconectados",
"vector-anon-user-menu-pages-learn": "más información",
"vector-anon-user-menu-pages-label": "Obtenga más información sobre editar",
"vector-main-menu-tooltip": "Menú principal",
"vector-toc-menu-tooltip": "Tabla de contenidos",
"vector-toc-collapsible-button-label": "Cambiar a la tabla de contenidos",
"vector-site-nav-label": "Sitio",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Discusión]]",
"tooltip-vector-anon-user-menu-title": "Más opciones"
}

View File

@ -1,13 +1,16 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ker",
"Pikne",
"WikedKentaur"
]
},
"skinname-vector": "Vektor",
"vector-skin-desc": "MonoBooki uuem versioon värskema väljanägemise ja mitme kasutajasõbralikuma täiendusega",
"skinname-vector": "Vana Vektor (2010)",
"skinname-vector-2022": "Vektor (2022)",
"vector-specialversion-name": "Vektor",
"vector-skin-desc": "Lisab kaks Vektori-kujundust:\n* 2011 MonoBooki uuem versioon värskema väljanägemise ja mitme kasutajasõbralikuma täiendusega.\n* 2022 WMF-i projekti [[mw:Desktop Improvements]] raames arendatud Vektor.",
"prefs-vector-enable-vector-1-label": "Kasuta vana Vektorit",
"prefs-vector-enable-vector-1-help": "Tulevatel aastatel uuendame järk-järgult Vektori-kujundust. Vana Vektor võimaldab kuvada kujunduse vana versiooni (seisuga detsember 2019). Lisateavet uuenduste kohta leiad [[mw:Reading/Web/Desktop_Improvements|projekti lehelt]].",
"vector-opt-out": "Lülitu vanale ilmele",
@ -15,7 +18,11 @@
"vector.css": "/* Siin asuv kaskaadilaadistik laaditakse kõigi Vektori-kujunduse kasutajate jaoks. */",
"vector.js": "/* Siin asuv JavaScript laaditakse kõigi Vektori-kujunduse kasutajate jaoks. */",
"vector-action-toggle-sidebar": "Näita külgpaani või peida see",
"vector-languages": "Keeled",
"vector-language-button-aria-label": "Mine teises keeles artiklisse. Saadaval {{PLURAL:$1|$1 keeles}}",
"vector-language-button-label": "{{PLURAL:$1|$1 keel|$1 keelt}}",
"vector-no-language-button-label": "Lisa keeled",
"vector-language-redirect-to-top": "Selles {{GRAMMAR:genitive|{{SITENAME}}}} artiklis on keelelingid artikli kohal pealkirja vastas. [[#p-lang-btn|Mine üles]].",
"vector-action-addsection": "Lisa teema",
"vector-action-delete": "Kustuta",
"vector-action-move": "Teisalda",
@ -32,12 +39,17 @@
"vector-jumptocontent": "Mine sisu juurde",
"vector-more-actions": "Veel",
"vector-search-loader": "Otsisoovituste laadimine",
"vector-anon-user-menu-pages": "Leheküljed sisse logimata kasutajatele",
"vector-searchsuggest-containing": "Otsi lehekülgi, kus sisaldub <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Sissejuhatus",
"vector-toc-heading": "Sisukord",
"vector-toc-toggle-position-sidebar": "vii külgpaanile",
"vector-toc-toggle-position-title": "peida",
"vector-toc-beginning": "Algus",
"vector-anon-user-menu-pages": "Sisse logimata kasutaja leheküljed",
"vector-anon-user-menu-pages-learn": "lisateave",
"vector-anon-user-menu-pages-label": "Loe veel muutmise kohta",
"vector-personal-more-label": "Kasutajalingid",
"vector-main-menu-tooltip": "Peamenüü",
"tooltip-vector-anon-user-menu-title": "Veel valikuid",
"vector-menu-checkbox-expanded": "avatud",
"vector-menu-checkbox-collapsed": "suletud"
"vector-toc-menu-tooltip": "Sisukord",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|arutelu]]",
"tooltip-vector-anon-user-menu-title": "Veel valikuid"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Amire80",
"Fitoschido",
"Subi",
"Theklan",
@ -8,9 +9,22 @@
"Xabier Armendaritz"
]
},
"vector-skin-desc": "MonoBook-en bertsio modernoa, itxura berriarekin eta erabilgarritasun hobekuntza askorekin",
"vector-opt-out": "Itxura zaharrera aldatu",
"skinname-vector": "Vector zaharra (2010)",
"vector-skin-desc": "2 Vector itxura ematen ditu: \n* 2011 - MonoBooken bertsio modernoa, itxura hobearekin eta erabilgarritasun hobekuntza askorekin.\n* 2022 - [[mw:Desktop Improvements]] proiektuak garattuako Vectorren bertsioa.",
"prefs-vector-enable-vector-1-label": "Erabili Vector itxura zaharra",
"prefs-vector-enable-vector-1-help": "Hurrengo urteotan, pixkanaka joango gara Vector itxura aldatzen. Vector itxura zaharrak oraindik aukera emango dizu Vectorrek zuen itxura zaharra (2019ko abendukoa) erabiltzeko. Aldaketei buruz gehiago jakiteko, zoaz [[mw:Reading/Web/Desktop_Improvements|proiektuaren orrira]].",
"vector-opt-out": "Aldatu itxura zaharrera",
"vector-opt-out-tooltip": "Aldatu zure ezarpenak, atzera aurreko itxurara joateko (Vector zaharra)",
"vector.css": "/* Hemen idatzitako CSS guztia Vector itxura duten erabiltzaile guztiei agertuko zaie */",
"vector.js": "/* Hemen idatzitako JavaScript guztia Vector itxura duten erabiltzaile guztiei agertuko zaie */",
"vector-action-toggle-sidebar": "Alboko barra ezkutatu edo erakutsi",
"vector-languages": "Hizkuntzak",
"vector-language-button-aria-label": "Joan beste hizkuntza batean idatzitako artikulu batera. {{PLURAL:$1|Hizkuntza batean|$1 hizkuntzatan}} eskuragarri.",
"vector-language-button-label": "{{PLURAL:$1|Hizkuntza bat|$1 hizkuntza}}",
"vector-no-language-button-label": "Hizkuntzak gehitu",
"vector-no-language-button-aria-label": "Artikulua soilik hizkuntza honetan existitzen da. Gehitu artikulua beste hizkuntza batean",
"vector-language-redirect-to-top": "{{SITENAME}} honetan hizkuntzen loturak orriaren goiko aldean daude, artikuluaren izenburuaren eskuinaldean. [[#p-lang-btn|Joan gora]].",
"vector-language-variant-switcher-label": "Aldatu hizkuntza aldaera",
"vector-action-addsection": "Gehitu atala",
"vector-action-delete": "Ezabatu",
"vector-action-move": "Mugitu",
@ -22,5 +36,24 @@
"vector-view-history": "Ikusi historia",
"vector-view-view": "Irakurri",
"vector-view-viewsource": "Kodea ikusia",
"vector-more-actions": "Gehiago"
"vector-jumptonavigation": "Nabigaziora joan",
"vector-jumptosearch": "Bilaketara joan",
"vector-jumptocontent": "Edukira joan",
"vector-more-actions": "Gehiago",
"vector-search-loader": "Bilaketa gomendioak kargatzen",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> duten orrialdeak bilatu",
"vector-intro-page": "Laguntza:Sarrera",
"vector-toc-heading": "Edukiak",
"vector-toc-toggle-position-sidebar": "mugitu alboko barrara",
"vector-toc-toggle-position-title": "ezkutatu",
"vector-toc-beginning": "⇈ Gora",
"vector-toc-toggle-button-label": "Erakutsi/ezkutatu $1 azpiatal",
"vector-anon-user-menu-pages": "Izena eman gabeko erabiltzaileentzako orrialdeak",
"vector-anon-user-menu-pages-learn": "gehiago ikasi",
"vector-anon-user-menu-pages-label": "Artikuluak aldatzeari buruz gehiago ikasi",
"vector-main-menu-tooltip": "Menu nagusia",
"vector-toc-menu-tooltip": "Eduki-taula",
"vector-toc-collapsible-button-label": "Eduki taularen ikusgarritasuna aldatu",
"vector-site-nav-label": "Gunea",
"tooltip-vector-anon-user-menu-title": "Aukera gehiago"
}

View File

@ -2,7 +2,8 @@
"@metadata": {
"authors": [
"Better",
"Crucifunked"
"Crucifunked",
"Julio Nepote"
]
},
"vector-action-addsection": "Añiil tema",
@ -12,8 +13,8 @@
"vector-action-undelete": "Esborral",
"vector-action-unprotect": "Esprotegel",
"vector-view-create": "Crial",
"vector-view-edit": "Eital",
"vector-view-history": "Guipal estorial",
"vector-view-edit": "Edital",
"vector-view-history": "Guipal l'estorial",
"vector-view-view": "Leyel",
"vector-view-viewsource": "Guipal cóigu",
"vector-more-actions": "Más"

View File

@ -3,18 +3,23 @@
"authors": [
"Ahmad252",
"Alireza Ivaz",
"Amire80",
"Beginneruser",
"Calak",
"DEXi",
"Ebraminio",
"Huji",
"Jeeputer",
"Ladsgroup",
"Mojtabakd",
"Reza1615",
"Zack90"
]
},
"skinname-vector": "وکتور",
"vector-skin-desc": "نگارش مدرن مونوبوک با نمای تازه و بهینه‌سازی‌های کاربردی",
"skinname-vector": "وکتور قدیمی (۲۰۱۰)",
"skinname-vector-2022": "وکتور (۲۰۲۲)",
"vector-specialversion-name": "وکتور",
"vector-skin-desc": "ارائه‌دهندهٔ ۲ پوستهٔ وکتور:\n* ۲۰۱۱ - نسخهٔ مدرن مونوبوک به‌همراه نمایی تازه و بهینه‌سازی‌های کاربردی.\n* ۲۰۲۲ - پوستهٔ وکتور ساخته‌شده در قالب بخشی از پروژهٔ [[mw:Desktop Improvements|بهبودهای نمای رایانه]] بنیاد ویکی‌مدیا.",
"prefs-vector-enable-vector-1-label": "استفاده از وکتور قدیمی",
"prefs-vector-enable-vector-1-help": "در چند سال آینده، ما کم‌کم پوستهٔ وکتور را به‌روزرسانی خواهیم کرد. وکتور قدیمی به شما اجازه می‌دهد تا از نسخهٔ قدیمی وکتور (نسخهٔ دسامبر ۲۰۱۹) استفاده کنید. برای کسب اطلاعات بیشتر در خصوص به‌روزرسانی‌ها، به [[mw:Reading/Web/Desktop_Improvements|صفحهٔ پروژه]] مراجعه کنید.",
"vector-opt-out": "بازگشت به ظاهر قدیمی",
@ -22,8 +27,14 @@
"vector.css": "/* دستورات سی‌اس‌اس که در این بخش قرار بگیرد برای کاربرانی که از پوستهٔ وکتور استفاده کنند بارگیری می‌شود */",
"vector.js": "/* دستورات جاوااسکریپت که در این بخش قرار بگیرد برای کاربرانی که از پوستهٔ وکتور استفاده کنند بارگیری می‌شود */",
"vector-action-toggle-sidebar": "جمع و باز کردن نوار کناری",
"vector-languages": "زبان‌ها",
"vector-language-button-aria-label": "به مقاله‌ای به یک زبان دیگر بروید. به {{PLURAL:$1|$1 زبان}} در دسترس است.",
"vector-language-button-label": "{{PLURAL:$1|$1 زبان}}",
"vector-action-addsection": "افزودن بخش",
"vector-no-language-button-label": "افزودن زبان‌ها",
"vector-no-language-button-aria-label": "این مقاله فقط به این زبان وجود دارد. مقاله را برای زبان‌های دیگر اضافه کنید.",
"vector-language-redirect-to-top": "در این {{SITENAME}} پیوندهای زبانی در بالای صفحه و هم‌تراز با عنوان مقاله قرار دارند. [[#p-lang-btn|رفتن به بالا]].",
"vector-language-variant-switcher-label": "تغییر گونهٔ زبان",
"vector-action-addsection": "افزودن مبحث",
"vector-action-delete": "حذف",
"vector-action-move": "انتقال",
"vector-action-protect": "محافظت",
@ -39,7 +50,20 @@
"vector-jumptocontent": "پرش به محتوا",
"vector-more-actions": "بیشتر",
"vector-search-loader": "بارگیری پیشنهادهای جستجو",
"vector-anon-user-menu-pages": "صفحه‌ها برای ویرایشگران خارج‌شده از سامانه",
"vector-searchsuggest-containing": "جستجو برای صفحه‌های دارای <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:مقدمه",
"vector-toc-heading": "فهرست",
"vector-toc-toggle-position-sidebar": "انتقال به نوار کناری",
"vector-toc-toggle-position-title": "نهفتن",
"vector-toc-beginning": "بخش آغازین",
"vector-toc-toggle-button-label": "تغییر وضعیت زیربخش‌های $1",
"vector-anon-user-menu-pages": "صفحه‌هایی برای ویرایشگرانی که از سامانه خارج شدند",
"vector-anon-user-menu-pages-learn": "بیشتر بدانید",
"vector-personal-more-label": "پیوندهای کاربر"
"vector-anon-user-menu-pages-label": "دربارهٔ ویرایش‌کردن بیشتر بدانید",
"vector-main-menu-tooltip": "منوی اصلی",
"vector-toc-menu-tooltip": "فهرست محتوا",
"vector-toc-collapsible-button-label": "تغییر وضعیت فهرست محتویات",
"vector-site-nav-label": "وبگاه",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|بحث]]",
"tooltip-vector-anon-user-menu-title": "گزینه‌های بیشتر"
}

20
i18n/fat.json Normal file
View File

@ -0,0 +1,20 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ebenoffen1",
"Leonard Nketsia"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 kasa|$1 kasahorow}}",
"vector-action-addsection": "Fa tsirasɛm ka ho",
"vector-action-delete": "Pepa fi hɔ",
"vector-action-move": "Twe kɔ",
"vector-action-protect": "Bambɔ",
"vector-view-create": "Yɛ fofor",
"vector-view-edit": "Sesa mu",
"vector-view-history": "Hwɛ abakɔsɛm",
"vector-view-view": "Kenkan",
"vector-more-actions": "Pii",
"vector-searchsuggest-containing": "Hwehwɛ nkratafa a <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> wɔ mu"
}

View File

@ -1,10 +1,13 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ibrahima",
"Ibrahima Malal Sarr"
"Ibrahima Malal Sarr",
"Musaddam Idriss"
]
},
"vector-language-button-label": "{{PLURAL:$1|ɗemngal|$1 ɗemngal}}",
"vector-action-addsection": "Ɓeydi toɓɓere",
"vector-action-delete": "Momtu",
"vector-action-move": "Dirtin",
@ -14,5 +17,6 @@
"vector-view-history": "Yiyto aslol",
"vector-view-view": "Tar",
"vector-view-viewsource": "Yiyto ɗaɗol",
"vector-more-actions": "Ɓeydu"
"vector-more-actions": "Ɓeydu",
"vector-searchsuggest-containing": "Tefude ɗerewol hoosaji $1<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -2,17 +2,24 @@
"@metadata": {
"authors": [
"01miki10",
"Amire80",
"Crt",
"MITO",
"Majavah",
"Markus Mikkonen",
"Moj",
"Nedergard",
"Nike",
"Pxos",
"Pyscowicz",
"Rönttönen",
"SuperPete"
]
},
"skinname-vector": "Vektori",
"vector-skin-desc": "Uudistettu versio MonoBookista raikkaalla ulkoasulla ja useilla käytettävyysparannuksilla",
"skinname-vector": "Vanha Vektori (2010)",
"skinname-vector-2022": "Vektori (2022)",
"vector-specialversion-name": "Vektori",
"vector-skin-desc": "Tarjoaa 2 Vektori-ulkoasua:\n* 2011 - Monobookin moderni versio, jossa on tuore ulkoasu ja monia käytettävyysparannuksia.\n* 2022 - Vektori, joka rakennettiin osana WMF:n [[mw:Desktop Improvements]] -projektia.",
"prefs-vector-enable-vector-1-label": "Käytä vanhaa Vektoria",
"prefs-vector-enable-vector-1-help": "Seuraavien muutaman vuoden aikana päivitämme Vektori-ulkoasua vaiheittain. Vanha Vektori mahdollistaa Vektorin vanhan (joulukuu 2019) version käyttämisen. Saadaksesi lisätietoa päivityksistä katso [[mw:Reading/Web/Desktop_Improvements|projektisivumme]].",
"vector-opt-out": "Vaihda vanhaan ulkoasuun",
@ -20,7 +27,10 @@
"vector.css": "/* Tämä sivu sisältää Vektori-ulkoasua muuttavia tyylejä. */",
"vector.js": "/* Tämän sivun JavaScript-koodi liitetään Vektori-tyyliin */",
"vector-action-toggle-sidebar": "Näytä/piilota sivupalkki",
"vector-languages": "Kielet",
"vector-language-button-aria-label": "Mene artikkeliin toisella kielellä. Saatavilla {{PLURAL:$1|$1 kielellä}}",
"vector-language-button-label": "{{PLURAL:$1|$1 kieli|$1 kieltä}}",
"vector-language-redirect-to-top": "Tällä sivustolla ({{SITENAME}}) kielilinkit ovat artikkelin yläosassa otsikon vieressä. [[#p-lang-btn|Sivun yläosaan]].",
"vector-action-addsection": "Lisää aihe",
"vector-action-delete": "Poista",
"vector-action-move": "Siirrä",
@ -37,10 +47,12 @@
"vector-jumptocontent": "Siirry sisältöön",
"vector-more-actions": "Muut",
"vector-search-loader": "Ladataan hakuehdotuksia",
"vector-searchsuggest-containing": "Hae sivuja, jotka sisältävät <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-toc-heading": "Sisällysluettelo",
"vector-toc-beginning": "Johdanto",
"vector-anon-user-menu-pages": "Sivut kirjautumattomille muokkaajille",
"vector-anon-user-menu-pages-learn": "lue lisää",
"vector-anon-user-menu-pages-label": "Lue lisää muokkaamisesta",
"vector-personal-more-label": "Käyttäjän linkit",
"vector-main-menu-tooltip": "Päävalikko",
"tooltip-vector-anon-user-menu-title": "Lisää valintoja"
}

View File

@ -1,9 +0,0 @@
{
"@metadata": {
"authors": [
"Weather Top Wizard"
]
},
"vector-view-history": "Raica itukutuku makawa",
"vector-view-view": "Wilika"
}

View File

@ -5,9 +5,11 @@
"Mahuton"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 gbé|$1 gbé lɛ}}",
"vector-action-addsection": "Gɔ́ xóta yɔ́yɔ́ ɖévo ná",
"vector-action-move": "Ɖyɔ nyikɔ tɔn",
"vector-view-create": "Blɔ",
"vector-view-edit": "Wlǎn nú gɔnu nuwlǎnwlǎn ɔ",
"vector-view-edit": "Wlǎn nú",
"vector-view-history": "Yín nukún ɖo ɖiɖyɔ tɛnmɛ tɛnmɛ wémá ɔ tɔn lɛ jí",
"vector-view-view": "Xá",
"vector-more-actions": "Susu"

View File

@ -1,7 +1,10 @@
{
"@metadata": {
"authors": [
"Ajeje Brazorf",
"Akeron",
"Amire80",
"Cigaryno",
"Crochet.david",
"DavidL",
"DePlusJean",
@ -20,8 +23,10 @@
"Wladek92"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Version moderne de MonoBook avec un aspect rajeuni et beaucoup daméliorations ergonomiques",
"skinname-vector": "Vector (ancienne version 2010)",
"skinname-vector-2022": "Vector (2022)",
"vector-specialversion-name": "Vector",
"vector-skin-desc": "Fournit 2 versions de lhabillage Vector:\n* 2011 la version «Moderne» de MonoBook avec un aspect rajeuni et beaucoup daméliorations ergonomiques;\n* 2022 la version «Vector» actuelle, construite comme partie du projet [[mw:Desktop Improvements|Améliorations du bureau]] de la Fondation Wikimedia.",
"prefs-vector-enable-vector-1-label": "Utiliser lancienne version de Vector",
"prefs-vector-enable-vector-1-help": "Dans les années à venir, nous mettrons progressivement à jour lhabillage Vector. La version historique de Vector vous permet de voir lancien habillage de Vector (tel quil était en décembre 2019). Pour en savoir plus, rendez-vous sur la [[mw:Reading/Web/Desktop_Improvements|page du projet]].",
"vector-opt-out": "Basculer vers lancien habillage",
@ -29,8 +34,12 @@
"vector.css": "/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de lhabillage Vector */",
"vector.js": "/* Tout code JavaScript placé ici sera chargé avec les pages accédées par les utilisateurs de lhabillage Vector */",
"vector-action-toggle-sidebar": "Afficher/masquer la barre latérale",
"vector-language-button-aria-label": "Aller à un article dans une autre langue. Disponible en {{PLURAL:$1|$1 langue|$1 langues}}.",
"vector-languages": "Langues",
"vector-language-button-aria-label": "Aller à un article dans une autre langue. Disponible en $1 langue{{PLURAL:$1||s}}.",
"vector-language-button-label": "{{PLURAL:$1|$1 langue|$1 langues}}",
"vector-no-language-button-label": "Ajouter des langues",
"vector-no-language-button-aria-label": "Cet article nexiste que dans cette langue. Ajouter larticle pour dautres langues.",
"vector-language-redirect-to-top": "Sur {{SITENAME}}, les liens interlangues sont placés en haut à droite du titre de la page. [[#p-lang-btn|Aller en haut]].",
"vector-language-variant-switcher-label": "Modifier la variante de langue",
"vector-action-addsection": "Ajouter un sujet",
"vector-action-delete": "Supprimer",
@ -48,13 +57,20 @@
"vector-jumptocontent": "Aller au contenu",
"vector-more-actions": "Plus",
"vector-search-loader": "Chargement des suggestions de recherche",
"vector-searchsuggest-containing": "Rechercher les pages contenant <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Introduction",
"vector-anon-user-menu-pages": "Pages pour les éditeurs déconnectés",
"vector-toc-heading": "Sommaire",
"vector-toc-toggle-position-sidebar": "déplacer vers la barre latérale",
"vector-toc-toggle-position-title": "masquer",
"vector-toc-beginning": "Début",
"vector-toc-toggle-button-label": "Afficher/masquer la sous-section $1",
"vector-anon-user-menu-pages": "Pages pour les contributeurs déconnectés",
"vector-anon-user-menu-pages-learn": "en savoir plus",
"vector-anon-user-menu-pages-label": "En savoir plus sur la contribution",
"vector-personal-more-label": "Liens utilisateur",
"vector-main-menu-tooltip": "Menu principal",
"tooltip-vector-anon-user-menu-title": "Plus doptions",
"vector-menu-checkbox-expanded": "développé",
"vector-menu-checkbox-collapsed": "replié"
"vector-toc-menu-tooltip": "Table des matières",
"vector-toc-collapsible-button-label": "Basculer la table des matières",
"vector-site-nav-label": "Site",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Discussion]]",
"tooltip-vector-anon-user-menu-title": "Plus doptions"
}

View File

@ -1,15 +1,17 @@
{
"@metadata": {
"authors": [
"Amire80",
"ChrisPtDe"
]
},
"skinname-vector": "Vèctor",
"vector.css": "/* Lo code CSS betâ ique afècterat los usanciérs de lhabelyâjo « Vèctor ». */",
"vector.js": "/* Tot code JavaScript betâ ique serat chargiê per los usanciérs de lhabelyâjo « Vèctor ». */",
"vector-language-button-label": "$1 lengou{{PLURAL:$1|a|es}}",
"vector-action-addsection": "Apondre na chousa",
"vector-action-delete": "Suprimar",
"vector-action-move": "Dèplaciér",
"vector-action-move": "Renomar",
"vector-action-protect": "Protègiér",
"vector-action-undelete": "Refâre",
"vector-action-unprotect": "Changiér la protèccion",
@ -18,5 +20,6 @@
"vector-view-history": "Vêre lhistorico",
"vector-view-view": "Liére",
"vector-view-viewsource": "Vêre lo tèxto sôrsa",
"vector-more-actions": "Més"
"vector-more-actions": "Més",
"vector-searchsuggest-containing": "Rechèrchiér les pâges que contegnont <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,11 +1,13 @@
{
"@metadata": {
"authors": [
"Amire80",
"Murma174",
"Pyt"
]
},
"vector-skin-desc": "Modern wersion faan Monobook mä frisk skak an föl muar mögelkhaiden",
"vector-language-button-label": "{{PLURAL:$1|$1 spriak|$1 spriaken}}",
"vector-action-addsection": "Nei kirew began",
"vector-action-delete": "Strik",
"vector-action-move": "Fersküüw",
@ -17,5 +19,10 @@
"vector-view-history": "Ferluup uunluke",
"vector-view-view": "Lees",
"vector-view-viewsource": "Kweltekst uunluke",
"vector-more-actions": "Muar"
"vector-more-actions": "Muar",
"vector-searchsuggest-containing": "Sjük sidjen, huar <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> banen as",
"vector-toc-heading": "Auersicht",
"vector-toc-beginning": "Began",
"vector-toc-menu-tooltip": "Auersicht",
"tooltip-vector-anon-user-menu-title": "Muar ütjwool"
}

View File

@ -5,6 +5,7 @@
"Tocaibon"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 lenghe|$1 lenghis}}",
"vector-action-addsection": "Gnove sezion",
"vector-action-delete": "Elimine",
"vector-action-move": "Môf",

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kening Aldgilles",
"PiefPafPier",
"Robin van der Vliet",
@ -8,20 +9,29 @@
"SK-luuut"
]
},
"skinname-vector": "Vektor",
"vector-skin-desc": "Moderne ferzje fan MonoBoek mei in fris oansjoch en protte noflike ferbetterings",
"prefs-vector-enable-vector-1-label": "De âlde bewende Vektor brûke",
"prefs-vector-enable-vector-1-help": "Yn 'e kommende pear jier geane wy de Vektor-foarmjouwing stadichoan bywurkje. Mei 'de âlde bewende Vektor' kinne jo it oansjoch fan de âlde ferzje fan Vektor (fan desimber 2019) behâlde. Gean nei ús [[mw:Reading/Web/Desktop_Improvements|projektside]] at jo mear witte wolle oer de oanpassings.",
"skinname-vector": "Fektor âld & bewend (2010)",
"skinname-vector-2022": "Fektor (2022)",
"vector-specialversion-name": "Fektor",
"vector-skin-desc": "Biedt 2 Fektor-foarmjouwings:\n* 2011 - De moderne ferzje fan MonoBoek mei in fris oansjoch en protte noflike ferbetterings.\n* 2022 - De Fektor ûntwikkele as part fan it [[mw:Desktop Improvements|Buroblêdferbetterings]]-projekt fan 'e WMF.",
"prefs-vector-enable-vector-1-label": "De âlde bewende Fektor brûke",
"prefs-vector-enable-vector-1-help": "Yn 'e kommende pear jier sille wy de Fektor-foarmjouwing stadichoan bywurkje. Mei 'de âlde bewende Fektor' kinne jo it oansjoch fan de âlde ferzje fan Fektor (fan desimber 2019) behâlde. Gean nei ús [[mw:Reading/Web/Desktop_Improvements|projektside]] at jo mear witte wolle oer de oanpassings.",
"vector-opt-out": "Alde oansjoch weromsette",
"vector-opt-out-tooltip": "Jo ynstellings wizigje en gean werom nei it âlde oansjoch fan 'e foarmjouwing (bewende Vektor)",
"vector.css": "/* Al it CSS hjirre sil foar brûkers fan de Vector-foarmjouwing laden wurde */",
"vector.js": "/* Al it JavaScript hjirre sil foar brûkers fan de Vector-foarmjouwing laden wurde */",
"vector-opt-out-tooltip": "Jo ynstellings wizigje om werom te gean nei it âlde oansjoch fan 'e foarmjouwing (bewende Fektor)",
"vector.css": "/* Al it CSS hjirre sil foar brûkers fan de Fektor-foarmjouwing laden wurde */",
"vector.js": "/* Al it JavaScript hjirre sil foar brûkers fan de Fektor-foarmjouwing laden wurde */",
"vector-action-toggle-sidebar": "Sydbalke omklappe",
"vector-languages": "Talen",
"vector-language-button-aria-label": "Nei it artikel yn in oare taal gean. Beskikber yn {{PLURAL:$1|$1 taal|$1 talen}}",
"vector-language-button-label": "{{PLURAL:$1|$1 taal|$1 talen}}",
"vector-no-language-button-label": "Talen tafoegje",
"vector-no-language-button-aria-label": "Dit artikel is der allinnich yn dizze taal. It artikel foar oare talen tafoegje",
"vector-language-redirect-to-top": "Hjir op {{GRAMMAR:l|{{SITENAME}}}} steane de taalkeppelings boppe-oan 'e side tsjinoer de titel fan 't artikel. [[#p-lang-btn|Nei boppen]].",
"vector-language-variant-switcher-label": "Taalfariant feroarje",
"vector-action-addsection": "Nij mêd",
"vector-action-delete": "Wiskje",
"vector-action-move": "Omneame",
"vector-action-protect": "Skoattelje",
"vector-action-undelete": "Wer teplak sette",
"vector-action-undelete": "Wiskjen weromdraaie",
"vector-action-unprotect": "Befeiliging wizigje",
"vector-view-create": "Oanmeitsje",
"vector-view-edit": "Bewurkje",
@ -32,5 +42,21 @@
"vector-jumptosearch": "Springe nei sykjen",
"vector-jumptocontent": "Springe nei ynhâld",
"vector-more-actions": "Mear",
"vector-search-loader": "Laden fan syksuggestjes"
"vector-search-loader": "Laden fan syksuggestjes",
"vector-searchsuggest-containing": "Siden sykje mei as ynhâld <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:Yntroduksje",
"vector-toc-heading": "Ynhâld",
"vector-toc-toggle-position-sidebar": "nei sydbalke ferplakke",
"vector-toc-toggle-position-title": "ferbergje",
"vector-toc-beginning": "Begjin",
"vector-toc-toggle-button-label": "Subseksje $1 omklappe",
"vector-anon-user-menu-pages": "Siden foar ôfmelde meidoggers",
"vector-anon-user-menu-pages-learn": "mear witte",
"vector-anon-user-menu-pages-label": "Mear witte oer bewurkjen",
"vector-main-menu-tooltip": "Haadmenu",
"vector-toc-menu-tooltip": "Ynhâldsopjefte",
"vector-toc-collapsible-button-label": "Ynhâldsopjefte omklappe",
"vector-site-nav-label": "Webstee",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Diskusje]]",
"tooltip-vector-anon-user-menu-title": "Mear opsjes"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kscanne",
"Kwekubo",
"Moydow",
@ -19,5 +20,6 @@
"vector-view-history": "Féach ar stair",
"vector-view-view": "Léigh",
"vector-view-viewsource": "Féach ar fhoinse",
"vector-more-actions": "Tuilleadh"
"vector-more-actions": "Tuilleadh",
"vector-searchsuggest-containing": "Cuardaigh leathanaigh ina bhfuil <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -4,9 +4,11 @@
"Amire80",
"Flixtey",
"Gkbediako",
"Mybluberet"
"Mybluberet",
"Owula kpakpo"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 wiemɔ|$1 wiemɔi}}",
"vector-action-addsection": "Kɛ mlijaa yitso afata he",
"vector-action-delete": "Jiemɔ",
"vector-action-move": "Tsi",

8
i18n/gbm.json Normal file
View File

@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"बडा काजी"
]
},
"vector-more-actions": "खार्युं"
}

View File

@ -1,9 +1,11 @@
{
"@metadata": {
"authors": [
"Amire80",
"RFScott"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 хэсэ}}",
"vector-action-addsection": "Темава аӈгойни",
"vector-action-delete": "Нангалаори",
"vector-action-move": "Энэвэмбури",

View File

@ -8,6 +8,7 @@
"The Discoverer"
]
},
"vector-opt-out": "आदल्या स्वरूपांत परत वच",
"vector-action-addsection": "माथाळो ज़ोड",
"vector-action-delete": "काडून उडयात",
"vector-action-move": "दुसरेकडे व्हरात",

View File

@ -5,6 +5,8 @@
"The Discoverer"
]
},
"vector-opt-out": "Adlea sworupant porot voch",
"vector-language-button-label": "{{PLURAL:$1|$1 bhas|$1 bhaso}}",
"vector-action-addsection": "Vixoi zodd",
"vector-action-delete": "Kadd",
"vector-action-move": "Zago bodol",

View File

@ -1,9 +1,12 @@
{
"@metadata": {
"authors": [
"Amire80",
"Bennylin",
"Marwan Mohamad"
]
},
"vector-language-button-label": "{{PLURAL:$1|Bahasa $1}}",
"vector-action-addsection": "Duhengi topik",
"vector-action-delete": "Luluta",
"vector-action-move": "Heyiya",
@ -12,5 +15,6 @@
"vector-view-edit": "Boli'o",
"vector-view-history": "Bilohi riwayati",
"vector-view-view": "Baca",
"vector-more-actions": "Uweewo"
"vector-more-actions": "Uweewo",
"vector-searchsuggest-containing": "Lolohe halaman otuwa <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

19
i18n/gpe.json Normal file
View File

@ -0,0 +1,19 @@
{
"@metadata": {
"authors": [
"Amire80",
"DaSupremo"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 language|$1 languages}}",
"vector-action-addsection": "Add topic",
"vector-action-delete": "Delete",
"vector-action-move": "Move am",
"vector-action-protect": "Protect",
"vector-view-create": "Create",
"vector-view-edit": "Edit",
"vector-view-history": "View history",
"vector-view-view": "Read",
"vector-more-actions": "More",
"vector-searchsuggest-containing": "Search for pages wey dey contain <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,9 +1,11 @@
{
"@metadata": {
"authors": [
"Als-Holder"
"Als-Holder",
"Amire80"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 Sproch|$1 Sproche}}",
"vector-action-addsection": "Abschnitt zuefiege",
"vector-action-delete": "Lesche",
"vector-action-move": "Verschiebe",
@ -15,5 +17,6 @@
"vector-view-history": "Versionsgschicht",
"vector-view-view": "Läse",
"vector-view-viewsource": "Quälltext aaluege",
"vector-more-actions": "Meh"
"vector-more-actions": "Meh",
"vector-searchsuggest-containing": "No Syte sueche, wu s <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> din het"
}

View File

@ -1,8 +1,10 @@
{
"@metadata": {
"authors": [
"Amire80",
"Aritra",
"Ashok modhvadia",
"CptViraj",
"Dsvyas",
"KartikMistry"
]
@ -12,6 +14,7 @@
"vector-opt-out": "જૂના દેખાવ પર જાઓ",
"vector-opt-out-tooltip": "તમારી ગોઠવણીને જૂના દેખાવ પર લઇ જાઓ (જૂનું વેક્ટર)",
"vector-action-toggle-sidebar": "સાઇડબાર છુપાવો-બતાવો",
"vector-languages": "ભાષાઓ",
"vector-language-button-label": "{{PLURAL:$1|$1 ભાષા|$1 ભાષાઓ}}",
"vector-action-addsection": "નવો વિષય",
"vector-action-delete": "રદ કરો",
@ -28,5 +31,6 @@
"vector-jumptosearch": "શોધ પર જાઓ",
"vector-jumptocontent": "લખાણ પર જાઓ",
"vector-more-actions": "વધુ",
"vector-search-loader": "શોધ સૂચનો લાવો"
"vector-search-loader": "શોધ સૂચનો લાવો",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> ધરાવતા પાનાઓ શોધો"
}

View File

@ -7,6 +7,7 @@
]
},
"vector-opt-out": "Awanajaa sünainmüin sukuwa'ipaka paalainka",
"vector-language-button-label": "{{PLURAL:$1|$1 anüikii|$1 anüikikalüirua}}",
"vector-action-addsection": "Alüjülee jeketü",
"vector-action-delete": "Ojuichajaa",
"vector-action-move": "Ansülaa",
@ -16,5 +17,6 @@
"vector-view-history": "E'rajaa a'wanajaanüka",
"vector-view-view": "Aashaje'eraa",
"vector-view-viewsource": "Anüliaa eejeetülee",
"vector-more-actions": "Soo'omüin"
"vector-more-actions": "Soo'omüin",
"vector-searchsuggest-containing": "Achajaa sulu'u tü ee'iyalayaaka kalu'uko <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,11 +1,23 @@
{
"@metadata": {
"authors": [
"Akakiiri",
"Akandee1",
"Amire80",
"Amoramah",
"Ayire Adongo",
"Dnshitobu"
]
},
"vector-language-variant-switcher-label": "Tee tɔgum buuri",
"vector-action-addsection": "Paasɛ sɔsezure",
"vector-action-delete": "Saalum",
"vector-action-move": "Lɛgum",
"vector-action-protect": "Gu",
"vector-view-create": "Maalɛ",
"vector-view-edit": "Demese",
"vector-view-history": "Bisɛ nabara la",
"vector-view-view": "Kãalɛ",
"vector-more-actions": "Zoe, zoe"
"vector-more-actions": "Zoe, zoe",
"vector-intro-page": "Help:Pɔsega"
}

View File

@ -1,21 +1,26 @@
{
"@metadata": {
"authors": [
"Amire80",
"Anthonymodec",
"Atej2*",
"Gadarawamo",
"Hunpatinjob",
"Misteld",
"Samatics"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 ogbè|$1 ogbè lẹ}}",
"vector-action-addsection": "Yi hosọ dogọ",
"vector-action-delete": "Sunsunsẹ",
"vector-action-move": "Seten",
"vector-action-protect": "Hihọ́",
"vector-action-move": "Sẹtẹn",
"vector-action-protect": "Họ́",
"vector-view-create": "Dá",
"vector-view-edit": "Jlado",
"vector-view-history": "Pọn kandai",
"vector-view-history": "Pọ́n kandai",
"vector-view-view": "Hia",
"vector-more-actions": "Dogọ",
"vector-searchsuggest-containing": "Dín weda he bẹ <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> hẹn lẹ",
"vector-toc-heading": "Nuhe e bẹhẹn lẹ",
"vector-anon-user-menu-pages-learn": "Plọnnu dogọ"
}

View File

@ -1,12 +1,18 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ammarpad",
"Bello Na'im",
"DonCamillo",
"Gwanki"
"Edith Nwobu",
"Em-em",
"Gwanki",
"Salihu aliyu"
]
},
"vector-language-button-aria-label": "Je zuwa maƙala domin wani harshen. Akwai a {{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-button-label": "{{PLURAL:$1|$1 asụsụ|$1 asụsụga}}",
"vector-language-variant-switcher-label": "Sauya bambancin harshe",
"vector-action-addsection": "Sabon sashe",
"vector-action-delete": "Soke",
@ -16,5 +22,8 @@
"vector-view-edit": "Gyara",
"vector-view-history": "Nuna tarihin",
"vector-view-view": "Karanta",
"vector-more-actions": "Mafi"
"vector-more-actions": "Mafi",
"vector-searchsuggest-containing": "Duba shafukan dake dauke da <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Taimako:Gabatarwa",
"vector-toc-beginning": "Farawa"
}

View File

@ -3,24 +3,30 @@
"authors": [
"Amire80",
"Guycn2",
"Rotemliss"
"Rotemliss",
"דגש"
]
},
"skinname-vector": "וקטור",
"vector-skin-desc": "גרסה מודרנית של העיצוב \"מונובוק\" עם מראה רענן ושיפורי שמישות רבים",
"skinname-vector": "וקטור ישן (2010)",
"skinname-vector-2022": "וקטור (2022)",
"vector-skin-desc": "שתי גרסאות של עיצוב וקטור:\n* 2011 גרסה מודרנית של העיצוב \"מונובוק\" עם מראה רענן ושיפורי שמישות רבים.\n* 2022 הווקטור שנבנה כחלק ממיזם [[mw:Desktop Improvements|שיפורי שולחן העבודה]].",
"prefs-vector-enable-vector-1-label": "להשתמש בעיצוב וקטור הישן",
"prefs-vector-enable-vector-1-help": "בשנים הקרובות נעדכן בהדרגה את עיצוב וקטור. עיצוב וקטור הישן יאפשר לך לראות את הגרסה הישנה של וקטור (כפי שהיא הייתה בדצמבר 2019). למידע נוסף על העדכונים, ר' את [[mw:Reading/Web/Desktop_Improvements|דף הפרויקט שלנו]].",
"vector-opt-out": "מעבר למראה הישן",
"vector-opt-out-tooltip": "שינוי ההעדפות שלך וחזרה למראה הישן של העיצוב (וקטור ישן)",
"vector-action-toggle-sidebar": "שינוי מצב סרגל צד",
"vector-languages": "שפות",
"vector-language-button-aria-label": "מעבר לערך בשפה אחרת. זמין {{PLURAL:$1|בשפה אחת|ב־$1 שפות}}",
"vector-language-button-label": "{{PLURAL:$1|שפה אחת|$1 שפות}}",
"vector-no-language-button-label": "הוספת שפות",
"vector-no-language-button-aria-label": "הערך הזה קיים רק בשפה הזאת. {{GENDER:|הוסף|הוסיפי|מוזמנים להוסיף}} את הערך לשפות אחרות",
"vector-language-redirect-to-top": "במהדורה הזאת של {{SITENAME}}, קישורי השפה נמצאים בראש הדף מול כותרת הערך. [[#p-lang-btn|לעבור למעלה]].",
"vector-language-variant-switcher-label": "שינוי הגוון השפה",
"vector-action-addsection": "פסקה חדשה",
"vector-action-delete": "מחיקה",
"vector-action-move": "העברה",
"vector-action-protect": "הגנה",
"vector-action-undelete": "שחזור",
"vector-action-undelete": "ביטול מחיקה",
"vector-action-unprotect": "שינוי הגנה",
"vector-view-create": "יצירה",
"vector-view-edit": "עריכה",
@ -32,13 +38,20 @@
"vector-jumptocontent": "לדלג לתוכן",
"vector-more-actions": "עוד",
"vector-search-loader": "טעינת הצעות חיפוש",
"vector-searchsuggest-containing": "חיפוש דפים שמכילים <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Help:ברוכים הבאים",
"vector-toc-heading": "תוכן עניינים",
"vector-toc-toggle-position-sidebar": "העברה לסרגל הצד",
"vector-toc-toggle-position-title": "הסתרה",
"vector-toc-beginning": "התחלה",
"vector-toc-toggle-button-label": "שינוי מצב התת־פרק $1",
"vector-anon-user-menu-pages": "דפים לעורכים שלא נכנסו לחשבון",
"vector-anon-user-menu-pages-learn": "מידע נוסף",
"vector-anon-user-menu-pages-label": "מידע נוסף על עריכה",
"vector-personal-more-label": "קישורי משתמש",
"vector-main-menu-tooltip": "תפריט ראשי",
"tooltip-vector-anon-user-menu-title": "אפשרויות נוספות",
"vector-menu-checkbox-expanded": "מורחב",
"vector-menu-checkbox-collapsed": "מוסתר"
"vector-toc-menu-tooltip": "תוכן עניינים",
"vector-toc-collapsible-button-label": "מצב תוכן העניינים",
"vector-site-nav-label": "אתר",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|דיון]]",
"tooltip-vector-anon-user-menu-title": "אפשרויות נוספות"
}

View File

@ -1,18 +1,35 @@
{
"@metadata": {
"authors": [
"Abijeet Patro",
"Amire80",
"AnupamM",
"Saurmandal",
"Sfic",
"Siddhartha Ghai",
"ThisIsACreeper0101",
"आलोक",
"रोहित रावत"
]
},
"skinname-vector": "वेक्टर",
"vector-skin-desc": "मोनोबूक का आधुनिक संस्करण, जो ताजा रूप में और उपयोग में सुधार के साथ है।",
"skinname-vector": "Vector",
"vector-skin-desc": "दो Vector स्किन्स प्रदान करता है:\n* 2011 - MonoBook का आधुनिक संस्करण जिसमें एक ताज़ी दिखावट और उपयोग में सुधार हैं।\n* 2022 - Vector जिसे विकिमीडिया संस्थान के [[mw:Desktop Improvements|डेस्कटॉप उन्नति]] परियोजना के रूप में बनाया गया है।",
"prefs-vector-enable-vector-1-label": "लिगेसी Vector का उपयोग करें",
"prefs-vector-enable-vector-1-help": "अगले कुछ सालों में हम Vector स्किन को धीरे धीरे अपडेट करेंगे। लिगेसी Vector की मदद से आप Vector का पुराना संस्करण देख सकते हैं (दिसंबर 2019 के अनुसार)। अद्यतनों के बारे में अधिक जानने के लिए हमारे [[mw:Reading/Web/Desktop_Improvements|परियोजना पृष्ठ]] पर जाएँ।",
"vector-opt-out": "पुरानी दिखावट पर जाएँ",
"vector-opt-out-tooltip": "अपने सेटिंग्स को बदलकर स्किन के पुराने दिखावट (लिगेसी Vector) पर वापस जाएँ",
"vector.css": "/* सीएसएस यहाँ डालने से वेक्टर त्वचा चुने लोगों को प्रभावित करेगा */",
"vector-action-toggle-sidebar": "साइडबार को टॉगल करें",
"vector-languages": "भाषाएँ",
"vector-language-button-aria-label": "दूसरे भाषा में लेख पर जाएँ। {{PLURAL:$1|$1 भाषा|$1 भाषाओं}} में उपलब्ध",
"vector-language-button-label": "{{PLURAL:$1|$1 भाषा|$1 भाषाएँ}}",
"vector-no-language-button-label": "भाषाएँ जोड़ें",
"vector-no-language-button-aria-label": "यह लेख सिर्फ इसी भाषा में उपलब्ध है। इस लेख को दूसरी भाषाओं में अनुवादित करें।",
"vector-language-redirect-to-top": "इस {{SITENAME}} पर भाषा की कड़ियाँ पृष्ठ के ऊपर की तरफ लेख के शीर्षक के पास हैं। [[#p-lang-btn|ऊपर जाएँ]]।",
"vector-language-variant-switcher-label": "भाषा का प्रकार बदलें",
"vector-action-addsection": "विषय जोड़ें",
"vector-action-delete": "हटाएँ",
"vector-action-move": "स्थानांतरण करें",
"vector-action-move": "स्थानांतरित करें",
"vector-action-protect": "सुरक्षित करें",
"vector-action-undelete": "हटाना वापस लें",
"vector-action-unprotect": "सुरक्षा बदलें",
@ -21,5 +38,25 @@
"vector-view-history": "इतिहास देखें",
"vector-view-view": "पढ़ें",
"vector-view-viewsource": "स्रोत देखें",
"vector-more-actions": "अधिक"
"vector-jumptonavigation": "नेविगेशन पर जाएँ",
"vector-jumptosearch": "खोज पर जाएँ",
"vector-jumptocontent": "सामग्री पर जाएँ",
"vector-more-actions": "अधिक",
"vector-search-loader": "खोज सुझाव लोड हो रहे हैं",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> से युक्त पृष्ठ खोजें",
"vector-intro-page": "Help:परिचय",
"vector-toc-heading": "सामग्री",
"vector-toc-toggle-position-sidebar": "साइडबार पर जाएँ",
"vector-toc-toggle-position-title": "छुपाएँ",
"vector-toc-beginning": "शुरुआत",
"vector-toc-toggle-button-label": "$1 उप-अनुभाग को टॉगल करें",
"vector-anon-user-menu-pages": "लॉग-आउट किए गए संपादकों के लिए पृष्ठ",
"vector-anon-user-menu-pages-learn": "अधिक जानें",
"vector-anon-user-menu-pages-label": "संपादन के बारे में अधिक जानें",
"vector-main-menu-tooltip": "मुख्य मेन्यू",
"vector-toc-menu-tooltip": "विषयसूची",
"vector-toc-collapsible-button-label": "विषयसूची को टॉगल करें",
"vector-site-nav-label": "साइट",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|चर्चा]]",
"tooltip-vector-anon-user-menu-title": "अन्य विकल्प"
}

View File

@ -1,10 +1,13 @@
{
"@metadata": {
"authors": [
"Amire80",
"Anjoeli9806",
"Kai theos en ho logos",
"Redhotchili23"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 ka pinulongan|$1 ka mga pinulongan}}",
"vector-action-addsection": "Magdugang sing topiko",
"vector-action-delete": "Panason",
"vector-action-move": "Saylohon",
@ -16,5 +19,6 @@
"vector-view-history": "Lantawon ang nagkalatabo",
"vector-view-view": "Magbasa",
"vector-view-viewsource": "Lantawon ang ginhalinan",
"vector-more-actions": "Dugang Pa"
"vector-more-actions": "Dugang Pa",
"vector-searchsuggest-containing": "Mangita sang mga panid nga nagasulod sang <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>"
}

View File

@ -1,14 +1,17 @@
{
"@metadata": {
"authors": [
"Amire80",
"Singkiring57"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 𑣎𑣁𑣋𑣁𑣜|$1 𑣎𑣁𑣋𑣁𑣜 𑣌𑣉}}",
"vector-action-delete": "𑢯𑣗𑣁𑣕𑣉𑣖𑣈",
"vector-action-move": "𑢡𑣕𑣉𑣖𑣈",
"vector-view-create": "𑢷𑣆𑣂",
"vector-view-edit": "𑢵𑣋𑣈𑣓𑣈",
"vector-view-history": "𑢸𑣜𑣂𑣞𑣈𑣓 𑣓𑣈𑣚𑣈",
"vector-view-view": "𑢺𑣈𑣜𑣈",
"vector-more-actions": "𑢩𑣀𑣑𑣉𑣄 𑣚𑣁𑣄"
"vector-view-edit": "𑢩𑣚-𑣞𑣁𑣋𑣉𑣖 𑣜𑣃𑣈𑣈",
"vector-view-history": "𑢾𑣂𑣔𑣈𑣞𑣁𑣆 𑣓𑣈𑣚𑣈",
"vector-view-view": "𑢸𑣁𑣛𑣁𑣉𑣈",
"vector-more-actions": "𑢩𑣓𑣑𑣉𑣄 𑣚𑣁𑣁𑣄",
"vector-searchsuggest-containing": "<strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong> 𑣖𑣈𑣓𑣁𑣄 𑣕𑣁𑣓 𑣞𑣁𑣌𑣁𑣖 𑣌𑣉 𑣓𑣈𑣚-𑣞𑣁𑣊𑣋𑣁𑣜𑣈"
}

View File

@ -11,16 +11,22 @@
"Tivek"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Osuvremenjena inačica MonoBooka s obnovljenim dizajnom i mnogim poboljšanjima u upotrebljivosti",
"prefs-vector-enable-vector-1-label": "Rabi stari (baštinjeni) izgled imena Vector",
"prefs-vector-enable-vector-1-help": "Tijekom nekoliko godina osvježavat će se izgled sučelja imena Vector. Baštinjeni Vector omogućit će Vam upotrebu pregleda starije inačice Vectora (do mjeseca prosinca 2019.). Ako želite saznati više o tehnološkome osuvremenjivanju posjetite naše [[mw:Reading/Web/Desktop_Improvements|stranice projekta na MedijaWikiju]].",
"skinname-vector": "Vector (stara inačica iz 2010.)",
"vector-skin-desc": "Postoje dvije varijante Vectora:\n* 2011. - Moderna varijante MonoBooka s osvježenim izgledom i mnogim poboljšanjima.\n* 2022. - Vector izrađen kao dio projekta WMF [[mw:Desktop Improvements]].",
"prefs-vector-enable-vector-1-label": "Rabi staru inačicu izgleda Vector",
"prefs-vector-enable-vector-1-help": "Izgled sučelja Vector osvježavat će se tijekom nekoliko godina. Ova postavka omogućit će Vam upotrebu inačice Vectora iz prosinca 2019. Više o tehnološkome osuvremenjavanju saznajte na [[mw:Reading/Web/Desktop_Improvements|stranici projekta na MediaWikiju]].",
"vector-opt-out": "Prebaci na stari izgled",
"vector-opt-out-tooltip": "Promijenite Vaše postavke i vratite se na stari izgled (baštinjeni Vector)",
"vector-opt-out-tooltip": "Promijenite postavke i vratite se na stari izgled sučelja Vector",
"vector.css": "/* Sav kôd CSS-a na ovoj stranici bit će učitan upotrebljavačima izgleda Vector */",
"vector.js": "/* Sav kôd JavaScripta na ovoj stranici bit će učitan upotrebljavačima izgleda Vector */",
"vector-action-toggle-sidebar": "Uključi / isključi bočnu traku",
"vector-languages": "Drugi jezici",
"vector-language-button-aria-label": "Idi na druge jezične varijante članka. Dostupan je na {{PLURAL:$1|$1 jeziku|$1 jezika}}",
"vector-language-button-label": "{{PLURAL:$1|$1 jezik|$1 jezika}}",
"vector-no-language-button-label": "Dodajte druge jezike",
"vector-no-language-button-aria-label": "Članak je napisan samo na ovom jeziku. Dodajte druge jezike.",
"vector-language-redirect-to-top": "Poveznice na druge jezike nalaze se uz naslov članka, pri [[#p-lang-btn|vrhu stranice]].",
"vector-language-variant-switcher-label": "Promijeni jezičnu varijantu",
"vector-action-addsection": "Dodaj temu",
"vector-action-delete": "Izbriši",
"vector-action-move": "Premjesti",
@ -37,12 +43,18 @@
"vector-jumptocontent": "Prijeđi na sadržaj",
"vector-more-actions": "Više",
"vector-search-loader": "Učitavanje prijedloga pretrage",
"vector-searchsuggest-containing": "Traži stranice koje sadrže <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-intro-page": "Wikipedija:Dobro došli",
"vector-toc-heading": "Sadržaj",
"vector-toc-toggle-position-title": "sakrij",
"vector-toc-beginning": "Početak",
"vector-anon-user-menu-pages": "Stranice za odjavljene uređivače",
"vector-anon-user-menu-pages-learn": "saznajte više",
"vector-anon-user-menu-pages-label": "Vidi više o uređivanju",
"vector-personal-more-label": "Suradničke poveznice",
"vector-main-menu-tooltip": "Glavni izbornik",
"tooltip-vector-anon-user-menu-title": "Više mogućnosti",
"vector-menu-checkbox-expanded": "prošireno",
"vector-menu-checkbox-collapsed": "sažeto"
"vector-toc-menu-tooltip": "Sadržaj",
"vector-toc-collapsible-button-label": "Prikaz sadržaja stranice",
"vector-site-nav-label": "Mrežno mjesto",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Rasprava]]",
"tooltip-vector-anon-user-menu-title": "Više mogućnosti"
}

View File

@ -6,6 +6,7 @@
"Paul Beppler"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 Sproch|$1 Sproche}}",
"vector-action-addsection": "Abschnitt hinzufüche",
"vector-action-delete": "Lösche",
"vector-action-move": "Verschiebe",
@ -14,7 +15,7 @@
"vector-action-unprotect": "Seiteschutz ännre",
"vector-view-create": "Erstelle",
"vector-view-edit": "Beaarvete",
"vector-view-history": "Versionsgeschichd",
"vector-view-history": "Versionsgeschicht",
"vector-view-view": "Lese",
"vector-view-viewsource": "Quelltext oonzeiche",
"vector-more-actions": "Meh"

View File

@ -1,22 +1,42 @@
{
"@metadata": {
"authors": [
"Amire80",
"Boukman",
"Internoob",
"Masterches",
"Tisave"
]
},
"vector-languages": "Lang yo",
"vector-language-button-aria-label": "Ale nan yon atik nan yon lòt lang. Disponib nan {{PLURAL:$1|$1 lang}}",
"vector-language-button-label": "{{PLURAL:$1|$1 lang}}",
"vector-no-language-button-label": "Ajoute lang yo",
"vector-no-language-button-aria-label": "Atik sa a egziste sèlman nan lang sa a. Ajoute atik la pou lòt lang",
"vector-language-redirect-to-top": "Sou {{SITENAME}} sa a lyen lang yo nan tèt paj la anfas tit atik la. [[#p-lang-btn|Ale nan tèt]].",
"vector-language-variant-switcher-label": "Chanje variant lang",
"vector-action-addsection": "Ajoute yon sijè",
"vector-action-delete": "Efase",
"vector-action-move": "Chanje non",
"vector-action-protect": "Pwoteje",
"vector-action-undelete": "Retabli",
"vector-action-unprotect": "Pa pwoteje",
"vector-action-unprotect": "Chanje nivo pwoteksyon",
"vector-view-create": "Kreye",
"vector-view-edit": "Modifye",
"vector-view-history": "Gade istorik",
"vector-view-view": "Li",
"vector-view-viewsource": "Wè kòd tèks sa a",
"vector-more-actions": "Plis"
"vector-view-viewsource": "Wè kòd paj la",
"vector-more-actions": "Plis",
"vector-searchsuggest-containing": "Chèche paj yo ki genyen <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-toc-heading": "Kontni",
"vector-toc-toggle-position-title": "kache",
"vector-anon-user-menu-pages": "Paj yo pou editè ki dekonekte yo",
"vector-anon-user-menu-pages-learn": "aprann plis",
"vector-anon-user-menu-pages-label": "Aprann plis sou modifikasyon",
"vector-main-menu-tooltip": "Meni prensipal la",
"vector-toc-menu-tooltip": "Tab dèmatyè",
"vector-toc-collapsible-button-label": "Deklannche tab dèmatyè la",
"vector-site-nav-label": "Sit",
"vector-2022-prefs-talkpage": "[[mw:Talk:Reading/Web/Desktop_Improvements|Diskisyon]]",
"tooltip-vector-anon-user-menu-title": "Plis opsyon"
}

View File

@ -6,6 +6,8 @@
"Dj",
"Hanna Tardos",
"Misibacsi",
"Mmarci72",
"Máté",
"Tacsipacsi",
"Tgr"
]
@ -18,7 +20,13 @@
"vector.css": "/* Az összes itteni CSS betöltődik Vector felület használóinak */",
"vector.js": "/* Az összes itteni JavaScript betöltődik Vector felület használóinak */",
"vector-action-toggle-sidebar": "Oldalsáv megjelenítése vagy elrejtése",
"vector-languages": "Más nyelveken",
"vector-language-button-aria-label": "Ugrás egy más nyelvű szócikkre. Elérhető $1 {{PLURAL:$1|nyelven}}",
"vector-language-button-label": "$1 nyelv",
"vector-no-language-button-label": "Nyelvek hozzáadása",
"vector-no-language-button-aria-label": "Ez a szócikk nem érhető el más nyelven. Szócikkek hozzáadása más nyelveken",
"vector-language-redirect-to-top": "Ezen a {{SITENAME}} oldalon a nyelvközi hivatkozások a lap tetején, a címmel átellenben találhatók. [[#p-lang-btn|Ugrás a tetejére.]]",
"vector-language-variant-switcher-label": "Nyelvvariáns váltása",
"vector-action-addsection": "Új téma nyitása",
"vector-action-delete": "Törlés",
"vector-action-move": "Átnevezés",
@ -35,8 +43,17 @@
"vector-jumptocontent": "Ugrás a tartalomhoz",
"vector-more-actions": "Több",
"vector-search-loader": "Keresési javaslatok betöltése…",
"vector-searchsuggest-containing": "Olyan oldalak keresése, amelyek tartalmazzák a következőt: <strong class=\"cdx-typeahead-search__search-footer__query\">$1</strong>",
"vector-toc-heading": "Tartalomjegyzék",
"vector-toc-toggle-position-title": "elrejtés",
"vector-toc-beginning": "Bevezető",
"vector-toc-toggle-button-label": "A(z) $1 alszakasz kinyitása/becsukása",
"vector-anon-user-menu-pages": "Lapok kijelentkezett szerkesztőknek",
"vector-anon-user-menu-pages-learn": "további információk",
"vector-anon-user-menu-pages-label": "Tudj meg többet a szerkesztésről",
"vector-personal-more-label": "Felhasználói hivatkozások"
"vector-main-menu-tooltip": "Főmenü",
"vector-toc-menu-tooltip": "Tartalomjegyzék",
"vector-toc-collapsible-button-label": "Tartalomjegyzék kinyitása/becsukása",
"vector-site-nav-label": "Wiki",
"tooltip-vector-anon-user-menu-title": "További lehetőségek"
}

Some files were not shown because too many files have changed in this diff Show More