Commit graph

685 commits

Author SHA1 Message Date
Ammar Abdulhamid
5fa6a6a339 MonoBook: Drop SkinTemplateToolboxEnd hook
This hook is not in use in any deployed code.

Bug: T253783
Change-Id: I5b636f005bdcdafabbb22ea3c5acef2a49c7c5c5
2020-06-05 20:29:18 +01:00
libraryupgrader
718b029ce6 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Icf83b61cf459db24306978a41473fc9ca3e99487
2020-06-02 07:38:22 +00:00
jdlrobson
833d93500c Show after portal links when languages is empty
Various extensions reveal the language portal when empty by appending
a link. Monobook needs to check this now itself, to avoid these links
disappearing - for example the Wikidata edit link.

Bug: T252841
Change-Id: If2cf64f6b7ba313d3e437e9da63afa886fee5d11
2020-06-02 00:43:56 +00:00
jenkins-bot
02b53e5dc5 Merge "Monobook supports SidebarBeforeOutput hook" 2020-06-01 19:10:43 +00:00
Translation updater bot
ec08e4b9f8 Localisation updates from https://translatewiki.net.
Change-Id: I351e8e891a113a10dff640180cf0fa7e5066fd93
2020-06-01 10:12:07 +02:00
Ammar Abdulhamid
191aa61755 Monobook supports SidebarBeforeOutput hook
Bug: T253783
Change-Id: If8ed1ccd17b4eedea18c77d721ee45ed0d67b7fc
2020-06-01 01:08:34 +01:00
James D. Forrester
2a7ad7dbcd build: Upgrade mediawiki-codesniffer from v30.0.0 to v31.0.0
Change-Id: I3347ee477cd6d75d97a510747ffd7b17b9828bba
2020-05-26 12:18:36 -07:00
Translation updater bot
fcd03b2875 Localisation updates from https://translatewiki.net.
Change-Id: I841a0a81ae0c09cd5beea78aceebd26114b94ca4
2020-05-11 08:41:44 +02:00
AronDemian
1587cdfb60 Add .mw-footer CSS class & replace #footer selector with it
`#footer` kept for backwards compatibility with user styles and gadgets.

Bug: T248137
Change-Id: Ied8e79c5895f8fe383b1ca743a31890549cc8d86
2020-04-24 02:28:15 +00:00
Translation updater bot
6e981d4479 Localisation updates from https://translatewiki.net.
Change-Id: I1583da6f55dc713f54da1dbf1e6482dd35241009
2020-04-23 08:45:43 +02:00
Translation updater bot
da7ed2e57d Localisation updates from https://translatewiki.net.
Change-Id: Ie90d494e6292e22a7108ce5eecaf36195360f1a7
2020-04-22 08:58:29 +02:00
James D. Forrester
2926c08ada build: Replace jsonlint with eslint's JSON parsing
Change-Id: I75601793639653bcf46af13e259cafba80b81af4
2020-04-21 18:55:00 +00:00
Translation updater bot
194ae126b2 Localisation updates from https://translatewiki.net.
Change-Id: I3f791f969436d7c5d7b934b4896662fc15c8bd8c
2020-04-20 08:46:34 +02:00
libraryupgrader
ea11c415ba build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-banana-checker: 0.8.1 → 0.9.0
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I3361d426b430c1612b11635e482a3d8fa38a6197
2020-04-16 23:35:07 +00:00
James D. Forrester
e9301de042 build: Bump phan to 0.10.2, remove taint-check
Test change to ensure everything is working fine.

