Commit graph

1652 commits

Author SHA1 Message Date
Translation updater bot 582ed2513a Localisation updates from https://translatewiki.net.
Change-Id: I751905b7d7e3454db046c80e77a9659066cdbc17
2022-05-16 07:29:19 +02:00
Translation updater bot e56e5ab376 Localisation updates from https://translatewiki.net.
Change-Id: I9c2237ca21c5eaa4bf3c15effdee3b190ff54614
2022-05-09 07:12:24 +02:00
Translation updater bot d960455bdb Localisation updates from https://translatewiki.net.
Change-Id: I13ef98af578a173662a5cdbbe34949d01e8fde71
2022-05-02 07:08:55 +02:00
Translation updater bot 5e1a555c8a Localisation updates from https://translatewiki.net.
Change-Id: Iad80c15915203eaa544b0ba17efe037d42f2074b
2022-04-25 07:15:02 +02:00
Translation updater bot 1d3172fb1a Localisation updates from https://translatewiki.net.
Change-Id: I07982fdc584d26be8584c57b517080eb073b87d9
2022-04-18 07:17:00 +02:00
libraryupgrader b8b2ce2328 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingReturn
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
  * MediaWiki.PHPUnit.AssertionOrder.WrongOrder
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon

npm:
* jsdoc: 3.6.7 → 3.6.10
* node-fetch: 2.6.1 → 2.6.7
* ajv: 6.12.0 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-html: 0.0.7 → None
  * https://github.com/advisories/GHSA-whgm-jr23-g3j9
* ansi-regex: 2.1.1 → 2.1.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* axios: 0.21.1 → 0.21.3
  * https://github.com/advisories/GHSA-cph5-m8f7-6c5x
* follow-redirects: 1.13.1 → 1.14.9
  * https://github.com/advisories/GHSA-pw2r-vq6v-hr8c
  * https://github.com/advisories/GHSA-74fj-2j2h-c42q
* github-build: 1.2.2 → 1.2.3
  * https://github.com/advisories/GHSA-cph5-m8f7-6c5x
* ini: 1.3.8 → 1.3.8
  * https://github.com/advisories/GHSA-qqgx-2p2h-9c37
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
* mkdirp: 0.5.5 → 0.5.5
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* path-parse: 1.0.6 → 1.0.7
  * https://github.com/advisories/GHSA-hj48-42vr-x3v9
* postcss: 7.0.27 → 7.0.39
  * https://github.com/advisories/GHSA-566m-qj78-rww5
  * https://github.com/advisories/GHSA-hwj9-h5mp-3pm3
* shelljs: 0.8.3 → 0.8.5
  * https://github.com/advisories/GHSA-4rq4-32rv-6wp6
* simple-get: 3.1.0 → 3.1.1
  * https://github.com/advisories/GHSA-wpg7-2c88-r8xv
* tar: None → None
  * https://github.com/advisories/GHSA-qq89-hq3f-393p
  * https://github.com/advisories/GHSA-9r2w-394v-53qc
  * https://github.com/advisories/GHSA-3jfq-g458-7qm9
  * https://github.com/advisories/GHSA-r628-mhmh-qjhw
* trim-newlines: 3.0.0 → 3.0.1
  * https://github.com/advisories/GHSA-7p7h-4mm5-852v
* url-parse: 1.5.1 → 1.5.10
  * https://github.com/advisories/GHSA-jf5r-8hm2-f872
  * https://github.com/advisories/GHSA-hgjh-723h-mx2j
  * https://github.com/advisories/GHSA-8v38-pw62-9cw2
  * https://github.com/advisories/GHSA-rqff-837h-mm52
  * https://github.com/advisories/GHSA-hh27-ffr2-f2jc
* webpack-hot-middleware: 2.25.0 → 2.25.1
  * https://github.com/advisories/GHSA-whgm-jr23-g3j9

