Commit graph

2533 commits

Author SHA1 Message Date
Translation updater bot 2f2f40a4bd Localisation updates from https://translatewiki.net.
Change-Id: I91c9798bae17363a4c3c36383aefe9692734e64f
2020-07-21 09:18:35 +02:00
Translation updater bot d885ccea30 Localisation updates from https://translatewiki.net.
Change-Id: I0c4f2f67be930ad16418a41b8950baf4b773bae4
2020-07-20 09:04:18 +02:00
Ed Sanders e8d5462bb3 Apply infobox styles to any element with the class
MoveLeadParagraphTransform treats div.infobox the same as table.infobox,
and should be fixed to match any element too.

Fix specificity of tablet overrides.

Bug: T258011
Change-Id: I9ada6d1b8b19b46dba6527f1f66edd2547fa0c88
2020-07-17 22:09:30 +01:00
jdlrobson 6b8f8568a1 Restrict the number of errors we log in a given session
One IP address, logged 3,029 errors across 2 pages
This is not helpful as it makes the error seem more widespread
than it really is so let's not logged errors after the first 5.

Change-Id: I8abfc3c3852827ab84a06740356e9b9f659a2d03
2020-07-17 19:05:25 +00:00
Translation updater bot ba5918bd74 Localisation updates from https://translatewiki.net.
Change-Id: I7f5e75c6e16368d624d3db71be13478d5b9ec0d3
2020-07-17 08:31:12 +02:00
libraryupgrader 101730e31d build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: I4d39554093ea299f5e86c26ebec89ff0b135bf81
2020-07-16 04:24:20 +00:00
Translation updater bot 306f99cdd3 Localisation updates from https://translatewiki.net.
Change-Id: Ie627233229277f6f2de6368c53a8f23b48aa9792
2020-07-15 09:07:32 +02:00
jenkins-bot 18c0eb4964 Merge "Selenium: Update WebdriverIO to version 6" 2020-07-14 13:55:34 +00:00
Edward Tadros 49c8c0f0e1 Selenium: Update WebdriverIO to version 6
Bug: T255447
Change-Id: I51daa462187983462d7f6529e5f76f47b21e5ef2
2020-07-13 07:38:36 -07:00
libraryupgrader 22bf7fadfc build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Ib5c1127c579cf2703ce1774fd742a45a3798540a
2020-07-11 15:06:48 +00:00
DannyS712 4e1284996f Deprecate the MinervaPreRender hook, unused
Bug: T256079
Change-Id: Ic4b4ee679d7b78a6fa48fca353f51c1de1ee8a48
2020-07-11 00:35:01 +00:00
Edward Tadros d4ff1f2d2a Selenium: Setup Visual Studio code debugging
Change-Id: Ic3b2a920a6e9ccb06725aa06104f0a124346e7f8
2020-07-08 07:49:13 -07:00
Ed Sanders 9716e52f30 eslint: Remove upstreamed OO global
Change-Id: Iced0659f0e0c31a31d890e393997d0e08fdbc1d6
2020-07-07 21:51:30 +01:00
Translation updater bot a447d9e7d9 Localisation updates from https://translatewiki.net.
Change-Id: Ie3c286fa6e501e1d30a2b97015fc8c2afeb559ca
2020-07-06 09:57:29 +02:00
Translation updater bot 0b8c2501df Localisation updates from https://translatewiki.net.
Change-Id: I5ddee37196349d4dfc32cbf6d10a745e804ac42d
2020-07-03 08:36:25 +02:00
Translation updater bot a1cd9c4ec3 Localisation updates from https://translatewiki.net.
Change-Id: I51d995f5a6febcfcdfbdeea5f38d429c5f4337ea
2020-07-02 08:45:16 +02:00
Edward Tadros c8ce9608c0 Selenium: Update WebdriverIO to version 5
Bug: T255447
Change-Id: I4cdde3070a6dc4e742ea37a78a17dfd556103dd6
2020-06-30 08:27:05 -07:00
Translation updater bot e350281010 Localisation updates from https://translatewiki.net.
Change-Id: I8dac854271bc95c21215c1930134263fd851be2e
2020-06-30 08:36:16 +02:00
jdlrobson 2e450e104e Donate link should be in a separate group in main menu
Bug: T219793
Change-Id: I7501c87eaa799e4c8a9052f5e3f650a89f376d1b
2020-06-29 14:38:34 -07:00
Translation updater bot 36384b6050 Localisation updates from https://translatewiki.net.
Change-Id: Icd47334a5d9bb896dfff3e3ccd92daa66c799ba1
2020-06-29 16:28:32 +02:00
Ammar Abdulhamid ca2faa877d Restore redlink color to .new link elements
The color of the children will not apply back to the parent.

