Commit graph

4108 commits

Author SHA1 Message Date
Translation updater bot 6658f70c49
Localisation updates from https://translatewiki.net.
Change-Id: Id09f4a28562837b59c04a3ae1134d3ae6127d5ff
2024-07-24 09:22:48 +02:00
Bartosz Dziewoński eddf9bd997 tests: Normalize timestamp values returned by different database engines
Bug: T370671
Change-Id: Icfccbe7543e1bbcf6447a05c23c0dbfeac3df649
2024-07-22 20:21:50 +02:00
jenkins-bot a6ff28eaf0 Merge "Use expression builder instead of raw sql" 2024-07-22 16:31:24 +00:00
Translation updater bot e8e0705bb5
Localisation updates from https://translatewiki.net.
Change-Id: I8a79fc63f3436e23474f569494a63319d9835c88
2024-07-22 09:24:24 +02:00
Umherirrender 2a932e598c Use expression builder instead of raw sql
Change-Id: I0cb5fa07d63bc93089a4956097eee7a41dbc99e7
2024-07-21 23:25:41 +02:00
Translation updater bot a0b8933a41
Localisation updates from https://translatewiki.net.
Change-Id: I502edf366346799f222d8627582f3db0c008f21f
2024-07-19 09:40:03 +02:00
Translation updater bot 81b0697cf3
Localisation updates from https://translatewiki.net.
Change-Id: I74f6eae9c4cd7599fb40dcc0c9ed464ff66a7a6d
2024-07-18 09:22:45 +02:00
Translation updater bot 4288ff6717
Localisation updates from https://translatewiki.net.
Change-Id: I691f404503f6eb2d4fcc97fed1e50ba8bd24cdf8
2024-07-17 09:33:31 +02:00
jenkins-bot dff7d5e44a Merge "Restore "empty state" on existing but empty talk pages" 2024-07-16 15:34:07 +00:00
Translation updater bot 70db445055
Localisation updates from https://translatewiki.net.
Change-Id: Ic5dd4825c23986c279e9be2cc2dd95a90719de7e
2024-07-16 09:39:48 +02:00
Translation updater bot 5ad1b4e343
Localisation updates from https://translatewiki.net.
Change-Id: I728b34eb89d7a3a5f1030cf2d9e91478d0504c1d
2024-07-15 09:23:52 +02:00
Translation updater bot fdc70ec21d
Localisation updates from https://translatewiki.net.
Change-Id: Idb2113a8e9201cbd0dd63eac66341fbca9be20a9
2024-07-12 09:40:40 +02:00
Translation updater bot a366c11cf2
Localisation updates from https://translatewiki.net.
Change-Id: I72e3a7712c7fb6f8632dd7f4cbb70b3a8702f18d
2024-07-11 09:29:59 +02:00
Translation updater bot 1fff174f59
Localisation updates from https://translatewiki.net.
Change-Id: I2f8f413033eb483d4f8531b022f11c2d9e9cc47e
2024-07-10 09:20:07 +02:00
Bartosz Dziewoński a38ebc00d8 Restore "empty state" on existing but empty talk pages
The previous approach no longer works due to changes in MediaWiki.
We must now pass the data between the hook which has access to request
state needed to determine if we should show this, and the hook that is
capable of showing it in the right place.

Bug: T362496
Change-Id: I290422c4249d288badd7c7d25e5e7e435dfd1800
2024-07-09 19:31:55 +00:00
Sjoerd de Bruin f986dc1924 Apply word-wrap:break-word; to .ext-discussiontools-init-pageframe-latestcomment
Bug: T369599
Change-Id: I3b1739e4e0ed257dd149d29d9d112983204dde0b
2024-07-09 19:37:30 +02:00
jenkins-bot d51585e02f Merge "Stop using setMwGlobals in tests" 2024-07-09 15:16:08 +00:00
jenkins-bot 80d1e3aa65 Merge "Use MainConfigNames constants in tests where possible" 2024-07-09 15:16:07 +00:00
thiemowmde 13d3a218b0 Use MainConfigNames constants in tests where possible
I believe this makes the code less brittle, and also makes it a bit
more obvious what these strings are meant to represent.

Change-Id: I01adaff0ed75f792d1130bbc75e7840b3d044c54
2024-07-09 14:16:24 +00:00
thiemowmde 6af3876b86 Stop using setMwGlobals in tests
In favor of the more recent, less error prone overrideConfigValue(s).