Additional changes:
* Set `name` in package.json.
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I0073467ec15d1fff9fcb8bc207a91ebafd281116
2022-04-16 09:18:57 +00:00
Translation updater bot 4b38ef2ced Localisation updates from https://translatewiki.net.
Change-Id: I910414e306c9c856d82608504e8d3f1e6305738e
2022-04-11 07:15:48 +02:00
Translation updater bot d4232d4d7a Localisation updates from https://translatewiki.net.
Change-Id: I0448bf1ff723a1379a6571f5ffcf3dc145d774ed
2022-04-04 07:17:43 +02:00
Translation updater bot fca069a0dc Localisation updates from https://translatewiki.net.
Change-Id: I8ca7283e4c47157b0c67a7688e6928a53a375ac6
2022-03-28 07:13:01 +02:00
Translation updater bot a62e6ded87 Localisation updates from https://translatewiki.net.
Change-Id: I4c257f5cd45d9db15df2c7aaf65b6747ce03ed04
2022-03-21 07:01:11 +01:00
Translation updater bot f9b0112b70 Localisation updates from https://translatewiki.net.
Change-Id: I550047471a54cb256397ca4d2e015634e149c6b5
2022-03-14 07:05:35 +01:00
Translation updater bot 2623e27154 Localisation updates from https://translatewiki.net.
Change-Id: I3fa03934bf2965660da1c62a4acb12002ffef4f1
2022-03-07 07:07:33 +01:00
Translation updater bot 5de6203bf6 Localisation updates from https://translatewiki.net.
Change-Id: I31fb6d5f9f9d1038988d927dfc78f4c6f3dc55f3
2022-02-28 07:05:03 +01:00
Translation updater bot ab63764482 Localisation updates from https://translatewiki.net.
Change-Id: I4bfe1758670c6a922d738d38be7fcd99e14de4f2
2022-02-21 07:11:19 +01:00
Translation updater bot 5517b93fa5 Localisation updates from https://translatewiki.net.
Change-Id: I72078b3977b94435d983cce99c5beef5bbc5d4d7
2022-02-14 07:13:57 +01:00
Translation updater bot dd1a374e30 Localisation updates from https://translatewiki.net.
Change-Id: I3244c727263b726a15f11e3ec15b71269c67d36e
2022-02-07 07:11:49 +01:00
Translation updater bot c700355f29 Localisation updates from https://translatewiki.net.
Change-Id: I980baf7bcdd1d6cdd5f9d08c8e2a887662781b15
2022-01-31 07:01:55 +01:00
Translation updater bot 98aa0832d8 Localisation updates from https://translatewiki.net.
Change-Id: Idea906a3987e593859c76a4f2e781d3571265d0c
2022-01-24 07:01:33 +01:00
Translation updater bot 258dab22d8 Localisation updates from https://translatewiki.net.
Change-Id: Ib0d487cb10a5c37e06865a5bd5efb216a0f55659
2022-01-17 06:58:44 +01:00
Translation updater bot c57b1f72c8 Localisation updates from https://translatewiki.net.
Change-Id: I3601fc44cf644b58515baecc43cfe20bf9c81b16
2022-01-10 06:57:25 +01:00
Translation updater bot 7dda27b0b5 Localisation updates from https://translatewiki.net.
Change-Id: I888ee4a2cc0e7c75c358d337b761baef2f56d364
2022-01-03 06:55:24 +01:00
Translation updater bot 56a2675ecf Localisation updates from https://translatewiki.net.
Change-Id: I61604df2cadf33602750d35796931a73a78c51fa
2021-12-27 06:56:58 +01:00
Translation updater bot b8ae3ae94b Localisation updates from https://translatewiki.net.
Change-Id: I06e07af72d87b18e33aa0f87bc286ee293e88d8b
2021-12-20 07:02:24 +01:00
Translation updater bot 3734056a68 Localisation updates from https://translatewiki.net.
Change-Id: I9ee6301650202fd2f30d4735a92fac29e7eea1b3
2021-12-13 07:03:18 +01:00
Translation updater bot d2368651aa Localisation updates from https://translatewiki.net.
Change-Id: Ibd2b03107491f7682f5efa9a5e7d09ea24d4150a
2021-12-06 06:44:54 +01:00
libraryupgrader 1b03bafb12 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: Id24db33314062bf1ebb324a160199a75ea8a5071
2021-05-28 02:48:48 +00:00
libraryupgrader a79dcd6299 build: Updating npm dependencies
* jsdoc: 3.6.3 → 3.6.7
  * https://npmjs.com/advisories/1674 (CVE-2021-23358)
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* html-webpack-plugin: 4.0.0-beta.11 → 4.5.2
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* url-parse: 1.4.7 → 1.5.1
  * https://npmjs.com/advisories/1678 (CVE-2021-27515)
* @stylelint/postcss-markdown: 0.36.1 → 0.36.2
  * https://npmjs.com/advisories/1700 (CVE-2020-7753)
