Commit graph

4137 commits

Author SHA1 Message Date
Volker E b35fdfe9eb Rename $glyphPrefix to $iconPrefix to better reflect variable value
Aligning with other `$icon*` variables throughout MinervaNeue.

Change-Id: I18cbd06bdd44d127093655577ba4daeb69dbe8ec
2020-04-29 15:14:59 -07:00
Volker E 96132669fd [docs] Remove whitespace in 'WikimediaUI'
Change-Id: I24169651cb60c68ea1bc0d5c70ee6f44841382ab
2020-04-29 14:50:51 -07:00
jenkins-bot b9e570ca6e Merge "Fixed search_loggedin.js Selenium browser test" 2020-04-29 15:35:57 +00:00
jenkins-bot f9dd4e3bdb Merge "Remove unused user icons" 2020-04-29 15:20:54 +00:00
Translation updater bot 0cf3ee549e Localisation updates from https://translatewiki.net.
Change-Id: I189d4b3efec7eb29e59534ed8bb19c006a0d6546
2020-04-29 08:39:16 +02:00
Volker E c1a2462298 Remove unused user icons
They have been introduced in I0ef9c4cf3ea6 but have since been replaced
by OOUI modules. Time to say goodbye.

Change-Id: Id36e60780287f27fa5a99c6b10b1ac61647f3b93
2020-04-28 21:41:37 -07:00
jdlrobson fa6255dfd0 Use standard getJsConfigVars method
Depends-On:  I1e2927a5ced077c8764ff7872ca033f487ae7cc7
Change-Id: Ia5aae659d9882bef7a273c709789437719303a35
2020-04-28 19:06:51 +00:00
jenkins-bot 8cb8a3cd3a Merge "Reduce last-modified-bar nesting and add mw-footer class" 2020-04-28 16:17:28 +00:00
Translation updater bot d4bb87ec22 Localisation updates from https://translatewiki.net.
Change-Id: Id2f5e0a55db71e29ef38aeb9fdff1a02d74c1a06
2020-04-28 08:34:37 +02:00
jenkins-bot 7bdd8253fe Merge "build: Upgrade jsdoc from 3.5.5 to 3.6.4" 2020-04-28 00:25:26 +00:00
jenkins-bot fa4efa8b1f Merge "build: Upgrade eslint-config-wikimedia from 0.15.1 to 0.15.3 and make pass" 2020-04-27 22:37:46 +00:00
James D. Forrester 2ebe800f72 build: Upgrade jsdoc from 3.5.5 to 3.6.4
Principally, this is to fix the npm audit warning. No change in output that I see.

Change-Id: I6c39a6551ffd4a42fb6b26337a8bb7aa803feeb1
2020-04-27 22:22:16 +00:00
James D. Forrester 1e1436e655 build: Upgrade eslint-config-wikimedia from 0.15.1 to 0.15.3 and make pass
Change-Id: I67aff112f448b9159d286812a3b0ab27e68af5b4
2020-04-27 22:21:58 +00:00
Volker E b88cc09284 Clarify comment on Desktop MinervaNeue
Change-Id: Ibba6ea33f6338688dc3239d1da4b8c8d973f3c9b
2020-04-27 12:15:19 -07:00
Volker E 447a83415c Reduce last-modified-bar nesting and add mw-footer class
Reducing (currently) unnecessary `last-modified-bar` context nesting,
which isn't done consistently across stylesheet files.
Additionally adding new `mw-footer` class, but not yet using it
exclusively due to caching.

Change-Id: I6b9caa42c1907ec1a7f8c8b67334fb7f08705848
2020-04-27 12:02:47 -07:00
jenkins-bot 006d92e255 Merge "build: Upgrade stylelint-config-wikimedia from 0.10.0 to 0.10.1" 2020-04-27 18:17:30 +00:00
jenkins-bot bbffebbf68 Merge "Add .mw-footer CSS class to footer" 2020-04-27 18:13:34 +00:00
James D. Forrester e4d9f82143 build: Upgrade stylelint-config-wikimedia from 0.10.0 to 0.10.1
Also upgrade grunt-stylelint dependency from 0.11.1 to 0.15.0