Change-Id: Ie3aa275f5d670c19d3f69467ed0b9383405f1440
2024-07-09 12:40:34 +02:00
Translation updater bot bc995b7856
Localisation updates from https://translatewiki.net.
Change-Id: Id02072490a85d38e422afa94253d8f4912c315bf
2024-07-09 09:43:00 +02:00
Translation updater bot 81871bcca8
Localisation updates from https://translatewiki.net.
Change-Id: I35cf0274294bea592eb8aff2606d5cff391581fb
2024-07-08 09:32:48 +02:00
Wandji69 43d023a2be Test: Replace db with getDb method
Bug: T316841
Change-Id: Iaf32040979522f311289b4c2f5723cae9079e662
2024-07-05 16:49:58 +01:00
Translation updater bot e009d6f38c
Localisation updates from https://translatewiki.net.
Change-Id: I8e8c8fd1192072be9de9ebf5e540735c5c566dcd
2024-07-05 09:47:46 +02:00
Translation updater bot 8bdd3a3842
Localisation updates from https://translatewiki.net.
Change-Id: I9c265be7edaa92997255bd48e28b4b1e0fb9e3f6
2024-07-04 09:23:39 +02:00
jenkins-bot 961d36f13e Merge "BetaPreferenceHooks: Reuse $this->config" 2024-07-03 16:08:26 +00:00
Fomafix c675410755 BetaPreferenceHooks: Reuse $this->config
Change-Id: I782da96af4786ce812665a1e08bd89cacc52747e
2024-07-03 15:14:47 +00:00
Fomafix b06b96b915 Inject services into DiscussionToolsHooks
Change-Id: If15fd7cca27832ed8ff6738c90556be701be269f
2024-07-03 15:00:54 +00:00
jenkins-bot 11ef3a577d Merge "permalinks: Only handle unmodified left clicks" 2024-07-03 14:29:05 +00:00
jenkins-bot b785276cec Merge "Inject service ContentLanguage into ThreadItemStore" 2024-07-03 14:09:34 +00:00
Fomafix 3c76c7918b Inject service ContentLanguage into ThreadItemStore
Change-Id: Ie9b7d462c8ddf4abb749ee07537ccec1949b8fba
2024-07-03 10:16:27 +00:00
Fomafix 32069364ff Use $this->getServiceContainer() in maintenance and tests
Use
	$this->getServiceContainer()
instead of
	MediaWikiServices::getInstance()
in maintenance and tests.

Change-Id: I4066d7b2029296f1edb164acc5f8c812ccfba808
2024-07-03 08:44:55 +00:00
Translation updater bot af1ee2ded7
Localisation updates from https://translatewiki.net.
Change-Id: I9ff092089c7f4befc25859490cb2057caaabed60
2024-07-03 09:26:17 +02:00
Bartosz Dziewoński eb497b00c7 permalinks: Only handle unmodified left clicks
Allow using Ctrl+click to open the link in a new tab, or Alt+click to
select the text, without annoying side effects.

Change-Id: I3ab4c1ec3d5fc6c69e7f44489bbe63c536a64b91
2024-07-02 10:38:42 +02:00
Translation updater bot 9f9a73c746
Localisation updates from https://translatewiki.net.
Change-Id: Id328a5c942bafe8a4533db3f395b7d3c08d86a9f
2024-07-02 09:49:30 +02:00
jenkins-bot 6796c26cc9 Merge "Fix color contrast issues in DiscussionToolsDebug in night theme" 2024-07-01 15:59:54 +00:00
jenkins-bot 1be8a4e281 Merge "Use green rather than yellow for newly posted messages" 2024-07-01 15:59:52 +00:00
jenkins-bot 76dad90e28 Merge "Fixes background of talk page highlights in dark mode" 2024-07-01 15:59:51 +00:00
Translation updater bot c70888a2db
Localisation updates from https://translatewiki.net.
Change-Id: Ib81ea7c4cbeb6feb4db4aa0f6eb36a7612e13d94
2024-07-01 09:25:10 +02:00
Fomafix f6c3c98bc3 Use service 'GadgetsRepo' instead of deprecated GadgetRepo::singleton()
Change-Id: I226b259e361d3d27ec89975353fdf6396ba60ccb
2024-06-30 09:03:11 +00:00
xtex 1a2ccbb58c
Add Simplified Chinese magic word aliases
Change-Id: Ib050aa998e38473ad9c16c4cea36235a0d1c18c9
2024-06-30 15:12:42 +08:00
xtex cdf5801d4d
Add Simplified Chinese special page aliases
Change-Id: Idb7fd3e8d793c41716c6baf5e196a8968d17eb42
2024-06-30 14:22:24 +08:00
Jon Robson b3bb486e30 Fix color contrast issues in DiscussionToolsDebug in night theme
Visual change: tokens are switched out for closest available.

Bug: T366524
Change-Id: I185bf496e3b2974ec4cb873719327e6898ca57db
2024-06-28 17:12:52 +00:00
David Lynch edb23dc849 Permalink copying: fix another reference to e.target
Bug: T368701
Change-Id: Iae20e4573dfc12ea9d4010390fe2acb135e1b1cd
2024-06-28 11:05:11 -05:00
jenkins-bot 339a609c45 Merge "Reword the missing target heading message" 2024-06-28 15:51:25 +00:00
David Lynch cd39c267b5 Permalink copying: use currentTarget to avoid conflicts with userscripts
Bug: T368701
Change-Id: I70b1cbf8aaf917ed843f003eec7bbd61db39ecc7
2024-06-28 10:17:27 -05:00
Translation updater bot 12bca79877
Localisation updates from https://translatewiki.net.
Change-Id: I53311b62fad92f4e3766bc90675f1304cf803c78
2024-06-28 09:41:23 +02:00
Jon Robson f81739f8b4 Use green rather than yellow for newly posted messages
Use @background-color-success-subtle following discussion

Bug: T368086
Change-Id: I216fdb576ee9066df0c3cd3bc62d424f258fe265
2024-06-27 15:45:34 -07:00
Jon Robson 6896c8c879 Fixes background of talk page highlights in dark mode
Bug: T368086
Change-Id: I6ca92afeba448f953d1ef5f54d7f1e966c017b48
2024-06-27 15:45:34 -07:00
jenkins-bot 4a2a1670de Merge "Fix white on white text in source preview" 2024-06-27 19:54:19 +00:00