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
jenkins-bot
2c01b1fa8c
Merge "Remove 'legacy' feature, simplify skins.monobook.mobile module"
2021-07-29 23:24:51 +00:00
bwang
ff1d2fcf0f
Remove 'legacy' feature, simplify skins.monobook.mobile module
...
skins.monobook.mobile which was incorrectly identified as
a ResourceLoaderSkinModule is removed. This module was always
loaded in JavaScript alongside one of the modified modules
Bug: T287410
Change-Id: Ia1e15b606b3eee1ae442bd71765778269d11fd38
2021-07-29 23:18:54 +00:00
Translation updater bot
f7911a4395
Localisation updates from https://translatewiki.net .
...
Change-Id: I7e469cf7f9de3849984acc2e90047a54a14507e0
2021-07-29 08:46:29 +02:00
Translation updater bot
8290a36930
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e662b124cf70ce5f094aea03bba02e4646e97f2
2021-07-27 08:14:32 +02:00
Translation updater bot
aa41215bd9
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a76c3180392233034cafc8729d2b6d03af16808
2021-07-23 08:09:53 +02:00
libraryupgrader
fbd8ce906c
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
npm:
* svgo: 2.3.0 → 2.3.1
* https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.1 → 5.1.2
* https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
* https://npmjs.com/advisories/1753 (CVE-2021-33623)
Change-Id: I64fb6856ae29ad2a4268f88ee95749ad1a626942
2021-07-21 19:56:43 +00:00
Translation updater bot
5dc9f4494d
Localisation updates from https://translatewiki.net .
...
Change-Id: I8618cf88cf5a5b35a9792fea0afb4a6be232f325
2021-07-19 08:18:20 +02:00
Translation updater bot
a4ef44da26
Localisation updates from https://translatewiki.net .
...
Change-Id: I0e9d6458fd6148f85eb0b776ccad2ef5ac3fa998
2021-07-13 08:13:02 +02:00
Ammarpad
2f82aabd68
monobook-responsive pref: Follow core preference if set
...
If the general skin-responsive setting is set, let it overide
monobook-responsive preferences
Eventually remove monobook-responsive when the affected users
have migrated to the general pref (or they're migrated, if necessary)
Bug: T285402
Depends-On: I4e567199a92c0492dac0561a5c7844f6c5c239e6
Change-Id: If6e405eaf1e4c3ac396fdcf2da31501ea3f65b53
2021-06-28 22:03:39 +01:00
jdlrobson
ee59005150
Separate hooks from SkinMonoBook, use namespace
...
For consistency with other skins, its easier to see how hooks are
invoked when they are separated from the skin.
The skin is also updated to use namespaces and modern skin registration
which has been available since MediaWiki v1.36.
Change-Id: I1c93d4e817b53c93eba47ee9086c86c5d75443e5
2021-06-27 22:06:39 +00:00
Jack Phoenix
57e963507c
Move capitalize-all-nouns CSS class support from core to MonoBook
...
Bug: T97892
Change-Id: I598c4469c46d284562ea3aec79330f9a1f40d2ce
2021-06-17 20:20:55 +00:00
Translation updater bot
bc80783b1e
Localisation updates from https://translatewiki.net .
...
Change-Id: I47810a71831073d28d41e3e9cbddfc27d89a21e8
2021-06-17 08:21:30 +02:00
Translation updater bot
ea0e225043
Localisation updates from https://translatewiki.net .
...
Change-Id: I8c3088c79dc44b07c3597b0d6a64ae0c0ad10c19
2021-06-14 08:41:16 +02:00
bwang
6ce3ce1acb
Use Skin::getAfterPortlet instead of deprecated BaseTemplate:getAfterPortlet
...
Change-Id: Ie00e8c5efe9a1e736251382344a7ae8cd779bb6b
2021-06-11 15:08:45 -05:00
Translation updater bot
531749b3d0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib1bb69bdc0f48cb85bcaed1fc922ded8f28c8f38
2021-05-31 08:38:03 +02:00
libraryupgrader
7a0634c787
build: Updating browserslist to 4.16.6
...
* https://npmjs.com/advisories/1747 (CVE-2021-23364)
Additional changes:
* Changed package-lock.json dependencies to use HTTPS
Change-Id: I8d6c05d07ac25ca686f6c8ca627c290f674a042e
2021-05-28 05:48:34 +00:00
jenkins-bot
67e8c0e1b6
Merge "build: Update SVGO to latest v2.3.0 and re-crush SVGs"
2021-05-27 19:03:32 +00:00
Translation updater bot
b5d80ec56d
Localisation updates from https://translatewiki.net .
...
Change-Id: Id42fb9648fda81e7f689474b6b250163ae74c1ce
2021-05-27 10:39:21 +02:00
Translation updater bot
a4df82a1bd
Localisation updates from https://translatewiki.net .
...
Change-Id: I218ee0581ae11425e0db0c5492b4d44d2b88ab96
2021-05-26 09:08:15 +02:00
Translation updater bot
551fd112fb
Localisation updates from https://translatewiki.net .
...
Change-Id: I48fe73548e8218be71dfd1ba1b83cff541c7bbd6
2021-05-24 09:59:42 +02:00
Translation updater bot
5a89364671
Localisation updates from https://translatewiki.net .
...
Change-Id: Id306e59c11b9fa26f6f25359f15cec83532d3d91
2021-05-20 09:13:37 +02:00
Volker E
a80be96c35
build: Update SVGO to latest v2.3.0 and re-crush SVGs
...
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.
Bug: T278656
Change-Id: I3c2544e93da008baaffca6c75ff3de15aeb6dc1b
2021-05-18 06:12:46 -07:00
Translation updater bot
0c48d47210
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a9bba9adc6136d632922ec7f0eb78240e7c20d5
2021-05-18 08:49:33 +02:00
libraryupgrader
3123a68653
build: Updating postcss to 8.2.15
...
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
Change-Id: I2e74c1c788308ad5befe5064051e62c7616c4c17
2021-05-15 09:46:42 +00:00
Jdlrobson
0321b399f5
Drop mw-body-content class from Monobook in preparation for glorious future
...
* Removes the class from site notice - this provides no styling benefits
inside MediaWiki and is inconsistent with other skins. If site styles
need to target this element they should use the siteNotice id
* Replaces mw-body-content class with monobook-body and adapts existing
styles. The mw-body-content class will soon be applied to
$this->get( 'bodytext' ) instead. The core change
I3a91b294fcb3724cd46743e497dff723de0490a6 will shift this class to the
child element. There are no styles outside Monobook that rely on this
class and only 45 Monobook specific site/user styles that could be impacted.
The new class is prefixed monobook to avoid confusion with classes that
originate in core that are prefixed `mw-`
Bug: T279388
Change-Id: I90d85c21f4a62e6697f24e3ce388445a0a53c2b0
2021-05-13 20:14:11 +00:00
Translation updater bot
c055428922
Localisation updates from https://translatewiki.net .
...
Change-Id: I30aa1f5833f2e254c2c8c99ccddad6562a708c3c
2021-05-11 09:10:46 +02:00
Translation updater bot
b4408944fb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib75601254b1c0c2f1b9fcb08327a724214c6e35a
2021-05-10 08:59:29 +02:00
libraryupgrader
164c0a6f2a
build: Updating hosted-git-info to 2.8.9
...
* https://npmjs.com/advisories/1677 (CVE-2021-23362)
Change-Id: I6d5cba90cfa274389efb6c538cd40a465321ca32
2021-05-07 22:30:16 +00:00
libraryupgrader
99a0b502ec
build: Updating npm dependencies
...
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.20 → 4.17.21
* https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
* https://npmjs.com/advisories/1677 (CVE-2021-23362)
Change-Id: I6c8ca0281563b8a07fa9dbf8f6c8ec8513732332
2021-05-07 21:28:48 +00:00
Translation updater bot
625b6828e2
Localisation updates from https://translatewiki.net .
...
Change-Id: I91880dbc7cb8e2a2333b401ed81a562bfd51afa3
2021-05-03 08:41:00 +02:00
libraryupgrader
7597397a2f
build: Updating composer dependencies
...
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0
Change-Id: Ibcc6ff874fcfe2d94060b35d9f63e0a0b12b773b
2021-04-30 00:22:09 +00:00
Translation updater bot
e393162e61
Localisation updates from https://translatewiki.net .
...
Change-Id: Iba07ef69f6b8fc8d3e69ce5bbd7b767307aa6577
2021-04-28 08:51:38 +02:00
Derick A
aa848854ef
resources: Remove redundant CSS rule from .mw-indicators class selector
...
As already mentioned on the task, this has already been made available in
the interface ResourceLoaderSkinModule feature, hence redundant in here.
Bug: T278364
Change-Id: I071f43836bed9991bbefd71b7b0348c2eb13bbec
2021-04-19 17:57:15 +01:00
libraryupgrader
2f2b16b395
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: I192caade9a604a64e348cc40f778c84e69a8eac0
2021-04-08 09:00:58 +00:00
Translation updater bot
b8e4c2ec02
Localisation updates from https://translatewiki.net .
...
Change-Id: I2473f2a89fa6d0b99910c0361676cfa62cc2e4dd
2021-03-29 08:39:21 +02:00
Translation updater bot
a070197251
Localisation updates from https://translatewiki.net .
...
Change-Id: I823ec92933797269fd43d0d796fb67859f8e16a2
2021-03-23 08:27:23 +01:00
Translation updater bot
3554b6d306
Localisation updates from https://translatewiki.net .
...
Change-Id: I751af24448f6260460d880653e37f7f82efae6d0
2021-03-12 08:48:37 +01:00
libraryupgrader
c3071c1278
build: Updating eslint-config-wikimedia to 0.19.0
...
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).
Change-Id: If74189818aa5130279f90d6fccfc6f2653f16fad
2021-03-10 23:29:43 +00:00
Translation updater bot
4d95320833
Localisation updates from https://translatewiki.net .
...
Change-Id: I982d1a10a4da2d37ba5927a3abd3ef4c5aa20407
2021-03-05 08:58:26 +01:00
libraryupgrader
c5bdc41af1
build: Updating eslint-config-wikimedia to 0.18.2
...
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
Change-Id: Ie90e1b00ac84ca6f5c56d65ba3afd9c28489f852
2021-03-05 04:46:18 +00:00
Translation updater bot
dc44864177
Localisation updates from https://translatewiki.net .
...
Change-Id: I6a2f0625fa6fe0be1746bfdb6b31bfd53f1c1eaf
2021-03-01 08:57:03 +01:00
Translation updater bot
cf63888b6e
Localisation updates from https://translatewiki.net .
...
Change-Id: I560e8a07f4394fd459aa6b35cddf3ff340af5713
2021-02-22 08:57:47 +01:00
Translation updater bot
567a9606ea
Localisation updates from https://translatewiki.net .
...
Change-Id: Id3f08f54a465330be30696f2ebb6b7dc739eecc1
2021-02-19 08:34:40 +01:00
Translation updater bot
ef1ac5cc3c
Localisation updates from https://translatewiki.net .
...
Change-Id: If043630b969369f918dd9497e4fa3b8e44f206f8
2021-02-16 08:33:31 +01:00
Translation updater bot
f7a957d413
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic2f81f615dd71baa729e6bc440ec80aacb3b1f58
2021-02-15 10:10:15 +01:00