Change-Id: I7348d35997b8bb0b2792e8b97a895774b7dcdc78
2020-04-27 09:49:56 -07:00
Translation updater bot 30e1e924dd Localisation updates from https://translatewiki.net.
Change-Id: Ib6fdc49d1a644a3114b12ec3afa75a6501c476c5
2020-04-27 09:06:20 +02:00
AronDemian f271350c91 Add .mw-footer CSS class to footer
Bug: T248137
Change-Id: I8a5af18e4aca663a7a9e9261fb360f7cd45f7283
2020-04-24 02:25:40 +00:00
Translation updater bot 29e7580ed4 Localisation updates from https://translatewiki.net.
Change-Id: I7040ae8805c4ed92b8c37d1641bf8db3538e043f
2020-04-22 08:58:29 +02:00
Volker E 18ab61d4fe Use .text-overflow() mixin from 'mediawiki.mixins'
Removing MinervaNeue's own mixin now that it's possible.
Also unify code instances to use new mixin.

Depends-On: Ia8d6e7229b49598b0f4cb19dff463ffe2f11a43d
Change-Id: Iaffcefcb7a239d5ddecbe17097573d06099de88e
2020-04-21 11:49:30 -07:00
Volker E 73c7d817b9 Use standard palette color Base20 for icons
Bug: T240500
Change-Id: I31302acb6dded8b367cff87e35df2ccbc30b4749
2020-04-20 20:27:13 -07:00
Translation updater bot 9145ed5dc6 Localisation updates from https://translatewiki.net.
Change-Id: I83c068979dcc1f6482cb61f19ae1a3e54f18c6f2
2020-04-20 08:46:33 +02:00
Reedy 101a1430da Remove MediaWiki\Minerva\MenuBuilder
Move one more class to AutoloadNamespaces

Change-Id: Ib434c512bb4d85047ad7cd5f756c69802462bb48
2020-04-18 20:03:13 +01:00
Reedy d12308e38d Move some more classes to AutoloadNamespaces
Bug: T187154
Change-Id: Ia78f963a08cec1490aaff462b9787f7a826bf62c
2020-04-18 16:09:42 +00:00
jenkins-bot f93b630fb0 Merge "Bump MediaWiki version requirement to v1.35.0" 2020-04-18 00:45:07 +00:00
Volker E ee4dbd39dd Use opacity for aligning icon color
Also adding corresponding variable.

Depends-On: I6e43a32366802775ae05e94859e
Change-Id: Iba1b12817b1620db96096f7fad34db194ce0775c
2020-04-18 00:28:20 +00:00
Volker E 0246446196 Bump MediaWiki version requirement to v1.35.0
Change-Id: I0743756cc97bbdb31b4b533f1647211fea845063
2020-04-17 16:14:29 -07:00
Edward Tadros b12fe5d5cc Fixed search_loggedin.js Selenium browser test
Fixed the search_loggedin.js test by updating watched watchstar methods.

Bug: T174018
Change-Id: I521279d97bc0b264062296cf318f4f56cebee2aa
2020-04-17 08:02:11 -07:00
Željko Filipin fafc41afd4 Selenium: update README.md file
Simplify, update and fix a few typos in README.md.

Bug: T210726
Change-Id: Iab666e1de50f3a0a00faef65e4ea42adb2b1d1ee
2020-04-16 17:52:00 +02:00
Translation updater bot 3868db71e0 Localisation updates from https://translatewiki.net.
Change-Id: I715176ae7b9d245ed821efd6c455ee460425e527
2020-04-16 09:35:32 +02:00
Translation updater bot 791f2af1c2 Localisation updates from https://translatewiki.net.
Change-Id: Iea779e57e911d4c2c815296f19d4841113fe3a28
2020-04-15 08:27:39 +02:00
Ed Sanders 2a52e7f15c build: Update linters
Change-Id: Iaf0c760d5a69bc41505b782ab9f05864c37c7196
2020-04-13 16:05:10 +01:00
Translation updater bot 0800522576 Localisation updates from https://translatewiki.net.
Change-Id: Ifa76ce04189b72bf8d5251da3c011f9a63f55936
2020-04-13 09:07:18 +02:00
jenkins-bot a454dc25c3 Merge "Drop skins.minerva.icons.image module now cache has cleared" 2020-04-10 23:03:41 +00:00
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