This was removed in I0c151ba under the assumption that elements
is loaded by the Minerva ResourceLoaderSkinModule which it is not.

Bug: T256503
Change-Id: Iffb4b623de61088871c82aa5f02344d765611398
2020-06-27 16:50:56 +00:00
Ammar Abdulhamid f9b5ca1f26 Minerva: Remove usage of two deprecated methods
* BaseTemplate::getToolbox()
* BaseTemplate::getPersonalTools()

Bug: T256272
Change-Id: I7de2be43e1fbe94c10cbe8bba49adc07692f9219
2020-06-26 12:43:27 +01:00
jenkins-bot 027e2697e3 Merge "Remove obsolete '@tocFontSize' variable" 2020-06-25 21:37:23 +00:00
Volker E b5eeb29fc1 Remove obsolete '@tocFontSize' variable
Seems to have been replaced by `@font-size-minerva-small`.

Bug: T255230
Change-Id: I94d565913b44fa4fb569e587eaa85d1f3823ccbc
2020-06-25 13:57:31 -07:00
jdlrobson de595ccf04 Disable donate link
After checking with Alex the donate link is in the wrong place
because of a mix up on the phabricator ticket. Disabling for now
while we reposition.

Change-Id: Icd12026f9e7c617bac8b7d6b4143a634948422a8
2020-06-25 13:45:40 -07:00
jenkins-bot 7871d763ab Merge "Rename @fontFamily* variables to WikimediaUI Base naming convention" 2020-06-25 20:35:37 +00:00
jenkins-bot c38b9fc341 Merge "Mobile web donate link" 2020-06-25 20:18:36 +00:00
AronDemian e0193eba9b Rename @fontFamily* variables to WikimediaUI Base naming convention
Renaming:
- @fontFamilySans -> @font-family-system-sans
- @fontFamilyBase -> @font-family-base
As defined in: https://phabricator.wikimedia.org/source/wikimedia-ui-base/browse/master/wikimedia-ui-base.less$201

Bug: T245136
Change-Id: Idec2c516efe2a6ee82efdf3cc6be173bedbb5b56
2020-06-25 19:51:11 +00:00
Volker E fea419f543 Use default @border-radius-base variable
Following WikimediaUI Base variable naming scheme.

Bug: T255230
Change-Id: I71f49d2b554dbca726aee43b19b1554969449403
2020-06-25 19:07:17 +00:00
Volker E 4cef1791c2 Use correctly named variables background-color-base and color-base--inverted
Depends-On: I7b7534223c672a47a11e69fc07bea535ec0085a1
Bug: T255230
Change-Id: Ibf5c0410e446cff18fc26fe2e80d120a72209c04
2020-06-25 19:07:12 +00:00
Volker E 7f590aba17 Rename link color variable to standard naming scheme
Change-Id: Iff85d1e424e18902df58988167ae6668ce034aa2
2020-06-25 11:20:33 -07:00
Vas Jaremchuk f4e3c8f9d9 Mobile web donate link
Add the Donate link with a heart icon in Mobile menu.

