Commit graph

4330 commits

Author SHA1 Message Date
Jon Robson c4f7c60f9f [Tests] Move beforeEach calls into tests
beforeEach failures do not have videos associated. We'd like to see
what's going wrong with these tests.

Change-Id: I1b723bcd7d00f15907647d5c7a4aa1f57578468c
2022-03-17 14:14:10 -07:00
jenkins-bot 366d37efb1 Merge "Revert "[Tests] Check for VisualEditor in editor overlay integration test"" 2022-03-16 22:01:31 +00:00
Jdlrobson 63e744d147 Revert "[Tests] Check for VisualEditor in editor overlay integration test"
This reverts commit 422e3a3b09.

Reason for revert: The Ruby tests don't run. This change should be in
the Node tests.

Change-Id: If59753569b1eb24ffaf2486242ea49e794d388b5
2022-03-16 21:44:55 +00:00
jenkins-bot ddc5252b52 Merge "[Tests] Check for VisualEditor in editor overlay integration test" 2022-03-16 17:22:47 +00:00
Translation updater bot 7a7b382ad6 Localisation updates from https://translatewiki.net.
Change-Id: I2db704eb88a806095111b9dd3feeb318a2866854
2022-03-16 08:09:33 +01:00
Jon Robson 422e3a3b09 [Tests] Check for VisualEditor in editor overlay integration test
The mobile editor can load in two modes - visual editor or wikitext
editor. On the beta cluster depending on user preferences, the
VisualEditor may be loaded.

Since this test is just a smoke test that checks it renders, it's
okay to look for both.

Bug: T301575
Change-Id: I8192fc6e71e064278f62fc41e80652860f319e37
2022-03-15 22:41:51 +00:00
Translation updater bot d1d8280ba0 Localisation updates from https://translatewiki.net.
Change-Id: If829bfb85efd8956a4328f8aa836d2a03f6826ea
2022-03-15 08:27:08 +01:00
Translation updater bot f37f30bbb8 Localisation updates from https://translatewiki.net.
Change-Id: Ib059c81a102f9bd84f540df0826b453a2923fe0d
2022-03-14 08:16:41 +01:00
jenkins-bot f3565a4d7c Merge "Replace Title::newFromText by Title::makeTitle" 2022-03-13 21:56:31 +00:00
jenkins-bot 45b99d0465 Merge "Reorder checks in Defintions from cheaper to expensive" 2022-03-13 21:53:57 +00:00
Translation updater bot af47967a67 Localisation updates from https://translatewiki.net.
Change-Id: I26a8885118cb63ed501cf815793e851709a9087a
2022-03-11 08:35:03 +01:00
Umherirrender 3ed8be2752 Reorder checks in Defintions from cheaper to expensive
Check the messages first and only parse the Title if needed
Use local variable to avoid repeated call to functions

Change-Id: I376d06b807183fb23cb07ad33ee54b387beea6f9
2022-03-10 23:05:13 +01:00
Umherirrender 4831549b14 Replace Title::newFromText by Title::makeTitle
* Prefer Title::makeTitle in unit tests where the title is known,
  this avoids title parsing and can improve the test performance.
* Use Title::makeTitle for the user page like done in User::getUserPage

Change-Id: I3901a6ed208a5ff90b216d01d3c4962cdcb48db1
2022-03-10 22:42:56 +01:00
jenkins-bot 1a2960a3c0 Merge "Tests: expected value goes first in PHPUnit assertions" 2022-03-10 20:55:17 +00:00
Translation updater bot 4ece86d567 Localisation updates from https://translatewiki.net.
Change-Id: Icf033265a89d8248748e1a59c0a91790af6ec4de
2022-03-10 08:21:32 +01:00
Translation updater bot b51aacad1d Localisation updates from https://translatewiki.net.
Change-Id: I02978dc5bf759045cfb578cf08941527d1d141a2
2022-03-09 08:11:32 +01:00
Translation updater bot 842a8b3db8 Localisation updates from https://translatewiki.net.
Change-Id: I0bae4077a7805513943a4d0f6b6a02f5efbb87c2
2022-03-08 09:03:29 +01:00
Translation updater bot bb0e6927a3 Localisation updates from https://translatewiki.net.
Change-Id: I82a5508208b6cfb2998558ff7b7cd5b4809e49e5
2022-03-07 08:13:35 +01:00
DannyS712 3da8d0c734 Tests: expected value goes first in PHPUnit assertions
Change-Id: I5dee074f69a48a6aca218855859a518ca1c051e1
2022-03-04 19:11:34 +00:00
Reedy b6685f9c4a Namespace SkinMinerva
Change-Id: I8f6bddac9f8cd060c551651e711ee987b8bbfbe3
2022-03-04 17:50:20 +00:00
Reedy 87bb746849 Namespace two more classes
Change-Id: Id32beb98df0f37ced858c17196517f65b64a041c
2022-03-04 16:33:46 +00:00
Translation updater bot 15eb2c65a8 Localisation updates from https://translatewiki.net.
Change-Id: Ibfa539a76a9ad1249b25b3205326ef634e53250c
2022-03-04 08:35:12 +01:00
jenkins-bot d91b2c533e Merge "Disable failing talk page tests temporarily" 2022-03-03 19:34:38 +00:00
Bartosz Dziewoński ff00b6d9c5 Disable failing talk page tests temporarily
Bug: T302993
Change-Id: I1cbe8367394fdee1c0a88d5dbe2bd00da0b74062
2022-03-03 19:50:09 +01:00
jenkins-bot ffa698322a Merge "Remove user navigation min width and width" 2022-03-03 18:47:39 +00:00
Jon Robson 0e963397a0 Remove user navigation min width and width
This is creating a large gap between search icon and user navigation
icons on the right.