Bug: T248630
Change-Id: I6f25b7aecac860a58958f4eb915764eb85562dc4
2020-04-15 09:30:04 -07:00
Translation updater bot
89c0f96e7d Localisation updates from https://translatewiki.net.
Change-Id: I0f15979fa1d9ec725128ce19c1b5096a55c81125
2020-04-10 09:53:09 +02:00
Translation updater bot
12874c47e7 Localisation updates from https://translatewiki.net.
Change-Id: I92086f744e5994b518dd54facea563119f82ddd3
2020-04-08 09:06:48 +02:00
Translation updater bot
dbe2e0e158 Localisation updates from https://translatewiki.net.
Change-Id: I2a1a75505c9ea0aeeda553534414215617ee5872
2020-04-06 09:06:19 +02:00
libraryupgrader
fa4e9a625a build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I7617dba47caa00fa4eee7116011937f87d653647
2020-04-05 14:03:21 +00:00
jenkins-bot
795537492b Merge "Remove elements from overqualified element-id combination selectors" 2020-03-26 21:04:39 +00:00
libraryupgrader
ad455ecf34 build: Updating composer dependencies
* mediawiki/minus-x: 1.0.0 → 1.1.0
* mediawiki/mediawiki-phan-config: 0.9.1 → 0.9.2

Change-Id: I99ceca8d301710ce2cdb0487888e12cf37d8dae8
2020-03-23 22:05:20 +00:00
Translation updater bot
0eb65ed62e Localisation updates from https://translatewiki.net.
Change-Id: I1d74d1a015ce42b643518f3ff000147d5318332b
2020-03-23 09:07:59 +01:00
Volker E
09fe3e5567 Remove elements from overqualified element-id combination selectors
There's no need for those in year 2020.

Change-Id: I9ea94bce18d749ada0bb5b1bb9692d1d1886755a
2020-03-21 20:39:46 -07:00
libraryupgrader
ebd4e68aa6 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: I5cd5c69849596d4475b80ae7592e068ceaf1baed
2020-03-21 11:20:51 +00:00
jenkins-bot
daf4cf307f Merge "Remove HTML element dependent notes" 2020-03-20 18:17:36 +00:00
Translation updater bot
c9b70c001a Localisation updates from https://translatewiki.net.
Change-Id: I04d1d83b3f8cf6f01d285d3679632af149a5ee3c
2020-03-20 08:27:02 +01:00
libraryupgrader
74fae6f87f build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I9dc3233ac6fb8cd22741d27f161f57b9110b424a
2020-03-20 02:25:03 +00:00
Volker E
8fab43806a Remove HTML element dependent notes
Bug: T248137
Change-Id: I1a96c007321dd7a54053b7d30781f6467228f934
2020-03-19 16:17:12 -07:00
Translation updater bot
550a2b417e Localisation updates from https://translatewiki.net.
Change-Id: I19d60d9224894e4f11995c211d62f155bdf30870
2020-03-13 08:30:41 +01:00
jdlrobson
b3847eaa95 Get legacy styles from ResourceLoaderSkinModule
Instead of relying on Skin::getDefaultModules to get
`mediawiki.legacy.styles` make the legacy style feature an explicit
opt in choice by including it in the features list.

This is done on the assumption that Icb910a563273bde92a09b1bb92857d5b6e348baa
will shortly be merged to deprecate this module to avoid double loading
the styles.

Bug: T242177
Depends-On: Icb910a563273bde92a09b1bb92857d5b6e348baa
Change-Id: I6471bc169f3c2a1f51e17b8ee26ac245b0374c18
2020-03-12 18:13:00 +00:00
Translation updater bot
d82657b711 Localisation updates from https://translatewiki.net.
Change-Id: I40c75af7e8469c3bf3d8fc73058e58152fe9d252
2020-03-12 08:20:09 +01:00
libraryupgrader
b199d65ec9 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I04f7d08a9320ee7cb8bffa005812712f6675af9c
2020-03-08 18:36:30 +00:00
jenkins-bot
b3b08f85ab Merge "Extend documentation of CSS trick that sets the minimum content font-size to 11.43px" 2020-02-29 03:17:13 +00:00
AronDemian
607fbb78ee Extend documentation of CSS trick that sets the minimum content font-size to 11.43px
Change-Id: If90ae377705eb88807be465b24859b9ccc63d09c
2020-02-28 06:37:03 +01:00
jdlrobson
f7e483042e Reveal Monobook "enable responsive design" option when skin selected
Currently one has to click save on "Special:Preferences" to reveal
the monobook responsive design option. As of
Iaf68b238a8ac7a4fb22b9ef5d6c5a3394ee2e377 we can reveal this conditionally
when the Monobook skin is selected.

