Commit graph

554 commits

Author SHA1 Message Date
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
Translation updater bot
0612572200 Localisation updates from https://translatewiki.net.
Change-Id: Ib262fd43ab60b0d7560c5ce4a789c42ad99c9069
2019-12-02 08:35:38 +01:00
Translation updater bot
09e212ae06 Localisation updates from https://translatewiki.net.
Change-Id: Ia9cb5f66668d90856600de19467f92a9067a8f94
2019-11-04 08:41:15 +01:00
Ed Sanders
3314ffcc06 build: Update linters
Change-Id: Ic5ffd9a998e08e09420513114d8f9a89723801f4
2019-10-31 21:47:42 +00:00
Translation updater bot
82e9709602 Localisation updates from https://translatewiki.net.
Change-Id: I50126e0185c3229cce66f131fdee9cf6ed26a172
2019-10-29 08:46:11 +01:00
jenkins-bot
eb1643630d Merge "build: Upgrade stylelint-config-wikimedia to 0.7.0" 2019-10-22 10:24:38 +00:00
James D. Forrester
d12deeb236 build: Upgrade stylelint-config-wikimedia to 0.7.0
Change-Id: I5f7abd5daa28e1833c96734df41a4297ec749302
2019-10-22 10:35:26 +01:00
Daimona Eaytoy
6efe05b0aa build: Bump mediawiki-phan-config to 0.8.0
Change-Id: I4104815380c0ecbd597015389decabd9d4745b9e
2019-10-21 14:01:45 +00:00
jenkins-bot
4fb97e4679 Merge "Remove IE 6 & 7 specific code" 2019-10-16 22:37:00 +00:00
Translation updater bot
cf6ab93360 Localisation updates from https://translatewiki.net.
Change-Id: I46ed139425d2ea91684f6c6e9035273c9d739423
2019-10-16 20:46:56 +02:00
Volker E
cdafe2a796 Remove IE 6 & 7 specific code
Bug: T234582
Change-Id: I3b51005bdc4ce49a534f8fc005f8e5a67b5c39e7
2019-10-13 09:15:38 -07:00
James D. Forrester
7a12fac7a1 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I99529c096b30e513741c879748125cc56d8a1b51
2019-10-11 11:59:59 -07:00
Ed Sanders
4adb126343 build: Update linters
Change-Id: I83682b6da9cb5d49c9b7153d8c6c31c0e8c2b6f6
2019-10-07 16:44:36 +01:00
Translation updater bot
d3c04ffa3c Localisation updates from https://translatewiki.net.
Change-Id: I91f39c16caa3b0637c67e43749b4888435080bd8
2019-09-26 08:27:38 +02:00
Translation updater bot
1275cfae76 Localisation updates from https://translatewiki.net.
Change-Id: I5c3615fab83d3e1fc2406c03fd83638845efd76f
2019-09-20 08:27:43 +02:00
Translation updater bot
1b0e24bf32 Localisation updates from https://translatewiki.net.
Change-Id: Idaca95ff07c555f0510cf03519a6bea0d9e0233c
2019-09-10 08:48:40 +02:00
libraryupgrader
3f07f757bf build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ife5cea42076a36c0a3afe98aa386a8c98bec4a34
2019-08-24 03:06:39 +00:00
jenkins-bot
0b288c7de7 Merge "Style RelatedArticle cards" 2019-08-16 19:52:27 +00:00
Translation updater bot
b87125ad02 Localisation updates from https://translatewiki.net.
Change-Id: If791161ea00e2578e67d2ad823aa06ee7c5b6f41
2019-08-05 08:32:03 +02:00
libraryupgrader
bbcb1ddf99 build: Updating grunt-stylelint to 0.11.1
Change-Id: Id7411b55a054937e9483af964f5913104ca5280f
2019-08-01 06:56:12 +00:00
Translation updater bot
cc0fd5df05 Localisation updates from https://translatewiki.net.
Change-Id: I1b9d975968af3393506df9419fd97ad4d65cfadf
2019-07-29 08:32:25 +02:00
Isarra
a2d4476d12 Style RelatedArticle cards
If RelatedArtcles uses the SkinAfterContent hook (depends-on patch)
and we move the hook out of the main content block (parent patch),
it needs some styles to remain consistent.