Bug: T302753
Change-Id: Ic24ab36d0a9c394c5c88b375bdfbe529be93ace6
2022-03-03 09:52:56 -08:00
Translation updater bot c5410b9f58 Localisation updates from https://translatewiki.net.
Change-Id: I7d5e0ca3630831eec85bcc2dc096a940bc65e4d1
2022-03-03 08:24:50 +01:00
Translation updater bot 96d43e51b9 Localisation updates from https://translatewiki.net.
Change-Id: I9c591d0db2c1d4f4ca06d94c77d4c0614017261a
2022-03-02 09:38:26 +01:00
jenkins-bot 66934d987e Merge "Change minerva-talk-add-topic message to "Add topic" to match Vector" 2022-03-02 01:17:33 +00:00
jenkins-bot 6d4558de86 Merge "Deprecate MobileMenu hook" 2022-02-28 22:09:18 +00:00
Translation updater bot d96b595a1e Localisation updates from https://translatewiki.net.
Change-Id: Iac17d2855c5b25d9531a05e59f15f76307cb9290
2022-02-28 14:31:28 +01:00
Volker E e3c2e625f4 build: Update 'svgo' to latest v2.8.0 & re-crush images
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: Ief64a9ad3d2eec96a2bdba14d06a0dce1a29e014
2022-02-28 00:00:36 +00:00
Umherirrender 3dd1fd841a Use new namespace for MediaWiki\SpecialPage\SpecialPageFactory
MediaWiki\Special is alias since 1.35

Change-Id: Ifb8a64c5fe7e413178f94ecc89b7a960d04064b2
2022-02-26 22:31:38 +01:00
Translation updater bot 72beb4bfbf Localisation updates from https://translatewiki.net.
Change-Id: I598ba2b039b729ec4074db13ce841cafe970f42d
2022-02-25 09:49:53 +01:00
Ed Sanders 92b7895c9e Change minerva-talk-add-topic message to "Add topic" to match Vector
Bug: T302502
Change-Id: I448bb41d833c3e228f9be7403bf026a85e292835
2022-02-24 15:38:31 +00:00
Translation updater bot ad6943de3e Localisation updates from https://translatewiki.net.
Change-Id: I2f0a42eb0d26012321477e86b3aa4677a4ad5e0d
2022-02-24 08:53:47 +01:00
jenkins-bot 4e7642926e Merge "Search icon should be part of search form for grade C browsers" 2022-02-24 00:56:04 +00:00
Translation updater bot c1e292dfff Localisation updates from https://translatewiki.net.
Change-Id: I5b75170ea15f8222982684fcfb92d538a96819ee
2022-02-23 08:20:51 +01:00
Jon Robson dc422a3def Deprecate MobileMenu hook
Bug: T291568
Depends-On: I2c75e210ac914ee4d63969314c82451fc8172da0
Change-Id: I00c3e0d4178447c547f25be580c5b99ee65bef60
2022-02-22 18:18:42 +00:00
Jon Robson fade8ad2c2 Search icon should be part of search form for grade C browsers
Cached HTML friendly change which works by limiting styles to the new
HTML which is identified by the existence of the
minerva-search-form class

Bug: T301257
Change-Id: I61ba77a349a38e6a05f87f600ec31bcbf36f306a
2022-02-22 08:40:55 -08:00
Translation updater bot 3e47043f7e Localisation updates from https://translatewiki.net.
Change-Id: I9295cc41fb31b235dbd83655f84530f2acb21c2d
2022-02-22 14:21:29 +01:00
Translation updater bot 568f2f58be Localisation updates from https://translatewiki.net.
Change-Id: I1889e8cb2a94fa5f3a115499ce59f6fbee404212
2022-02-22 08:13:48 +01:00
Translation updater bot 12ca3a0333 Localisation updates from https://translatewiki.net.
Change-Id: I6075a01a5084913a844c3f9771bbe67cf89b4ee6
2022-02-21 08:19:19 +01:00
Translation updater bot 47d4be3ad7 Localisation updates from https://translatewiki.net.
Change-Id: Ibbd8c435199bb0d2cacb1c43e43811381af83ca2
2022-02-18 08:42:50 +01:00
jenkins-bot c9bd66df37 Merge "Allow msg key to be overridable" 2022-02-17 18:16:08 +00:00
jenkins-bot 2cd54d4a10 Merge "Remove SkinMinervaNeue alias" 2022-02-17 17:05:58 +00:00
Jon Robson 0659e174c9 Allow msg key to be overridable
Minerva already overrides the text label for the Home menu item.
To allow other extensions to override it again, we can also consult
the msg key.

Bug: T291568
Change-Id: I3107a6d1e6ace26c7ab9c49c49768d2adcda8792
2022-02-17 16:44:37 +00:00
Translation updater bot f38d95404e Localisation updates from https://translatewiki.net.
Change-Id: I4c05ac4f78e0167212e83afa4be4a3ef02f50bc2
2022-02-17 08:13:41 +01:00
Reedy e4bcb8f050 Remove SkinMinervaNeue alias
Bug: T301811
Change-Id: I71c02347e43f9e4744fb1aa0c6c8e24ab0790f16
2022-02-16 18:26:10 +00:00
Željko Filipin 436bf80bd8 selenium: Delete tests disabled for more than 1 year
'Redirects' was disabled by Edward Tadros in fbd373b (2021-01-15).

'A newly created topic appears in the list of topics' was disabled by
Jon Robson in d4828b2 (2020-09-24).

Bug: T280652
Change-Id: I63fb62c0c2871ff2713643285cd6e5d878684f83
2022-02-16 15:58:00 +01:00