* websocket-extensions: 0.1.3 → 0.1.4
  * https://npmjs.com/advisories/1710 (CVE-2020-7662)

Change-Id: I39cf6b3998197938fff7126bf70c7b0e3ed0898a
2021-05-16 23:12:09 +00:00
libraryupgrader 37d7761eba build: Updating ssri to 6.0.2
* https://npmjs.com/advisories/565

Change-Id: Ic1e29c12fb0bdb01fc7d153d73509c1bfbe649f7
2021-04-15 13:55:13 +00:00
libraryupgrader 57326a0290 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: Id525485ab8f37690c47394a110fa78295418c7e7
2021-03-30 13:02:47 +00:00
Jack Phoenix a57b2b67b2 Don't add Vector-specific <body> classes when not using Vector
Hooks are global, unlike the old Skin addToBodyAttributes() method, which was per-skin.

Follow-up to a04fc71f30

Change-Id: Ic8a581256c4775ba45b2c5188d678751ba9c7023
(cherry picked from commit 3ea7bec6db)
2021-03-23 16:57:23 +00:00
libraryupgrader 2ac57c85ea build: Updating elliptic to 6.5.4
* https://npmjs.com/advisories/1648 (CVE-2020-28498)

Change-Id: I7770e9015aa2da482aee8e59eee8245713f9eee7
2021-03-08 18:17:21 +00:00
libraryupgrader b5465a9841 build: Updating prismjs to 1.23.0
* https://npmjs.com/advisories/1638 (CVE-2021-23341)

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: If1118f28dbdf741ddbab89724aaab07624787f9c
2021-03-05 04:27:04 +00:00
libraryupgrader e3d48bca71 build: Updating npm dependencies
* bundlesize: 0.18.0 → 0.18.1
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)
* github-build: 1.2.1 → 1.2.2
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)

Change-Id: I6eab00d09acf94935fd22a5a2d3551109b599f21
2021-01-08 04:51:31 +00:00
libraryupgrader d49790d546 build: Updating npm dependencies
* node-fetch: 2.6.0 → 2.6.1
  * https://npmjs.com/advisories/1556 (CVE-2020-15168)
* elliptic: 6.5.2 → 6.5.3
  * https://npmjs.com/advisories/1547 (CVE-2020-13822)
* webpack: 4.43.0 → 4.44.2
  * https://npmjs.com/advisories/1548
* terser-webpack-plugin: 1.4.3 → 1.4.5
  * https://npmjs.com/advisories/1548
* bl: 4.0.2 → 4.0.3
  * https://npmjs.com/advisories/1555
* node-fetch: 2.6.0 → 2.6.1
  * https://npmjs.com/advisories/1556 (CVE-2020-15168)
* ini: 1.3.5 → 1.3.8
  * https://npmjs.com/advisories/1589

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I5755f281e2916775999b53c74696515005758ed7
2021-01-03 19:13:50 +00:00
hmonroy 771c8764c8 Remove the loading background image for loading class
The star should spin its current background image when transitioning between different
watch requests.

Bug: T259053
Depends-On: I1e11f0e129c53b405a2ffa8
Change-Id: Id2f9b2e25761c052aeaa410edead65ec298209a2
(cherry picked from commit 4169fc6dc1)
2020-09-11 03:30:08 +00:00
DannyS712 a6445a69c2 Restore div wrapper around print footer
Div with a `printfooter` class that is hidden on normal page views

Bug: T257914
Change-Id: Ibd3e73076f290a92671c7cdd72672921fa64fc05
(cherry picked from commit 56dbfd9a46)
2020-07-14 14:29:46 +00:00
jenkins-bot b540dadfb3 Merge "Max-Width Layout: Make footer width match content width to avoid overlap with sidebar" 2020-07-14 01:27:27 +00:00
Nicholas Ray d5cb58b3f0 Max-Width Layout: Make footer width match content width to avoid overlap with sidebar
* `mw-content-container` now wraps the footer (as well as the content)
because we want the footer to match the content width at all times and
to expand with the content when the sidebar is closed (at small viewport
widths or when on history/special pages)

* `mw-footer-container` margins were replaced with padding to avoid
issues with margin collapsing.

* Applied a white background to sidebar to handle the case of the
sidebar overflowing the `mw-page-container`. When that happens, we at
least want the text in the sidebar to be legible.

* Closely related, `mw-page-container`'s `overflow: hidden` style was
removed to prevent `mw-page-container` from cutting off the sidebar. The
purpose of this style was make it appear as if the sidebar was being
hidden by `mw-page-container`, but tweaking the sidebar's translation
animation to achieves this effect as well.