Bug: T181242
Change-Id: I9fc00c22fb5e5b7d363455abe9d85062e67c7dfa
Depends-On: Iebd759c0d1a536768d18953f372664df762d9e04
2019-07-26 19:50:24 +00:00
jenkins-bot
6a32ca83c0 Merge "Enhance the 'MonoBookAfterToolbox' hook by passing the class instance to the hook subscribers" 2019-07-21 18:11:17 +00:00
Jack Phoenix
9ade7fcbe6 Enhance the 'MonoBookAfterToolbox' hook by passing the class instance to the hook subscribers
That way hook subscribers can use RequestContext and whatnot instead of having to resort to globals.

Change-Id: I1e4be7156aaea12fef75169bd0216140b9d50388
2019-07-21 18:03:37 +00:00
Translation updater bot
b162339a4a Localisation updates from https://translatewiki.net.
Change-Id: I8dd5724cd88c82af9e94970ece46d18efab00b94
2019-07-17 22:22:56 +02:00
Bartosz Dziewoński
6c53b601f8 Use media queries rather than manual checks for mobile hacks
If the page was long enough to have a vertical scrollbar, the check
for `$( window ).width()` would be incorrect because of the width of
the scrollbar itself. The correct value is `$( window ).outerWidth()`.

But rather than deal with that, we can instead use the API
specifically for matching media queries [1], then copy-paste the
media query from CSS and not have to think about it at all!

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

Bug: T227916
Change-Id: I79478040620391f5391b10aee52134fde0b88adf
2019-07-12 21:59:26 +02:00
Bartosz Dziewoński
3f52a1796c Fix funny Echo integration when mobile hack kicks in after using the icons
When the icons are clicked for the first time, they are replaced with
a JS interface by Echo code, so don't cache them in a long-lived variable.

Otherwise if the user clicks one of the notification icons, then
resizes the browser to a mobile width, and then resizes it back, we
would insert duplicate Echo icons.

Also rename the temporary variable per conventions.

Bug: T227916
Change-Id: I08f2e3d2e293d727ac4492d1fb6fe2c7c65df4ad
2019-07-12 21:57:12 +02:00
Bartosz Dziewoński
4c4efadf59 When the personal bar doesn't fit, make overflowing links usable
When the personal menu bar is wider than the screen (browser window),
it gets cut off on the left (and the overflowing links slide under the
logo and then off the screen, making it impossible to click them).
This is caused by the `float: right` rule added in 5a7e620. To avoid
this, add `max-width: 100%`, which results in the menu being cut off
on the right again (which lets the user view the overflowing links by
horizontal scrolling).

Bug: T226875
Change-Id: Id4186215cc069f283f8ebeca0db587e1f1369062
2019-07-12 21:30:21 +02:00
MarcoAurelio
664fbbfce9 build: Updated composer dependencies
Change-Id: Ia95b81e3f5639324cd5ee1d038b77be75d49d28c
2019-07-12 15:47:07 +00:00
MarcoAurelio
f4a17ce80e build: Update npm dependencies
eslint-config-wikimedia  0.11.0  →  0.13.1
 grunt-banana-checker      0.7.0  →   0.7.1
 grunt-eslint             21.0.0  →  22.0.0
 grunt-jsonlint            1.1.0  →   2.0.0
 grunt-stylelint          0.10.1  →  0.11.0
 grunt-svgmin              5.0.0  →   6.0.0

Updates also package-lock.json

Change-Id: Iadda9f7b15f5c70819c7b9599af754d9dd1b641b
2019-07-11 22:50:29 +00:00
James D. Forrester
147550142d build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Add `@param-taint $contents escapes_htmlnoent` annotation to
MonoBookTemplate::getBox(). The method will escape the $contents
parameter if it's an array, but it will not if it's a string; Phan
can't distinguish the types, and assumes it always escapes. Use
escapes_htmlnoent to suppress warnings about double-escaped output.

Change-Id: Id8ef73f2efbe8d4d5510917d55dbac4e41b2b3a1
2019-07-10 17:12:44 +02:00
jenkins-bot
fa1deee55e Merge "Move DataAfterContent outside of main content block" 2019-07-08 21:18:35 +00:00