Commit graph

3369 commits

Author SHA1 Message Date
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
Translation updater bot bdea18f3d9 Localisation updates from https://translatewiki.net.
Change-Id: Ib7ad90ffaa6282aa179c22598841cdd79277ccce
2022-02-16 08:14:48 +01:00
Translation updater bot e49bf571bf Localisation updates from https://translatewiki.net.
Change-Id: Id820249c2f9953c1a5fbbb974d7fe036bf1fadf3
2022-02-15 08:19:10 +01:00
Translation updater bot 141cbbd566 Localisation updates from https://translatewiki.net.
Change-Id: Iada1f0d065d5da1541600dd4eb3d770050996888
2022-02-14 08:17:01 +01:00
Tim Starling 0bfcad1b1f Move the sidebar cache to core
This cache is unnecessary since I reimplemented it in core.

Change-Id: I31e5694bebb3c73b88c11827ff3cd953233269f4
2022-02-11 11:21:31 +11:00
jenkins-bot 46303db1cd Merge "Fix spacing between icon + text in toggle menu and JS" 2022-02-10 16:54:27 +00:00
jenkins-bot 01dbc1f704 Merge "Remove message box h2 style" 2022-02-10 15:41:04 +00:00
Translation updater bot fcc4ebef8a Localisation updates from https://translatewiki.net.
Change-Id: I32919a2a70f6054f046501380e9544290cc01673
2022-02-10 08:44:15 +01:00
Jon Robson 3f9e007745 Remove message box h2 style
Depends-On: Ia57d98d4be39028aa2dfe4ed737755fca79c0db3
Bug: T300306
Change-Id: I1a5ba80ffb219cd7c1e26ea6b18e12237bd78482
2022-02-09 17:49:51 +00:00
Translation updater bot ccc7128d92 Localisation updates from https://translatewiki.net.
Change-Id: If1bc1d00bfa288da5a8f9b5735e58aeae4e9a102
2022-02-09 08:14:08 +01:00
jenkins-bot 9e47e64e6c Merge "buildContentNavigationUrls will be made internal and private" 2022-02-09 00:06:01 +00:00
Jon Robson a53509354c buildContentNavigationUrls will be made internal and private
Bug: T300284
Change-Id: Ic3011e2c9763b62a74e401b3f28e53e73a6ec7ab
2022-02-08 23:18:50 +00:00