Depends-On: Idd06bcfe7935e16732a6a95c1253dbf95c8aca2e
Bug: T246296
Change-Id: Ibd74cc03f3ccbdc0042163c18ab0f71b6aa556f6
2020-02-26 15:48:00 -08:00
libraryupgrader
46228355b3 build: Updating mediawiki/mediawiki-codesniffer to 30.0.0
Change-Id: Ib0e1449744f618f13be246ef04ce794e050e4250
2020-02-21 06:55:47 +00:00
jenkins-bot
45fe76958c Merge "Unify messages for skin specific CSS/JS overrides" 2020-02-20 16:25:51 +00:00
Volker E
de39773cf4 Unify messages for skin specific CSS/JS overrides
Similar to Ib40a38dba553bf10.

Change-Id: I6b82a7c71551bbe6a1d45f5ee4be7b4f3b7cc075
2020-02-20 03:08:21 -08:00
libraryupgrader
66d6734ffc build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I1e5f442b31f93c0351433bbc5dec1e9447dec511
2020-02-15 20:40:53 +00:00
Translation updater bot
8e4f7b7a6b Localisation updates from https://translatewiki.net.
Change-Id: I085cacdd5c7bb38e595e573625fc4ea3d07915fb
2020-02-10 07:57:37 +01:00
Ammar Abdulhamid
c639988692 Upgrade skin.json schema to manifest_version 2
Bug: T242502
Change-Id: I0c12363d8bfffef32305cf7190c90231f0adefa1
2020-02-07 14:21:43 +01:00
jdlrobson
00234ce031 Drop mediawiki.skinning.interface in preparation for its deprecation
Since MonoBook is never cached on Wikimedia wikis, we don't need
to do anything about both modules being loaded in cached HTML.
There should be no differences before and after this change.

The change must apply to skins.monobook.styles and skins.monobook.responsive
as these modules never load at the same time (see setupSkinUserCss).

Bug: T242177
Change-Id: I5e69cd7f37f7b7a2b6325177b6688a426d92d57f
2020-02-05 18:28:27 +01:00
libraryupgrader
c21a70208c build: Updating composer dependencies
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I0cd1840109e0cdde8bce1510e1970098edc5e868
2020-01-26 18:22:20 +00:00
libraryupgrader
dac13ef8d4 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I3c7178a94c3bdb7f5d8d4d93ed33a40b2eedc225
2020-01-10 18:32:49 +00:00
libraryupgrader
ba7498328f build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I7a28154ee5fc73437c4cb4868fec2c296d642b2f
2020-01-07 17:43:21 +00:00
Translation updater bot
bf3995e01f Localisation updates from https://translatewiki.net.
Change-Id: Ia28dac2ad75da8c1da2a32e07b69acdb8ae61d84
2019-12-26 15:11:21 +01:00
libraryupgrader
9879ec956a build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: I14024466c38bd61f75ac2185ea3a5372cb91c054
2019-12-15 18:07:49 +00:00
Translation updater bot
377adb0a7e Localisation updates from https://translatewiki.net.
Change-Id: Ifbfc17315f916c0a39f5898ac621a1de56842dc2
2019-12-13 08:37:00 +01:00
Translation updater bot
e858c31958 Localisation updates from https://translatewiki.net.
Change-Id: Icb4c69f65d6a4fdd4a96450c55ec045f3640d84f
2019-12-12 08:55:08 +01:00
Volker E
ac9ba37713 Amend firstHeading selector
Turning it into a class selector similar and amending the distances
to not rely on `line-height` in order to prevent unwanted side-effects
in non Latin scripts.

Follow-up to I85b5172a851bcfbf00606f355453f591782f9cc2

Depends-On: I2edf9f40e5b4b9296195cb581e216f82b28933ca
Bug: T239657
Change-Id: Ia27b48d45ad3fa4ab2f517734bd0cbe0d94f5ed4
2019-12-02 12:26:36 -08:00