Commit graph

4036 commits

Author SHA1 Message Date
Arlo Breault 69fd71b260 Parsoid's templated content have other attrs as well
Bug: T372019
Change-Id: Ic1d32570f5fed4d48a126d0ef4c8c04a82d7bbb4
2024-08-14 17:30:31 -04:00
Máté Szabó 55665a3f93 Avoid primary DB query for non-talk page edits
While investigating primary database queries as part of T370304,
we found that EventDispatcher currently issues a primary DB query
to fetch the previous revision of the newly created revision on
every edit, but discards the result for non-talk pages. So, as an
optimization, have it fetch the previous revision only after the page
has been established to be a talk page.

Bug: T370304
Change-Id: I301f5c3c002c6953ef0b3919a33667a809342b84
2024-08-14 18:18:02 +02:00
Translation updater bot 5bf38331de
Localisation updates from https://translatewiki.net.
Change-Id: Ifeb1cb9d150b31f6a1ba71141fac04c68c4f6df4
2024-08-14 09:22:34 +02:00
Translation updater bot 51745c1e6b
Localisation updates from https://translatewiki.net.
Change-Id: I277829ef46718aeae45ccd998a68a3070cef5204
2024-08-13 09:50:45 +02:00
jenkins-bot 182c247930 Merge "Show confirmation prompt if trying to submit a new topic without a title" 2024-08-12 17:02:08 +00:00
Translation updater bot 2cff7ee06b
Localisation updates from https://translatewiki.net.
Change-Id: Iad1b29ba7a341eb2e403d30eaf51d804c5227878
2024-08-12 09:22:24 +02:00
libraryupgrader 32fc8c5ea9 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
The following sniffs are failing and were disabled:
* Generic.CodeAnalysis.AssignmentInCondition.Found
* Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition

The following sniffs now pass and were enabled:
* Generic.CodeAnalysis.AssignmentInCondition

Change-Id: I8adfdce01ea96f4b62dabd3dea130f9593c7e5ac
2024-08-11 06:40:14 +00:00
James D. Forrester fe8526caf2 CommentFormatter: Switch from deprecated addJsConfigVars to new setJsConfigVar
Bug: T372193
Change-Id: Ib3ec31ac78aee59325b3b1be3bb66f5c4a73715a
2024-08-10 13:51:50 +02:00
Translation updater bot 573172dfaf
Localisation updates from https://translatewiki.net.
Change-Id: I424d7d216d821bac09f4392137d6a203a9d516ab
2024-08-09 09:34:56 +02:00
Jon Robson f065c46e6b Dark mode styles should not apply to printed content
Bug: T371331
Change-Id: I5bd5e530d1262c7e52e1725959e07776ff9f3704
2024-08-08 20:32:16 +00:00
Translation updater bot 2364736d35
Localisation updates from https://translatewiki.net.
Change-Id: I602f6dacb0fa95f610b4f55cd7146621d9b89d55
2024-08-08 09:19:32 +02:00
Translation updater bot d7fa9ce947
Localisation updates from https://translatewiki.net.
Change-Id: I324e23e595dc1f3c1fb3d75654cf93a450cf1891
2024-08-07 09:23:58 +02:00
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