Commit graph

2239 commits

Author SHA1 Message Date
jdlrobson 1f94dbb094 Simplify hamburger button logic
It was a bit of a maze trying to work out how we generate our
hamburger button. Much of this abstraction seems unnecessary when
we can rely on template partials and data instead.

Change-Id: I791640fea29f87334dcc36baf92ea9e300d8a07c
2020-03-30 20:19:00 +00:00
jenkins-bot 8a85cd2ae6 Merge "Remove unused 'talk' icon" 2020-03-28 23:28:46 +00:00
Volker E 0f5f376b64 Remove unused 'talk' icon
Bug: T244444
Change-Id: I42f60785c4693da7542a61e0ad415850175cb0f5
2020-03-27 18:06:37 -07:00
jenkins-bot 7a4fe1afcc Merge "Use 'download' icon from OOUI" 2020-03-28 00:17:03 +00:00
Volker E cc05fb9aca Use 'download' icon from OOUI
Bug: T244444
Change-Id: Ic65303b42c7b37c4017b98897139273f15ee1598
2020-03-27 17:01:51 -07:00
jenkins-bot bd5167a616 Merge "Remove obsolete fallback CSS classes" 2020-03-27 03:04:01 +00:00
jdlrobson ae2c0279d7 Also break word in .mw-contributions-title
Bug: T237230
Change-Id: I15b8d824b73e659ce17f71e9dad85fd7c0b55dbc
2020-03-27 02:04:11 +00:00
Volker E 28361446f9 Remove obsolete fallback CSS classes
Introduced in I0f929f2f3b11362

Bug: T244444
Change-Id: I7e45adf0549c35aaa0c8390329e20d205126f616
2020-03-26 17:52:58 -07:00
jdlrobson e56302a3f6 Break title on watchlist and scope non-hyphenated links
Non-hyphenated links according to T230860 were added for
infoboxes but the default is no hyphens so these no
longer should be needed. It was likely working around
a recently removed bit of CSS in MediaWiki:Minerva.css
(See T248415)

The new selector is needed for Special:Contributions

Bug: T237230
Change-Id: I500ca1a6182f505ceb31441c49e4dcacd597a5d3
2020-03-27 00:30:54 +00:00
Translation updater bot df3c71e4a3 Localisation updates from https://translatewiki.net.
Change-Id: Ib3057cbf5b1ff97d5dbf47ad3ff43a60ef2f8900
2020-03-26 08:34:47 +01:00
Jack Phoenix 004d265c16 Only hide the "remember me" checkbox instead of all (incl. extension-added) checkboxes on Special:UserLogin
Bug: T246135
Change-Id: Ie6102ff8060d32a24cce80914db6eeb7bfaf0ab1
Depends-On: 322a43583cc6e5908bc3f1d17622737c47f62600
2020-03-25 11:20:00 +02:00
Translation updater bot 40ee3451e2 Localisation updates from https://translatewiki.net.
Change-Id: I0524bd9dd1f099be2e3b01a4216ce4e981e39a6e
2020-03-25 08:36:03 +01:00
Translation updater bot e43742a253 Localisation updates from https://translatewiki.net.
Change-Id: I5121880d7ed0e6b5983e4e1ca29edf4974d417f2
2020-03-24 08:59:48 +01:00
jenkins-bot fb2edfa744 Merge "SkinMinerva: Fix link target for transcluded pages in doEditSectionLink()" 2020-03-23 20:50:35 +00:00
jdlrobson 6c6cfac189 Limit title on Special:Watchlist and Special:RecentChanges
Bug: T237230
Change-Id: I8e5e833290ce1968d4610554411f36c92b56e9b7
2020-03-23 16:27:51 +00:00
Translation updater bot 6c53c2581f Localisation updates from https://translatewiki.net.
Change-Id: I077292330282e8af3865b4f3068da9f8ba513d10
2020-03-23 09:07:58 +01:00
Bartosz Dziewoński bc41bf5326 SkinMinerva: Fix link target for transcluded pages in doEditSectionLink()
Bug: T198011
Change-Id: I62caa73d9b337be8f987f077eced0b2e6ca4fa5f
2020-03-20 23:01:28 +01:00
Derick A 2afd3b5de2 menu: Remove local var $url whose usage was removed in the past
Poked around the revision history a bit and found that the usage
of this variable as removed in f5bef2e but its definition was not.

