Commit graph

547 commits

Author SHA1 Message Date
libraryupgrader
98587bcbcf build: Updating eslint-config-wikimedia to 0.22.1
Change-Id: I35167246f4e95137119c86f4e3d6b03c00796382
2022-02-09 07:55:47 +00:00
libraryupgrader
b72fc15a61 build: Updating postcss-less to 3.1.4
* https://github.com/advisories/GHSA-566m-qj78-rww5

Additional changes:
* Set `name` in package.json.

Change-Id: I0e27a037dd374c15519094f22d7d8c94ccf3c5d5
2022-02-02 05:52:14 +00:00
libraryupgrader
c929c1d9a1 build: Updating npm dependencies
* nanoid: 3.1.30 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* sugarss: 2.0.0 → 2.0.0
  * https://github.com/advisories/GHSA-566m-qj78-rww5

Change-Id: I74da6fb319ca61ba4b69c48bd9d9be9dad1c02df
2022-02-01 07:39:13 +00:00
Translation updater bot
13b03eb265 Localisation updates from https://translatewiki.net.
Change-Id: Id99e5c10724c0b450d98925f54f1c76f4ac7e7fc
2022-01-24 08:29:35 +01:00
Translation updater bot
9b8ee8dd9e Localisation updates from https://translatewiki.net.
Change-Id: Iae137f556890c22ce04084f8d29377929fd1af61
2022-01-20 09:20:22 +01:00
Translation updater bot
29971cecbd Localisation updates from https://translatewiki.net.
Change-Id: Ie2cdf395e85969988d9ea466298db6f5f24c7d0d
2022-01-17 08:15:18 +01:00
Jon Robson
2867465ddf Monobook should use html-title-heading
See T298715#7609769

Change-Id: I737235a2e200889217992a625285e758949b5597
2022-01-10 10:57:38 -08:00
Translation updater bot
fe65a86dbb Localisation updates from https://translatewiki.net.
Change-Id: I402b8155c454b45e17df5b3d5419f1fa02d17980
2021-12-27 09:33:06 +01:00
Translation updater bot
3476766034 Localisation updates from https://translatewiki.net.
Change-Id: Ie54f5c1b31aadcefe871a5f53cf04a45e7d7b3a1
2021-12-13 08:24:26 +01:00
Translation updater bot
89a7f0baa2 Localisation updates from https://translatewiki.net.
Change-Id: I3c862934e31f7d57ab27f7d5faaf993ecc47e817
2021-12-07 08:13:46 +01:00
Translation updater bot
9018fbf767 Localisation updates from https://translatewiki.net.
Change-Id: If64fec50551666e6a51e4568c66a3e9541d20512
2021-12-03 08:44:57 +01:00
libraryupgrader
0f4675a818 build: Updating mediawiki/mediawiki-phan-config to 0.11.1
Additional changes:
* eslint: Added `wikimedia/mediawiki` profile (T262222).

Change-Id: I1e6880bac17582337a473b926703d49965c18010
2021-11-14 01:50:37 +00:00
jenkins-bot
f6167be3e5 Merge "build: Update eslint-config-wikimedia to 0.21.0" 2021-11-13 18:45:33 +00:00
Ed Sanders
20a1fba017 build: Update eslint-config-wikimedia to 0.21.0
Change-Id: I5602e1be65b4c8c4a5f2218bf92c36a6a209d484
2021-11-12 23:06:59 +00:00
Ed Sanders
080893760f skin.js: Add required dependency on mediawiki.user
skin.js uses mw.user.isAnon

Change-Id: I08c8d8f07becefb64ef0071854444692799cfa4d
2021-11-12 23:03:15 +00:00
Translation updater bot
64830a850f Localisation updates from https://translatewiki.net.
Change-Id: I701684d0575e5cd3074c6c691a03fffb5b101540
2021-11-09 07:31:38 +01:00
libraryupgrader
fe10e74dc2 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I1bf6d9397749efeed62163912a0ee61b25e06877
2021-10-23 18:50:42 +00:00
Translation updater bot
f8978ddcb8 Localisation updates from https://translatewiki.net.
Change-Id: I797f54a6df891dfb7b876b3edae53c6fbf5d0752
2021-10-18 15:24:56 +02:00
libraryupgrader
61913b92b7 build: Updating npm dependencies
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1002423 (CVE-2021-3803)

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

