Commit graph

4174 commits

Author SHA1 Message Date
jenkins-bot 8c9ec66df3 Merge "Fix attachment of toolbar dialogs" 2024-08-06 20:27:30 +00:00
David Lynch da47997ef4 Fix attachment of toolbar dialogs
getToolbarDialogs defaults to the `side` position, but we actually want
the `above` one here.

Bug: T371341
Change-Id: Ib42f6a4877d3b0efb87199f60cce7a7416ce9b8a
2024-08-06 11:39:44 -05:00
Ed Sanders d8f564fe71 Show confirmation prompt if trying to submit a new topic without a title
Bug: T334163
Change-Id: Ib961632636d5b7134219cddde1638c6962209001
2024-08-06 09:44:27 -05:00
Ed Sanders 6a17f6121c Move reply widget controlling logic to CommentController
Some of what happens when you click reply happens in
CommentController (in #save) and some error handling
happens in ReplyWidget (in #onReplyClick).

Move most of the logic to CommenController.

Change-Id: Ib6208c0b8d2ddbbcf08adfcca7875ab8b026f598
2024-08-06 09:44:27 -05:00
jenkins-bot 2578d00536 Merge "Consistent spelling of "subpage"" 2024-08-06 11:26:52 +00:00
Translation updater bot f44e0f1628
Localisation updates from https://translatewiki.net.
Change-Id: I95113ea8a76a9512b3d3eab0864e61de30429f4f
2024-08-06 09:46:49 +02:00
Amir E. Aharoni 15f3f80378 Consistent spelling of "subpage"
"Subpage" is usually written as one word
in core and in other extensions.

Change-Id: Ie10a500790c321e866c02264d55449e42b0110bb
2024-08-06 03:44:51 -04:00
Translation updater bot b27574f0b6
Localisation updates from https://translatewiki.net.
Change-Id: Iac0943773d4374dbe07c4f439e4e1a14f5c6bdd8
2024-08-05 09:24:52 +02:00
Translation updater bot f093eb0605
Localisation updates from https://translatewiki.net.
Change-Id: Ib8b608177df8d5d47c7c79bbbd03fba1eecba2d5
2024-08-02 09:39:16 +02:00
Translation updater bot c72b4504ae
Localisation updates from https://translatewiki.net.
Change-Id: I5c70abb74e82a3336f9a447297b786524d670dc8
2024-08-01 09:18:18 +02:00
Hannah Okwelum 4403887e88 Prepare Less styles for math=parens-division
Bug: T368921
Change-Id: I4c6db2d39883d31cf4216da0e3d79136287bf960
2024-07-31 20:12:15 +01:00
Translation updater bot 1339083307
Localisation updates from https://translatewiki.net.
Change-Id: Ia201497ebce7aea52cb360a87ef36bc979b86d5b
2024-07-31 09:22:43 +02:00
Translation updater bot aa3e9b9645
Localisation updates from https://translatewiki.net.
Change-Id: I9c6c932b85b6678b4f659a5aef2549071480574d
2024-07-30 09:43:07 +02:00
Translation updater bot fc0e2ed1f2
Localisation updates from https://translatewiki.net.
Change-Id: I5c64f96b751f85ae95b7caa4f0f2e762f0bea7bf
2024-07-29 09:26:35 +02:00
Translation updater bot 925e22d345
Localisation updates from https://translatewiki.net.
Change-Id: I587a4e184716b808da346e8ef2896aed0a542da2
2024-07-26 09:44:31 +02:00
Translation updater bot 5446854a6d
Localisation updates from https://translatewiki.net.
Change-Id: I4559dba279f9114d89b10d5348d5816a8dbc851d
2024-07-25 09:18:52 +02:00
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