Added return type hint for the `prepareToggle()` method too.

Change-Id: I9950f4c81bb914bf2c2d3c13c60d3f0a040a0ae1
2020-03-20 07:02:38 +00:00
Timo Tijhof 5283774bbd docs: Remove mention of TemplateParser $forceRecompile arg
Change-Id: I13fba73146e00608f1aeb2694cfef798f09d185a
2020-03-19 00:24:30 +00:00
Daimona Eaytoy edaa6715a0 tests: Avoid calls to Title::__construct
Change-Id: Ib41a016c1deb70daf4ccc302631d70ca7e006503
2020-03-13 14:01:04 +00:00
Translation updater bot ef8439fbe4 Localisation updates from https://translatewiki.net.
Change-Id: I2e6a15afbf864c85ff44fe8e49fc9e148f572ed8
2020-03-13 08:30:42 +01:00
Translation updater bot bba66985c6 Localisation updates from https://translatewiki.net.
Change-Id: I91b46105c18c87f82913e9e7a185c6df4a5cdb66
2020-03-12 08:20:00 +01:00
jenkins-bot 494935f617 Merge "Always enable stylelint rules after disable" 2020-03-11 23:32:22 +00:00
jenkins-bot fd177d549e Merge "Selenium: record videos of all tests" 2020-03-11 22:55:33 +00:00
jenkins-bot be177d0b9d Merge "Reduce selector specificity to necessary minimum" 2020-03-11 22:55:32 +00:00
Umherirrender 53fab7c03d Always enable stylelint rules after disable
Change-Id: I3c677fb6e3ff9666e8e50f3a2ad9cd9ac57c29b8
2020-03-11 15:50:14 -07:00
Željko Filipin 9d0ffdd867 Selenium: record videos of all tests
Works only on Linux. It works in our CI, since it uses Linux.
For instructions on how to test it on a Linux machine see:
https://www.mediawiki.org/wiki/Selenium/Node.js/Inside_MediaWiki-Vagrant

Bug: T245250
Change-Id: Ic4d909304b498c56f155bcade40a99f95ed72bcb
2020-03-11 21:03:56 +00:00
jenkins-bot 96c971ca77 Merge "Remove usage of deprecated Revision::newFromTitle" 2020-03-11 16:04:51 +00:00
James D. Forrester 0892d190b6 Drop support for $wgMinervaCustomLogos being set
Bug: T232140
Change-Id: I56dc8ac8d394ad7561ea09e67da6c51db2bc90f9
2020-03-10 20:40:32 +00:00
jenkins-bot 356338ba34 Merge "Remove usage of deprecated Revision::getTimestampFromId" 2020-03-09 13:49:08 +00:00
jenkins-bot 2a04aea819 Merge "build: Add 'sortAttrs' convention rule to 'svgo' & re-run" 2020-03-09 11:42:43 +00:00
Translation updater bot 1218b13a6e Localisation updates from https://translatewiki.net.
Change-Id: Idcf4c169bf8fa6ed4384e67848510c24f1e5bf41
2020-03-09 08:10:10 +01:00
Volker E 8d463a80b3 build: Add 'sortAttrs' convention rule to 'svgo' & re-run
Following SVG optimization & coding conventions.

Change-Id: I0ab8c59a42cfbc4d7c8d600a9eee155c0cb37fa8
2020-03-07 20:09:42 -08:00
Translation updater bot b08bc1d77c Localisation updates from https://translatewiki.net.
Change-Id: I58e1dc5acfd55b0f6a7c10f5b3eb588526095a0b
2020-03-06 07:55:40 +01:00
Volker E d92fffb4a1 build: Update svgo to latest v1.3.2
* svgo: 0.7.2 → 1.3.2