Change-Id: Ic980369a9182e3c209817d69311cc417c6727c3e
2021-10-09 10:44:04 +00:00
Translation updater bot
d414e30093 Localisation updates from https://translatewiki.net.
Change-Id: I94e8802cd74d155d724451896421cfebc5a36bfc
2021-10-07 09:05:25 +02:00
Translation updater bot
b9fe9aa904 Localisation updates from https://translatewiki.net.
Change-Id: I54ca34acdb3e385b456037b520e1e455de9804ad
2021-10-04 08:58:33 +02:00
Translation updater bot
ef3de5c475 Localisation updates from https://translatewiki.net.
Change-Id: I7e91cc361d023bb00efb1bc242e91cc7235a5f03
2021-10-01 09:31:33 +02:00
Translation updater bot
55d5c9ca00 Localisation updates from https://translatewiki.net.
Change-Id: I9f2bcb11177ea42cb600018a96dfb2267862230e
2021-09-30 08:59:23 +02:00
Translation updater bot
1c94fe435a Localisation updates from https://translatewiki.net.
Change-Id: I9f44c34fea273d6b4ee1f30d5eb448fbd5801658
2021-09-27 08:38:12 +02:00
Translation updater bot
cc81b4934b Localisation updates from https://translatewiki.net.
Change-Id: I65ef1480f6b0bf4f8e771dc886a1940ca7f5b981
2021-09-22 08:12:22 +02:00
Translation updater bot
77ba8ea1f6 Localisation updates from https://translatewiki.net.
Change-Id: I51be64b33452c11f7a91657aa3827c8fac3a7147
2021-09-20 08:21:43 +02:00
AntiCompositeNumber
4487cda6fa
mobile.js.less: fix padding for a.feedlink
Core mediawiki.feedlink sets `a.feedlink {padding-left: 16px;}` to
establish proper spacing around the feed icon background-image. That
rule was overridden by a much more specific rule for the mobile menu,
causing the text to overlap the icon.
This change duplicates the padding-left rule at a higher specificity,
fixing the overlap problem.

This could also be fixed by significantly increasing specificity for the
rule in mediawiki.feedlink, but that would break the existing skins and
extensions that intentionally override it.

This patch has a soft-ish dependency on I897b85d3e77233b858ee85be263a14e401fe5fd2
to work correctly when the page is loaded in mobile format. Without that
patch, an empty space would be visible where the icon should be unless
the page was loaded in desktop format.

Depends-On: I897b85d3e77233b858ee85be263a14e401fe5fd2
Bug: T291274
Change-Id: Id427653eb21194085853de903624b9a537eeece6
2021-09-17 15:01:01 -04:00
Translation updater bot
992ee7d4c4 Localisation updates from https://translatewiki.net.
Change-Id: I9b76c5b1b72196b971ad6fd2f257811075d9da96
2021-09-16 08:13:12 +02:00
Translation updater bot
eaa108b514 Localisation updates from https://translatewiki.net.
Change-Id: Ib1e92f783b3449140e7175f548527a28485327e3
2021-09-15 08:16:44 +02:00
Translation updater bot
2114921b6b Localisation updates from https://translatewiki.net.
Change-Id: I500dbe21f42153a0f13ea885a7900b1c35319586
2021-09-14 08:34:44 +02:00
jenkins-bot
6322506db6 Merge "Monobook Mustache" 2021-09-13 05:51:51 +00:00
Translation updater bot
f2dcd83417 Localisation updates from https://translatewiki.net.
Change-Id: I167eb41d347051efe8ac3347db45871c840fb9e4
2021-09-09 08:19:41 +02:00
jdlrobson
abe94aa408 Monobook Mustache
Changes in HTML markup that fix various bugs and lead to consistencies
with other skins:
* firstHeading now has `dir` attribute
* `tagline` message no longer parsed - plain text only - this is consistent with
other skins
* printfooter now child of #bodyContent
* #ca-view is outputted (but hidden with CSS)
* Order of attributes on  #p-search-label changed
* Search input form elements are no longer self closing
* The #mw-searchButton element gains class mw-fallbackSearchButton
* The generated-sidebar class is no longer present on sidebar portlets,
consistent with other skins
* The print link disappears when ElectronPdf is installed so there
are not two print links.

Changes in functionality:
* Previously (in getCactions) a nomobile class would be added if
less than 2 tabs.
If not 1 tab, more would be appended. This is dropped.

Bug: T285989
Change-Id: I03d0dc1dad23894e7e64ceeb8956692316265144
2021-09-07 09:02:55 -07:00
libraryupgrader
1810f569a9
build: Updating mediawiki/mediawiki-phan-config to 0.11.0
Change-Id: I1d2975da877b82c9ac2f2437fff2055a883a4247
2021-09-04 22:30:00 +03:00
libraryupgrader
ac4db0c422 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* stylelint-config-wikimedia: 0.10.3 → 0.11.1

Change-Id: I2f43a0128086fbc1a9c81993b3828ae14f888971
2021-09-02 07:30:39 +00:00
jdlrobson
ca0b4bed6a Simplify MonoBook link styles
* Link color comes from the elements ResourceLoaderSkinModule feature
* MonoBook link colors are overriden in skin variables

