Commit graph

2651 commits

Author SHA1 Message Date
jdlrobson e223d00e8f Update the icon glyph
In Ia3bafc74a85293c2414c0ef4ccf3bb20c75135d1 this icon was renamed
but this reference was not updated.
The module will soon be removed in I181d41f60481efa904d5e951cf08480bbae82015

This will not fixed cached HTML. The damage is already done, so we'll
have to live with this bug on old cached HTML for up to 7 days.

Bug: T249864
Change-Id: I20b838ed5ab478ae60b2cbf6abf5df448d8f4e59
2020-04-10 10:40:05 -07:00
jdlrobson 2e32f41fd3 Drop skins.minerva.icons.image module now cache has cleared
Bug: T244444
Change-Id: I181d41f60481efa904d5e951cf08480bbae82015
2020-04-10 17:36:46 +00:00
Translation updater bot f62ebcd5d0 Localisation updates from https://translatewiki.net.
Change-Id: Ib51031fff4a7396957dc9ed96cb269e5f3650c72
2020-04-10 09:53:09 +02:00
Translation updater bot 0d47fa377d Localisation updates from https://translatewiki.net.
Change-Id: I7338c5fc433efc88aa79292b2b23fd1c0f24eae7
2020-04-09 08:41:37 +02:00
Translation updater bot 1cea3db996 Localisation updates from https://translatewiki.net.
Change-Id: I03dd342f7789c3200e16d1817971c42c3e6c5ded
2020-04-08 09:06:46 +02:00
jdlrobson 313f2ac220 AMC History page design tweaks
Since a few months ago this page has regressed with changes to the
other pages e.g. Special:RecentChanges

Since the history page has its own stylesheet these styles can be
applied safely without worrying about them impacting other pages.

Change-Id: Ia8d038b6d22a3fe1b537aebe483d5d1683d785a2
2020-04-03 06:42:45 +00:00
jdlrobson 8d1576aaaa Drop unused upload and logoWikimedia
Change-Id: Iaaa1a3455b0157475945c9721bcf71aa3c561d9c
2020-04-02 16:53:18 +00:00
jdlrobson 276ae636fe Use standardized icon classes and fix some missing icons
The icon pack wikimedia.ui was strangely using a non-standard
icon class using empty strings as a way to disable the default behaviour
of setIcon. Instead of fighting APIs - use the methods available.

The icon pack is also renamed to reflect what it's actually used for -
providing icons for overflow menus and it is no longer loaded as a dependency
by skins.minerva.scripts

Fixes issues with:
* History icon with AMC disabled and user is logged in
* Table of contents icon
* Language icon when it appears in overflow menu on user pages
when logged in where AMC is disabled
* listBullet appears in 2 modules as it is used in 2 places - the AMC
overflow menu (log icon on user overflow menu) and for table of contents
(JS only)

Bug: T232383
Change-Id: I05220ffa56195be6a594e3a8a57ae16858088444
2020-04-02 01:37:33 +00:00
Translation updater bot a74477cc2e Localisation updates from https://translatewiki.net.
Change-Id: Ib0b33d2cd04fe91fbed21f90e82d1fac1830c0c3
2020-04-01 08:27:08 +02:00
jenkins-bot 56e6687427 Merge "Rename several icons to WikimediaUI naming" 2020-03-31 19:19:00 +00:00
Volker E 98d3225fc8 Rename several icons to WikimediaUI naming
Renaming to WikimediaUI standard naming and adding to module
skins.minerva.icons.wikimedia which is loaded via addModuleStyles
 'edit' → 'editLock'
 'edit-enabled' → 'edit'
 'toc' → 'listBullet' (already included in wikimedia.ui module)
 'mainmenu' → 'menu'
 'language-switcher' → 'language'
 'clock' → 'history'

Icon `page-actions-overflow` which is only needed on AMC is moved out of the stable icon
pack and added to skins.minerva.mainMenu.advanced.icons temporarily which is loaded on AMC pages only:
 'page-actions-overflow'

Additional changes:
* Renaming 'clockIconClass' to 'historyIconClass' to stay on name.
* Module `skins.minerva.icons.images` is deprecated and shipped for old
HTML markup. It will be removed in 2 weeks.

Bug: T232383
Change-Id: Ia3bafc74a85293c2414c0ef4ccf3bb20c75135d1
2020-03-31 11:48:57 -07:00
Translation updater bot 464df09ae6 Localisation updates from https://translatewiki.net.
Change-Id: Ic44a715df4d903a3466d1c2e8d065305c9f7c62c
2020-03-31 08:30:58 +02:00
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