Bug: T246544
Change-Id: I1a1ea9c1c90a4676384ae8aae8a846d09ca13637
2020-03-05 16:25:02 -08:00
Volker E 30fbd44efd Reduce selector specificity to necessary minimum
Further reducing selector specificity. `.action-history` does
a sufficient job.

Change-Id: I9393316b28aa86d99797a03ca164a589f5a942a9
2020-03-05 14:00:43 -08:00
Volker E f955bda480 Word-break overlong usernames
Also de-specify styles, we're already in `.action-history`, specificity
resulted from form elements below.

Bug: T237230
Change-Id: I82d9ab071084624025f1c723d2772a409750dbc9
2020-03-05 13:28:35 -08:00
Translation updater bot a24040f0c8 Localisation updates from https://translatewiki.net.
Change-Id: I59ef03fe9769578684ec63411dc024a775235c9a
2020-03-04 07:59:24 +01:00
Petr Pchelko d9db54120d Remove usage of deprecated Revision::newFromTitle
Bug: T246284
Change-Id: Icd1d7ae5324ab83d0ec2f5ffd6e1f846fab3ca60
2020-03-03 18:53:53 -08:00
Petr Pchelko 583ac2305d Remove usage of deprecated Revision::getTimestampFromId
Bug: T246284
Change-Id: I852af2f19cbd1df0f9137e0f75ed7a272a54a169
2020-03-03 18:19:44 -08:00
jdlrobson 1200cb5279 Storybook added to MinervaNeue
For now just adding story entries for footer element and last modified.

Bug: T244106
Change-Id: Ib36f22f9b9d805f87fc074d12473497cfaf91b79
2020-03-03 15:22:34 +00:00
Translation updater bot c445c2bbfb Localisation updates from https://translatewiki.net.
Change-Id: I1344a79c31114b8246b21f8bc43f20164cbb7027
2020-03-03 07:57:49 +01:00
jdlrobson fb36687fc3 setAttribute takes a string not an array
Since we are dealing with arrays here with the value of classes
but using native DOMElement we need to convert the array to a string

Follow up to  I331912a1cd6cd4293c22a1a48bb32cdec48bd37d

Change-Id: If08d68af8cebecaea02cc29bf779d25d58c0c6c3
2020-03-02 12:05:42 -08:00
Translation updater bot ce3681a48e Localisation updates from https://translatewiki.net.
Change-Id: I5ec34969d07c256bbe3902b0873ff7c89a8ee965
2020-03-02 08:38:55 +01:00
jdlrobson 6b6c6b8d6e Menu items added via addPortletLinks should look like other menu items
Requires `I4c477c88ce48484960e40609cd243e63639175bc` to function.

Bug: T236711
Change-Id: I331912a1cd6cd4293c22a1a48bb32cdec48bd37d
2020-02-29 00:11:28 +00:00
Translation updater bot 3fab70f8bc Localisation updates from https://translatewiki.net.
Change-Id: I5b52fcc1718fa491ede216c4835b610abf0e90f4
2020-02-28 07:57:33 +01:00
James D. Forrester e56349f7a7 Hard-deprecate $wgMinervaCustomLogos being set
Bug: T232140
Depends-On: I2463fecfafbb4c08d80f624adf4cd47a6fb4e660
Change-Id: Ibb70f97c889edf8ffc21737e87949b0294044f9c
2020-02-27 22:04:09 +00:00
Translation updater bot 0f599f49ed Localisation updates from https://translatewiki.net.
Change-Id: I587ac898fc455fa5de0b1522e30ca69d6786f3e7
2020-02-27 08:12:24 +01:00
jenkins-bot 00f515cce5 Merge "Reduce margin in icon and label combination" 2020-02-26 18:50:27 +00:00
jenkins-bot c81c1432d0 Merge "PageActionsMenu: Reduce spacing between icons and text in tablet mode" 2020-02-26 18:50:25 +00:00