Bug: T219793
Change-Id: I65d1d7408e2df7b3ae307736ac6d498b1d7f7197
2020-06-25 11:00:44 -07:00
jenkins-bot 5e6e294083 Merge "Allow projects to disable Mobile welcome message" 2020-06-23 16:11:20 +00:00
Ammar Abdulhamid dbc3bdee1d Allow projects to disable Mobile welcome message
Bug: T255682
Change-Id: I62f2c798656005796d846067f67ad26812202e20
2020-06-23 10:44:13 +01:00
Ammar Abdulhamid 2bb3633530 Minerva: Use OutputPageBodyAttributes hook to add body attributes
This means dropping usage of Skin::addToBodyAttributes method from
parent Skin class to pave way for its deprecation/removal.

Bug: T255698
Change-Id: Idab13c37002ac5663f292e4f4b4ff51eb7573fda
2020-06-21 09:21:07 +01:00
jenkins-bot f88be3b2c7 Merge "Rely on core .new color" 2020-06-17 14:44:37 +00:00
Translation updater bot 9491f0a343 Localisation updates from https://translatewiki.net.
Change-Id: Ib8522ba4676780ecbf02d4d1c86b2dbcf691b4f2
2020-06-17 08:50:47 +02:00
Volker E ce5f213dda Rely on core .new color
Relying on core's 'elements.less' `.new` color without overriding it.
Also renaming variable to apply to standard naming scheme.

Depends-On: If9ce056ef1a186db86584897707b7bcf890137a6
Change-Id: I0c151ba95c4b51bb857dba69fa7e9eeec8a96263
2020-06-16 23:40:05 +00:00
Translation updater bot 9b943bb495 Localisation updates from https://translatewiki.net.
Change-Id: Ie779da776b311ec5e911e320f11c6834b7fd886d
2020-06-16 08:37:45 +02:00
Translation updater bot a18d78a73b Localisation updates from https://translatewiki.net.
Change-Id: I3d64c8674f6cc2e46db7af2f581176481f4836a0
2020-06-15 08:43:05 +02:00
libraryupgrader b8cfba1bab build: Updating markdown-to-jsx to 6.11.4
* https://npmjs.com/advisories/1219

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I2ee33d128567067e48c1dbe5f78c254a4cba82e4
2020-06-12 11:31:40 +00:00
Translation updater bot 130ab76899 Localisation updates from https://translatewiki.net.
Change-Id: Ibe77f7be2cfcf9d7235ac579bf5c6a9304aee987
2020-06-08 08:56:58 +02:00
Translation updater bot 3bc3de1362 Localisation updates from https://translatewiki.net.
Change-Id: Ia07d47648f6ccdfd17d37bd78fc337e3ecf61623
2020-06-05 08:55:28 +02:00
jenkins-bot ea4ad9d5f6 Merge "Revert "Drop MinervaEnableSiteNotice"" 2020-06-04 22:59:24 +00:00
Jdlrobson 4f021c79f0 Revert "Drop MinervaEnableSiteNotice"
This reverts commit 33e5c1eb79.

I talked to Gergo (tgr) about this and he's convinced me
that probably I want to be more conservative 
and incremently roll the sitenotices
out first. With that in mind I'm going to revert this change
and do a config flag instead.

Bug: T254391
Change-Id: If0f214d23a012fb4ae3e1dff1728f746a22f142a
2020-06-04 22:39:36 +00:00
jenkins-bot 83da1b00e5 Merge "build: Update eslint-config-wikimedia to 0.16.0" 2020-06-04 19:38:17 +00:00
jenkins-bot b51d095001 Merge "Drop MinervaEnableSiteNotice" 2020-06-04 19:38:15 +00:00
jenkins-bot 95086b5bcb Merge "Privacy->Privacy policy" 2020-06-04 19:37:14 +00:00
Ed Sanders a32999e641 build: Update eslint-config-wikimedia to 0.16.0
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
2020-06-04 08:39:32 -07:00
jdlrobson 33e5c1eb79 Drop MinervaEnableSiteNotice
This will make site notices display across the site as intended. The config
flag doesn't seem warranted - site notices should display across all skins
as they may contain important information.

This is preventing wikidata page banners from displaying in Minerva.
If this is controversial I can do a config-only change for Wikivoyages

Bug: T254391
Change-Id: I34c5e762b967ea94e33025e87f3446e8e029bc91
2020-06-04 08:38:03 -07:00