Depends-On:  I799b46664f01c5631fb9d1ae4f5c43caeeaac818
Bug: T288739
Change-Id: Ifbe2394f2f5beb417a4aa5b288a0e906ed10a691
2021-08-31 08:27:10 +00:00
Translation updater bot
71024c4bf9 Localisation updates from https://translatewiki.net.
Change-Id: Iec6151867c0acda5a9fa14ba113a92711f500038
2021-08-26 08:39:17 +02:00
libraryupgrader
8aaa1525b5 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I4b154a65b7971e7f7121a2c32e10b0bbbc27aeb7
2021-08-25 14:31:08 +00:00
Translation updater bot
311cfa1493 Localisation updates from https://translatewiki.net.
Change-Id: I4ca1152a62eecb9182cc348c140ceb5d406025c9
2021-08-23 09:06:00 +02:00
bwang
bf86a37f1d Replace deprecated 'content' and 'content-thumbnail' features with 'content-media'
Bug: T287410
Change-Id: I349227cbe6b0577e122b47278c3c838b31b07eda
2021-08-18 19:08:29 +00:00
jdlrobson
bf64fa1aec Restore red links color to the responsive mode
Follow up to c1ca90ce4b

the #p-personal li a is trumped by
the skin--responsive selector. Store the rule next
to the existing link rule to avoid this.

This stylesheet loaded by both modes so works in both.
One with the skin--responsive prefix and one without.

Bug: T288788
Change-Id: Ief4fa9dbbd48f2c6f73a58a73d64255438cd938e
2021-08-18 08:02:14 -07:00
jenkins-bot
ba278242d4 Merge "Restore capitalization styling in MonoBook portlets" 2021-08-16 22:51:18 +00:00
jdlrobson
ba2c0ec06e Restore capitalization styling in MonoBook portlets
Cleaning up the `text-transform` mess and making this specific
rule simpler for the different languages and skin variants like
responsive skin.
Follow up to c1ca90ce4b.

Bug: T97892
Change-Id: Id4b3a3c23396728fa5910b7acfcf618b281390ca
2021-08-13 15:18:11 -07:00
jdlrobson
65cbf78781 Drop double skin-responsive class
This is already added in `skin-responsive.less` so adding it
a second time means the selector no longer matches.

Bug: T288681
Change-Id: I4b08561f8848dc5f8545f5dc42add8b5ec286ca8
2021-08-11 15:12:17 -07:00
Translation updater bot
ba0e44ef0a Localisation updates from https://translatewiki.net.
Change-Id: Icbe46d97183eb5b28f041242be995ea3f3994878
2021-08-09 08:27:46 +02:00
jdlrobson
38c49703f1 Add visualClear style to MonoBook
Follow up to ff1d2fcf0f
following guideline on
https://mediawiki.org/wiki/Manual:ResourceLoaderSkinModule#visualClear

Bug: T288288
Change-Id: I3066ac2171a1faa82244152f141208ca8643e00d
2021-08-05 21:16:04 +00:00
Translation updater bot
7798a2f657 Localisation updates from https://translatewiki.net.
Change-Id: I162d7504b8cb0b2a2f7ca09f1d381882e256b6cd
2021-08-05 08:24:07 +02:00
jdlrobson
c1ca90ce4b Reduce ResourceLoader modules used by Monobook
MonoBook supports two modes - one that is responsive and one that
is not. To do this it adds 3 modules. These can be reduced to 1
module by loading all the code and adding client side checks to
determine whether to use it.

The skin--responsive class is added by core for responsive skins so
can be used to make that check.

This does lead to additional download for all users (particularly
the addition of oojs-ui.styles.icons-alerts) but given the default
behaviour is to load these, and non-responsive skin requires an opt
in I don't see this as a problem.

Thanks to gzip the increase in render blocking styles is minimal:

Before:
skins.monobook.styles: 15.21KB
skins.monobook.responsive: 16.14KB

After:
skins.monobook.styles: 16.63KB

See bug for QA plan.

Bug: T285492
Change-Id: I76bb644145539c8ec0220704c8fe9a78a4819c03
2021-08-03 12:45:59 -07:00
Translation updater bot
821c4b3abe Localisation updates from https://translatewiki.net.
Change-Id: I14d52ff8bcef0deca946331d7e177910d96b973f
2021-08-02 08:39:12 +02:00
jdlrobson
9b4186d863 Drop MonoBook responsive preference
This was moved to a core preference as part of T285402
The migration was handled by a #user-notice

Bug: T285402
Change-Id: I25fe3d32ad929924034db06b5a95bab6a3a3a727
2021-07-29 23:50:31 +00:00