Bug: T257518
Change-Id: I89edf89b2ac4abe2053f0c9b366f143133ff420f
2020-07-13 18:26:18 -06:00
jdlrobson 7a16ae249e Rename template variables to mirror SkinMustache
The renames made in this patch mirror the upstream change in
I3f7b2e5f07d03ac04ecdcba585194d619abe35e0 in preparation for adopting
the SkinMustache class.

Renames:
* 'data-indicators => 'array-indicators'
* 'html-bodycontent' => 'html-body-content'
* 'html-undelete' => 'html-undelete-link'
* 'html-sitenotice' => 'html-site-notice'
* 'html-catlinks' =>  'html-categories'
* 'html-dataaftercontent' => 'html-after-content'
* 'html-userlangattributes' => 'html-user-language-attributes'

Adjustments
* 'html-debuglog' is moved into html-printtail for consistency with
SkinMustache in core
* html-printfooter is now a part of html-bodycontent for consistency with
SkinMustache in core
Note: the activity of removing html-printtail and html-headelement from
the templates will be done when we adopt SkinMustache.

Bug: T257630
Depends-On: Ibac9729eaa96a38bc730a0132b102a894f6a172d
Change-Id: Ie92bda7846767c3cc9a1937c96a7fc08415b1bae
2020-07-13 21:57:40 +00:00
jdlrobson c405ffb155 Cleanup: Template variables
- Remove unused html-prebodyhtml template variable
- Don't use html- prefixed variables as if statements - this is
not supported by Mustache. (set to '' to confirm)

Change-Id: I0c860b4b2277e1796afa3e482cf61e95ef4fb342
2020-07-13 14:10:14 -07:00
libraryupgrader c4cc51d744 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Id98f8d8854499931f5d59de6ebfb02d56ea342a8
2020-07-11 15:46:35 +00:00
jenkins-bot 02c44e7302 Merge "[docs] Fix typos in comments" 2020-07-10 22:22:56 +00:00
jenkins-bot a6efa2ff11 Merge "Deprecate VectorTemplate" 2020-07-10 17:41:57 +00:00
jdlrobson 81daa1ab7a Deprecate VectorTemplate
In 1.36 we will be removing this class and adopting SkinMustache.
Signal to developers that this is considered an internal class
as notice of that intention.

Change-Id: Ib62a5352a73eb6189ba85f4034da1b0857fd31aa
2020-07-10 17:19:25 +00:00
jenkins-bot 3775356d54 Merge "Add enter/spacebar keyboard support to sidebar." 2020-07-09 21:45:50 +00:00
jenkins-bot 6a078bc246 Merge "VectorTemplate: use skin->Msg() instead of msg()" 2020-07-09 21:27:52 +00:00
Jan Drewniak 2b5857f624 Add enter/spacebar keyboard support to sidebar.
Bug: T255727
Depends-On: I388ac873997aa02d713ae7453216e0cb7d983993
Change-Id: Ie438db4f752c77aa40191d2bceb83f52d3371c6c
2020-07-09 22:38:15 +02:00
Volker E aaf8b7721a [docs] Fix typos in comments
Following-up Ib1ce934f3646cd8fe.

Change-Id: Id32cbfb5256d55e6c9d8b081a126ca0275b7565d
2020-07-09 00:47:27 -07:00
Jan Drewniak 1fac82f895 Sidebar persistence for logged-in users in modern Vector.
- Creates a new user-preference called 'VectorSidebarVisible'
which stores the sidebar hidden/collapsed state for logged-in
users.
- Updates that user-preference on the client whenever the sidebar
is expanded or collapsed.
- Refactors the sidebar related javascript into a separate file.

Bug: T255727
Change-Id: Ib1ce934f3646cd8feebf0d3b15c38b5b969ec957
2020-07-09 00:28:52 +02:00
daniel c9ff9c2856 VectorTemplate: use skin->Msg() instead of msg()
VectorTemplate was overriding msg() in QuickTemplate
 in a way that broke the method's
contract, and changed the return type in an incompatible way.

Note while getMsg would also work here, this will reduce the
risk in the upcoming I4e89beb96f6401ed7e51bafdf0aac408f5a2c42f
change.

Change-Id: I95e4e7dcd5ed353917d2706c78663f748775b365
2020-07-08 11:39:22 -07:00